Skip to main content

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.87.tar.gz (226.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synqed-1.1.87-py3-none-any.whl (145.6 kB view details)

Uploaded Python 3

File details

Details for the file synqed-1.1.87.tar.gz.

File metadata

  • Download URL: synqed-1.1.87.tar.gz
  • Upload date:
  • Size: 226.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for synqed-1.1.87.tar.gz
Algorithm Hash digest
SHA256 44166d5a59ca252aaada1cc5d8244c12e371aac237f1311dcb6d3eb9b148e7b8
MD5 0186a8cfaaea3f630f67f95c16bbbace
BLAKE2b-256 7b1d44bda1ece1e868e47346d30b5c1c2882617b0837b68ae232277fea241d2e

See more details on using hashes here.

File details

Details for the file synqed-1.1.87-py3-none-any.whl.

File metadata

  • Download URL: synqed-1.1.87-py3-none-any.whl
  • Upload date:
  • Size: 145.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for synqed-1.1.87-py3-none-any.whl
Algorithm Hash digest
SHA256 8b4f99ef3dcd82670f7ed651b586fcb946777207bd6fe5a3a5dc56b5034979ac
MD5 4e04b39c0cd01747c4aebb219b3f3266
BLAKE2b-256 8b3d4f79ff14f48d953804c486366659fa2974cd2de5532e09e63915028c9ad0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page