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.89.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.89-py3-none-any.whl
(148.0 kB
view details)
File details
Details for the file synqed-1.1.89.tar.gz.
File metadata
- Download URL: synqed-1.1.89.tar.gz
- Upload date:
- Size: 228.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a22cbf79f85eb84d950b362483434d9a4ee0a0f58aa7c580fc797bf1b670e69
|
|
| MD5 |
01ed527925177de2d5eb4389261abbab
|
|
| BLAKE2b-256 |
cc302be12fe47f700c8b5408e93518740312e81c1c0388a3d9f7d902f8644568
|
File details
Details for the file synqed-1.1.89-py3-none-any.whl.
File metadata
- Download URL: synqed-1.1.89-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.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8cda1d213995d7d0922ae8ce60a2e5b3cd2704b43516d9b4aa5041d9c8aab4c
|
|
| MD5 |
dd0a627802fdb82c338a997062c379c4
|
|
| BLAKE2b-256 |
b9957b5ace7bf307ea057682f2e2c16eb7225efd5419fa1cbedc630c82d1a966
|