Skip to content
Discussion options

You must be logged in to vote

Hi Viktor Shamal Andersen (@shamal-kp), I ran into the same wall and ended up building a working example, so sharing what worked in case it saves you some time: https://github.com/Santiagosala2/foundry-agui-example

You're right that AgentFrameworkAgent doesn't fit into the wrapper from azure.ai.agentserver.core - that path assumes the responses protocol, which is OpenAI-compatible and platform-managed, so you never get control of the event stream. AG-UI needs its own SSE format, so that's a dead end.

But you don't need the proxy app either. Hosted agents also support the invocations protocol, which hands you the raw HTTP request and lets you write the SSE stream yourself — the docs even l…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@shamal-kp
Comment options

@Santiagosala2
Comment options

Answer selected by shamal-kp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants