Launching today

Anvil SDK
The Next.js of AI backends
10 followers
The Next.js of AI backends
10 followers
Anvil is a backend framework built for a world where APIs get called by both browsers and AI agents. Write one route file, you get a REST endpoint, an MCP tool, and an A2A skill, all sharing the same schema, checked at build time. No hand-wiring MCP SDKs on top of Express, no duplicating validation across three layers.


CodeNearby
Finally got to play with Anvil and it's refreshing to have one source of truth for both REST and MCP. One thing I'd love to see is built-in support for streaming responses in the route files, especially for long-running agent tasks where you want to send partial results back without blocking the whole request. That would make it a no-brainer for real-time use cases.
Spent an hour with Anvil and the build-time schema check alone saved me from what would've been a long night of debugging tool calls. Glad someone finally made the AI-agent stuff feel like a first-class citizen instead of an afterthought.
honestly this looks super useful, the whole one route three endpoints thing is clever. one thing though, would be great if you could add a built in rate limiting option that works the same across all three protocols, right now i'd probably have to bolt that on myself and it could easily drift between the REST endpoint and the MCP tool. basically just a simple per route config like 100 reqs per minute and it applies everywhere.
The build-time schema check is genuinely useful, caught a mismatched response type before I even hit run. Love that one route file gives me MCP, REST, and A2A without any glue code.