I heard a neat tip recently about API design for agents: give them a way to send you feedback. The example I heard was an MCP with a "feedback" tool which had a tool description saying that coding agents should call that any time they had trouble figuring out how to use the rest of the MCP. I really like this. It's super cheap to implement and I expect you'd get a bunch of actionable signal in amongst the noise.
Yeah i have a similar setup at the harness level - a “devlog” at the end of every session about the experience developing, what could have been better, what was confusing And also files issues for blockers I’ve absolutely caught things and made improvements just from skimming them occasionally - they are particularly useful when you get a PR that makes you scratch your head But I’m definitely not taking full advantag…
Designing APIs for Agents
31–40 of 58 posts
Re: Designing APIs for Agents
#32Earlier quoted context omitted.
Yeah i have a similar setup at the harness level - a “devlog” at the end of every session about the experience developing, what could have been better, what was confusing And also files issues for blockers I’ve absolutely caught things and made improvements just from skimming them occasionally - they are particularly useful when you get a PR that makes you scratch your head But I’m definitely not taking full advantag…
Why are you asking an LLM what could have been better or was confusing? It literally has no idea.
Re: Designing APIs for Agents
#33Earlier quoted context omitted.
Yeah i have a similar setup at the harness level - a “devlog” at the end of every session about the experience developing, what could have been better, what was confusing And also files issues for blockers I’ve absolutely caught things and made improvements just from skimming them occasionally - they are particularly useful when you get a PR that makes you scratch your head But I’m definitely not taking full advantag…
Why are you asking an LLM what could have been better or was confusing? It literally has no idea.
Re: Designing APIs for Agents
#34I don't like the idea of making APIs effectively unusable for a human developer. We might not write a lot of code anymore, but getting rid of defaults and asking agents to pass all possible values explicitly makes it impossible to quickly debug the API call (e.g. with curl or something). It's similar to HTTP/1: there are a lot of headers in the protocol, but you can still use nc or openssl s_client and type the reque…
Re: Designing APIs for Agents
#35I heard a neat tip recently about API design for agents: give them a way to send you feedback. The example I heard was an MCP with a "feedback" tool which had a tool description saying that coding agents should call that any time they had trouble figuring out how to use the rest of the MCP. I really like this. It's super cheap to implement and I expect you'd get a bunch of actionable signal in amongst the noise.
Re: Designing APIs for Agents
#36Earlier quoted context omitted.
Why are you asking an LLM what could have been better or was confusing? It literally has no idea.
If they try something and it doesn't work and they then try something else and it DOES work that's concrete feedback.
Re: Designing APIs for Agents
#37Earlier quoted context omitted.
Conservatively speaking, LLMs degrade past 40% of a 2M context window, 4k tokens is 0.2%, so no degradation there. Thats also current generation conservative estimate. I think wasteful is an irrelevant metric. Claude ingests those tokens in a quarter of a second, if it causes it to catch any bug ever it saves far more time than it ever uses. Any individual default that causes unexpected behavior causes more problems,…
Boiling frog problem
Re: Designing APIs for Agents
#38I don't like the idea of making APIs effectively unusable for a human developer. We might not write a lot of code anymore, but getting rid of defaults and asking agents to pass all possible values explicitly makes it impossible to quickly debug the API call (e.g. with curl or something). It's similar to HTTP/1: there are a lot of headers in the protocol, but you can still use nc or openssl s_client and type the reque…
Also, any competent developer still writes tons of code. The "agentic era" is completely overblown.
Re: Designing APIs for Agents
#39I don't like the idea of making APIs effectively unusable for a human developer. We might not write a lot of code anymore, but getting rid of defaults and asking agents to pass all possible values explicitly makes it impossible to quickly debug the API call (e.g. with curl or something). It's similar to HTTP/1: there are a lot of headers in the protocol, but you can still use nc or openssl s_client and type the reque…
Also, any competent developer still writes tons of code. The "agentic era" is completely overblown.
Re: Designing APIs for Agents
#40Earlier quoted context omitted.
Also, any competent developer still writes tons of code. The "agentic era" is completely overblown.
I'll say this: as a very competent engineer I have gone weeks at a time without handwriting a single line of code in the past few months. It is where the industry is going.