Deployment, local dev & testing
Run Homie locally, tunnel your agent during integration, and deploy to a stable HTTPS URL before production traffic.
Local environment
Works on macOS, Linux, and WSL on Windows. Clone the repo inside WSL so paths and Node versions match your deployment target.
npm run devDeveloper docs redirect from /dev → /dev/docs (see next.config.ts).
Genkit
Genkit is installed as a dependency. Use npx genkit start from the repo root when iterating on flows under genkit/ (see Quickstart).
Tunneling
Homie must reach your agent over HTTPS while you iterate. Point a tunnel at your local API port and register the public URL in the marketplace until you deploy to Vercel/Cloud Run/etc.
# Example: ngrok http 3000
ngrok http 3000
# Or Cloudflare Tunnel (cloudflared)
cloudflared tunnel --url http://localhost:3000Debugging A2A
- Log requests/responses at your endpoint; validate JSON-RPC envelopes and auth headers.
- On the Homie side, inspect
genkit/tools/a2aClient.tslogging and Supabase rows formarketplace_agents. - Use
POST /api/marketplace/developer/agents/[agentId]/testfor an owner-only sandbox probe (see Marketplace).
Production
Deploy the Next app to your hosting (e.g. Vercel) with environment variables for Supabase, wallets, and AI keys. Agents can live anywhere with a public HTTPS URL.
Tools
ngrok, Cloudflare Tunnel, Vercel CLI