Liteswarm

Latest version: v0.6.0

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

Scan your dependencies

Page 1 of 2

0.6.0

Added
- Type-safe context validation with generic AgentContext
- New tool registration decorators (tool, tool_plain) with type validation
- Type validation for SwarmStream and Swarm public API
- Explicit agent switching via ToolResult.switch_to method

Changed
- **BREAKING**: Refactored Core API to be fully type-safe
- **BREAKING**: Reworked agent switching to be stateless and explicit
- **BREAKING**: Simplified Chat components with unified ChatContext
- Reorganized examples into basics and advanced categories
- Updated all documentation to reflect type-safe API changes

Removed
- Experimental SwarmTeam prototype module
- Generic message types in favor of type-safe alternatives
- Swarm team types and exceptions

Fixed
- Yield agent completion event at iteration end

0.5.1

Added
- Added missing common types (e.g. LLM and ContextVariables) to global namespace

Fixed
- Resolved mypy type variance issues with generic types

0.5.0

0.4.0

0.3.0

0.2.0

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.