Steadmesh

Open-source infrastructure for agent teams

Build an organisation of agents.

Give agents roles, shared memory and a way to work together. Talk to your representative in Slack or a terminal, and shape the team in Terraform.

Claude Code, Codex and Pi · Self-hosted on Kubernetes · Apache 2.0

Your organisation

Your point of contact Representative Conversations, preferences and handoffs

Messages along the routes you choose

  • LeadClaude CodeShape the plan
  • EngineerCodexWork on the change
  • ReviewerPiBring another perspective
Shared notes and work itemsPrivate memory for each seat
One possible team. You choose the roles, supported models and access for each seat.

See your team take shape.

Take a tour of Steadmesh: define an organisation in Terraform, bring it up on Kubernetes and start talking to your team.

Then build your first team
Watch on YouTube · 3 min 47 sec. Hosted by YouTube in privacy-enhanced mode.

What would you put a team to work on?

Start with a small job. Give the team the context and tools it needs, then see how you want it to work.

Put a team around a repository

Give a lead, engineer and reviewer a change to work on. Let them exchange messages, share a plan and prepare a pull request, with access to the repository you choose.

Try asking“Take a look at this issue, agree on an approach and open a pull request for review.”

Set up the example team

Give each person a representative

Keep a familiar point of contact for each person. Representatives remember preferences and bring requests to the team through the routes you choose.

Try asking“Keep updates short, and ask the engineering lead what they need from me.”

Meet the representative

Build up a shared notebook

Give a team somewhere to keep plans, decisions and handoffs. Each seat has private memory too, and you choose who can read or update a shared store.

Try asking“Write down the decisions we made and ask the reviewer to read them before the next change.”

Explore memory tools

Give the work a rhythm

Ask agents to schedule reminders, follow-ups and recurring checks. A scheduled turn can wake a stopped seat and use the same memory, tools and permissions.

Try asking“Every weekday morning, check our open work items and send me a short update.”

Explore scheduled work

These are starting points for your own team. What it can do depends on the models, instructions and access you configure.

A team you can shape in code.

Roles, tools and relationships live in your organisation declaration. The agents handle the conversations and the work.

  1. Describe your organisation. Define its culture, teams, seats, memory and message routes in Terraform. Give each seat the tools and service access it needs.
  2. Choose how each agent runs. Pick Claude Code, Codex or Pi per seat, with a model endpoint that harness supports. A Kubernetes controller manages the seats and their persistent workspaces.
  3. Talk to the team. Message your representative in Slack or a terminal. Seats coordinate through shared notes, work items and the routes you declared, then bring updates back to you.

Keep context across turns

Seats have a stable identity, durable memory and a workspace of their own. Supported harness sessions can resume after an idle stop or pod replacement.

Understand the seat lifecycle

Choose the mix

Use different harnesses and compatible hosted or self-hosted models within the same team. Match each seat to the way you want it to work.

Find a harness and model

Make access deliberate

Instructions shape behaviour. Routes, grants and sandbox profiles control who a seat can contact and which tools and services it can reach.

Set the access boundaries

Start small. Make it yours.

Add a reviewer. Write instructions for how your team makes decisions. Give a seat a different harness, or a route to another team.

This excerpt from the quickstart turns a list of roles into seats with their own memory and persistent workspaces. Set seat_harnesses to choose a harness and model for each one.

terraform plan shows which seats a change affects before you apply it. The tutorial walks through the rest: people, teams, shared memory, tools and access.

Configuration excerpt · quickstart/organisation/main.tf, lines 106–128, v0.8.0. Use the complete example to run it.
locals {
  engineering = {
    eng_lead = { role = "engineering_lead", display_name = "Engineering lead" }
    engineer = { role = "engineer", display_name = "Engineer" }
  }
  team_seats = {
    for k, s in local.engineering : k => {
      role_ref          = "role:${s.role}"
      display_name      = s.display_name
      teams             = ["engineering"]
      harness_profile   = contains(keys(var.seat_harnesses), k) ? "seat_${k}" : "primary"
      execution_profile = "interactive"
      sandbox_profile   = "standard"
      personal_memory   = k
      workspace         = { persistent = true }
    }
  }

  default_model = var.harness == "fake" ? null : var.model
  harness_profiles = merge(
    { primary = { adapter = var.harness, image_digest = local.platform.seat_images[var.harness], model = local.default_model } },
    { for k, h in var.seat_harnesses : "seat_${k}" => { adapter = h.adapter, image_digest = local.platform.seat_images[h.adapter], model = h.model } },
  )

Bring your first team to life.

Start with the example organisation

A representative, tech lead, engineer and reviewer, ready for you to configure. Add a model endpoint and a GitHub token for a test repository, apply two Terraform stages to a kind cluster, then chat from your terminal. Slack is optional.

Follow the quickstart

Explore the platform locally

Build from source and use scripted stand-ins for the models and services to explore the infrastructure without account credentials. You’ll need Go, Docker, kind, kubectl, Helm and Terraform.

Run from source

Steadmesh is early-stage, self-hosted software. You need a Kubernetes cluster and your own model credentials for real agent work; your provider bills model usage. Read the setup and security notes before connecting real accounts.

Follow a mixed-harness team.

The example run brings a Claude Code lead, a Codex engineer and a Pi reviewer together around a shared note and a work item. It ends with a small documentation pull request in review.

The run record includes its configuration, steps and outcomes. It used real models and GitHub, with simulated Slack and Linear.

A few things to know

Do I need Kubernetes?

Yes. Every documented deployment runs on Kubernetes, including the local route, which uses kind. Install the platform first, then declare the organisation in a second Terraform stage.

Quickstart

Which models can I use?

Choose a model endpoint supported by your seat’s harness. Claude Code, Codex and Pi support different APIs; Pi also works with compatible self-hosted OpenAI Chat Completions endpoints. You supply the model provider’s credentials.

Harness and model compatibility · Where the Pi key goes

What persists between messages?

Each seat has durable memory stores, message history and a workspace volume. Supported harnesses can resume their native session. Compaction summarises older context, and persistence depends on keeping the underlying storage.

Context between messages · Where data is stored

How should I handle credentials?

Model credentials stay with the platform’s model proxy. GitHub sandbox delivery gives the seat a credential it can read; a personal access token keeps its GitHub scope. Use a narrowly scoped token for a test repository, and keep Terraform state private because it can contain secrets.

Where API keys go · Sandbox access

What happens when I stop or remove the team?

Stopping idle seats keeps their stored state. Retention can also keep data when you delete an organisation, but deleting its namespace, database or cluster can remove that data. Back up Postgres and workspace volumes before teardown; there is no built-in backup yet.

How to take it down · Storage and retention

Read the full FAQ