Synqed - A wrapper around A2A for simplified multi-agent systems interaction and communication
Project description
Synqed
A Python SDK for building multi-agent systems with workspace-based orchestration.
Installation
pip install synqed
Quick Start
import synqed
from synqed import PlannerLLM, WorkspaceExecutionEngine, WorkspaceManager
# Initialize the planner
planner = PlannerLLM(
provider="anthropic",
api_key="your-api-key",
)
# Plan a task and create agents
task_plan, agent_specs = await planner.plan_task_and_create_agent_specs(
user_task="Your task description",
agent_provider="anthropic",
agent_api_key="your-api-key",
)
# Create agents from specs
agents = synqed.create_agents_from_specs(agent_specs)
# Register agents
for agent in agents:
synqed.AgentRuntimeRegistry.register(agent.name, agent)
# Create workspace manager and execution engine
workspace_manager = synqed.WorkspaceManager()
execution_engine = synqed.WorkspaceExecutionEngine(
planner=planner,
workspace_manager=workspace_manager,
)
# Create and run workspaces
root_workspace = await workspace_manager.create_workspace(
task_tree_node=task_plan.root,
parent_workspace_id=None,
)
await execution_engine.run_workspace(root_workspace.workspace_id)
Features
- PlannerLLM: Task decomposition and agent specification generation
- WorkspaceManager: Hierarchical workspace creation and management
- WorkspaceExecutionEngine: Multi-agent execution with message routing
- PlannerAgent: CEO-style coordinator for root workspaces
- Agent: Flexible agent creation with custom logic functions
- MCP Integration: Optional Model Context Protocol support
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
synqed-1.1.91.tar.gz
(228.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
synqed-1.1.91-py3-none-any.whl
(148.0 kB
view details)
File details
Details for the file synqed-1.1.91.tar.gz.
File metadata
- Download URL: synqed-1.1.91.tar.gz
- Upload date:
- Size: 228.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1fb26b6914aa960d347809b8f90ae6865af4bb1190b59e5764e140165933396
|
|
| MD5 |
6bd9fdca9eea75092c1ea9b3a4049e02
|
|
| BLAKE2b-256 |
af1b10ab6931c05f43282cb79ac93f2971ad51c4f08dc74430678ab2e9f8a8c2
|
File details
Details for the file synqed-1.1.91-py3-none-any.whl.
File metadata
- Download URL: synqed-1.1.91-py3-none-any.whl
- Upload date:
- Size: 148.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a1e6f6efa18d4c23ef63f57c2951d734299806d6e52b50ac7b24470f4be39f6
|
|
| MD5 |
6ba5f62a1827ec9979f1157637646e50
|
|
| BLAKE2b-256 |
0d19de0f9dc30f9735c4d122eb9267f0742c01a0f2ce871a68ed2493672a973c
|