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.6.tar.gz (508.8 kB 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.6-py3-none-any.whl (77.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modular_agent_designer-0.7.6.tar.gz
  • Upload date:
  • Size: 508.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for modular_agent_designer-0.7.6.tar.gz
Algorithm Hash digest
SHA256 2dc645d7da3a52044b5df75ff2309dd3b13489c5235238ab144dea12acc7ce87
MD5 787811358010ee136204df9d2a1c2434
BLAKE2b-256 3f05f3ae1387f941df96a7974c127b9893f48b27db6d8a69444ffb04acdfea6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modular_agent_designer-0.7.6-py3-none-any.whl
  • Upload date:
  • Size: 77.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for modular_agent_designer-0.7.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8343c84ec9775a5ab2268eba3d1b0755791d8491e42f71e7c83ab38d609a3721
MD5 6481ecaa538d7766316cb1afc1e935b1
BLAKE2b-256 756b10ea759f077b1d4e79b8df820c04af064e868fb23d0a960c866dac95188d

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