agentflow

A project guide for AgentFlow, a framework for building applications where multiple software agents work through connected steps and tools. It covers the Python and TypeScript packages, command-line tools, API, storage, and visual playground.

In plain words
What is it for?
Use it to install or identify AgentFlow packages, build or debug agent workflows, use its command-line tools and API, and work with projects that import AgentFlow code.
Why use it?
It gives developers one place to check the correct package, documentation, commands, and intended behavior when working in an AgentFlow project.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/10xhub/agentflow-cli/codex
Any agent
npx skills add 10xHub/agentflow-cli --skill codex
Clone the repo
git clone --depth 1 https://github.com/10xHub/agentflow-cli

Made for: Claude Code, Codex.

Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,849 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00145 $0.01849
Opus 5 $0.00072 $0.00924
Sonnet 5 $0.00029 $0.00370
Haiku 4.5 $0.00015 $0.00185

Measured yesterday against content hash 799b4ec0c80e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agentflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agentflow_cli/cli/templates/skills/codex/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agentflow Project Skill

Use this skill when working in an Agentflow project. Agentflow is a multi-agent framework that wraps official OpenAI and Google SDK capabilities behind a unified graph, agent, tool, state, storage, API, CLI, and TypeScript client interface.

Treat https://agentflow.10xscale.ai/ as the first source of truth for public package names, install commands, and user-facing behavior. Use implementation source after the docs establish the intended API.

Workflow

  1. Identify the published package or docs surface involved:

  2. Read the matching reference file before changing behavior:

    Core Python SDK

    • Architecture and package flow: .agents/skills/agentflow/references/architecture.md
    • Agent constructor, provider, reasoning, retry, fallback, output_schema: .agents/skills/agentflow/references/agents-and-tools.md
    • Graph construction, nodes, edges, compile, interrupts, config keys: .agents/skills/agentflow/references/state-graph.md
    • State, messages, and content blocks: .agents/skills/agentflow/references/state-and-messages.md
    • Threads and checkpointing: .agents/skills/agentflow/references/checkpointing-and-threads.md
    • Dependency injection (InjectQ): .agents/skills/agentflow/references/dependency-injection.md
    • Multimodal files and media stores: .agents/skills/agentflow/references/media-and-files.md
    • Long-term memory stores (MemoryConfig, QdrantStore, Mem0Store): .agents/skills/agentflow/references/memory-and-store.md
    • Streaming, StreamChunk, SSE, ResponseGranularity: .agents/skills/agentflow/references/streaming.md
    • Stream emitter for tool progress updates: .agents/skills/agentflow/references/stream-emitter.md
    • Observability hooks, validators, and runtime jumps: .agents/skills/agentflow/references/callbacks-and-command.md
    • Prebuilt agents (ReactAgent, PlanActReflectAgent, StructuredOutputAgent, SupervisorTeamAgent, SwarmAgent, RAGAgent) and tools: .agents/skills/agentflow/references/prebuilt-agents-and-tools.md
    • Event publishers and A2A/ACP runtime protocols: .agents/skills/agentflow/references/publishers-and-runtime-protocols.md
    • Context management, ID generation, and background tasks: .agents/skills/agentflow/references/context-id-background.md
    • Provider internals and adapters: .agents/skills/agentflow/references/providers-and-adapters.md
    • Prompt-injection and validation safety: .agents/skills/agentflow/references/security-and-validators.md
    • Realtime audio-to-audio voice agents (AudioAgent, Gemini Live, arealtime, WebSocket bridge): .agents/skills/agentflow/references/realtime.md

Read the full file on GitHub · 84 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 84 lines · 0 tokens per session scan A 799b4ec0c80e

Subscribe to this mod's changes

agentflow is a skill published in the GitHub repository 10xHub/agentflow-cli (5 stars, last pushed 14d ago), licensed MIT. It adds 145 tokens to every session and 1,849 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

vitest-testing

Vitest unit and integration testing patterns, commands, mocking (vi.mock), and coverage. Use when writing .test.ts files, configuring the test runner, or adding coverage thresholds.

monkilabs/opencastle · 40 tokens

turborepo-monorepo

Configure pipelines, set up local/remote caching, and run scoped tasks in a Turborepo monorepo. Use when you say: 'enable remote caching', 'optimize pipeline inputs/outputs', or 'filter builds to affected packages'.

monkilabs/opencastle · 58 tokens

decomposition

Resolves task dependencies, generates machine-actionable delegation specs, structures phased subtask plans for multi-agent work. Use when writing delegation specs, resolving task dependencies, building phased subtask plans for multi-agent work, assigning work to sub-agents, or partitioning a feature into…

monkilabs/opencastle · 62 tokens

linear-task-management

Creates and names Linear issues, assigns labels and priorities, manages status transitions, and links issues to PRs. Use when decomposing features into tasks or resuming interrupted sessions. Trigger terms: tickets, backlog, task breakdown, project board, sprint planning.

monkilabs/opencastle · 54 tokens

nx-workspace

Run and generate NX targets, configure project.json, and visualize dependency graphs. Use when you say: 'run affected tests', 'nx generate a library', 'configure project.json', or 'show dependency graph'.

monkilabs/opencastle · 46 tokens

trello-task-management

Create and manage Trello cards, checklists, and boards for kanban workflows. Use when the user says: 'create a kanban board', 'add a task card', 'move card to sprint', or 'track project board'.

monkilabs/opencastle · 53 tokens