Skip to main content

A modular framework for designing and orchestrating complex agentic workflows with ease.

Project description

Modular Agent Designer

Declarative YAML → Google ADK workflow compiler. Define agents, tools, models, and graph topology in a single YAML file — no Python code required.

pip install modular-agent-designer

Note: google-adk is currently in beta — install with --prerelease=allow when using uv.


Quickstart

# Scaffold a new agent project
uv run modular-agent-designer create my_agent

# Run it
uv run modular-agent-designer run my_agent/my_agent.yaml --input '{"message": "hello"}'

What a workflow looks like

name: research_assistant

models:
  local:
    provider: ollama
    model: ollama_chat/gemma4:e4b

tools:
  web:
    type: builtin
    name: fetch_url

agents:
  researcher:
    model: local
    tools: [web]
    instruction: "Research {{state.topic}} and summarize your findings."

  writer:
    model: local
    instruction: "Write a short article based on: {{state.researcher}}"

workflow:
  nodes: [researcher, writer]
  edges:
    - from: researcher
      to: writer
uv run modular-agent-designer run research.yaml --input '{"topic": "quantum computing"}'

Key features

Feature Details
Multi-provider models Anthropic, Google Gemini, OpenAI, Ollama — all via LiteLLM
Tools Builtin callables, arbitrary Python functions, MCP servers (stdio / SSE / HTTP)
Routing Conditional edges, default fallback, self-loops, parallel fan-out with join barriers
State templating {{state.key}} in prompts resolved at runtime
Structured output Per-agent Pydantic output_schema
Thinking/reasoning Anthropic extended-thinking, OpenAI reasoning effort, Gemini thinking budget
Retries Per-agent fixed or exponential backoff
Observability Optional MLflow / OTLP tracing via --mlflow
Escape hatch Drop in custom BaseNode subclasses for non-LLM logic

Supported model providers

model: anthropic/claude-sonnet-4-6    # Anthropic — ANTHROPIC_API_KEY
model: gemini/gemini-2.5-pro          # Google    — GOOGLE_API_KEY
model: openai/gpt-4o                  # OpenAI    — OPENAI_API_KEY
model: ollama_chat/gemma3             # Ollama    — OLLAMA_API_BASE (default: localhost:11434)

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modular_agent_designer-0.7.3.tar.gz (23.4 MB view details)

Uploaded Source

Built Distribution

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

modular_agent_designer-0.7.3-py3-none-any.whl (51.5 kB view details)

Uploaded Python 3

File details

Details for the file modular_agent_designer-0.7.3.tar.gz.

File metadata

  • Download URL: modular_agent_designer-0.7.3.tar.gz
  • Upload date:
  • Size: 23.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for modular_agent_designer-0.7.3.tar.gz
Algorithm Hash digest
SHA256 b54b1a66ac87ffce8ebb881c977918e3126b7e40a0538ac5df77a29ac3df230a
MD5 27a9c2c6bd9c78c885aead70fe5ca189
BLAKE2b-256 1950ca59c9ef6e8aac1ae612a902291a442374d300be3aaa05217658012bc067

See more details on using hashes here.

File details

Details for the file modular_agent_designer-0.7.3-py3-none-any.whl.

File metadata

File hashes

Hashes for modular_agent_designer-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 777cc8a391dbb9ec65e1e9e2cb3e76e03064fe359d1991df08f78fa6dedb642e
MD5 ba8c5d1e24cdfd9e20ebe1abef5162bb
BLAKE2b-256 8eb8f34a6c613693532693a661466c6535913766eac248bd2e1bd336e5e61458

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