AI-native SDLC with Autonomous Agents

Two modes of working with AI On the left, I pair with one coding agent in an interactive session on my laptop and write scoped issues to GitHub. On the right, a stack of autonomous agents in the cloud pulls issues from GitHub and opens pull requests back on GitHub. Interactive sessionon my laptop+me + coding agentHeadless sessionsin the cloudcoding agentsGitHubscoped issuespulls issuesopens PRs

An architectural design and proof of concept for a secure, scalable AI-native software development lifecycle (SDLC). I scope issues with a coding agent on my laptop, then hand them to autonomous agents running in isolated, disposable containers on Kubernetes.

View source

01 · Use Case

Why Autonomous Agents in the Cloud?

On 14 July 2026, I found Claude Code exploring my computer outside the repository I had given it. When an agent is missing context, it gets resourceful. Technically, it can walk up your file tree and into ~/.ssh.

Soft versus hard boundaryLeft: on my laptop, permission rules draw a dashed line around the repository, and the agent reads my .ssh folder anyway. Right: in a container, only the repository is mounted, so everything outside it is inaccessible to the agent. Soft boundarypermission rulesmy laptop~/.ssh/workspace/repo/coding agentreads anywaycd ../..Hard boundarycontainer filesystemhost~/.ssh/workspace/repo/coding agentnot mountedand inaccessible

A clearer prompt and sandbox mode help. But neither is a boundary: by default, sandboxes limit what an agent can write, not what it can read.

02 · Architecture

Kubernetes Architecture

High-Level Architecture

The numbered steps follow one workflow run from issue to pull request. The proof of concept runs on Azure, but the design is cloud-agnostic, so supporting services are labeled generically (for example, object storage). Cloud Building Blocks below maps each one to AWS and Google Cloud.

Kubernetes architecture One Kubernetes cluster with four namespaces: platform with the workflow service and artifact service; argo with Argo Workflows; agents with planner, coder and reviewer pods, each with its own ServiceAccount; and github-broker with the GitHub token broker. 1: GitHub sends webhooks to the workflow service. 2: The workflow service submits runs to Argo Workflows. 3: Argo runs each step as an agent pod. 4: Agents get scoped GitHub tokens from the broker. 5: Agents call models through the Vercel AI Gateway. 6: Agents push and comment on GitHub. 7: Agents update status and store artifacts through the platform services. Below the cluster are the supporting services: PostgreSQL, object storage, a container registry and a secret store. GitHubissues · branches · PRsKubernetes clusternamespace: platformworkflow serviceartifact servicenamespace: argoArgo Workflowsnamespace: agentsplanner podServiceAccount: plannercoder podServiceAccount: coderreviewer podServiceAccount: reviewerGitHub token brokernamespace: github-brokerAI gatewayVercelPostgreSQLworkflow · argo DBsObject StorageartifactsContainer Registryagent imagesSecret StoreGitHub App keysends webhookpush, commentsubmits runruns stepupdates status,stores artifactsrequests tokencalls models1234567

Workflow Sequence

  1. GitHub sends a webhook to the workflow service when an issue is ready.
  2. The workflow service submits a run to Argo Workflows.
  3. Argo Workflows runs each step as an agent pod.
  4. The agent requests a scoped GitHub token from the broker.
  5. The agent calls models through the AI gateway.
  6. The agent pushes commits and comments on GitHub.
  7. The agent updates status and stores artifacts through the platform services.

Platform services authenticate to Azure with workload identity. Agent pods have no cloud identity: they get a short-lived GitHub token from the broker and reach Azure only through the platform services. Steps 3–7 repeat for each agent in the loop.

Short-Lived Credentials for Cloud and GitHub

Nothing in the cluster holds a long-lived secret. Kubernetes issues every workload a short-lived token tied to its ServiceAccount, and each side exchanges it differently:

  • Platform services exchange it with the cloud's identity provider for access to cloud resources. Implementations differ by provider. On Azure, this is Microsoft Entra Workload ID.
  • Agent pods get no cloud identity. The GitHub token broker exchanges their token for a GitHub token scoped to the pod's role and one repository.

Same Kubernetes identity, two exchanges. Every token expires. Pods never name the repository: the broker looks it up, so a pod can't ask for access to another one.

These credentials cover access to the cloud and GitHub only. When agents call the platform services, for status and artifacts, they use HMAC tokens (design re-used from my Tally Split AI project) scoped to their workflow run.

GitHub Access per Agent Role

Each role is limited to one repository.

RoleAccess to its one repository
plannerread code, write issues
coderwrite code
reviewerread code, comment on pull requests
pull request stepopen pull requests
Short-lived credentials The Kubernetes control plane issues short-lived tokens to platform services and agent pods. Platform services exchange their token with the cloud identity provider and call cloud services with the access token. Agent pods request a token from the GitHub token broker, which scopes it to the role and one repository, then push and comment on GitHub. The identity provider, cloud services and GitHub sit outside the cluster. Kubernetes clusterKubernetes control planeissues short-lived tokensPlatform servicesone ServiceAccount per serviceAgent podsone ServiceAccountper roleGitHub token brokermaps ServiceAccountsto GitHub permissionsrequeststokenCloudidentity providermaps ServiceAccountsto cloud identitiesexchange foraccess tokenCloud services(e.g., database,object storage)calls withaccess tokenGitHubpushes,comments12233
One Kubernetes token per workload, exchanged for cloud or GitHub access.

03 · Requirements

Features of an AI-native SDLC Platform

Coding agents are everywhere, yet measured productivity gains have been modest. The next order of magnitude doesn't come from more agents on more laptops. It needs a platform that's customizable for a team's specific workflow.

  • 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 grow with demand, orders of magnitude beyond a laptop.

  • Infrastructure

    Reliability

    Challenge

    VMs and stateful runners pin each session to one machine, so a failed host takes the work down with it.

    Solution

    Battle-tested Kubernetes primitives: failed containers restart, pods reschedule onto healthy nodes, and Jobs retry with a backoff limit.

  • Security

    Isolation

    Challenge

    Agents read beyond the repository they work on.

    Solution

    One clean container per task, with only the repository mounted.

  • 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, downscoped to its role and one repository. Agents hold no cloud credentials.

  • Data

    State

    Challenge

    Retries and intermediate output flood issues and pull requests.

    Solution

    A dedicated system of record, an artifact service plus database, tracks starts, retries and runtime. GitHub only sees the result.

  • Interoperability

    Harness-agnostic

    Challenge

    The platform gets locked to one coding agent.

    Solution

    Goose as one unified interface: model providers via API, or Claude Code and Codex via ACP, with the same extensions passed as MCP servers.

  • 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, and the cloud-native ecosystem adds eventing, policy and observability without custom glue.

  • Governance

    Foundation Backed Open Source

    Challenge

    Vendor lock-in and licensing risk.

    Solution

    Built on CNCF and AAIF projects, which reduces risk of building a product on top of these projects.

  • FinOps

    Cost efficiency

    Challenge

    Sub-agents inherit the parent session's flagship model, at least twice the price of a mid-tier model.

    Solution

    Models sized to the task, with token usage recorded per task to estimate cost.

A platform lets each kind of work run its own loop: a bug fix on a mid-tier model, a spike or proof of concept on a flagship. It also lets an organization standardize proven loops and improve them across teams, which is how quality stays consistent at scale.

Footnotes

  1. Research Studies on AI & Developer Productivity

  2. Flagship versus mid-tier list prices per million tokens (input / output)

    ProviderFlagshipMid-tierGap
    AnthropicOpus 5.5
    $4 / $20
    Sonnet 5.5
    $2 / $10
    2x
    OpenAIGPT-6 Astra
    $10 / $50
    GPT-6.1 Sol
    $2 / $10
    5x

    Prices fetched 10 October 2026.

04 · Workflow

Any Bounded Loop Maps to a DAG

Each use case designs its own coding loop. The platform needs only one property: every retry has a limit, so the loop unrolls into a finite chain of steps, a directed acyclic graph (DAG).

A bounded loop unrolls into a DAG Top: a coding loop as designed, left to right: plan, implement, review, open PR. Review sends work back to implement when changes are requested, at most twice. Bottom: the same loop executed in Argo Workflows, unrolled left to right: plan, implement 1, review 1 with changes requested, implement 2, review 2 approved, open PR. Designed as a loop(max 2 reviews)planimplementreviewopen PRapprovedchanges requestedunrolls into ↓Executed as a DAG(Argo Workflows)planimplement · 1review1changes requestedimplement · 2review2approvedopen PR
Each iteration runs as a new step with its own pod, so the declared graph never cycles back.

Why Argo Workflows

Every step is a container, so each agent in this multi-agent loop (planner, coder, reviewer) gets its own image, tools, credentials and model. Argo Workflows runs that natively as a DAG on Kubernetes, and it's a CNCF graduated project.

What's Next?

In 2026 I left Microsoft to learn AI engineering hands-on. After the ByteByte AI bootcamp, I built my own AI apps, including AKS Architect AI and Tally Split AI, and worked with coding agents every day. That's where I hit the limits this page addresses: my attention became the bottleneck, and agents on my own computer were a security risk.

Watch Me Build

I'm rebuilding this platform from scratch in the open, on my blog and on YouTube.

Follow me on YouTube

Want to Work Together?

I'm looking for my next role and team: complex platform and AI engineering challenges, hybrid or on-site in Munich.