Prerequisites
- Bun 1.3.9 or later
- An API key for your preferred LLM provider (e.g., OpenAI)
Create a New Project
Scaffold a new agent project withcreate-aixyz-app:
-y to skip prompts:
Start the Dev Server
aixyz dev, which watches app/ and aixyz.config.ts for changes and automatically restarts the server. Your agent is available at http://localhost:3000.
Verify It Works
http://localhost:3000/mcp for MCP-compatible clients.
Endpoints
Once running, your agent exposes:| Endpoint | Protocol | Description |
|---|---|---|
/.well-known/agent-card.json | A2A | Agent discovery card |
/agent | A2A | JSON-RPC endpoint with x402 payment gate |
/mcp | MCP | Tool sharing with MCP clients |