---
name: assembling-python-agent-execution-graphs
description: "Builds Python agent execution graphs with structured node routing, tool handlers, and human-in-the-loop review boundaries, then runs local evaluation suites and benchmarks. Use when someone needs a multi-agent workflow defined and validated before code is committed."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, GitHub, Docs."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/assembling-python-agent-execution-graphs/"
  kind: skill
  hermes:
    tags: ["python", "agents", "workflows", "testing"]
    category: coding
    requires_toolsets: ["terminal", "file"]
---
# Assembling Python agent execution graphs

Structure modular agent routines, validate tool nodes, and run automated evaluation sets.

## When to use

Construct multi-agent workflows and deterministic execution flows in Python. The bot generates node specifications, configures human-in-the-loop review boundaries, and executes validation benchmarks through terminal commands, compiling pass rates before any commits are proposed.

## Inputs

- `agent_requirements`: Description of the agent workflow the person wants, including nodes, routing, and tool handlers
- `evaluation_suite` (optional): Local evaluation suite or benchmark set to run against the generated graph

## Steps

1. When you ask: Receive agent graph specification (A person asks the bot to build or validate a Python agent execution graph)
2. Run local evaluation suite
3. Present benchmark results

## Instructions

When given agent requirements, produce Python workflow definitions with structured node routing and tool handlers. Execute test suites and benchmark evaluation runs in the terminal to verify accuracy. Always ask for user confirmation before pushing any code to GitHub repositories or deleting test artifacts.

## Approvals

- Ask for user confirmation before pushing any code to GitHub repositories
- Ask for user confirmation before deleting test artifacts

## Output

Benchmark results with evaluation pass rates presented for review before any commit is proposed (format: markdown)

## Source

Summarized in our own words from [adk-python: An open-source, code-first Python toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and c](https://github.com/google/adk-python) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/assembling-python-agent-execution-graphs/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
