Skip to content

Conversation

@yu-jeffy
Copy link
Contributor

@yu-jeffy yu-jeffy commented Jan 6, 2025

feats:

  • swarms command in cli, allowing running multiple agents simultaneously
  • swarms manager, which runs each agent in its own thread
  • message bus, which allows agents to pass messages locally within zerepy to one another. supports any json payload as long as it can be stringified in the payload contents
  • refactor of agent.py main loop
  • graceful stop in agent.py main loop
  • readme update

bugs:

  • imghdr support fix for python 3.13 by installing/importing standard-imghdr
  • last_tweet_time initialization fix in twitter_actions.py
  • fixed validate_config signature in base_connection.py

Introduces a new multi-agent "swarm" system that enables multiple agents
to run in parallel and communicate with each other:

Message Bus:
- Add MessageBus for centralized message routing between agents
- Implement MessagePayload for structured agent communication
- Add thread-safe message publishing and fetching
- Enable direct messaging and broadcast capabilities

Swarm System:
- Add SwarmManager to orchestrate multiple concurrent agents
- Implement thread management for parallel agent execution
- Add graceful shutdown handling for agent swarms
- Enable dynamic agent loading into swarm groups

Agent Enhancements:
- Update ZerePyAgent to integrate with message bus
- Add message collection and handling loops
- Implement automatic response generation using LLMs
- Add example chatbot configurations for testing

CLI Updates:
- Add 'swarm' command for launching agent groups
- Enable swarm management and monitoring
- Add message sending capabilities between agents

Minor bug fixes
- Setting last_tweet_time properly in twitter_actions.py
- Function signature typo in base_connection.py

Dependencies:
- Update charset-normalizer to 3.4.1
- Add standard-imghdr 3.13.0
@blorm-network blorm-network deleted a comment from BrandDead Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants