Agency-swarm

Latest version: v0.4.2

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

Scan your dependencies

Page 2 of 4

0.2.5

New Features
* Converting OpenAI/OpenAPI schemas using `ToolFactory` into tools has been significantly improved with `datamodel-code-generator`. Now, all parameters and endpoints are converted into `BaseTool`s flawlessly, even with complex data structures like `oneOf` or `allOf`, allowing the agent to validate all inputs **before** calling the API.
* Default model is now `gpt-4o`.
* Gradio interface now accepts image files for analysis with vision.
* Gradio interface now automatically adds required tools to the recipient agent when uploading files.

Bug Fixes
* Fixed bugs with the initialization of assistants created with the V1 assistants API. 128
* Fixed file assignment to tool resources based on file types in the Gradio interface.
* Fixed typos by Elektra58.

New Contributors
* beanlover made their first contribution in https://github.com/VRSEN/agency-swarm/pull/129
* Elektra58 made their first contribution in https://github.com/VRSEN/agency-swarm/pull/132

Note
Version 0.2.4 was skipped because of an extra debug statement that was not removed.

**Full Changelog**: https://github.com/VRSEN/agency-swarm/compare/v0.2.3...v0.2.5

0.2.3

New Features
* `BrowsingAgent` is now significantly improved and uses vision directly with GPT-4o, instead of through the tools
* `MessageOutput` now contains an object which caused the message, for more flexibility in backend integrations.
* Shared state now contains `agent` and `recipient_agent` references. Additionally, it is now initialized in `Agency` class, rather than package-wide.

Bug Fixes
* Fix Order of Operations in `Agent.init_oai` Method to Ensure Assistant Updates by bonk1t in https://github.com/VRSEN/agency-swarm/pull/127
* Other minor bug fixes

New Contributors
* bonk1t made their first contribution in https://github.com/VRSEN/agency-swarm/pull/127

**Full Changelog**: https://github.com/VRSEN/agency-swarm/compare/v0.2.2...v0.2.3

0.2.2

New Features
* Added support for open-source models, docs are available [here](https://vrsen.github.io/agency-swarm/advanced-usage/open-source-models/)

Bug Fixes
* Returned backward compatibility for `yield_messages` as some people have requested.
* Handle timeouts with extremely long function calls 115
* Fixed message attachment bug by ArtemShatokhin in https://github.com/VRSEN/agency-swarm/pull/119

New Contributors
* ArtemShatokhin made their first contribution in https://github.com/VRSEN/agency-swarm/pull/119

**Full Changelog**: https://github.com/VRSEN/agency-swarm/compare/v0.2.1...v0.2.2

0.2.1

Bug Fixes
- Resolved the issue where the `on_all_streams_end` call was missing for the event handler in streaming, causing the Gradio interface to freeze after the first message.

**Full Changelog**: [View Changes](https://github.com/VRSEN/agency-swarm/compare/v0.2.0...v0.2.1)

0.2.0

New Features

- **Temperature and Top P Controls**: Set the `temperature` and the `top_p` parameter in the `Agent` or `Agency` class, with Agent settings taking precedence.
- **Max Token Controls**: Configure `max_prompt_tokens`, `max_completion_tokens`, and `truncation_strategy` in either the `Agent` or `Agency` class, with Agent settings taking precedence.
- **JSON Mode**: Configure the response format by setting the `response_format` parameter in the Agent class.
- **Tool Choice**: Select the tool to be used in the `get_completion` methods.
- **Few-Shot Examples**: Add examples to the agent to fine-tune its responses. For more details, refer to the [documentation](https://vrsen.github.io/agency-swarm/advanced-usage/agents/#few-shot-examples).
- **File Search**: The `Retrieval` tool has been replaced by the `FileSearch` tool by default. Initialize an agent to create a vector store if one does not already exist. To delete a vector store and all associated files, use `agent.delete()` or `agency.delete()` methods.
- **Enhanced Genesis Agency**: Enhanced genesis agency to accommodate new features. Upgraded `ToolCreator` agent's `CreateTool` with a more robust architecture.

**Full Changelog**: [View Changelog](https://github.com/VRSEN/agency-swarm/compare/v0.1.7...v0.2.0)

0.1.7

New Features

- **Devid Agent**: A new AI Software Development agent has been added to the framework.
- **Local Import of Agent Source Code Files**: The command `agency-swarm import-agent` has been introduced, enabling the local copying of your agent's source files. This feature grants you complete control over your systems. Additionally, Genesis agency has integrated the use of this command.
- **Enhanced Command Instructions**: Enhancements have been made to the `get_completion` methods, allowing the passing of additional instructions. Agents can now communicate more effectively with each other by utilizing this new parameter.
- **Customizable Response Validators**: Agents now have the capability to override special response validator methods within their class definitions. If these methods return an error, the corresponding error message will be forwarded as a user message, facilitating automatic reprompting of your agents.
- **Concurrency Control for Tool Access**: To prevent simultaneous multiple calls to certain tools by your agents, a new class attribute `one_call_at_a_time: bool = False` has been introduced in the `BaseTool` classes. If set to True, your agent can't call this tool multiple times in a single message.

Bug Fixes

- **General Stability Enhancements**: Significant improvements have been made to mitigate various OpenAI-related errors, enhancing the robustness and reliability of the system.
- **Fixed non existing agents in settings**: Now, rather than rasiing errors for deleted agents in your settings file, the system will automatically create a new one.
- **Fixes in Demo Interfaces**: Issues with demo interfaces, including Gradio and terminal demos not displaying messages sent to other assistants, have been resolved, ensuring a smoother user experience.

**For the complete list of changes, please visit the full changelog**: [View Changelog](https://github.com/VRSEN/agency-swarm/compare/v0.1.6...v0.1.7)

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.