How to run an Agency.
demo_gradio
method:
localhost
link from the terminal to start using your agency.
get_completion
method:
message
: The message to send to the agency.additional_instructions
(optional): Additional instructions that will be appended at the end of instructions for the recipient agent.tool_choice
(optional): Force the recipient agent to use a specific tool.attachments
(optional): A list of attachments to be sent with the message, following OpenAI format.recipient_agent
(optional): The agent to which the message should be sent.get_completion
method, you can also pass an array of message objects to use vision capabilities (if your llm model supports it):
run_demo
method:
@Developer I want you to build me a website
). This directs your message to the specified agent instead of the CEO. You can also press the tab key to autocomplete the agent’s name.delete
method: