Codel Introduction
Codel is a fully autonomous AI Agent designed to perform complicated tasks and projects using terminal, browser, and editor. Developed by semanser, this tool offers a unique blend of features that make it a powerful addition to the world of AI-driven development.
Codel Features
Codel boasts a range of features that set it apart from other AI agents:
- 🔓 Secure: Everything runs in a sandboxed Docker environment, ensuring the highest level of security.
- 🤖 Autonomous: Automatically detects the next step and performs it without human intervention.
- 🔍 Built-in Browser: Fetches the latest information from the web, such as tutorials and documentation, when needed.
- 📙 Built-in Text Editor: Allows users to view and edit all modified files directly in their browser.
- 🧠 Command History: Stores the history of commands and outputs in a PostgreSQL database for easy reference.
- 📦 Automatic Docker-Image Picker: Selects the appropriate Docker image based on the user's task.
- 🤳 Self-hosted: Provides the flexibility to host the tool on your own server.
- 💅 Modern UI: Features a sleek and intuitive user interface.
Codel Getting Started
To get started with Codel, users can utilize a pre-built Docker image available on the Github Container Registry. Simply run the Docker image with the necessary environment variables, and you're ready to go.
docker run \\
-e OPEN_AI_KEY=your_open_ai_key \\
-e OPEN_AI_MODEL=gpt-4-0125-preview \\
-e OLLAMA_MODEL=llama2 \\
-p 3000:8080 \\
-v /var/run/docker.sock:/var/run/docker.sock \\
ghcr.io/semanser/codel:latest
After running the command, access Codel by visiting localhost:3000
in your browser.
Codel Supported Environment Variables
Codel requires several environment variables to function correctly:
OPEN_AI_KEY
: OpenAI API key, which can be obtained from the OpenAI website.OPEN_AI_MODEL
: OpenAI model (default: gpt-4-0125-preview). A list of supported OpenAI models can be found here.OPEN_AI_SERVER_URL
: OpenAI server URL (default: https://api.openai.com/v1). Change this if using an OpenAI compatible server.OLLAMA_MODEL
: Locally hosted Ollama model (default: https://ollama.com/model). Supported Ollama models are listed here.OLLAMA_SERVER_URL
: Ollama server URL (default: https://host.docker.internal:11434). Change this if using an Ollama compatible server.
Codel Development
For developers interested in contributing to Codel or understanding its inner workings, the DEVELOPMENT.md
file provides comprehensive information on the development process.
Codel Roadmap
The project's roadmap outlines the future development plans for Codel, showcasing the exciting features and improvements on the horizon.
Codel Credits
Codel's development is made possible thanks to several key resources and contributions, including:
- Arxiv Paper 2308.00352
- Arxiv Paper 2403.08299
- Cognition Labs Devin Introduction
- Go-Rod Project
- JsonGenius Project
Codel FAQs
What is Codel?
Codel is a fully autonomous AI Agent that can perform complicated tasks and projects using terminal, browser, and editor.
How do I get started with Codel?
To get started with Codel, you need to run a pre-built Docker image using the provided command and set the necessary environment variables.
Can I contribute to Codel's development?
Yes, developers are welcome to contribute to Codel's development. Detailed guidelines can be found in the DEVELOPMENT.md
file.
Where can I find the project's roadmap?
The project's roadmap is available on the Codel GitHub repository, outlining future features and improvements.
How do I report issues or request features?
Issues and feature requests can be reported through the Codel GitHub repository's issue tracker.