Hello, everyone, and thanks in advance for any help. Been using the OpenAI API for a few months now, but have hit some confusion.
- Is the Assistants API going away? Should I be doing everything in Agents SDK instead?
- Completions vs. Responses? What's the difference?
- This is what I'm trying to do. Advice appreciated:
I have assistant A conducting a chat with a human user, and that's been working fine. However, once A has collected all the info from the user that I asked it to, I have been trying to get it to hand off to assistant B. Assistant B has its own developer/system prompt and set of sensitive information to collect. Because what B collects is sensitive, I ideally would like to have it be a separate assistant or agent (so as to keep the sensitive info isolated and away from A), but I've been struggling to get this working for the past 2 days.
What is the advised way to hand off between two separate conversational assistants/agents, each of which conduct a prolonged chat with a human user (and if I want to keep one's communications more or less hidden or abstracted away from the other)?
I know there's orchestrator-subagent, but that would fail to keep the sensitive info away from the orchestrator (unless I turned it on its head and had B be the orchestrator, I guess). There's straight handoff, but when I tried to convert my Assistant-based architecture to Agent-based today, A just got stuck on its first tool call and failed to proceed from there.
Lastly, once B is done, I most likely need it to hand back off to A, or I suppose I could have the finalization work done by a new assistant/agent C.
It's a lot, and I'm rambling. Again, any help appreciated. Many thanks!