Documentation index for AI agents: see /llms.txt. Markdown versions of every page are available at <path>.md or via Accept: text/markdown.
Reference

Reference

API reference for the flowai_harness public surface. Most pages render the exported classes, functions, and type aliases directly from their docstrings; some pages add contract...

API reference for the flowai_harness public surface. Most pages render the exported classes, functions, and type aliases directly from their docstrings; some pages add contract notes where the raw generated signature needs more context.

Common entry points:

TaskStart here
Define a tenant and runtime specTenant, Runtime, Agents
Add typed plans, references, tools, and promptsPlans, References, Tools, Prompts
Run or stream the runtimeRuntime, Runtime events, Action dispatcher
Author and score evalsEvals
Serve tools over MCPMCP
Serve local StudioStudio
Normalize schemas and data environmentsSchema and utilities

For task-oriented guides see Require approvals, Configure a data environment, Studio, Expose Tools Over MCP, Test agents without provider calls, and Streaming events.

Besides dev / serve (see Studio), the CLI also provides flowai-harness docs export to generate the docs content artifact and flowai-harness mcp python MODULE:OBJECT to serve a Python runtime object over MCP (see MCP).

  • RuntimeRuntime, create_runtime, define_runtime, RuntimeSpec, and the testing / data-environment configs.
  • Studiodefine_app, workspace bindings, and the local Studio command surface.
  • Evals — eval configs, test cases, structured action ground truth, scorer presets, artifacts, and event envelopes.
  • MCP — stdio and Streamable HTTP helpers for exposing runtime tools to MCP clients.
  • Agentsdefine_coordinator, define_planner, define_executor, define_specialist, and AgentSpec.
  • Plansdefine_plan, PlanSpec, PlanDisplayAlias.
  • Referencesdefine_reference, ReferenceSpec.
  • Toolsdefine_tool, ToolSpec.
  • Promptslayered_prompt, LayeredPrompt.
  • Tenantdefine_tenant, TenantIdentity.
  • UnionsTaggedUnion.
  • Glimpseglimpse.
  • Runtime events — stream event kinds and payload examples.
  • Action dispatcher — approved plan action callback contract.
  • Schema and utilitiesnormalize_schema and normalize_data_environment.