Agency-swarm

Latest version: v0.4.2

Safety actively analyzes 702116 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.1.6

Bug Fixes

- Fixed readline not available on windows 95
- Fixed message queue timing out on long function calls in `demo_gradio`.

**Full Changelog**: https://github.com/VRSEN/agency-swarm/compare/v0.1.5...v0.1.6

0.1.5

New Features

- **Support for streaming**: The `demo_gradio` and `run_demo` methods now use streaming by default. For custom integrations, please see [documentation](https://vrsen.github.io/agency-swarm/advanced-usage/agencies/#streaming-responses).

Bug Fixes

- Fixed agency chart not parsing correctly when adding more than 2 agents in any second level list.

**Full Changelog**: https://github.com/VRSEN/agency-swarm/compare/v0.1.4...v0.1.5

0.1.4

New Features

- **Improved Genesis Agency**: The agency creation process with Genesis Agency is now a lot more reliable and stable.

Bug Fixes

- Fixed "got an unexpected keyword argument 'type'" bug when using genesis cli command.

**Full Changelog**: https://github.com/VRSEN/agency-swarm/compare/v0.1.3...v0.1.4

0.1.3

New Features

- **Docs are available!**: Check out the full usage guide with lots of useful tips at https://vrsen.github.io/agency-swarm/
- **Added `get_openapi_schema` to ToolFactory**: With this method, you can now convert multiple tools into a single OpenAPI schema. This is useful when you want to deploy all tools for an agent in a single endpoint.
- **--with_browsing option for genesis CLI**: Make browsing agent optional in genesis CLI, because the ToolAgent can create schemas for most APIs.
- **Azure OpenAI Support**: Docs and notebook on how to use agency swarm with Azure are available [here](https://github.com/VRSEN/agency-swarm/blob/main/notebooks/azure.ipynb).

Bug Fixes

- Fixed main thread from being saved using `threads_callbacks`.

**Full Changelog**: https://github.com/VRSEN/agency-swarm/compare/v0.1.2...v0.1.3

0.1.2

New Features

- **Use Genesis Agency directly from CLI** - Run the `agency-swarm genesis` command to chat with Genesis Agency directly from your CLI and create your agents and tools more quickly.
- **Select multiple agents as the entry point for communication (ChatGPT Mentions Feature) 72** - You can now add multiple agents in the top-level array in `agency_chart`. Then you can start communication directly with those agents using `AgentName` in the terminal or selecting a recipient in Gradio using the dropdown.

python
agency = Agency([
ceo, dev, you can now add multiple agents in the main thread
[ceo, dev],
[ceo, va],
])


You can also use autocomplete by pressing the Tab button to fill in the agent's name in the terminal.
- **Shared State For Tools -** Now, you have the ability to share state between **all** tools by using the `self.shared_state`. For instance, you can save state when Agent1 calls a tool inside the run method by using `self.shared_state.set("key", "value")`, and then retrieve it in Agent2 when it calls a different tool using `self.shared_state.get("key")`. This allows you to control the execution logic based on certain conditions or actions performed by other agents.
- **Markdown formatting** - `agency.run_demo()` method now displays messages using markdown in terminal.
- **Tools Directory** - Select `tools_folder` when initializing your agent to automatically import all tools from `.py` files. The file must be named exactly as the class name of the tool. Each tool should be defined in a separate file. For example, the [[ExampleTool.py](http://exampletool.py/)](http://exampletool.py/) file should have `ExampleTool` defined inside.
- **Settings Path** - When initializing your agency, you can now specify the settings_path parameter to save your agent configurations in a file other than settings.json. For example, you can use settings2.json.
- **Gradio file uploads** - You can now upload files directly from the new Gradio interface when running the agency.demo_gradio() command.



Bug Fixes

- OpenAI thread timing out on long running agent tasks 71
- Improved doc strings

**Deprecations and Removals**

- Refactored genesis agency by moving all tools into corresponding agent folders inside agency/genesis folder.
- I have removed the ability to import tools and agents from Genesis Agency. Instead, we will be focusing on improving Genesis Agency itself, allowing you to create those tools from scratch and giving you more ways to customize them.

**Full Changelog**: https://github.com/VRSEN/agency-swarm/compare/v0.1.1...v0.1.2

0.1.1

Agency Async Release Features

1. **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

2. **Database-Backed Agent and Thread Management:**
- Added functionality to load and save agent configurations and threads from the database.
- To use, set `settings_callbacks` and `threads_callbacks` when initializing your agency.
- Supports stateless backends like serverless functions, enabling conversation continuity between your agents.

3. **Other features**:
- Dark mode or light mode in demo gradio with `agency.demo_gradio(dark_mode=True)`
- Set `settings_path` when initializing your `Agency`
- Use the latest `gpt-4-preview` version by default

Bug fixes

* Fixed bug with installing repo on windows 58
* Prevent agency duplication in subfolders 52

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.