Gram Functions
Define agent tools in TypeScript & deploy as MCP servers
npm create @gram-ai/function
We’re excited to share Gram Functions with you today, our open-source TypeScript framework for building agent tools.
Since launching Gram, we’ve learned that APIs aren’t always the right abstraction for people building MCP servers. Sometimes the endpoints don’t exist, don’t map to actual business operations, or agents need capabilities that go beyond HTTP calls (like querying databases directly).
Gram Functions solves this by letting you define agent tools directly in TypeScript code. No OpenAPI specs. No MCP protocol expertise. No infrastructure to manage.
The framework is fully open source on GitHub. We’d love a star if you find it useful!
Whether you’re wrapping internal APIs, orchestrating complex business logic, or building entirely new agent capabilities, Gram Functions gets you from code to production fast.
Can’t wait to see what you all build with it 🚀
Report6d ago



