Skip to main content
Glama

ForkFlux 🐜

Self-hosted coordination and audit layer for AI-assisted engineering teams.

ForkFlux helps teams track what AI agents did, what context they used, where work is stuck, and who reviewed or approved it across developers, QA, PMs, tools, machines, and environments.

📚 Documentation: https://docs.forkflux.ai/

🎥 ForkFlux in action

Why ForkFlux exists

AI coding agents are becoming part of real engineering workflows. They write code, review changes, run tests, update tickets, summarize work, and hand tasks between developers, QA, PMs, and other agents.

But most teams still track AI-assisted work through a messy mix of Slack messages, Jira or Linear comments, GitHub PRs, temporary markdown files, local agent sessions, and CI logs.

That creates a visibility gap:

  • nobody has one timeline of what happened

  • agent-generated context gets scattered across tools

  • blocked work is easy to miss

  • review and approval status is unclear

  • QA and developer loops are hard to trace

  • AI-generated summaries, artifacts, and decisions are not captured consistently

  • teams cannot easily answer "what did the agent do, why, and who checked it?"

ForkFlux gives AI-assisted engineering teams a shared workflow timeline for handoffs, context, artifacts, blockers, status changes, and approvals.

Related MCP server: OutcomeCI MCP Server

What ForkFlux is

ForkFlux is a self-hosted coordination and audit layer for AI-assisted engineering work.

It captures structured workflow events from agents and humans, including:

  • task handoffs

  • context payloads

  • changed files, branches, commits, PRs, and other artifacts

  • status changes

  • blocked and failed work

  • review notes

  • approval events

  • handoff history between roles and teammates

The goal is not to replace Jira, Linear, GitHub, Slack, or your AI coding tools.

ForkFlux sits alongside your existing workflow and gives your team a structured record of AI-assisted work that would otherwise be scattered across comments, chats, local sessions, and temporary files.

What it is NOT

❌ ForkFlux is not another AI assistant.

❌ ForkFlux is not a local agent framework.

❌ ForkFlux is not shared memory for one developer’s local agents.

❌ ForkFlux is not a replacement for Jira, Linear, GitHub, or Slack.

🔗 ForkFlux is infrastructure for teams that already use AI agents and need better visibility, coordination, and auditability around the work those agents touch.

How it works

ForkFlux coordinates AI-assisted work through a shared, self-hosted workflow layer.

A typical workflow looks like this:

  1. A developer or PM starts a task in their normal workflow.

  2. An AI assistant performs work, such as changing code, updating an API contract, writing tests, or preparing a review.

  3. The assistant publishes structured context to ForkFlux: summary, target role, constraints, artifacts, links, and next action.

  4. Another teammate or agent claims the work, such as QA, reviewer, frontend, backend, DevOps, or PM.

  5. ForkFlux records the status transition and keeps the full handoff history.

  6. If work is blocked, failed, completed, or needs human approval, that event is captured in the timeline.

  7. The team can inspect what happened, where work is stuck, and what needs attention next.

ForkFlux started with agent-to-agent handoffs. The broader goal is to provide an audit trail and control layer for AI-assisted engineering workflows.

What is included

ForkFlux is a monorepo with two main packages:

Package

Purpose

forkflux

Stateful FastAPI coordination service for agents, roles, jobs, events, artifacts, and lifecycle transitions.

forkflux-mcp

Model Context Protocol server that exposes ForkFlux tools and prompts to AI assistants.

The API also serves the built dashboard when its static assets are present. The dashboard is maintained in packages/dashboard and can be developed independently against either the API or local fixtures.

The MCP server exposes agent-facing tools for creating jobs, listing available work, claiming tasks, updating status, and fetching job details. It can run as a local stdio process or as a shared Streamable HTTP service; see the MCP integration guide for transport and authentication configuration.

ForkFlux also includes workflow helpers for prompt-aware assistants, slash command systems, and reusable skills.

Quick start

Run the local demo setup:

uvx --from forkflux forkflux quickstart

Start the API server:

uvx --from forkflux forkflux serve

The quickstart creates example roles and agents, installs supported workflow helpers, and registers the MCP server with supported local assistant CLIs.

The automated quickstart requires at least two of these CLIs to already be installed: Codex, Claude Code, OpenCode, or Hermes. For a single-client or production-like setup, use the manual setup guide instead.

For complete setup instructions, see the Quickstart.

Who ForkFlux is for

ForkFlux is for engineering teams that already use AI coding agents in real work and need better coordination across people, tools, and environments.

It is especially useful for teams that have:

  • multiple developers using local or isolated AI assistants

  • QA, review, PM, frontend, backend, or DevOps handoffs

  • self-hosting or security requirements

  • AI-generated work moving through GitHub, Jira, Linear, Slack, or CI

  • a need to understand where AI-assisted work is blocked, reviewed, or approved

Community and contributing

Our goal is to make ForkFlux the standard job exchange protocol for AI-native engineering teams.

License

ForkFlux is licensed under Apache-2.0. See LICENSE for the full license text.

Available Tools

9 tools
forkflux_change_job_statusA

Updates the lifecycle status of a job owned by the authenticated agent.

Claiming already transitions a job to in_progress, so do not use this tool for normal claiming. Use it for manual lifecycle updates:

  • completed: all constraints and verification requirements are satisfied.

  • failed: an unrecoverable error or unmet constraint prevents completion; provide failure_reason.

  • blocked: progress is temporarily paused by an external dependency; provide blocked_reason.

  • cancelled: the user explicitly aborts the work.

  • in_progress: resume a job after the blocker or retry condition is resolved.

Inputs: job_id (required), status (required), blocked_reason, failure_reason.

forkflux_claim_jobA

Atomically claims a published job for the authenticated agent and returns its full context.

Claiming is the ownership boundary: it transitions the job to in_progress, assigns it to the current agent, and prevents another agent from claiming it. Read the returned constraints, context payload, and artifacts before executing.

If the claim fails with HTTP 409, another agent won the race. Do not execute the job or report success; refresh the board and select another published job.

Inputs: job_id (required).

forkflux_claim_next_jobA

Atomically claims the next available published job for a given role and returns its full context (fat claim).

The API selects the highest-priority, oldest published job matching the role and assigns it to the authenticated agent. The role must be one of the current agent's assigned roles.

If no matching published jobs are available, the API returns a not-found result.

Inputs: target_role_key (required).

forkflux_create_jobC

Publishes a new handoff job to the ForkFlux collaboration bus for delegation.

Inputs: summary (required), priority (required), artifacts (required), constraints (required), +5 more.

forkflux_get_reopen_contextA

Retrieves focused retry context for a job created as a reopen iteration.

Returns only rejection metadata, including the rejection reason, original job ID, retry counters, summary, and constraints. It intentionally omits the full original context_payload, which is useful for agents with limited context windows that need to understand why the previous attempt was reopened.

Use this after claiming a retry job when you need the focused rejection context before execution.

Inputs: job_id (required).

forkflux_job_detailsA

Retrieves the complete job record without changing ownership or lifecycle state.

Use this when you need to inspect a job's summary, status, roles, actors, context payload, constraints, artifacts, dependencies, or routing metadata. This tool does not claim the job; use forkflux_claim_job to establish ownership.

Inputs: job_id (required).

forkflux_list_jobsA

Lists jobs from the ForkFlux shared job pool.

Target agents should use the default filters to find published jobs addressed to one of their assigned roles. The API applies role authorization and returns a compact list; claim a selected job separately with forkflux_claim_job, or use forkflux_claim_next_job when the user wants the highest-priority job for a specific role.

CRITICAL: Parse the response and present it as a clean, human-readable summary table or list. DO NOT output the raw JSON to the user, as context payloads are too large.

Inputs: limit, status, my_roles_only, target_role_key.

forkflux_reject_jobA

Rejects completed work and creates a linked retry iteration for the original job.

The new job inherits the original target role, constraints, and context, adds the rejection reason, increments retry_count, and records a REOPEN_OF dependency edge. The new retry job must be claimed and executed separately.

Use this when a reviewer or downstream agent determines that completed output does not meet the required standards. Do not use it for temporary blockers or ordinary execution failures.

Inputs: job_id (required), reason (required), target_job_id (required).

forkflux_update_jobA

Updates the mutable fields of an existing ForkFlux job.

Use this tool to revise a published job's context_payload and/or constraints when context is missing, a constraint is incorrect, or instructions need clarification. At least one field must be provided; the API rejects an empty update. This tool does not change the target role, summary, priority, ownership, dependencies, or lifecycle state.

Inputs: job_id (required), constraints, context_payload.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 9 tools

    Disambiguation4/5

    Tools mostly have clearly distinct purposes: claim vs claim_next, change_status vs update_job, and job_details vs get_reopen_context are differentiated in descriptions. However, there is some potential for confusion between forkflux_job_details and forkflux_get_reopen_context (both retrieve job info) and between forkflux_claim_job and forkflux_claim_next_job (both claim jobs), though descriptions help.

    Naming Consistency4/5

    All tools use the forkflux_ prefix and mostly follow a verb_noun pattern (claim_job, create_job, change_job_status, update_job, reject_job, get_reopen_context, list_jobs, claim_next_job). The one deviation is forkflux_job_details, which is noun_noun rather than verb_noun, but this is a minor inconsistency.

    Tool Count5/5

    Nine tools is well-scoped for a job collaboration bus, covering creation, listing, inspection, claiming, status changes, updates, rejection, and retry context. Each tool serves a distinct lifecycle operation without redundancy.

    Completeness4/5

    The surface covers the core job lifecycle (create, list, details, claim, update, status change, reject/retry, reopen context). Minor gaps include no explicit tool to update summary, priority, role, dependencies, or to manage artifacts after creation, but these are likely by design or can be worked around.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers