HackerTrans
TopNewTrendsCommentsPastAskShowJobs

gertjandewilde

no profile record

Submissions

[untitled]

1 points·by gertjandewilde·vor 2 Monaten·0 comments

AI Agent API Grader

saastr.ai
2 points·by gertjandewilde·vor 2 Monaten·1 comments

[untitled]

1 points·by gertjandewilde·vor 3 Monaten·0 comments

Apideck CLI – An AI-agent interface with much lower context consumption than MCP

apideck.com
137 points·by gertjandewilde·vor 4 Monaten·123 comments

Designing APIs for AI Agents

apideck.com
1 points·by gertjandewilde·vor 5 Monaten·1 comments

comments

gertjandewilde
·vor 2 Monaten·discuss
[flagged]
gertjandewilde
·vor 3 Monaten·discuss
[dead]
gertjandewilde
·vor 4 Monaten·discuss
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).
gertjandewilde
·vor 5 Monaten·discuss
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.