Maintain session hygiene
As context grows, recall can degrade and agent output can drift.

Anthropic, context engineering
Indrajeet Patil
golden rules
for agentic engineering
Boost productivity without compromising quality
Source code for these slides can be found on GitHub. All illustrations in this presentation are AI-generated.
Who this talk is for, and the vocabulary it uses.
Who these rules are for, and what they cannot do.
Audience
You ship production software
Tests, deployment, security, and maintenance matter.
Caveat
No panacea
These rules sharpen judgement; they are not a magic recipe.
Same roles, different products. Follow one task through the loop.
Plain-text files that tell agents how a project works.

Ten rules for using coding agents to boost productivity without compromising quality.
Pay down technical debt before scaling agent work.

OpenAI, harness engineering
If humans hunt for context, agents burn tokens too.

One setup command. The same starting point for humans and agents.

Let deterministic checks catch what they can, fast.

Agents can repeat checks tirelessly, making strict gates practical.

Define the outcome and criteria, then have the agent verify its own work.

Anthropic, agent evaluations
As context grows, recall can degrade and agent output can drift.

Anthropic, context engineering
Keep each context focused, and save what should outlast the session.

Anthropic, Claude Code best practices · Git worktrees
Sometimes the unlock is a hidden tool affordance.

When checks fail or tools change, correct the artefacts that guide future work.

Prompt excerpt
“When a check fails … fix it, then ask what led you to it.”
Learn-from-mistakes prompt · Anthropic, model deprecations
Capture recurring workflows once, then run them consistently.

Speeding up one stage helps only as much as the rest allows.

Relieve the slowest stage first, then look for the next one.

Delegate action, gain capacity, and choose how much control to hand over.

Put firm guardrails around autonomy, enforced by infrastructure.

What the rules add up to when they work together.
Routine requests flow to verified merges; people approve high-stakes work.

chatbot-template · OpenAI, sandbox security · prompt injections
Each safeguard covers a gap the others leave open.

OpenAI, harness engineering · Google, agent behaviour evaluations · Atlassian, LLM code review study
Get one project’s factory right, and it can power portfolio-wide automation.

Good engineering practices help agents speed up delivery across the software development life cycle without compromising quality.
Go forth and delegate responsibly.
Check out my other slide decks on software development best practices