Goa
One contract. Every transport.
Declare payloads, validations, and errors once in Go. Generate standard net/http, gRPC, and JSON-RPC servers, typed clients, and OpenAPI 3 / Protobuf specs — routing, decoding, and validation are generated Go code, not a reflection-driven framework.
- HTTP · gRPC · JSON-RPC
- Servers, typed Go clients, and CLI clients compiled from the same service design.
- Streaming built into the design
- WebSocket, Server-Sent Events, gRPC streaming.
- Validation at the transport edge
- Required fields, patterns, ranges, error status codes, OpenAPI 3.2, and Protocol Buffers.
Explore GoaGitHubGoa-AI
Typed agents, MCP servers, and durable runs.
Extend the same Go DSL to tool-using AI agents and MCP servers. Test locally in memory with zero API keys, then connect OpenAI, Anthropic, AWS Bedrock, or Google Vertex AI and run durably on Temporal.
- Service validation & hidden context
- Reuse Goa service methods as tools (
BindTo), hide server-supplied tenant IDs from the model (Inject), and cap paged outputs (BoundedResult). - Multi-agent trees & deterministic evals
- Compose child agents as tools with bounded budgets and test tool trajectories deterministically without live LLM calls.
- Approval gates, streaming & standalone MCP
- Pause sensitive tools for human approval (
Confirmation), stream typed events to UIs, or expose MCP without an agent loop.
Explore Goa-AIGitHub