Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeking Feedback on AI Agentic Framework Design: Integrating Dapr Workflows and Actors #30

Open
Cyb3rWard0g opened this issue Jul 29, 2024 · 0 comments

Comments

@Cyb3rWard0g
Copy link

Cyb3rWard0g commented Jul 29, 2024

Hello Team,

I am building an AI Agentic Framework in Python to utilize Dapr Workflows and Actors for triggering conversational agents. In my use case, I sometimes have specific steps (workflows) that guide agents, and other times I let an Agent Orchestrator (LLM-based) determine the next steps (activities). These activities would then point to or call other specific agents (services).

I understand that workflows are ideal for deterministic plans. However, in my Agent Orchestrator use case, the "activities" are not in a specific order. My idea is to create a workflow that triggers the Agent Orchestrator as activity number 1. Following that, I want to run a generic activity number 2 that invokes or calls a service (agent). Depending on the orchestrator's decision, one of the 2-3 available agents would be called for each iteration.

My question is whether this is a good use case for workflows. Or, should I consider using an Orchestrator Actor that pushes the request to the appropriate queue (one topic per agent/service) and lets the services handle the requests by retrieving tasks from the queue? I noticed that one of the workflow patterns in the Dapr documentation is Async HTTP APIs. Would that pattern be beneficial for this scenario? Here's the link for reference: Async HTTP APIs.

Could a combination of workflows and actors be the best approach here? I would love to get your feedback on this use case. Should I create an issue in the Dapr repositories too? If so, which ones.

Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant