-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Feat: Agentic Workflows #1627
base: main
Are you sure you want to change the base?
Feat: Agentic Workflows #1627
Conversation
super().__init__() | ||
setup_database() | ||
|
||
@Workflow.register(description="Order a product for a user") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are each of these possible workflows?
return str(response.content) | ||
|
||
|
||
agent = Agent( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So a workflow is an agent? Or you can have an agent call workflows like tools? What is the difference between a workflow and a tool then? That you can call other agents in that workflow?
agent = Agent( | ||
name="Customer Support Agent", | ||
description="You are a customer support agent that can help with general queries and order products for users", | ||
instructions=[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't this example be done with only the database agent and structured output?
Description
This PR introduces the ability for agents to call workflows
Type of change
Please check the options that are relevant:
Checklist
Additional Notes
Include any deployment notes, performance implications, or other relevant information: