What it does
The agent works as an API architect for REST and GraphQL services. For GraphQL it produces a schema with federation, a resolver design that uses DataLoader to prevent N+1 queries, query complexity limits, and a configuration that disables introspection for production. For REST it builds clients with circuit breaker and bulkhead patterns, organised as a service, manager and resilience layer, using established libraries such as Resilience4j, Polly or cockatiel. It also covers secure API authentication and rate limiting.
It suits a team designing a GraphQL schema with federation for a new microservice, building a resilient REST client for a service such as payments in TypeScript, or deciding between REST, GraphQL and gRPC for a new service. In the last case it weighs latency requirements, client diversity, schema evolution needs and team familiarity, gives pros and cons for each option, and produces a reference architecture for the chosen REST or GraphQL approach.
Before generating output, the agent gathers the inputs it needs: for GraphQL, whether the schema is SDL-first or code-first, which queries, mutations and subscriptions are required, and any federation requirements; for REST clients, the endpoint URL, DTOs, required HTTP methods and resilience options. It then generates fully implemented code rather than stubs.
Limitations and requirements
gRPC and protobuf scaffolding is handed off to the api-designer agent rather than generated by this agent.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- AI Templates (aitmpl) first seen 13 Nov 2026 · last seen 18 Nov 2026 · its page on the source · figures reported by the source: aitmpl downloads 941
api-architect
Expert API architect for designing and implementing REST and GraphQL APIs with production-grade resilience, security, and versioning. Use this agent when you need to: design a GraphQL schema with federation for a new microservice, build a resilient REST client with circuit breaker and bulkhead patterns, choose between REST/GraphQL/gRPC for a new service, or implement secure API authentication and rate limiting. <example> <user_request>Design a GraphQL API for an e-commerce catalog service with product search, categories, and inventory.</user_request> <commentary>The agent will gather schema-d
As shown on www.aitmpl.com when we last read it