News for hackers. Stuff that matters.

gertjandewilde

We built a unified API with a large surface area and ran into a problem when building our MCP server: tool definitions alone burned 50,000+ tokens before the agent touched a single user message.

The fix that worked for us was giving agents a CLI instead. ~80 tokens in the system prompt, progressive discovery through --help, and permission enforcement baked into the binary rather than prompts.

The post covers the benchmarks (Scalekit's 75-run comparison showed 4-32x token overhead for MCP vs CLI), the architecture, and an honest section on where CLIs fall short (streaming, delegated auth, distribution).

Re:Designing APIs for AI Agents on Wednesday February 25, 2026 @03:50PM (#47157668)
Most APIs were designed for human developers, not autonomous agents. As LLMs start selecting endpoints and generating arguments directly from your schema, ambiguity and weak error semantics become production issues. This post outlines practical API design patterns that make APIs more reliable for agent-driven workflows.
Analyze codebases using AI - generate architectural overviews, documentation, explanations, bug reports and more

Would love to hear your thoughts, feedback, and ideas for improvement!

Re:Redefining Our SDKs Developer Experience on Thursday January 16, 2025 @12:39PM (#42728332)
We’ve overhauled our SDKs with Speakeasy, leaving the limitations of our old OpenAPI generator behind. The new versions deliver major upgrades in usability, error handling, and performance.
Great use case. Is the demo broken?
Re:SaaS Blocks 2.0 – tools for building a SaaS app on Tuesday August 03, 2021 @04:03PM (#28053466)
Hehe, fair point! Most of those products have startup programs not to break the bank

In case you want to go the open-source route you have this handy overview https://www.btw.so/open-source-alternatives

Re:SaaS Blocks 2.0 – tools for building a SaaS app on Tuesday August 03, 2021 @01:36PM (#28051911)
Thanks for the feedback!

I agree some categories are indeed thin, which is one of the reasons why we made the submission so potentially valuable tools can get listed.

Thanks for sharing. RAFT looks great
Good question! To transform the OpenAPI spec to a Postman collection, we're using the handy openapi-to-postman package from Postman.

The test automation is where the real magic happens.

Re:Show HN: New way to test APIs with OpenAPI and Postman on Thursday July 15, 2021 @08:08PM (#27851657)
:)
Re:Show HN: New way to test APIs with OpenAPI and Postman on Thursday July 15, 2021 @02:16PM (#27848110)

Older »