Let Managed Agents auto-configure a Custom API from the API docs page — paste the docs, not just cURL
E
Enoch Leffingwell
I used the Custom API inside Managed Agents, and I got my test working — but it was difficult to set up. There is a cURL option, and I used that too, but building the configuration by hand from a cURL command is slow and error-prone.
Please let me paste the API docs page for the specific endpoint I want to configure, and have the Managed Agent Custom API interface configure itself — or at least mostly configure itself — from what the docs require: the endpoint, the method, the headers, the authentication, the request body, and the response fields.
This is how many of us already use agents like Codex or Claude: give the agent the API docs and it configures itself. That is why so many API docs now carry a 'Copy markdown for AI Agents' option. Managed Agents should work the same way — paste the docs link, or paste the docs markdown, and the Custom API step fills itself in, leaving me to check it and fill any gaps instead of building it from scratch.
That would make Custom APIs in Managed Agents far more user friendly, with far less friction and far less resistance to customizing an agent. Right now the setup difficulty is the reason most people never get past the first Custom API. I love where custom objects are going — this would make the agents that work on them just as easy to set up.
Who benefits — anyone connecting an agent to a tool their business already runs on:
- Agencies: connect a client's CRM, booking system, or support desk without hand-building every call.
- E-commerce and retail: connect inventory, orders, and shipping APIs so the agent can check stock and update orders.
- Healthcare and wellness: connect scheduling and patient systems so the agent can book and confirm appointments.
- Real estate: connect MLS and property data so the agent can answer listing questions from live data.
- Legal: connect case management so the agent can pull matter status and deadlines.
- Restaurants and home services: connect POS and dispatch so the agent can check orders and job status.
- Coaches and creators: connect course platforms, payment, and email tools so the agent can enroll students and follow up.
- Churches and nonprofits: connect donor management so the agent can look up giving and follow up with members.
In every one of those, the API docs already describe exactly what the agent needs — the platform should read them instead of making the user retype them. Fewer failed setups means more Custom APIs actually working, more agents doing real work for contacts, and more agencies building on Managed Agents instead of going to Codex or Claude to do the same job.
Log In
H
Harshal Pawshekar
Hi Enoch, thanks for writing this up so clearly. We're building something very close to it.
What's coming: in a Managed Agent chat, you'll be able to give the agent a link to an API's docs, or paste the docs as Markdown. The agent reads them and writes a skill for that API: which endpoints to call, what each call needs and what comes back. You review the skill and approve it before the agent can use it. After that, any agent in your sub-account can use it.
What stays manual, on purpose: you'll still add the API's base URL and credentials once in Custom API, as an API key, a bearer token or OAuth client credentials. They're stored encrypted and the agent never sees them, which is why the docs can't fill in auth for you. Everything else comes from the docs.
One difference from what you described: this works from the agent chat and covers a whole API, rather than filling in the Custom API form one endpoint at a time. If you'd still find the form filling itself in useful for a single endpoint, please say so here. It helps us decide what to build next.
It will come to Labs first. I'll update this post when you can turn it on.