Async Agency
Agency Async Release Features
-
Asynchronous Execution Mode:
- Integrated asynchronous execution in the Agency class.
- Allows agents to send tasks without waiting for a response, and check response later with the new
GetResponse
tool - To use, simply set
async_mode='threading'
when initializing the Agency class
-
Database-Backed Agent and Thread Management:
- Added functionality to load and save agent configurations and threads from the database.
- To use, set
settings_callbacks
andthreads_callbacks
when initializing your agency. - Supports stateless backends like serverless functions, enabling conversation continuity between your agents.
-
Other features:
- Dark mode or light mode in demo gradio with
agency.demo_gradio(dark_mode=True)
- Set
settings_path
when initializing yourAgency
- Use the latest
gpt-4-preview
version by default
- Dark mode or light mode in demo gradio with