OPEN SOURCE SOFTWARE FACTORY

Agents move.
You steer.

Give your coding agents room to work.
Give every task a clear direction, a boundary,
and a human who owns the outcome.

01 / ISOLATED BY DESIGN

Room to work.
Boundaries that hold.

Each goose gets its own workspace and role-scoped access. The platform sets the permissions. A more persuasive prompt doesn’t change them.

Inside the GitHub broker
flok platformGitHub broker · identity → policy → token

ROLE-SCOPED TOKENS, ISSUED JUST IN TIME

planner

Purple pixel goose, the planner

serviceAccount: planner

JIT TOKEN READ

  • contents: read
  • issues: read

coder

Teal pixel goose, the coder

serviceAccount: coder

JIT TOKEN WRITE

  • contents: write
  • pull_requests: write
  • issues: read

reviewer

PROPOSED
Pink pixel goose, the proposed reviewer

serviceAccount: reviewer*

PROPOSED TOKEN

  • contents: read
  • pull_requests: write

Illustrative policy

GitHubAssigned repository only
Separate workspacesRole-scoped accessExpiring tokens
THE GEESE CAN HOP. THEIR PERMISSIONS STAY PUT.

Planner and coder scopes reflect the current broker policy. *Reviewer is a proposed role; its permissions here are illustrative. Workspace isolation and token authorization are separate controls.

ANOTHER WAY TO SEE IT / EXPERIMENT 02

Same doors.
Different roles.

A key opens only the doors its role allows. The planner can read code. The coder can read, push, and write pull requests. Each collects its own key, scoped to its role and repository.

Two geese exchange Kubernetes identities for separate keys and work across connected platform and GitHub rooms.

Purple planner and teal coder geese receive Kubernetes identities from a ceiling pipe and insert them into the Credential Exchange. The role display flashes in the agent’s color, then a separate pipe drops a matching repository-scoped key. They walk through connected Flok Platform and GitHub rooms. The planner may read repo-a but is bounced from writing code. The coder may read and write code and write pull requests in repo-a; its key is rejected at repo-b. The planner returns without a key, claims “I’m a coder,” and hears “K8s says: planner.” It exits through the bottom of the connecting corridor without new credentials. This illustrates authorization, not a live GitHub connection. Use Pause or Next scene to explore still frames.

01 / Collect a role-scoped token.

02 / THE WORKFLOW

A little autonomy.
A lot of intention.

Follow one task from an idea to a reviewed change. Agents do the legwork. You decide what lands.

FROM INTENT TO CHANGE/ 001
ILLUSTRATIVE WORKFLOW

YOU SET THE DIRECTION

Start with a well-shaped task.

Define the desired change, its scope, and what success looks like before an agent starts work.

ISSUEtask-001.md

Clear intent.
Explicit boundaries.
Acceptance criteria.

01 / Define · You set the direction

FIG. 01 — AUTONOMY WITH CHECKPOINTSClick any stage to explore. The demo pauses for human review.

High-level architecture

The diagram follows one workflow run from GitHub issue to pull request in Flok’s target design. The proof of concept runs on Azure Kubernetes Service. The supporting services are named by what they do so the same design can be mapped to other clouds.

Flok’s target architecture on Kubernetes, showing GitHub, four namespaces, the AI gateway, and supporting cloud services. The adjacent list explains the seven arrows.
Open full-size diagram

Workflow sequence

  1. GitHub notifies the workflow service when an issue is ready.
  2. The workflow service submits the run to Argo Workflows.
  3. Argo starts a fresh pod for each agent step.
  4. The pod requests a short-lived GitHub token scoped to its role and repository.
  5. The agent calls models through the AI gateway.
  6. The agent pushes commits and posts updates to GitHub.
  7. The agent reports status to platform services and stores handoff artifacts in object storage.

Today, you submit a run manually to Argo Workflows. A trusted foreman step registers it, then the planner and coder run in separate pods. The webhook trigger and automated reviewer shown in the diagram are planned.

Read the architecture and implementation status

03 / THE THINKING

A flock needs
a flight plan.

AI native development starts with the system around the agent.

Read the thinking
01

Direction before delegation.

Make the goal and acceptance criteria explicit. Small, well-defined tasks give an agent a useful place to start.

02

Every agent, its own space.

Separate identities and isolated workspaces make the boundaries part of the system.

03

Evidence before confidence.

Bring back a change that can be inspected, tested, and reviewed. Keep a human accountable for the outcome.

Features of an AI-native SDLC Platform

The requirements that shape Flok's platform, from running each task in its own pod to choosing a model for each step.

  • Infrastructure

    Scale

    Challenge
    A laptop runs 4–5 sessions, and subscription-based harnesses in VMs scale per seat, not per task.
    Solution
    Kubernetes schedules one pod per task on node pools that can grow with demand.
  • Infrastructure

    Reliability

    Challenge
    VMs and stateful runners pin each session to one machine, so a failed host takes the work down with it.
    Solution
    Kubernetes can reschedule work onto healthy nodes, and Argo workflows can limit retries.
  • Security

    Isolation

    Challenge
    Agents read beyond the repository they work on.
    Solution
    Each agent task gets a fresh pod with its own workspace for the target repository.
  • Security

    Least privilege

    Challenge
    Agents run with a developer's long-lived credentials.
    Solution
    A token broker issues each agent a short-lived GitHub token scoped to its role and one repository.
  • Data

    State

    Challenge
    Retries and intermediate output flood issues and pull requests.
    Solution
    Flok records runs in PostgreSQL and passes artifacts between steps through object storage. Central tracking of retries and runtime is part of the design.
  • Interoperability

    Harness-agnostic

    Challenge
    The platform gets locked to one coding agent.
    Solution
    Flok runs goose with API-backed models. The design also allows other coding agents, such as Claude Code and Codex, through the Agent Client Protocol (ACP).
  • Platform

    Extensibility

    Challenge
    Each team or client needs a different coding loop, and hard-coded pipelines get rebuilt every time.
    Solution
    Declarative Argo workflows define each loop in YAML from shared templates.
  • Governance

    Foundation-backed open source

    Challenge
    Vendor lock-in and licensing risk.
    Solution
    Flok builds on projects backed by open-source foundations, including Kubernetes, Argo Workflows and goose.
  • FinOps

    Cost efficiency

    Challenge
    A sub-agent that inherits a flagship model can use it even for tasks a mid-tier model could handle.
    Solution
    The design calls for choosing a model per task and recording token usage to estimate cost.
Read the platform requirements

STILL EXPLORING. ALWAYS BUILDING.

Come flock around.

Follow the experiments, decisions, and work in progress.

Explore Flok on GitHub