Memungkinkan AI client untuk mengedit dokumen MDX lokal dan menjalankan shared actions melalui UI agent yang dirancang khusus.
Juga dikenal sebagai BuilderIO/agent-native, agent-native-content
- Stars
- 7.707
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- 1.0.0
- Commit terakhir
- 15 Nov 2026
- Lisensi
- MIT
Apa itu Agent-Native MCP?
Memungkinkan AI client untuk mengedit dokumen MDX lokal dan menjalankan shared actions melalui UI agent yang dirancang khusus.
Ringkasan dibuat dari README proyek
Tentang Agent-Native MCP server
Developer yang membangun autonomous agent dengan user interface khusus dapat menggunakan framework TypeScript ini untuk menjembatani celah antara AI tools dan permukaan aplikasi visual. Framework ini memungkinkan Anda mendefinisikan sebuah kemampuan satu kali sebagai shared action, yang kemudian berfungsi sebagai tool bagi agent dan fungsi yang dapat dipanggil di dalam UI. Hal ini memastikan bahwa pengguna manusia maupun AI beroperasi menggunakan validasi, permission, dan logika implementasi yang sama.
Sistem ini menjaga data bersama dan state aplikasi sehingga pekerjaan yang dilakukan oleh agent dapat segera terlihat di UI, dan perubahan manual pada interface dapat diakses oleh agent. Sistem ini mendukung backend PostgreSQL untuk lingkungan production dan PGlite untuk local development. Dengan menggunakan framework ini, Anda dapat membangun agent khusus untuk tugas-tugas seperti mengelola konten, merancang interface, atau menganalisis data, sambil memberikan cara yang familiar bagi pengguna untuk memeriksa dan menyetujui pekerjaan agentic.
Apa yang bisa Anda lakukan dengannya
- 1Pengeditan aplikasi secara visualSeorang developer dapat menggunakan command visual edit untuk menyesuaikan elemen UI seperti warna tombol atau spacing pada canvas sebelum menerapkan perubahan tersebut ke source code.
- 2Pekerjaan pengetahuan otomatisPengguna dapat mendelegasikan tugas kompleks ke specialist agent yang beroperasi di dalam workspace bersama menggunakan persistent memory dan skills.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal Agent-Native MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal Agent-Native MCP di Claude Code
$ claude mcp add --transport http agent-native-content https://content.agent-native.com/mcpInstal Agent-Native MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"agent-native-content": {
"url": "https://content.agent-native.com/mcp"
}
}
}Instal Agent-Native MCP di VS Code
.vscode/mcp.json
{
"servers": {
"agent-native-content": {
"type": "http",
"url": "https://content.agent-native.com/mcp"
}
}
}Instal Agent-Native MCP di VS Code CLI
$ code --add-mcp '{"name":"agent-native-content","type":"http","url":"https://content.agent-native.com/mcp"}'Instal Agent-Native MCP di Codex
$ codex mcp add agent-native-content --url https://content.agent-native.com/mcpInstal Agent-Native MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.agent-native-content] url = "https://content.agent-native.com/mcp"
Instal Agent-Native MCP di Gemini CLI
$ gemini mcp add -s user --transport http agent-native-content https://content.agent-native.com/mcpInstal Agent-Native MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"agent-native-content": {
"url": "https://content.agent-native.com/mcp",
"type": "http"
}
}
}Pengecekan otomatis
Berjalan 12 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkauLolos
- Lisensi open source (OSI)Lolos
- Ada commit atau release dalam satu tahun terakhirLolos
- Nama package tidak mirip dengan package populerTidak diperiksa
- Remote endpoint menggunakan HTTPSLolos
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Tidak ada instruksi tersembunyi untuk modelLolos
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
README
Lihat di GitHubAgent-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.
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.
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
Record and understand meetings, screens, and voice notes.
Design
Generate and refine interactive designs.
Slides
Create and edit on-brand presentations.
Analytics
Ask questions of your data and build dashboards.
Calendar
Find time, schedule events, and manage bookings.
Prioritize email, draft replies, and follow up.
Assets
Create and organize on-brand media.
Content
Draft, organize, and publish content.
Plans
Create and review visual plans with diagrams, wireframes, and prototypes.
Explore the full app gallery, or start with the framework guide.
Documentation and community
- Read the documentation.
- Join Discord to ask questions, share what you're building, and get help.
Contributing
Want to send a change back? Start with CONTRIBUTING.md. DEVELOPMENT.md covers local setup, workspace structure, and guard scripts.
License
MIT
Pertanyaan tentang Agent-Native MCP
Bagaimana cara menambahkan Agent-Native MCP ke Claude Code?
Jalankan claude mcp add --transport http agent-native-content https://content.agent-native.com/mcp di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan Agent-Native MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Apa itu Agent-Native?
Ini adalah framework TypeScript open-source untuk membangun agent yang menggabungkan pekerjaan otonom dengan UI yang dirancang khusus. Kemampuan didefinisikan satu kali sebagai action yang digunakan baik oleh agent maupun UI.
Bagaimana agent berinteraksi dengan UI?
Agent tidak melakukan klik pada UI; ia bekerja melalui layer action yang sama dengan UI, berbagi validasi, permission, dan implementasi.
Database backend apa yang digunakan Agent-Native?
Ia menggunakan PostgreSQL untuk production dan PGlite untuk local development pada host apa pun yang kompatibel dengan Nitro.
Bagaimana cara membuat project agent baru?
Jalankan command create dengan npx, yang akan melakukan scaffolding project dari template seperti chat.
Interface mana saja yang mengekspos sebuah action?
Satu definisi action diekspos melalui UI, agent, HTTP, MCP, A2A, dan CLI.