Skip to content

jukto-ai/SwarmSync-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SwarmSync SDK

Collaborative AI Agent Swarms for Autonomous Task Synchronization

SwarmSync Logo

Welcome to SwarmSync SDK, a cutting-edge platform for building AI-powered agent swarms that collaborate like elite human teams. Our vertical multi-agent swarms autonomously handle complex tasksβ€”software development, market research, operational workflowsβ€”10x faster and at a fraction of the cost.

Note: SwarmSync SDK is currently in alpha development. While we're excited to share our progress, please be aware that:

  • The API and features are subject to change
  • We're actively gathering feedback and improving the framework
  • Production use is not recommended at this stage
  • We welcome contributions and feedback from the community

🌟 Why SwarmSync?
Unlike single-agent AI or rigid automation tools, SwarmSync's swarms mimic human teamwork with dynamic task allocation, multi-turn decision-making, and seamless integration with tools like Search Engines, Web Browsers, GitHub, and Linear. We're also working on MCP setup to enhance agentic capabilities, bringing even smoother collaboration.

Overview

SwarmSync Frontend UI:

SwarmSync Frontend Demo

SwarmSync System Architecture:

SwarmSync System Architecture

SwarmSync framework design diagram:

SwarmSync Framework

Key Features

  • Human-Like Collaboration: Role-based AI agents (e.g., PM, Developer, Researcher) work together autonomously, with dynamic task allocation and multi-turn decision-making.
  • Vertical AI Swarms: Specialized swarms tailored for domains like software development, research, or operations, syncing tasks with human-like precision.
  • Extensible Tools: Seamless integration with tools like Search Engine, Web Browsers, GitHub, Linear, and more.
  • MCP Integration: Model Context Protocol setup for enhanced agentic capabilities.

Quick Start

Installation

# Install the SDK
pip install swarmsync-sdk

# For full installation with browser tools
pip install swarmsync-sdk[full]

Basic Usage

from swarmsync import AgentTeam, Agent, Task
from swarmsync.common import ModelFactory

# Initialize the model factory
model_factory = ModelFactory()

# Create a team
team = AgentTeam(
    name="example_team",
    description="A simple example team",
    model=model_factory.get_model("gpt-4")
)

# Create and add agents
researcher = Agent(
    name="researcher",
    system_prompt="You are a research specialist",
    model=model_factory.get_model("gpt-4")
)

team.add(researcher)

# Run a task
task = Task(content="Research the latest trends in AI")
result = team.run(task)

SDK Test Environment

This directory contains test and example code for the SwarmSync SDK.

Structure

sdk_test/
β”œβ”€β”€ examples/
β”‚   └── basic_usage.py    # Basic SDK usage example
β”œβ”€β”€ tests/
β”‚   └── test_basic_usage.py  # Unit tests for basic functionality
└── pyproject.toml        # Project configuration and dependencies

Development Setup

  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: .\venv\Scripts\activate
  1. Install development dependencies:
# Install the SDK in development mode
pip install -e ".[full]"

# Install testing dependencies
pip install pytest pytest-cov

Running Examples

To run the basic usage example:

python examples/basic_usage.py

Running Tests

To run the test suite:

pytest

For test coverage report:

pytest --cov=swarmsync

Development

The SDK test environment is set up to help you:

  • Test new features
  • Verify SDK functionality
  • Create example code
  • Run unit tests

Use Cases/ Demos

πŸŽ₯ Product Engineering Team Demo

Showcasing a collaborative AI swarm that follows FAANG best practices and agile methodologies. The demo demonstrates how our AI agents work together to handle complex software development tasks with human-like precision.

Product Engineering Team Demo

πŸ€– Team Composition

  • Product Manager: Creates detailed PRDs with user stories and acceptance criteria
  • Senior Developer: Implements solutions following clean code principles
  • QA Lead: Performs comprehensive testing with edge cases

Vision and Roadmap

Show what our SwarmSync fully autonomous collaborative multi-agents can do without any human intervention.

Agent

  • Add other team members
  • Add more MCP tools

Developer experience

  • Frontend UI, dashboard
  • Deploy the frontend UI (WIP)
  • File attachment, workspace for PPT, Docs, Excel, code files
  • Self-host service

Workflows

  • Update the agentic workflow to do self-healing autonomous tasks without human intervene in the teams
  • Optimize LLM fallback, token usage, and steps to improve the support
  • Teamwork, memory management within teams
  • Exposure to all available MCP tools for better support
  • Use SwarmSync to automatically create website, MVP, visualization, code, debug, testing, financial strategy, etc

Contributing

  1. Write tests for new features
  2. Add examples for new functionality
  3. Update documentation as needed
  4. Run tests before submitting changes

Acknowledgements

We'd like to acknowledge the excellent work of the open-source community, especially:

We're committed to continuing to build the SwarmSync Agents SDK as an open-source framework so others in the community can expand on our approach.

License

SwarmSync is licensed under the Apache-2.0 License. Feel free to use, modify, and distribute it as per the license terms.

Contact

πŸ“ˆ Star History

Star History Chart

About

Collaborative AI Agent Swarms for Autonomous Task Synchronization

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages