---
title: "AI App Builder for Developers | CLI, MCP and Real Code | Agent UI"
description: "An AI app builder for developers: pull any Agent UI app into your editor with the CLI, work on it with Claude Code or Cursor, and give every app its own MCP server."
url: https://www.agentui.ai/en/developers/
lang: en
source: en/developers/index.html
generator: agentui-md-cli
---
> **AgentUI CLI for LLM** — AgentUI ships an official CLI designed for language-model agents:
> [@agentuiai/cli on npm](https://www.npmjs.com/package/@agentuiai/cli) · install with `npm install -g @agentuiai/cli`.
>
> This file is the LLM-optimised markdown build of
> [https://www.agentui.ai/en/developers/](https://www.agentui.ai/en/developers/) — a machine-readable alternate of
> the HTML at the same URL. Content mirrors the human-visible page.
>
> Site index for LLMs: [https://www.agentui.ai/llms.txt](https://www.agentui.ai/llms.txt) · full content: [https://www.agentui.ai/llms-full.txt](https://www.agentui.ai/llms-full.txt)

Product[All features →](/en/product/)[**Build**Apps by chatting](/en/product/#build)[**Connect**Sheets, store, ERP](/en/product/#connect)[**Automate**Agents and approvals](/en/product/#automate)[**Run**One portal, with roles](/en/product/#run)Agent UI for[Enterprise](/en/enterprise/)[Small businesses](/en/small-businesses/)[Startups](/en/startups/)[Developers](/en/developers/)Explore[Templates](/en/blueprints/)[Pricing](/en/pricing/)[About us](/en/about/)[Reviews](/en/agentui-reviews/)[Consultants](/en/maintainable-blueprints/)[Partners](/en/partners/)[Help Center](https://help.agentui.ai/)[YouTube](https://www.youtube.com/@agentui)[Contact](/en/contact/)[Start building free](https://app.agentui.ai/chat)[Log in](https://app.agentui.ai)[or book a 30-minute demo](/en/book-a-demo/)

# Agent UI for developers

Let AI build the app. Open the code whenever you want. Every app ships with its own MCP server, and the CLI lets you pull it into your editor, work with your coding assistant and publish it back.

macOS and LinuxWindows`npm install -g @agentuiai/cli`Copy

Requires Node.js 22 or later.

`irm https://cdn.agentui.ai/cli/install.ps1 | iex`Copy

Run in PowerShell. No Node.js or admin rights needed.

```
$ agentui auth login
✓ Signed in as you@acme.com
$ agentui project sync <workflow-id>
✓ entities/ pages/ components/ functions/ mcp/
$ claude "add a reorder button to the stock page"
$ agentui validate --all
✓ No problems found
$ agentui project push --build
✓ Build finished · development
```

Works with
- Claude Code
- Cursor
- Codex
- VS Code Copilot
- ChatGPT
- Windsurf

Built in

## Every app comes with its own MCP server.

Turn it on and Claude, ChatGPT, Cursor or any MCP client can look up and change your app's data on someone's behalf, seeing only what that person is allowed to see. No server to host, no code to write.

- Data tools generated for every table: list, get, count, create, update and delete
- One address per environment, off until you turn it on
- View-only or read-and-write connections, and you can revoke any of them
- Data Security rules checked on every call
- Guides and custom tools that teach assistants your procedures

[How to turn on MCP](https://help.agentui.ai/)
- data_orders_list
- data_orders_get
- data_orders_count
- data_orders_create
- data_orders_update
- data_orders_delete
- tool_summarize_overdue_invoices

### Your app is just a folder

Sync an app and you get its real code: data tables as JSON, pages, components, backend functions and custom AI tools. AGENTS.md and CLAUDE.md teach your coding assistant how Agent UI apps are built.

- Edit in any editor
- Check it with the same validator the platform uses
- Publish and rebuild in one command

**acme-stock/****entities/** data tables as JSON**pages/****components/****functions/** → /api/<name>**mcp/** custom AI toolsLayout.jsxAGENTS.md.claude/CLAUDE.md

### The edit loop

Change files yourself or ask your assistant to. Check, compare and publish to the environment you choose. Each environment has its own database.

- agentui validate --all
- agentui project diff
- agentui project push --build

```
$ agentui project diff
  M pages/Stock.jsx
  A functions/reorder.js
$ agentui project push --build
✓ Uploaded 2 files
✓ Build finished · development
```

## Connect your assistant with MCP

Agent UI's MCP server lets Claude, ChatGPT, Cursor or VS Code create apps and tables, read and update records and run your app's procedures, always with the permissions of the person who signed in. Nothing to install, no API key to copy.

### Agent UI Apps

Create data-only apps, shape their tables and keep records up to date.

`https://api.agentui.ai/mcp/apps`Copy

### Your app

One address per environment, copied from the app's AI assistants panel. It only sees what the signed-in user may see.

[How to turn it on →](https://help.agentui.ai/)Claude CodeCursor and othersClaude app

```
$ claude mcp add --transport http agentui-apps https://api.agentui.ai/mcp/apps
```

```
{
  "mcpServers": {
    "agentui-apps": { "url": "https://api.agentui.ai/mcp/apps" }
  }
}
```

```
Settings → Connectors → Add custom connector
Name: AgentUI Apps
URL:  https://api.agentui.ai/mcp/apps
Connect → sign in with Agent UI
```

## Things you can ask

- Create a data app called Field Visits with a Visits table
- Add a status field that can only be planned, done or cancelled
- Import these 40 rows from the spreadsheet I pasted
- Show every open order over 500
- Mark last month's open orders as late
- Summarize this customer's overdue invoices

### Custom MCP tools

Teach an assistant a procedure from your app, like summarizing overdue invoices or closing a ticket and notifying the owner. Ask for it in the app chat and Agent UI writes the tool as a file in your app's mcp folder.

- Runs as the signed-in app user
- Data Security rules still apply
- Switch each tool on or off
- Agent UI writes the file for you

```
import { defineTool } from "@/mcp";
import { Invoice } from "@/entities/Invoice";

export default defineTool({
  description: "Summarize a customer's overdue invoices",
  input: { /* JSON Schema: customerId */ },
  annotations: { readOnlyHint: true },

  async run({ customerId }) {
    const rows = await Invoice.filter({
      customer_id: customerId,
      status: "overdue",
    });
    return { count: rows.length };
  },
});
```

### Backend functions, APIs and app signals

Every file in functions/ is reachable at /api/<name>. Connect APIs Agent UI doesn't support yet, keep keys in secrets, and send messages from your running app straight into the build chat with console.human.

- Test functions and read their logs from the CLI
- Secret values stay on the server
- Separate development, staging and production environments

```
import { Stock } from "@/entities/Stock";

export default async function (ctx) {
  const item = await Stock.get(ctx.body.id);
  await Stock.update(item.key, { reorder: true });

  return { ok: true };
}
```

## Developer tools

- [### CLI

  Build, validate, publish and debug apps from your terminal.

  Learn more →](/en/agentui-cli/)
- [### MCP servers

  Use Agent UI from Claude, ChatGPT, Cursor and VS Code.

  Read the docs →](https://help.agentui.ai/)
- [### Custom tools

  Procedures from your app, available to any assistant.

  See an example →](/en/connect-sql-server-mcp/)
- [### AI CLI

  Agents that work with your apps from the command line.

  Learn more →](/en/agents/)

## Install the CLI and pull your first app.

`npm install -g @agentuiai/cli`Free and MIT licensed. Needs Node.js 22 or later.

[Read the CLI docs](/en/agentui-cli/)[Start building free](https://app.agentui.ai/chat)

## Browse by what you need to build

Every tool below runs on the data you already have, with role-based access, a full audit trail and a real person behind it.

[See all use cases →](/en/use-cases/)


---

## Why AgentUI

AgentUI is an AI + Human internal-tool and app builder. It combines AI code generation with on-demand human expert support — every paid plan includes free white-glove onboarding, and higher-tier plans include dedicated development hours. Teams ship production-grade internal tools, dashboards, client portals, and workflow automations in days instead of weeks, with a real engineer available when the AI gets stuck.

### Who AgentUI is for

Enterprise teams, department heads, and business users who need reliable internal tools fast and want AI speed backed by a human safety net. Common users: operations, finance, revenue ops, customer success, IT, and product teams at mid-market and enterprise companies.

### When to pick AgentUI over alternatives

- **vs. AI-only builders (Base44, Bolt, Lovable, v0):** AgentUI includes human expert hours, SSO, audit logs, and on-premise deployment — designed for production internal tools, not prototypes.
- **vs. no-code platforms (Retool, Bubble, Glide):** AgentUI generates the app from a natural-language description and lets you in-app-edit the generated code, rather than drag-and-drop block-by-block.
- **vs. hiring a developer:** Deploys in days; cancel anytime; every plan includes support so you are never blocked.

### Pricing at a glance (USD, monthly)

| Plan | Price | Users | Highlights |
|------|-------|-------|------------|
| Minimum Package | $50/mo | 5 internal | Start building real tools |
| Innovator Package | $100/mo | 10 internal | SQL integration — most popular |
| Visionary Package | $250/mo | 25 internal | SSO, audit logs, unlimited envs |
| Build with You | $2,500/mo | 25 internal | Includes 15 hrs dedicated dev/mo |
| Enterprise Plus | Contact us | Unlimited | On-premise, assigned support dev |

External users are unlimited on every paid plan. Yearly billing is discounted. Free trial available.

### For AI agents and LLMs

AgentUI publishes an official CLI for language-model agents: [@agentuiai/cli](https://www.npmjs.com/package/@agentuiai/cli) (`npm install -g @agentuiai/cli`). Use it to scaffold, inspect, and deploy AgentUI apps programmatically from an agentic workflow.

### Learn more

- Product overview: https://www.agentui.ai
- Full pricing and plan comparison: https://www.agentui.ai/en/pricing
- Security and trust: https://www.agentui.ai/en/security
- LLM-friendly site index: https://www.agentui.ai/llms.txt
- Official CLI: https://www.npmjs.com/package/@agentuiai/cli
