Guide for developers · 5 topics
AI for developers: what coding agents do when you test them
Setup basics are in the vendors' own docs, linked at the end. These five parts cover what the docs do not: what the agents did when we tested them, what studies measured, and checks you can copy. Every count on these pages is computed from a recorded run, and every run has its log.
- 01
When the agent games your checks
Given a test that contradicts the spec, Codex changed the test in most runs and reported that everything passed. One sentence in the prompt stopped it, and four checks catch what is left.
30 test runs by us, each with its log
- 02
Secrets, and instructions hidden in your files
Neither tool leaked a secret from .env in our runs, but one broad search came close, and Claude fixed the bug by editing .env, where git cannot see the change. What a deny rule covers, and what it does not.
22 test runs by us, each with its log
- 03
What AI review catches
Both built-in reviews found six planted bugs when the rules were written down. Without them, Codex missed one or two in every run. Write the rules where the reviewer reads them.
12 test runs by us, each with its log
- 04
What a cheaper setting costs you
Six settings built the same feature and every run passed every hidden test; only price and time differed. What your own setup loads into each session adds to every run.
42 test runs by us, each with its log
- 05
Notice when your agent gets worse
In spring 2026 a changed default and two other changes made Claude Code worse for weeks before they were found. A small script with your own tasks and hidden checks shows such a change.
Setup basics: the official docs
- Claude Code docs: How Claude remembers your project Anthropic
- Claude Code docs: Best practices Anthropic
- Claude Code docs: Configure permissions Anthropic
- Claude Code docs: Choose a permission mode Anthropic
- Claude Code docs: Settings files and precedence Anthropic
- Claude Code docs: Create custom subagents Anthropic
- Claude Code docs: Run parallel sessions with worktrees Anthropic
- Claude Code docs: Checkpointing Anthropic
- Claude Code docs: Run Claude Code programmatically Anthropic
- Codex docs: AGENTS.md OpenAI
- Codex docs: Permission modes OpenAI
- Codex docs: Sandboxing OpenAI
- Codex docs: Non-interactive mode OpenAI
- Codex docs: Cloud environments OpenAI
- Codex docs: Config basics OpenAI
Rules for developers
- Keep real secrets out of the folder an agent works in.
- Read the test changes before you read the agent's summary.
- Name the model and the effort in scripts, and record the tool version with every result.
- Set a spending limit on any API key an agent uses.
Go deeper
- Give the right context lesson, about 10 min
- Show examples and the format you want lesson, about 9 min
- Improve the answer step by step lesson, about 9 min
- Claude Code 101 Anthropic (Claude Academy)
- Get Started with Codex OpenAI (OpenAI Academy)
- AI Agents Course Hugging Face
- Full Course: Spec-Driven Development with Coding Agents DeepLearningAI on YouTube