Agency Parameters
Explanation of parameters in Agency class.
Shared Instructions (Agency Manifesto)
The agency_manifesto.md
file contains instructions that will be shared among all agents in the agency.
Here is a template to help get you started:
To use the manifesto, simply specify the path to your manifesto in the Agency
class.
Shared Files
Shared files allow you to share certain files among all agents in the agency. All your agents will than be able to use these files with FileSearch
and CodeInterpreter
tools.
To use shared files, simply put them in a folder and specify the folder path in a shared_files
parameter.
Default Parameters
Some parametrs in Agency
class mimic those in Agent
class.
In case if the parameter is defined in both classes, the value from Agent
class will be used.
You can use the folloing parameters to set default values for the entire agency:
temperature
top_p
max_completion_tokens
max_prompt_tokens
truncation_strategy
Custom Settings Path
By default, Agency Swarm keeps the state of your agents in a special settings.json
file. If you would like to use a different file path for settings, you can specify a settings_path
parameter:
If this file does not exist, it will be created, along with new Assistants on your OpenAI account.