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.
Open Source Software Factory
Scale workflows, not sessions.
Each step runs unattended in its own isolated sandbox, sized and equipped for the job. The factory handles infrastructure, security and scale. You decide what to build and the geese do the rest.
Built on foundation governed technologies.
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.
Workflow sequence
- GitHub notifies the workflow service when an issue is ready.
- The workflow service submits the run to Argo Workflows.
- Argo starts a fresh pod for each agent step.
- The pod requests a short-lived GitHub token scoped to its role and repository.
- The agent calls models through the AI gateway.
- The agent pushes commits and posts updates to GitHub.
- 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 statusJust-in-time access
Same repositories.
Different permissions.
Each agent gets a short-lived GitHub token when its task starts, scoped to its role and one repository. The planner can read code. The coder can also push changes and open pull requests.
Why this matters
- Limit access as work scales across teams. Give each agent only the permissions it needs for its step and repository.
- Give each change fresh eyes. A reviewer agent working in a fresh sandbox can catch shortcuts such as tests disabled to make a build pass.
A purple planner goose and a teal coder goose ride out on a short conveyor carrying yellow Kubernetes identity coins. A token broker verifies each identity and returns a separate GitHub key. Both keep their coins. The planner can read code and is denied at the next door. The coder can read code, push changes, and open a pull request in repo-a. Use Pause or Next scene to explore still frames.
The planner emerges from the conveyor with a yellow Kubernetes identity token.
See diagrams
Platform Features
Aiming for 10× productivity means letting agents run unattended. To constrain unintentional side effects, Flok puts security first, with boundaries on what agents can touch and checks on what they produce. Isolation lets us give agents the permissions and freedom to tackle hard problems.
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.
Still exploring. Always building.
Come flock around.
Follow the experiments, decisions, and work in progress.