Skip to content
AgentOpen-source agent

codel

Self-hosted autonomous AI agent that runs tasks in a sandboxed Docker environment

codel is an open-source agent for ai models and llm tooling. It is available on Web and Self-hosted.

Pricing
Open source
Platforms
Web, Self-hosted
GitHub stars
2.5K
Last commit
Language
TypeScript
License
AGPL-3.0

Similar agents

About codel

Codel takes a complex task or project and works through it on its own, choosing the next step and carrying it out. It operates inside a sandboxed Docker container with access to a terminal, a built-in browser for pulling up current documentation and tutorials, and a text editor where modified files can be viewed in the browser.

Each command and its output is stored in a PostgreSQL database, so the full history of a run can be reviewed afterwards. The agent also selects a suitable Docker image based on the task at hand. Language models are plugged in through environment variables, supporting OpenAI keys, OpenAI-compatible servers, and locally hosted Ollama models.

Codel suits developers and technically inclined users who want an agent that does hands-on work on their own machine without sending code execution outside their infrastructure.

What it does

Sandboxed execution
All actions run inside a Docker container, keeping the agent's commands isolated from the host.
Autonomous step planning
The agent determines the next step toward a goal and performs it without manual prompting.
Built-in web browser
It fetches up-to-date tutorials and documentation from the web when it needs them.
In-browser file editor
Files the agent modifies can be viewed directly in the web interface.
Persistent command history
Commands and outputs are saved to PostgreSQL for later review.
Automatic image selection
The Docker image used for a task is chosen based on what the task requires.
Flexible model backends
Works with OpenAI, OpenAI-compatible servers, and local Ollama models.

Good for

  • Delegating multi-step coding or scripting projects to an agent running on local infrastructure
  • Setting up and testing software environments inside isolated containers
  • Having an agent research documentation online and apply it to a build task
  • Reviewing a complete log of an agent's commands and outputs after a run

Pricing

Open source

Free and open source under AGPL-3.0; self-hosted.

Prices change. Check discord.gg before you buy.

codel FAQ

Where does Codel run?

It is self-hosted and runs as a Docker image, which you start with a single docker run command and then open at localhost:3000.

Which language models can codel use?

It supports OpenAI models, OpenAI-compatible servers, and locally hosted Ollama models, configured through environment variables.

Is the code execution sandboxed?

Yes, everything runs inside a sandboxed Docker environment.

Where is the session history stored?

All commands and their outputs are saved in a PostgreSQL database.

Is codel free?

Yes. codel is open source, so you can use and self-host it for free.

What are the best alternatives to codel?

The closest alternatives to codel are nanocoder, crewly, devika, OpenHands and CoderBaba.

Where this comes from

  • Description: written from the project's README and the project's website.