Skip to content
Apixo
Blog
news· 3 min read· via Towards AI

Managing AI Agents at Scale: How Enforceable Code Rules Control Bot Workflows

With Cognition's Devin Bots pushing PR volume to 1,900 a week, developer teams must rely on deterministic, machine-readable rules to govern automated AI agents.

Managing AI Agents at Scale: How Enforceable Code Rules Control Bot Workflows

On November 17, Cognition introduced Devin Bots, persistent agents designed to manage outcomes and coordinate teams of other Devins. To illustrate the shift in engineering workflows, mobile game studio lead Jenny Xu demonstrated a setup where she is the sole human developer working alongside approximately 20 active bots handling coding, Unity development, releases, and QA. Overseeing the team is a single "Super Jenny Bot" that aggregates necessary decisions into a Slack thread four times a day, allowing Xu to manage operations using simple emoji responses. Under this architecture, the studio's output surged from roughly 50 pull requests per week to 1,900, enabling weekly software releases.

This scale highlights an emerging operational reality following tools like OpenAI's Dots and Anthropic's Duet: code generation is no longer the primary bottleneck in software engineering. With automated systems generating thousands of pull requests, manual code review by human engineers becomes physically impossible. When autonomous agents generate code and managerial agents oversee them, maintaining system standards requires rules that are enforced deterministically rather than relying on human oversight or written documentation.

Enforcing platform discipline with code

To demonstrate how rigid guardrails can govern autonomous agents, a practical test was conducted using orun, an open-source Go binary released under the MIT license by Orunbase. The tool implements "platform discipline as code" by requiring repositories to explicitly declare standards through configuration files. It uses three core concepts: platform intent (intent.yaml) to define deployment environments and promotion rules, component intent (component.yaml) to define individual work units, and compositions to establish standard build paths, schemas, and execution steps.

Before any code is executed, orun compiles these inputs into a deterministic plan. If an AI coding agent violates declared rules—such as attempting to deploy to production without passing staging, skipping required metadata in front matter, or using an unencrypted http:// URL instead of https://—the tool returns a non-zero exit code or fails plan generation entirely. Because the agent receives explicit error feedback directly from the CLI command, it can self-correct without human intervention, while invalid configurations are prevented from executing.

What it means for developers

For software engineering teams, the emergence of multi-agent workflows changes the focus from writing code to defining machine-readable governance. As agents handle larger volumes of pull requests, organizations must embed architectural rules, promotion sequences, and compliance checks directly into repo-level configurations or shareable OCI artifacts.

Developers who integrate AI agents into their pipelines often need to test and deploy across various foundation models. To streamline model access, developers can try top AI models cheaply through one API at https://apixoai.online.

Additionally, toolsets like orun are expanding integration capabilities for developer workflows. Through features like orun mcp serve, agents gain access to catalogs, execution runs, and logs via the Model Context Protocol. Commands like orun skills pull allow developers to integrate governance rules into environments like Claude Code, Codex, Cursor, and VS Code. Projects can also be bootstrapped using orun baseline new, enabling autonomous agents to generate repository structures and submit pull requests that automatically adhere to predefined production standards.

Scaling governance alongside automated agents

As software development shifts toward agent-managed workflows, standardizing output quality becomes critical. Traditional governance methods—such as wiki documentation, design guidelines, or manual peer reviews—cannot keep up with thousands of weekly pull requests generated by autonomous bots.

By converting platform requirements and code quality standards into machine-enforceable rules, engineering teams can maintain control over production environments. As long as standards are explicitly coded and validated before execution, organizations can allow autonomous agents to operate at scale while ensuring that every generated change strictly complies with platform discipline.


Source: AI Agents Are Managing AI Agents. The Real Question Is Who Enforces the Rules. — Towards AI. Written by the Apixo team from that report.

#ai-news#ai-agents#devin#software-engineering#orun#code-quality
Try it with your own tools

One key for Claude, GPT, GLM, DeepSeek and more. Pay per token with crypto.

Get your API key

Keep reading