Agentic coding: build software by directing AI agents

How a founder sets up an AI coding agent like Claude Code or Codex, writes prompts it gets right the first time, and ships real software, from first session to daily routine.

Your agentic coding learning path

Go in order. Read the three short chapters, then the 16 steps. Part 1 sets up your agent. Part 2 teaches you to brief it. Part 3 ships real work. The daily loop at the end is the whole thing on one card.

Start here: First, three short chapters

Part 1: Set up your agent

  1. Pick your agent: Terminal agent, AI editor or app builder. Pick by what you are building. (Claude Code, Codex, Cursor, App builders, Subscriptions) Choose a coding agent
  2. Your first session: Install it, open a project, ask it to explain the code. (Install, Terminal, IDE extension, /init, First prompt)
  3. Project memory: Write down what the agent cannot see in the code. (CLAUDE.md, AGENTS.md, Global rules, Auto memory, Keep it short) CLAUDE.md & AGENTS.md
  4. Rules that can’t break: Some rules must hold every time. Those go in settings, not in words. (Permission modes, Deny rules, Hooks, Sandbox, Git safety)
  5. Extend it: Connect your tools and teach it your routines. (MCP servers, Skills, Subagents, Plugins, Slash commands)

Part 2: Brief it like a pro

  1. Write the prompt: Goal, where to look, what done means. Hand over files and screenshots. (Specific asks, @ files, Screenshots, Examples, Scope) Prompts for coding agents
  2. Plan before code: Let it read and propose first. Approve, then build. (Plan mode, Interview me, SPEC.md, Approve the plan) Plan before you code
  3. Give it a check: A test, a build or a screenshot it can run, so “done” means done. (Tests, Build, Lint, Evidence, Fresh reviewer) Make the agent prove it
  4. Steer and recover: Stop it early, roll back, start clean. (Esc, Rewind, Checkpoints, /clear, Two-strike rule)
  5. Context and cost: Keep sessions focused and your bill small. (Context window, /clear, /compact, /usage, Models & effort) Context, tokens and cost
  6. Your prompt library: Save the prompts that work. Reuse them every week. (Saved prompts, Templates, Skills, Prompt tools) Build a prompt library

The bridge: What works in every agent

Tools change every few months. These four habits carry over to all of them.

  1. Say what it can’t see: Goals, decisions and limits that aren’t in the code.
  2. Write it down once: Rules and memory in files, not repeated in chat.
  3. Give it a check: Something that passes or fails, not “looks good”.
  4. One task at a time: Small, clear asks beat one giant prompt.

Part 3: Ship real work

  1. Docs agents can follow: Pending, done and decisions, so any new session picks up where you left off. (docs/ folder, PENDING.md, Decision log, Pointers) A docs folder for agents
  2. Git with agents: Small commits, branches, and you decide when to push. (Commits, Branches, Worktrees, Push rules, Undo)
  3. Review the diff: Read what changed before it goes live. (Diff, Code review, Security review, Skip style nits) The 7-phase build cycle
  4. Run it without you: Long tasks, scripts and scheduled runs, with limits. (Headless mode, Goals, Schedules, Turn and spend caps)
  5. Deploy and keep going: Ship, watch, fix, repeat. (Deploy, Logs, Bug reports, Iterate) The 7-phase build cycle

Finish: The daily loop

Every task, every day, in this order. The big picture behind it: OpenAI’s 7 phases (plan, design, build, test, review, document, deploy).

  1. Read: Open PENDING. Pick one task.
  2. Brief: Goal, files, what done means. Plan first if it’s big.
  3. Build: Let it work. Watch the first minute.
  4. Check: Tests, build, screenshot. Ask for evidence.
  5. Review: Read the diff. Try it yourself.
  6. Commit: Small commit. Push when you say so.
  7. Record: Move it to DONE. Log any decision. /clear.

For years, building software meant typing code. Now you can describe what you want, and an AI agent reads your project, writes the code, runs it and fixes its own mistakes. You still decide what to build and what ships.

That shift has a few names. Vibe coding came first: accept whatever the AI writes and hope it works. Agentic coding is the grown-up version: the agent does the typing, and you do the directing, checking and deciding.

Why this hub exists

This site, every guide, tool and page on it, is built this way: me directing Claude Code, Claude doing most of the typing. So this hub is written by both of us. These are the notes I wish I had on day one.

Want the big picture first? Read the 7-phase build cycle, based on OpenAI's guide to AI-native engineering. New here? Follow the learning path above, step by step. Already using an agent? Jump to the guide you need below.

All agentic coding guides

Frequently asked questions

What is agentic coding?

Building software by directing an AI agent that reads your code, edits files, runs commands and checks its own work, while you set the goal, review the result and decide what ships. It grew out of 'vibe coding', the term Andrej Karpathy coined in February 2025.

Is vibe coding the same as agentic coding?

Not quite. Vibe coding means accepting whatever the AI writes without reading it, which is fine for throwaway projects. Agentic coding keeps the AI doing most of the typing but adds the engineering: plans, memory files, tests, review and git. Karpathy himself suggested 'agentic engineering' as the better name in early 2026.

Do I need to know how to code?

You can start without it, but you need to learn to read what the agent did: the plan, the diff and the test results. This hub teaches the parts a non-technical founder needs.

Which agent should I start with?

If you are building a real product you plan to keep, start with a coding agent that works on your own files, such as Claude Code or OpenAI Codex. If you only need a quick prototype, an app builder can be faster. The 'Pick your agent' guide compares them.