UseAgent's home: a request typed into the box that asks what you want done, recent tasks under it, and threads, bots and the library in the sidebar.

The open-source Devin alternative

UseAgent gives Claude Code, Codex, OpenCode and Pi a computer of their own.
Hand off a fix, a website, a spreadsheet or research from the web, Slack or the API,
watch the work as it happens, and get pull requests and files back.
Use it at app.useagent.org, or run all of it on your own server.

License: AGPL-3.0 Latest release CI

Try it free at app.useagent.org  Self-host with Docker Compose  Watch the demo

Quick start · Docs · Self-hosting · Architecture · Changelog


A thread: the request to fix a sign-up bug, the agent's answer with the cause, the fix, the new test and the pull request it opened, and the terminal beside it with every command it ran and its output. ### A computer for every thread Each thread gets an isolated Linux computer with a terminal, a browser and your repositories. Watch every command as it runs, open the desktop or terminal to take over, and get a pull request back.
The terminal of a thread that upgraded a web app to Vite 6: a failed build, the plugin update that fixed it, a passing build and tests, the commit and the pull request link. ### The terminal Every command the agent runs shows up in the thread's terminal with its full output, from the first install to the pull request. Keep it beside the chat or give it the whole screen.
A thread that added rate limiting to sign-ins, paused on an approval card for publishing its pull request, with the branch, commit message and title it will use, and Deny and Approve buttons. ### Approvals Risky steps, like publishing a pull request or running an action in a connected app, wait for you. Approve it and the agent can make that exact call once. Deny it with a reason and the agent hears why.
Bots: four bots, each with its latest outcome and engine, beside a short explanation and a Create bot button. ### Bots Give a bot a job, an engine and standing rules. Each bot keeps one thread with its own context, so you can message it like a coworker or put it on a routine.
Automations: three active routines with their schedules, time zones, engines and when each last ran. ### Routines Put any prompt on a schedule with its own engine and time zone. Every run is recorded, and you can run one now, pause it or change it in place.
Artifacts: files the agents made, a spreadsheet, two Markdown documents and a zipped website, each linked to the run that made it. ### Files and artifacts Documents, spreadsheets, presentations, PDFs, images and videos the agents make are kept with the run that made them. Supported files keep revisioned edits and export in their own format.
A spreadsheet the agent made, open in its thread: units sold by week and by product with totals and the change from the week before, and tabs for two more sheets. ### Open what the agent made Open a file from the thread to read it, edit it or export it. A spreadsheet keeps its sheets and formulas, and each saved edit becomes a new revision.
Skills: three team skills with tags, and a section to import skills from a GitHub repository. ### Skills Import skills from GitHub, pin a playbook to a task and reuse the procedures that work. Skills are versioned, so each run records exactly what it used.
A wiki page with a release checklist, the list of the team's pages beside it, and a box to ask the wiki a question. ### Wiki Write down how your team works once. Agents search the published pages when they need context, and anyone can ask the wiki a question.
Model keys in Settings: OpenAI, Anthropic and OpenRouter connected with write-only API keys, and a button to connect a ChatGPT account for Codex. ### Your keys and plans Connect an API key for each provider, or run Codex on your ChatGPT plan. Keys are write-only and stay on the server with your sign-in, never on the agent's computer.
How UseAgent fits together: work from the web app, Slack, email, the API or a schedule enters the control plane on your server, where Postgres keeps every step. Each thread gets a sandbox with the agent and its own computer, and every tool call crosses a trusted gateway that keeps the keys. ### Your own server Run the control plane and its Postgres on any Linux host. Keys stay on your server and never enter the agent's computer, and sandboxes come from Daytona, CubeSandbox on your own hardware, or Box. ## Features - **Four agents, one workspace.** Claude Code, Codex, OpenCode and Pi share one event format, so threads, files and memory carry over when you switch. - **Start work where you are.** The web app, [Slack](https://useagent.org/docs/channels/slack/) (mention UseAgent, send attachments, get files back in the thread), email, the REST API, the CLI and MCP, and [routines](https://useagent.org/docs/product/automations/). - **Bring the plans you pay for.** Run Codex on your ChatGPT plan, or connect API keys for any engine. Keys are write-only and never enter the sandbox. - **Every run on the record.** Postgres keeps each step, tool call and approval as an append-only log, so runs survive restarts and replay exactly. - **[Approvals](https://useagent.org/docs/concepts/gateway-tools-and-approvals/).** Gated tools pause for a decision and resume with a one-time capability bound to the arguments you approved. - **[Context that carries forward](https://useagent.org/docs/concepts/knowledge-and-learning/).** Knowledge, wiki pages and optional team memory sit beside the work. Inspect what was recalled, correct it, and keep personal and team memory apart. - **GitHub.** GitHub App access, clones and pull requests. - **Connectors.** Gmail, Linear, Notion and HubSpot. OAuth runs through the broker and tokens stay sealed on the server. ## Quick start > UseAgent is alpha software. It runs real daily work, but APIs and schemas can > change between releases, so pin a tag if you need stability. ### Use the hosted app 1. Sign up at [app.useagent.org](https://app.useagent.org) with your email. No credit card. 2. Start a thread and say what you want done: a website, a research report, a spreadsheet, or a fix in one of your repositories. 3. Pick a model. Free models are always in the Free list of the model menu. 4. To use your own plan, open **Settings → Model keys** and connect ChatGPT to run Codex on it (in India the free ChatGPT Go plan works too), or paste an API key. ### Run it with Docker Compose ```bash git clone https://github.com/useagenthq/useagent.git && cd useagent cp deploy/compose/env.example .env.compose # fill in every placeholder docker compose --env-file .env.compose -f compose.local.yaml up --build ``` Then open http://localhost:3400. Before you start, set the secrets, a Daytona key, a gateway URL your sandboxes can reach and how people sign in. The [Compose guide](docs/operations/compose-releases.md) covers each setting. ### Put it on a server UseAgent runs on any Linux host: AWS, Google Cloud, Azure or bare metal. [`infra/self-host/`](infra/self-host/README.md) has the full guide, a one-command reference host (Terraform) and the provider-agnostic [`deploy-app.sh`](infra/self-host/deploy-app.sh): ```bash SERVER_IP= PG_PASSWORD=... OPENROUTER_API_KEY=... \ infra/self-host/deploy-app.sh /path/to/this/repo ``` ### Run it from source You need [bun](https://bun.sh) and Postgres 16+ with [pgvector](https://github.com/pgvector/pgvector). No Postgres handy? One container does it: ```bash git clone https://github.com/useagenthq/useagent.git && cd useagent docker run -d --name useagent-pg -p 127.0.0.1:5432:5432 \ -e POSTGRES_HOST_AUTH_METHOD=trust pgvector/pgvector:pg16 export DATABASE_URL=postgres://postgres@localhost:5432/postgres for workspace in \ packages/agent-harness packages/artifact-workspace \ packages/agent-client packages/artifact-formats packages/sandbox-contract \ packages/conformance packages/cli \ backend frontend; do (cd "$workspace" && bun install --frozen-lockfile) done bun run dev:backend # API and orchestration on :3201 bun run dev:frontend # UI on :3400 (proxies /api/* to the backend) ``` A real agent task also needs a sandbox provider key and a model key. The [setup guide](https://useagent.org/docs/getting-started/quickstart/) walks through both. `bun run typecheck` covers every package. ## Ideas to try Paste one into a new thread and change the details to fit your work. **Research a decision.** You get a brief with a dated source list. ```text Should a five-person startup use Postgres full-text search or a hosted search service? Read the official docs and pricing pages, cite each claim with a link and the date you checked it, and end with a recommendation. ``` **Build a small website.** You get the site running in the agent's browser, screenshots and the source files. ```text Build a one-page website for a neighborhood bakery with opening hours, a menu with prices and a contact form. Run it, check it at phone width, and send me screenshots and the source files. ``` **Make a spreadsheet from your data.** Attach a CSV first. ```text Turn the attached CSV of last month's orders into a spreadsheet with revenue by week and by product, a chart of the weekly totals, and a tab that lists rows that look wrong. ``` **Fix a bug and open a pull request.** Pick the repository under **Choose project** first. ```text The signup form accepts an empty email address. Find the cause, fix it, add a test that fails without the fix, and open a pull request. ``` **Run a job every week.** Make a bot for your repository, then use **Add routine** in its details with this prompt, set to Mondays at 9 AM. ```text Read last week's merged pull requests and post a short changelog: what shipped, what changed for users, and who to thank. ``` **Ask from Slack.** In a channel where UseAgent is installed, mention it. ```text @UseAgent what changed in the billing service this week? Link the pull requests. ``` ## How it fits together 1. **The engine is a plug.** Every engine speaks one event format through its adapter, so you can swap engines and keep your threads, files and memory. 2. **Every run is an event log.** Postgres is the source of truth: runs survive backend restarts, replay exactly and stay inspectable afterwards ([events and streaming](https://useagent.org/docs/concepts/events-and-streaming/)). 3. **Credentials never enter the sandbox.** The agent's computer is isolated. Every integration call crosses the trusted gateway as a typed tool, and the keys stay on your control plane. | Path | What it owns | |---|---| | [`frontend/`](frontend/README.md) | Product UI: threads, bots, skills, playbooks, wiki, files, routines, settings | | [`backend/`](backend/README.md) | Control plane: auth, runs, sandboxes, engines, knowledge, memory, files, connectors | | [`packages/`](packages/) | Shared contracts: thread events, engine events, sandbox providers, the CLI | | [`docs-site/`](docs-site/README.md) | Documentation site: concepts, architecture, API, operations | | [`infra/self-host/`](infra/self-host/README.md) | Self-hosting on any provider, with a reference Terraform host | | [`memory/`](memory/README.md) | Optional team-memory service | More in the [documentation](https://useagent.org/docs/) and the interactive [request-flow diagram](docs/architecture/request-flow.html). ## Connect an agent

Claude Code   Codex   OpenCode   Pi

Connect a provider account or an API key in **Settings → Model keys**. The models, sign-in methods and tools you get depend on the engine and your configuration. The [engine guide](https://useagent.org/docs/concepts/engines-and-adapters/) has the details, and [sandboxes and the desktop](https://useagent.org/docs/concepts/sandboxes-and-desktop/) covers the computer each thread runs on. ## UseAgent and Devin | | Devin | UseAgent | |---|---|---| | Source code | Closed | Open source (AGPL) | | Where it runs | Cognition's cloud; enterprise plans can put the workspace in your VPC, the agent itself stays in Cognition's cloud | All of it on our cloud, your own servers, or your laptop | | Which agent | Devin's own | Claude Code, Codex, OpenCode or Pi, side by side | | Model bill | Paid through Devin | Your own keys, your ChatGPT plan for Codex, or free models | | Record of the work | In Devin's app | Every step in your own Postgres, replayable | UseAgent is not a new model, and not a proven replacement for every Devin workflow. It is the workspace around the agents you already use: a computer per task, your team's tools and context, and a full record of what happened. ## Contributing Pull requests are welcome. Comment on an issue to take it, then open a pull request. - **New here?** Start with a [`good first issue`](https://github.com/useagenthq/useagent/issues?q=is%3Aopen+label%3A%22good+first+issue%22). - **Want something bigger?** Pick a [`help wanted`](https://github.com/useagenthq/useagent/issues?q=is%3Aopen+label%3A%22help+wanted%22) issue. New channels such as Discord, Telegram and Microsoft Teams build on the connector framework, with the email connector as a worked example. - **Before your first pull request,** read [CONTRIBUTING.md](CONTRIBUTING.md). Contributions are accepted under the [CLA](CLA.md), and every merged pull request gets a thank-you from the maintainers. - **Found a bug or want a feature?** [Open an issue](https://github.com/useagenthq/useagent/issues). Release notes are on the [releases page](https://github.com/useagenthq/useagent/releases), and our sister project [threads](https://github.com/useagenthq/threads) is an agent framework for TypeScript and Python built on the same idea: every run is a log you can replay. Thank you to everyone who contributes. See the [emoji key](https://allcontributors.org/docs/en/emoji-key) for contribution types.
Abhishek gahlot
Abhishek gahlot

💻 ⚠️ 📖 🎨 🚧
Lenin Mookiah
Lenin Mookiah

💻 ⚠️ 📖
Asish Kumar
Asish Kumar

💻 ⚠️ 📖
Nikhil Kumar
Nikhil Kumar

💻 ⚠️ 📖
Siddheya Kulkarni
Siddheya Kulkarni

💻 ⚠️ 🐛 📓
Eddy-AliceLabs
Eddy-AliceLabs

💻 ⚠️ 📖
Liu XingJian
Liu XingJian

💻 ⚠️
Ghost Developer Studio
Ghost Developer Studio

💻 ⚠️ 🎨
İlker Oğulcan SAYIN
İlker Oğulcan SAYIN

💻 ⚠️ 🎨
6584236OldHorse
6584236OldHorse

📖
Emdadul Haque Apu
Emdadul Haque Apu

💻 ⚠️
ElectLive
ElectLive

💻 ⚠️
Zerui Ge
Zerui Ge

💻 ⚠️
Toprak
Toprak

💻 ⚠️
Bc. Oliver Fecko
Bc. Oliver Fecko

💻 ⚠️
Peter Heo
Peter Heo

💻 ⚠️
pipsss
pipsss

📖
Shahmeer
Shahmeer

⚠️
sunred-liu
sunred-liu

💻 ⚠️
ZYJ
ZYJ

💻 ⚠️
joaorgb15
joaorgb15

🌍 📓
Everyone with a commit, updated on its own: People who have contributed to UseAgent ## License UseAgent is free and open-source software under the [GNU AGPL v3.0](LICENSE) (AGPL-3.0-only). You may use, modify and self-host it under the AGPL. To embed UseAgent in proprietary software, distribute it without AGPL obligations, or build an OEM or white-label product, a [commercial license](COMMERCIAL-LICENSE.md) is available. Contributions are accepted under the [CLA](CLA.md). The UseAgent name and logo are covered by the [trademark policy](TRADEMARKS.md), not the code license. Third-party components are listed in [NOTICE](NOTICE); vendored and ported files carry per-file attribution headers.