examples/ directory. Each follows the standard aixyz app/ directory structure and can be run locally.
Running a Template
http://localhost:3000 with all protocol endpoints enabled.
Basic
Standard agents usingapp/agent.ts + app/tools/. No custom server — the server is auto-generated by the build pipeline. Start here.
Boilerplate
Unit conversion agent with length, weight, and temperature tools.
Flight Search
Flight search with Skyscanner API and Stripe payments.
Chainlink
Chainlink price feeds on Ethereum mainnet.
Advanced
Custom server wiring, bring-your-own payment facilitator, and testing patterns. These templates demonstrate how to take full control of the aixyz server.Sub-Agents
Multiple A2A endpoints from one deployment using app/agents/[name].ts.
Custom Server
Manual server control with app/server.ts — wire A2A, MCP, and x402 yourself.
BYO Facilitator
Bring-your-own x402 facilitator via app/accepts.ts.
Agent with Tests
Testing patterns with bun:test — deterministic and non-deterministic tests.
Fake Model Agent
Fully deterministic testing with
fake() — no API key required.Express Integration
Mount AixyzApp as Express middleware alongside your own routes.
x402 Sessions
Payer-scoped session storage with x402 payment identity.