> ## Documentation Index
> Fetch the complete documentation index at: https://dev.writer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Learn about Agent Builder v2

> Deploy full-code AI agents to Writer from your IDE. Bring your own framework and Dockerfile while Writer handles hosting, environments, and deployment.

<Note>
  Agent Builder v2 is in open beta. Features and limitations described here are subject to change.
</Note>

Agent Builder v2 is Writer's full-code agent deployment experience. You build agents in your own IDE with the frameworks you already use, then deploy them to the Writer platform with built-in supervision and governance. This page explains what Agent Builder v2 provides, how it works, and the core concepts you need before you deploy your first agent.

With Agent Builder v2, you can:

* Deploy custom agents from your IDE or AI Studio with no framework lock-in.
* Keep separate development and production environments, each with version history.
* Manage environment variables for API keys and secrets.
* Use MCP server integration to deploy and manage agents directly from your IDE.
* Add Writer's observability and agent supervision on top of your existing code.

## Understand how it works

You bring your application code with a `Dockerfile`. Writer handles the containerized hosting, environment management, and deployment pipeline, so you keep full control of your code and development workflow.

A typical flow looks like this:

1. Create an agent in AI Studio, which generates a unique agent ID and a development environment.
2. Connect your IDE to the Writer MCP server.
3. Package your application and deploy a snapshot to the development environment.
4. Test the development deployment, then promote it to production.

For the full walkthrough, see [Get started with Agent Builder v2](/home/agent-builder/getting-started).

## Supported frameworks

Agent Builder v2 deploys any dockerized Python or JavaScript/TypeScript application. The following frameworks are tested and verified:

| Framework        | Language                      |
| ---------------- | ----------------------------- |
| FastAPI          | Python                        |
| Next.js          | JavaScript/TypeScript         |
| LangChain        | Python, JavaScript/TypeScript |
| LangGraph        | Python, JavaScript/TypeScript |
| Strands Agents   | Python                        |
| Claude Agent SDK | Python                        |
| CrewAI           | Python                        |
| Agno             | Python                        |
| Letta            | Python                        |
| LlamaIndex       | Python                        |
| OpenAI Swarm     | Python                        |

<Note>
  If your framework isn't listed, it can still work as long as it runs in a Docker container and listens on a port other than 8001 (which is reserved).
</Note>

## Key concepts

Understanding environments, snapshots, and the promotion flow helps you reason about how your code moves from development to production.

### Environments

Each agent has separate **development** and **production** environments, and you can create additional custom environments. Each environment has its own:

* Deployment URL, which you can [change](/home/agent-builder/getting-started#change-the-deployment-url)
* Environment variables
* Version history
* Access controls (production only)

### Snapshots and versions

Every time you upload code, Agent Builder v2 creates a new **snapshot** (version). For each agent you can:

* View the full version history.
* Roll back to any previous version.
* Export a snapshot as a `.tar.gz` file.
* Delete old versions.

### Promotion flow

Promotion copies a snapshot from development to production. Environment variable *keys* are copied, but *values* must be set separately for production to maintain security boundaries. After promotion, the agent appears in the [Agents tab in Writer App](/home/agent-builder/getting-started#find-your-agent-in-writer-app) for you and anyone you shared it with.

## Known limitations

Agent Builder v2 has the following limitations during open beta:

| Limitation           | Details                                                                                                                       |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Public deployment    | Disabled during open beta.                                                                                                    |
| Deployment method    | Snapshot-based (tarball upload). No CI/CD or GitHub integration yet.                                                          |
| Cold start           | The first request after inactivity takes about 2-5 seconds.                                                                   |
| Port                 | Applications must listen on a port other than 8001 (reserved). Port 8000 is the default and is configurable per environment.  |
| IDE deep links       | One-click setup is available for Cursor only. Other IDEs require manual JSON configuration.                                   |
| Observability        | Not yet available.                                                                                                            |
| Custom domains       | Not yet available.                                                                                                            |
| Bring-your-own-cloud | Agents are hosted on Writer infrastructure. Bring-your-own-key and bring-your-own-cloud (AWS, GCP, Azure) are on the roadmap. |

## Frequently asked questions

<AccordionGroup>
  <Accordion title="Can I use any model provider in my agent?">
    Yes. Your agent runs as a standard container, so you can use any SDK, API, or model provider, including Writer models, OpenAI, Anthropic, and AWS Bedrock. Set the relevant API keys as environment variables.
  </Accordion>

  <Accordion title="Can I connect to my internal databases or APIs?">
    Your agent can make outbound network requests to any public endpoint. Connectivity to private databases, such as Snowflake or internal APIs, through private link is in development. Contact Writer to discuss your requirements.
  </Accordion>

  <Accordion title="What if my framework isn't in the supported list?">
    If your application runs in a Docker container and listens on a port other than 8001, it works. The supported frameworks list represents what Writer has explicitly tested.
  </Accordion>

  <Accordion title="How do I implement authentication for my deployed agent?">
    For agents accessible to Writer users (only you, specific teams, or all teams), Writer handles authentication through AI Studio access controls. For custom authentication for external users, implement it within your application code, since Agent Builder v2 gives you full control of the request and response lifecycle.
  </Accordion>

  <Accordion title="How does Agent Builder v2 relate to no-code agents?">
    Agent Builder v2 is for developers who want full code control and work in their own IDE. No-code agents are for business users who build with natural language. They share the same backend infrastructure but serve distinct personas.
  </Accordion>
</AccordionGroup>

## Next steps

* [Get started with Agent Builder v2](/home/agent-builder/getting-started) to create an agent and deploy your first application.
* [Review key concepts](#key-concepts) to understand environments, snapshots, and the promotion flow.
