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.88.tar.gz
(228.2 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.88-py3-none-any.whl
(147.6 kB
view details)
File details
Details for the file synqed-1.1.88.tar.gz.
File metadata
- Download URL: synqed-1.1.88.tar.gz
- Upload date:
- Size: 228.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fd3f3c941a0beefd6cd7d441fba93732bb1054817fddf3d07e15eb8dfb67cbd
|
|
| MD5 |
743d81b762a9b27eb8459a6844ec9b94
|
|
| BLAKE2b-256 |
b351e747bd088b11fd4a201a73e5e8625083c7dfc56a9cfceeb7630ece45a9e1
|
File details
Details for the file synqed-1.1.88-py3-none-any.whl.
File metadata
- Download URL: synqed-1.1.88-py3-none-any.whl
- Upload date:
- Size: 147.6 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 |
973aa2455e1875f45f9904a02982b846a7cd0e8284100fa6c660f85c4ec51c82
|
|
| MD5 |
03ee2dd4318c81c82798396a10896f7e
|
|
| BLAKE2b-256 |
5e7b0f654888d96cf57e7a3f20c2ce9776255a8be61fb0fe445c0b35d8719ae9
|