REST + MCP + A2A + OpenAPI in one command
ailang serve-api takes your typed AILANG functions and exposes them as REST endpoints, MCP tools, A2A skills, and OpenAPI 3.1 docs simultaneously. One module, four agent surfaces.
ailang serve-api --port 8092 --mcp-http \ pricing.ail catalogue.ail -- POST /api/pricing/quote, MCP at /mcp/, -- A2A at /.well-known/agent.json, OpenAPI at /api/_meta/redoc.