Skip to content
AI & Agents
MCP

agent-native-storybook

Ships with agent-native: Agent-Native is an open-source TypeScript framework for building agents that pair autonomous work with a purpose-built UI. Define each capability once as an action: the agent uses…

From plugin
agent-native
7.7k11 skills3 commands2 MCP

Claude Code

> /plugin marketplace add builderio/agent-native
> /plugin install agent-native@agent-native-apps

Security report

Info

Not enough data

  • Known flaws

    Not published

  • Signed build

    Not published

  • Maintained

    Nov 21, 2026

    Last push

  • Licence

    MIT

  • Runs as

    Remote

    localhost

  • Deprecated

    Not published

Signals from public registries, not an audit. Checked Nov 21, 2026.

agent-native README

Agent-Native: The agentic application framework

Agent-Native

Agent-Native is an open-source TypeScript framework for building agents that pair autonomous work with a purpose-built UI. Define each capability once as an action: the agent uses it as a tool, and the UI calls it from code.

Quick start

npx --yes @agent-native/core@latest create my-agent --standalone --template chat

Follow the getting started guide for a full intro to the framework.

Why build agents with UIs?

Coding agents work with more than a text box. Their environment provides context, tools, files, tests, and previews that make their capabilities and results visible.

Knowledge work needs that same kind of environment. A UI shows what an agent can do and gives people familiar ways to inspect, edit, approve, and share its work.

How Agent-Native works

  • Shared actions. The agent calls each capability as a tool, and the UI calls it from code. Both paths use the same validation, permissions, and implementation.
  • Shared data. Work done by the agent appears in the UI, and work done in the UI is available to the agent.
  • Shared application state. The agent receives relevant UI state, such as the current page, selected record, or active view.

The agent does not click through the UI. It works through the same action layer as the UI.

Example: a shared action

Create actions/hello.ts:

import { defineAction } from "@agent-native/core/action";
import { z } from "zod";

// One action powers every app surface: UI, agent, HTTP, MCP, A2A, and CLI.
export default defineAction({
  description: "Return a friendly greeting.",
  schema: z.object({
    name: z.string().default("world").describe("Name to greet"),
  }),
  http: { method: "GET" },
  run: async ({ name }) => {
    return { message: `Hello, ${name}!` };
  },
});

The agent receives hello as a tool. React calls the same function with useActionQuery("hello", { name: "Alex" }). Agent-Native also exposes it through HTTP, MCP, A2A, and the CLI.

Actions may set persistInChatHistory: false for sensitive results. Live tool calls and the current UI retain their values, while durable chat, trace and audit payloads omit the private content and its derived assistant output. Later requests use the server's sanitized thread history; unavailable projections return a retryable error. Browser caching is controlled separately with persistInBrowser: false. The current model invocation still receives the tool result. Private turns skip Context Xray transformation and manifest persistence. This policy does not erase historical records.

Private approvals retain an opaque server approval ID, with server-keyed argument checks. Pending approvals created before this format or before a server encryption-key rotation require a new approval. An interrupted turn that already dispatched a private tool cannot safely reconstruct its omitted input and result, so automatic recovery stops and requires a new turn. A verified approval-only pause that did not execute remains resumable.

Included

  • Agent chat: Let people delegate work, ask questions, and review results in the same UI.
  • Authentication and permissions: Control who can access and change shared work.
  • Skills and memory: Give agents reusable expertise and persistent context.
  • Automations: Run agent work on schedules or events.
  • Agent teams: Delegate work to specialist agents in the same workspace or across connected agents.
  • PostgreSQL backend: Use PostgreSQL in production and PGlite for local development on any Nitro-compatible host.

Example: edit a running app visually

Use /visual-edit in Claude Code to edit a running app on a canvas instead of prompting for each small UI nudge. Compare live pages together, then ask Claude to apply the chosen edits to your source. For example:

/visual-edit the onboarding flow, plus home at every breakpoint

Review the onboarding screens alongside Home at desktop, tablet, and mobile sizes, adjust a button's color or spacing directly, then ask Claude to apply the pending edits to your source. See the Visual Edit guide for the full walkthrough and sharing details.

To bring an effect or section from another site into yours, use /remix in your repo: /remix add the stripe hero animation to ours but make it blue. It rebuilds the behavior in original code with typed props or CSS knobs. To pick visually, ask /remix in Design, the stripe hero into my homepage and select source and destination on the canvas. See the Remix guide.

Bring your LLM, SQL database, tools, and infrastructure. Everything you build stays yours.

See Agent-Native in action:

https://github.com/user-attachments/assets/ef51644b-6506-46d8-8083-0af7b7e5b65c

Open-source agents

Start from one of these agents or use it as an example for your own. For a source-to-answer architecture example, see Brain’s visual overview.

Clips

Clips app screenshot

Record and understand meetings, screens, and voice notes.

Design

Design app screenshot

Generate and refine interactive designs.

Slides

Slides app screenshot

Create and edit on-brand presentations.

Analytics

Analytics app screenshot

Ask questions of your data and build dashboards.

Calendar

Calendar app screenshot

Find time, schedule events, and manage bookings.

Mail

Mail app screenshot

Prioritize email, draft replies, and follow up.

Assets

Assets app screenshot

Create and organize on-brand media.

Content

Content app screenshot

Draft, organize, and publish content.

Plans

@builderio
Ships withagent-native
7.7k11 skills2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
7.7k
Star history of builderio/agent-native on GitHub, a chart by star-history.com

More MCP servers from other plugins.

computer-use

computer-use

MCP

Ships with cua: Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and…

cua4d32k
@trycua@trycuaInstall MCP

Questions about agent-native-storybook.

Which coding agents can use agent-native-storybook?
agent-native-storybook works in any agent that reads an MCP config file: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf. Each agent reads it from its own file; this page names the file for each one.
How do I add agent-native-storybook to Claude Code?
Run these in order, one at a time. 1. In Claude Code: /plugin marketplace add builderio/agent-native 2. In Claude Code: /plugin install agent-native@agent-native-apps