# Open Agents

> A reference app for running coding agents in the cloud instead of on your laptop

- Category: AI Coding / Autonomous Coding Agents
- Language: TypeScript
- Licence: MIT
- Repository: https://github.com/vercel-labs/open-agents
- Website: https://open-agents.dev
- Canonical page: https://ai-tldr.dev/tools/open-agents/
- Updated: 2026-04-14

## In short

Open Agents is an open-source reference application for building and running background coding agents. It sits in the Autonomous Coding Agents category of the AI Coding tools and is open-source, written in TypeScript and licensed MIT. To get started: install dependencies.

## Overview

Open Agents is an open-source reference application for building and running background coding agents. You describe a change in chat, the agent clones the repository into an isolated sandbox, works with file, search, shell and web tools, and can commit, push and open a pull request when it is done — none of which depends on your machine staying awake.

The interesting architectural choice is that the agent runs *outside* the sandbox. The sandbox is only the execution environment, so its lifecycle is managed independently: sessions snapshot and resume, and the model provider can be swapped without touching the sandbox layer. Multi-step execution is durable, built on the Workflow SDK, so a long run survives a restart rather than losing its place.

It is deliberately a template rather than a product: the repository is a Next.js app you deploy yourself and adapt, and there is a Vercel template that stands the whole thing up. Sessions can be shared as read-only links, and voice input is available through ElevenLabs transcription.

## What it does

- Chat-driven coding agent with file, search, shell and web tools
- Durable multi-step execution on the Workflow SDK, so long runs resume instead of restarting
- Isolated cloud sandboxes with snapshot-based resume, managed separately from the agent
- Repository cloning and branch management inside the sandbox
- Optional auto-commit, auto-push and pull-request creation
- Read-only session sharing links, and voice input via ElevenLabs transcription

## Getting started

The repository is a pnpm monorepo with a Next.js web app; you fill in an env file and run it locally, or deploy it from the Vercel template.

1. Install dependencies

   The project pins its package manager through corepack.

```bash
corepack enable
pnpm install
```

2. Configure the environment

   Copy the example env file for the web app and fill in the required values (model provider, sandbox and GitHub credentials).

```bash
cp apps/web/.env.example apps/web/.env
```

3. Run the app

   Starts the web UI; from there you point an agent at a repository and give it a task.

```bash
pnpm web
```

4. Or deploy the template

   A one-click Vercel template exists at https://vercel.com/templates/template/open-agents if you would rather start from a deployment than a checkout.

## When to use it

- Kick off a refactor from your phone and review the pull request when it lands
- Run several agent sessions in parallel against the same repository, each in its own sandbox
- Give a team a shared, self-hosted coding agent instead of everyone running one locally
- Use it as a starting point for a custom agent product rather than building sandboxing and workflow durability yourself

## Version history

- 2026-04-14: Vercel Labs published Open Agents, an open-source reference app for cloud coding agents with isolated sandboxes, durable workflows and GitHub commit/PR automation.
