Skip to main content

Add your description here

Project description

AgentsFlow

Docs

Agentsflow is the production-grade control plane for coding agents. It provides a harness that controls workflow setup, routing, and guardrails so coding agents stay on rails. Full operator and contributor docs live at docs.agentsflow.dev.

Quick start (MCP)

The easiest way to run AgentsFlow is as an MCP server using uvx (part of uv).

Prerequisites

Option 1: Use with AI Assistant (Recommended)

Run the following commands to add AgentsFlow as an MCP server.

Claude Code

claude mcp add agentsflow --scope user --env OPENAI_API_KEY=sk-... --env PROCESS_CODING_AGENT_PROVIDER=claude -- uvx agentsflow

Gemini CLI

gemini mcp add agentsflow --scope user --env OPENAI_API_KEY=sk-... --env PROCESS_CODING_AGENT_PROVIDER=gemini -- uvx agentsflow

Codex CLI

codex mcp add agentsflow --env OPENAI_API_KEY=sk-... --env PROCESS_CODING_AGENT_PROVIDER=codex -- uvx agentsflow

Cursor (.cursor/mcp.json or via Settings > MCP)

{
  "mcpServers": {
    "agentsflow": {
      "command": "uvx",
      "args": ["agentsflow"],
      "env": {
        "OPENAI_API_KEY": "sk-...",
        "PROCESS_CODING_AGENT_PROVIDER": "codex"
      }
    }
  }
}

PROCESS_CODING_AGENT_PROVIDER lets you choose which coding agent (claude / codex / gemini) AgentsFlow will route coding actions to.

Option 2: Standalone HTTP Server

To run the stack independently (e.g. for debugging or remote access):

uvx agentsflow --transport streamable-http

Tracking Progress

Regardless of how you run it (Option 1 or 2), you can track workflow execution and status in the Temporal Web UI at http://localhost:8233.

3. Use it

Once connected, you can use natural language to interact with the process workflow. A few concrete prompts:

  • "Call start_agentsflow_process on this repo with issue https://jira.example.com/browse/TEAM-123."
  • "Kick off start_agentsflow_process with task text 'Fix 500 error when cookie is missing' for the current repo."
  • "The workflow paused; send these answers via provide_agentsflow_clarification and then await_agentsflow_result with the workflow id in a list (it returns after the first workflow finishes or pauses)."
  • "Check the latest status for workflow process-1a2b3c using await_agentsflow_result([\"process-1a2b3c\"]) and call again for additional workflows if needed."

You can supply either an issue URL or a free-text task when calling start_agentsflow_process, but not both.

Architecture (high level)

flowchart LR
  Dev[CLI / MCP client] -->|start process workflow| Temporal[Temporal Server]
  Temporal --> Worker[AgentsFlow worker]
  Worker --> Activities[Git / Issue / ACP activities]
  Activities --> Repo[(Git worktree)]
  Activities --> Providers[Jira or GitHub issues]
  Activities --> ACP[Claude / Gemini / Codex ACP]

Supported issue providers

Provider Credentials Notes
Jira JIRA_EMAIL + JIRA_API_TOKEN (optional JIRA_HOST_ALLOWLIST, JIRA_TIMEOUT_SECONDS) Hosts matching atlassian.net/jira or allowlisted domains route here.
GitHub GITHUB_TOKEN (optional GITHUB_TIMEOUT_SECONDS) Uses the GitHub Issues API for github.com/<org>/<repo>/issues/<id> URLs.

Docs

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

agentsflow-0.0.6.tar.gz (156.6 kB view details)

Uploaded Source

Built Distribution

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

agentsflow-0.0.6-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

Details for the file agentsflow-0.0.6.tar.gz.

File metadata

  • Download URL: agentsflow-0.0.6.tar.gz
  • Upload date:
  • Size: 156.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for agentsflow-0.0.6.tar.gz
Algorithm Hash digest
SHA256 9a60b6c5580a1cd00da0264fbe488130c3087464812b1499a5fcd77f3b21dd9c
MD5 1f824c8be02e20f54bac1f459ef13225
BLAKE2b-256 e8fb557c0f0b227a500f3f70bdd444cdea508111370e005551782365f6d09f00

See more details on using hashes here.

File details

Details for the file agentsflow-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: agentsflow-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 53.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for agentsflow-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 900636f5acff9fc27c1cd8ad40e1ec075bf15ea87538a83de2d904a6e94e952e
MD5 17ecdd41487daec7a9659a72c4f8fe4c
BLAKE2b-256 744582b291842b3b3fe33d96c8826631b30fcd3738c6bf31ac17114ffd4ae90f

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