Top
Best
New

Posted by aquir 15 hours ago

OpenAI Agents API(developers.openai.com)
267 points | 146 commentspage 2
baalimago 5 hours ago|
I've had great success with the OpenAI agents SDK [0]. This way I've been able to build the sandbox + slack + knowledge-bank integrations independently and be very strict with what I expose to OpenAI.

Looking at the Agents API, it seems like it offers similar capabilities, but reduces the need for hosting? So I get it from a business standpoint, but hosting a python service is very easy now a days, so I don't see the point as a consumer.

[0]: https://openai.github.io/openai-agents-python/

dakolli 4 hours ago|
Why not just build this yourself, you literally have AI, why wall yourself into an OpenAI garden. These sandboxed environments are trivial to build.
baalimago 4 hours ago||
I found that trying to keep up with their API updates and changes is more trouble than its worth, even with AI. The agents would need to reverse engineer from the OpenAI SDK source anyways, so why not cut the middleman?

If I wanted something portable for multiple providers, I would of course not use the OpenAI SDK at all. It's a conscious choice to go with OpenAI (in this design), it fits for my company at the moment.

chairhairair 13 hours ago||
Perfect for when you want your data to be stolen programmatically.
Aperocky 6 hours ago||
I think in time people will realize harness is essentially a more complicated .vimrc or .zshrc;

And yes, you can install gigantic plugins in those places - e.g. Codex; but the point is everyone will have exactly what they have customized towards. The more atomic a building block is, the easier it can be adapted into any kind of configuration.

I think the pain of selling a harness is if your target market understand what a harness is, then they can build it to exactly how they'd like it without much effort. If they don't, then the harness wouldn't be very useful to them in the first place.

kingstnap 13 hours ago||
This is pretty interesting in a lot of non-surface-level ways.

I can see OpenAI pushing for this as a sort of more durable moat compared to the now huge number of agentic harnesses that run on your own machine.

This might be getting the foot into some sort of bundling as well. Like unrestricted models or custom fine tuned agents inside this and not providing direct APIs to those endpoints.

That being said I don't see a lot of reasons for people to jump on this if it doesn't bundle something killer. Like to me the fact that GPT Work runs on your own machines and all the artifacts and work in progress there for you to look at is sort of the whole point. I don't just want a final artifact.

wyre 12 hours ago|
>GPT Work runs on your own machines...is sort of the whole point.

Which is also why they want to remove it from your machine. Call it conspiratorial, but I keep thinking about "You'll own nothing and be happy." It seems like the industry is quickly moving in a direction where devices are turning into gateway into the cloud, and personal computing will turn into a hobby that prices out the average individual.

sejje 10 hours ago||
I mean, they didn't say "you can't download the product of your work" or something.
wyre 9 hours ago||
Sure, but neither did I. I summarized the quote, but OP's full quote included the the value of having the work artifacts and works-in-progress on your system to look at. If you are developing software on a VM, there will still be tools to view the artifacts remotely, but this Agents API is still a sign of local development trending away.
varenc 11 hours ago||
Their showcase examples[0] link to GitHub but the links 404. Like this one for the Slack agent: https://github.com/OpenAI-Early-Access/agents-api-python-pre...

Guessing this an early release not quite ready for the public? Interesting that there's a 'OpenAI-Early-Access' GitHub user, though of course with no public repos. Presumably when its actually public they'll move the example agent repos to another GitHub user.

[0] https://developers.openai.com/showcase/agents-api-slack-bot

edit: Maybe someone from OAI saw my comment because the links are now fixed! And they point to a public repo under the openai org: https://github.com/openai/openai-cookbook/tree/main/examples...

jumploops 11 hours ago||
It's interesting to me that the agents comparison page[0] doesn't list codex's app-server as an option.

I've found the app-server to be the most flexible, compared to the raw Responses API or Agents SDK.

Certainly seems like everyone is still figuring out the right interface here.

Also of note, since GPT-5.5 or so, Codex doesn't even use the Responses API as intended, but instead a "lite" version where they manage the context more manually (like sending the full transcript or using a custom web.run tool instead of the provided `web_search` tool).

If you follow the docs, it will lead you down a lot of well-intended functionality, but most of it is thrown away in their most successful harness.

[0]https://developers.openai.com/api/docs/guides/agents#compare...

lukebuehler 9 hours ago||
I think this is an important direction: managed agents that control compute.

For those who are interested in a self-hosted version of the same concept, I've been working on something like this here: https://github.com/smartcomputer-ai/lightspeed

maxdo 13 hours ago||
Why would you choose api vs sdk . Sdk in a sandbox feels much better .
gavinray 13 hours ago||
https://developers.openai.com/api/docs/guides/agents#compare...
maxdo 13 hours ago||
I get it why do I want to use your managed session , what do you win ? Any examples ?

I’m trying to understand the use case but it seems weird middle ground in a way .

dannyw 7 hours ago||
Ease of setup and accepting the lock-in; in exchange for OpenAI handling security-patching the environment, scaling containers, etc. It's an option.
pixl97 13 hours ago|||
Because how does OpenAI earn more money then? At least to me it seems to try more vendor lock in, but I might mistaken on how easy it would be to just be another level of abstraction in an agent system.
simonw 13 hours ago|||
To save yourself the hassle of running your own sandboxed VM.
pixl97 12 hours ago||
Not sure I exactly trust OAI to do that right.
kakugawa 13 hours ago||
I assume you'd develop via the SDK, then deploy it via the API.
542458 13 hours ago||
What I want (which I don’t think exists?) is a way to trigger turns that the user can monitor in the codex application. I.e., when event X happens, my application triggers Codex to take a turn with input Y, which the user can monitor through codex. Right now the only way to get close to this is with polling or essentially rewriting a codex-like frontend.
iforgotmypasswo 13 hours ago||
I just wrote my own VR harness in a weekend with Astra. It mentioned an SDK for exactly this in passing, but it was an experimental personal project so I didn’t bother to review the code.

I was doing exactly what you’re describing. I think this is a ToS violation for anything other than personal use though.

theahura 13 hours ago|||
do you mean like a cloud agent provider? What we're working on at noriagentic.com may be relevant -- you can fire events from slack/web/cli to kick off an agent in a box and talk to it as if it was running local
Linkd 11 hours ago||
Do you guys support projects that span multiple repositories? (and can create multiple PRs across them?)
fy20 13 hours ago|||
Basically how Cursor Cloud Agents work?
ed_mercer 6 hours ago|||
you mean something like step level debugging for agents?
dist-epoch 12 hours ago||
You can give the agent a tool (or bash script) which waits for events. Agent calls it and the tool sleeps until an event happens then returns it to the agent.
lhk931122 9 hours ago|
Six months into customizing my own Claude Code harness, I've settled on assuming Anthropic and OpenAI will just handle all of it, except turning my own flows into skills.
More comments...