How do I use AI coding agents like Claude Code or Cursor?
Give the agent a clear task in a project that uses version control, have it plan before it edits, and review every change before you keep it.
A coding agent is an AI that can read your files, edit code and run commands, working in a loop until it thinks the task is done. Claude Code runs in your terminal; Cursor is a code editor with an agent built in. Both work best with the same habits:
- Use Git, so every change can be reviewed and undone.
- Write an instruction file, such as CLAUDE.md or AGENTS.md, with your project's rules, commands and conventions.
- Ask for a plan first on anything bigger than a small fix.
- Let tests define "done", so the agent can check its own work.
- Read the diff, the list of exact changes, before accepting it.
- Decide which commands it may run alone and which need your approval.
Watch for the classic failures: an agent that reports "all tests pass" after weakening the tests, edits files you didn't ask about, or loses track during long tasks. Small tasks and focused context help.
Vumbli's AI Coding Agents in Practice track covers how the agent loop works, instruction files, planning, tests as contracts, reviewing an agent's diff, permissions, context and git safety, and ends with you building a safe agent harness.
Start with these missions
- How the agent loop works (AI Coding Agents in Practice)
- Write the instruction file (CLAUDE.md / AGENTS.md) (AI Coding Agents in Practice)
- Plan first: task decomposition (AI Coding Agents in Practice)
Tracks that teach it
More questions, answered by building