The environment matters as much as the model
When an agent gives uneven results, Factory usually finds the cause in the codebase’s environment: no pre-commit hooks, undocumented environment variables, build steps that only a few people know.
The Atlases
What a repository and a team need before agents can work in them reliably. These are software engineering best practices: a reproducible environment, fast local checks, tests, shift-left security, continuous integration and delivery, written context. The stronger they are, the more autonomy you can give agents. None of it depends on your language or tools.
When an agent gives uneven results, Factory usually finds the cause in the codebase’s environment: no pre-commit hooks, undocumented environment variables, build steps that only a few people know.
DORA’s report on the return on investment of AI (April 2026) confirms it: AI strengthens solid teams and deepens the problems of struggling ones. Code written faster piles up in front of a manual security review or a brittle pipeline, and the gain is lost further down. The report names five levers: a clear AI stance, the internal platform, data and documentation that agents can read, a focus on users and automated checks nobody can skip.
Sources: DORA, ROI of AI, April 2026, DORA, 2025 report
An agent stops when the work looks done. Give it a command that answers pass or fail and it loops on its own: change, check, read the output, fix. Anthropic separates instructions, which the model may not follow, from deterministic controls that always apply: hooks, access rules, CI, branch protection.
Whatever is not in the repository does not exist for the agent (see Documentation and context). An ETH Zurich study (2026) measured the effect of instruction files. Whether an LLM or the team wrote them, they generally did not raise success rates, and they increased inference cost by more than 20%. They pay off mainly for what departs from the usual: repository-specific commands, gotchas, house conventions.
Sources: OpenAI, harness engineering, Gloaguen et al., arXiv 2602.11988
The Atlas proposes this scale to place a repository. It follows Factory’s logic (five levels, 80% of a level’s criteria to move up) and adds elements from agentready, OpenHands and DORA. It is not a standard.
0 Opaque
The agent can read the code but cannot run or check it.
Setup passed on by word of mouth, no runnable tests, no dependency lock file.
1 Runnable
The agent builds the project and runs the tests.
Pinned tool versions, one-command install, single task entry point, README with commands, unit tests, linter, build and tests on every push.
2 Locally verifiable
The agent checks and fixes its own work locally, without help.
Same commands locally and in CI, pre-commit hooks, strict typing, short instruction file, secret detection.
3 Guarded
The agent ships mergeable PRs inside guardrails.
Blocking CI under 10 minutes, daily trunk integration, protected branch, risk-based review policy, CODEOWNERS, SAST and dependency scanning, integration tests, ADRs, structured logs, AI usage policy.
4 Fast and observable
The agent checks runtime behavior, across several tasks in parallel.
App you can start and drive locally, observability in development, flaky tests tracked, SBOM and provenance, architecture rules checked, staged releases with automatic rollback, DORA metrics tracked.
5 Self-maintaining
Agents correct drift continuously and follow their changes into production.
Maintenance agents (docs, dependencies), agents reading production logs and metrics, readiness measured in CI with an alert when it slips.
Sources: Factory, Agent Readiness Overview, agentready, OpenHands extensions
Each pillar groups practices that do not depend on your language. The tools listed are examples, in no particular order.
An agent that has to guess the setup burns turns on trial and error. GitHub advises preinstalling dependencies for its coding agent. Stripe aims for dev machines ready in ten seconds, running in its QA environment with no access to real user data or production services, so agents work on them without asking for permission.
Example tools mise MIT Dev Containers Nix Bazel
Sources: GitHub Docs, Stripe, Minions
The faster the signal, the more the agent iterates on its own. Fast checks belong before the commit, slower ones in the pipeline. At Stripe, linters run before the push and the autofix takes under a second thanks to caching.
Example tools just CC0 Task MIT mise MIT pre-commit MIT lefthook MIT Dagger Apache-2.0 act MIT
Sources: Böckeler, martinfowler.com, Stripe, Minions, DORA, test automation
Tests are the agent’s main sensor. A flaky test sends a false signal, and DORA asks teams not to tolerate them. Anthropic reports that browser end-to-end tests caught bugs that unit tests missed.
Example tools Pact
Sources: DORA, test automation, Anthropic, harnesses for long-running agents, Practical test pyramid
Linting, formatting and type checks are the cheapest and most reliable controls, so they can run on every change. Clear module boundaries shrink the context the agent needs. Agents copy existing patterns, bad ones included.
Example tools ArchUnit dependency-cruiser Import Linter
Sources: Böckeler, martinfowler.com, OpenAI, harness engineering, Borg, Tornhill et al., arXiv 2601.02200
An agent writes more code, faster, and can add a dependency or leak a secret. OWASP lists the agent supply chain among the top ten risks for agentic applications. The rules that matter are enforced as early as possible, by configuration and CI: on the developer’s machine and in every PR.
Example tools gitleaks MIT TruffleHog AGPL-3.0 Semgrep CE LGPL-2.1 OSV-Scanner Apache-2.0 Syft Apache-2.0 Renovate AGPL-3.0 OpenSSF Scorecard Apache-2.0
Sources: OWASP Top 10 for Agentic Applications 2026, SLSA 1.2, GitHub, push protection
CI is the last sensor and the guardrail nobody can skip. DORA aims for a verdict in under ten minutes and trunk integration at least once a day. Small batches offset the large changes agents tend to produce. After the merge, the pipeline releases in stages and rolls back on its own when needed. DORA (2026) advises replacing manual checkpoints with mandatory automated checks.
Sources: DORA, continuous integration, DORA, small batches, Google, Small CLs, DORA, continuous delivery, DORA, ROI of AI, 2026
Whatever is not in the repository does not exist for the agent. OpenAI keeps an instruction file of about a hundred lines that works as a map, with the detail in a docs folder. Anthropic suggests using this file for the check commands, the gotchas and the decisions the code does not show.
Sources: OpenAI, harness engineering, Anthropic, best practices, Gloaguen et al., arXiv 2602.11988, Joshi, martinfowler.com, Pocock, domain-modeling skill
To check runtime behavior, the agent has to read logs and metrics. At OpenAI, each working copy starts its own instance of the app, with logs, metrics and traces the agent can query. Later, in production, read access can let it follow the rollout of its own change.
Example tools OpenTelemetry Apache-2.0
Sources: OpenAI, harness engineering, DORA, metrics
DORA puts a clear, shared position on AI use at the top of its capabilities. The 2026 report sees it as the way to reduce the verification tax. The final word belongs to deterministic controls: CI and branch protection. The review policy then says, depending on risk and regulation, what merges on a green pipeline and what waits for a person’s approval. Review by someone who did not write the code, or pair or mob programming, limits agents’ tendency to grade their own work too kindly. A review is only worth something if the reviewer can challenge what they read. In an Anthropic study, developers who handed the coding to AI understood the library they had just used less well than those who asked it conceptual questions.
Sources: DORA, clear AI stance, GitHub, CODEOWNERS, Anthropic, harness design, Factory, Agent Readiness, Anthropic, How AI assistance impacts the formation of coding skills
Answer for one specific repository. Yes scores 2, Partial 1, No 0. A level is reached when its questions score at least 80% of the points. Your estimated level is the highest one reached, provided every level below it is reached too. Your answers stay in this browser.
Estimated level
0 of 5
Opaque
0 of 48 answered
Answer a few questions to see the result.
A starting point for discussion, not an audit. For an automated assessment, see the measuring tools below.
In September 2025, DORA published a model of seven capabilities that amplify the effect of AI, drawn from 78 interviews and validated by its annual survey. In April 2026, its report on return on investment names five levers, in no particular order: trust built on a clear AI stance, an internal platform run as a product, internal data agents can access, a focus on users and mandatory automated checks. It advises tracking delivery metrics to get through the dip of the J-curve.
Sources: Google Cloud, DORA AI Capabilities Model, DORA, model report, DORA, metrics
These tools score a repository. The best known ones judge with an LLM; OpenSSF Scorecard and a few young tools describe themselves as deterministic. A good pattern: an agent skill runs deterministic scripts to collect the facts, then the model interprets them, as the OpenHands skill does.
| Tool | What it checks | Method | License |
|---|---|---|---|
| Factory Agent Readiness | More than 60 criteria, nine pillars, five levels, 80% threshold. /readiness-report and /readiness-fix commands. | LLM, anchored on the previous report | Proprietary |
| OpenHands, agent-readiness-report | 74 items across five pillars, each pillar framed as a question. | Scripts, then LLM judgment | MIT |
| agentready | Thirty weighted attributes in four tiers of importance, such as instruction files, lock files, CI, typing and ADRs. | Python CLI | MIT |
| Adobe, harness-inspect | Audit of the repository harness: discoverability, completeness, quality, simulated task. | LLM (prompt) | Apache-2.0 |
| ai-ready | Checks eleven assets (AGENTS.md, CI, templates, .mcp.json) and creates the missing ones. | Agent skill | MIT |
| OpenSSF Scorecard | About twenty supply-chain checks scored 0 to 10: branch protection, review, pinned dependencies, SAST, token permissions. | Deterministic | Apache-2.0 |
| agentworthy | Score from 0 to 100 and a blocking CI threshold. Very young project. | Deterministic, per its author | MIT |
AGENTS.md is not a measuring tool: it is an instruction file format, hosted by the Agentic AI Foundation (Linux Foundation). Factory’s pillar count differs by page: nine in the documentation, eight in the launch post.
↑↓ move · Enter open · Esc close