requiredConnect an AI engineConnect Builder (one click) or paste an LLM key
optionalDatabaseset DATABASE_URL
optionalAuthenticationOAuth / access token
optionalEmail deliveryResend / SendGrid
→
all required done → panel auto-hides
",
"css": ".ob{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ob .diagram-card{display:flex;flex-direction:column;gap:3px;padding:12px 14px}.ob .diagram-arrow{font-size:22px}"
}
```
--------------------------------
### Custom MCP Server Setup
Source: https://github.com/builderio/agent-native/blob/main/packages/core/docs/content/mcp-protocol.md
Mount the MCP server manually in a server plugin for custom behavior. This example shows how to import and use `mountMCP` and `autoDiscoverActions`.
```typescript
// server/plugins/mcp.ts
import { mountMCP } from "@agent-native/core/mcp";
import { autoDiscoverActions } from "@agent-native/core/server";
export default defineNitroPlugin(async (nitro) => {
const actions = await autoDiscoverActions(import.meta.url);
mountMCP(nitro, {
name: "My App",
description: "Custom MCP server",
actions,
// Optional: provide ask-agent handler
askAgent: async (message) => {
// Your custom agent logic
return "Response";
},
// Optional: override the route prefix (default "/_agent-native")
// routePrefix: "/_agent-native",
});
});
```
--------------------------------
### Route File Examples
Source: https://github.com/builderio/agent-native/blob/main/packages/core/src/templates/default/DEVELOPING.md
Illustrates how filename conventions in the 'app/routes/' directory map to URL paths, including root, static, and dynamic routes.
```text
app/routes/_index.tsx → /
app/routes/settings.tsx → /settings
app/routes/inbox.tsx → /inbox
app/routes/inbox.$threadId.tsx → /inbox/:threadId
app/routes/$id.tsx → /:id (dynamic param)
```
--------------------------------
### SKILL.md Frontmatter Example
Source: https://github.com/builderio/agent-native/blob/main/packages/core/docs/content/writing-agent-instructions.md
Defines the name and description for a skill. The description should clearly state the skill's purpose and when to use it, guiding the agent's decision-making process.
```markdown
---
name: project-imports
description: >-
How to import projects from the legacy CSV export. Use when the user uploads
a project CSV or asks to migrate projects from the old system.
---
```
--------------------------------
### Scaffold a New Chat App
Source: https://github.com/builderio/agent-native/blob/main/packages/core/docs/content/template-chat.md
Use this command to create a new project with the chat template. After creation, navigate to the project directory, install dependencies, and start the development server.
```bash
npx @agent-native/core@latest create my-chat-app --template chat
cd my-chat-app
pnpm install
pnpm dev
```
--------------------------------
### Create New Agent Native Project
Source: https://github.com/builderio/agent-native/blob/main/README.md
This command initiates a new Agent Native project. After creation, navigate into the project directory, install dependencies, and start the development server.
```bash
npx @agent-native/core@latest create my-app
cd my-app
pnpm install
pnpm dev
```
--------------------------------
### Initialize and Help CLI Commands
Source: https://github.com/builderio/agent-native/blob/main/packages/pinpoint/README.md
Use the CLI to initialize actions and skills in your project or to display help information.
```sh
npx @agent-native/pinpoint@latest init # Copy actions and skill to your project
```
```sh
npx @agent-native/pinpoint@latest # Show help
```
--------------------------------
### Create a Standalone Forms Project
Source: https://github.com/builderio/agent-native/blob/main/packages/core/docs/content/template-forms.md
Use this command to create a new project with the Forms template as a standalone application. Navigate into the project directory, install dependencies, and start the development server.
```bash
npx @agent-native/core@latest create my-forms --standalone --template forms
cd my-forms
pnpm install
pnpm dev
```
--------------------------------
### Backend Architecture Review Plan Example
Source: https://github.com/builderio/agent-native/blob/main/skills/visual-plans/references/exemplar.md
Presents a structure for a backend architecture review plan that omits a top canvas, starting with context and legend, followed by recommendation cards with file paths and diagrams.
```html