You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wondering what is a working architecture for long running agents with Microsoft Agent Framework?
Scenario:
I've a frontend where the user can start a agent task which might take very long.
For this task I create a record in the DB with several information.
Requested functionality:
The agent request/task should be processed without a running client/frontend -> in the background
A frontend should be able to connect to this background job an should retrieve current messages (function calls, messages from LLM etc) to show this in the UI and interact with the agent for any user feedback or approvals
I would love to use AG-UI for the frontend to Agent connection because this seems the way to go.
What are my options?
Start the agent (with streaming) via a background job (job with hangfire or via message broker)?
Persists all messages in the DB with ChatHistoryProvider or custom AgentSessionStore.?
But how can I "connect" to the current execution of the agent? Maybe using a conversationId?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I just wondering what is a working architecture for long running agents with Microsoft Agent Framework?
Scenario:
I've a frontend where the user can start a agent task which might take very long.
For this task I create a record in the DB with several information.
Requested functionality:
The agent request/task should be processed without a running client/frontend -> in the background
A frontend should be able to connect to this background job an should retrieve current messages (function calls, messages from LLM etc) to show this in the UI and interact with the agent for any user feedback or approvals
I would love to use AG-UI for the frontend to Agent connection because this seems the way to go.
What are my options?
Start the agent (with streaming) via a background job (job with hangfire or via message broker)?
Persists all messages in the DB with ChatHistoryProvider or custom AgentSessionStore.?
But how can I "connect" to the current execution of the agent? Maybe using a conversationId?
Beta Was this translation helpful? Give feedback.
All reactions