Skip to content
Agentic AI Builder's Guide

Search every lesson, prompt, glossary term and troubleshooting topic. Use ↑ ↓ to move and Enter to open.

Module 1 of 6

Getting Started

Agentic AI fundamentals, required tools, VS Code, Claude Code, the terminal, Git and your first push to a private GitHub repository.

Full printable guide

0% · 0 of 13 lessons

This module prepares your computer and accounts, explains how AI-assisted development actually works, and ends with your first commit pushed to a private GitHub repository. No prior programming experience is assumed.

End-to-end idea-to-production workflow

  1. Phase 1Set up
    • 1. Install VS Code + Claude Code
    • 2. Create project directory
    • 3. Private GitHub repository
  2. Phase 2Plan
    • 4. Plan app with ChatGPT
    • 5. Generate consolidated sprint prompts (LOW GAS)
  3. Phase 3Build
    • 6. Iterate ChatGPT ⇄ Claude Code
    • 7. Test locally
    • 8. Commit and push
  4. Phase 4Deploy
    • 9. Log in to Railway with GitHub
    • 10. Deploy from repository
    • 11. Add database if needed
    • 12. Configure variables and commands
    • 13. Monitor logs and fix
  5. Phase 5Launch
    • 14. Generate Railway domain
    • 15. Add custom domain
    • 16. Create DNS records
    • 17. Validate production
  6. Phase 6Maintain
    • 18. Enhance with the same feedback loop
The 18-step methodology grouped into six phases. Each phase corresponds to a learning module.

Agentic AI versus traditional coding

In traditional coding, a developer writes every line by hand, looks up documentation, runs commands and fixes errors personally. Progress depends on the developer's typing speed and knowledge.

Agentic AI changes who does the mechanical work. An AI agent such as Claude Code can read your project files, write and edit code, run terminal commands, execute tests, read error messages and try again — all toward a goal you describe in plain language. It acts in multiple steps rather than answering one question at a time.

Traditional codingAgentic AI development
Who writes the codeThe developerThe AI agent, directed by you
Main human skillProgrammingClear requirements, review and validation
Speed of first versionDays to weeksHours to days
RiskHuman errorConfident AI errors that look correct
Who is accountableThe developerStill you

What vibe coding means

Vibe coding is a popular term for building software by describing what you want in natural language and letting AI write the code. You focus on the outcome — the "vibe" — rather than the syntax.

Vibe coding works well for prototypes and focused applications. It becomes risky when people skip planning, accept every change without reading the summary, or deploy without testing. This guide teaches a disciplined form of vibe coding:

  • Plan before building, so the agent has clear requirements.
  • Work in a small number of consolidated sprints.
  • Test every sprint yourself before moving on.
  • Keep all code in version control so mistakes can be undone.
  • Treat AI output as a draft that you verify, not a final answer.

Your role as the human product owner

You do not need to write code, but you do need to own the product. The product owner is accountable for what gets built and whether it works. Your responsibilities:

  1. Define the goal. What problem are you solving, and for whom?
  2. Make decisions. Approve scope, technology choices and trade-offs. AI recommends; you decide.
  3. Move information between agents. Copy prompts from ChatGPT to Claude Code and completion reports back.
  4. Validate. Run the application, click through workflows, and check that reported results are real.
  5. Protect secrets and data. Control which credentials exist, where they are stored and who can access them.
  6. Approve releases. Decide when something is ready for real users.

ChatGPT and Claude Code roles

This guide uses two AI tools with separate jobs. Keeping the roles separate produces better results than asking one tool to do everything.

ChatGPT (or another capable assistant)Claude Code
RoleProduct manager, architect, development coordinatorEngineering agent
Works withYour ideas, plans and completion reportsYour actual project files and terminal
ProducesPlans, requirements, sprint prompts, reviewsCode, tests, builds, commits, completion reports
Sees your code?Only what you paste into itYes, the project directory you open

ChatGPT and Claude Code feedback loop

ChatGPT

Product manager and architect. Plans, reviews completion reports, writes the next prompt.

You — product owner

Copy and paste, test locally, verify claims, decide what happens next.

Claude Code

Engineering agent. Edits code, runs tests and builds, commits, reports.
Completion report returns through you to ChatGPT for review → next or corrective prompt
You are the product owner in the middle: you move prompts and reports between the two agents, test the results and make every decision. Repeat until the application meets its acceptance criteria.

Required tools and accounts

ItemPurposeCost note
A Mac (or Windows/Linux computer)Where you build and test—
Visual Studio CodeCode editor with an integrated terminalFree
Claude CodeEngineering agentRequires a paid Claude plan or a Claude Console (API) account; the free Claude plan does not include it — check current options on Anthropic's site
ChatGPT accountPlanning and reviewFree and paid tiers exist — check OpenAI's site
GitHub accountStores your code privatelyFree tier includes private repositories
Railway accountHosts the deployed applicationUsage-based — check Railway's pricing page
Domain name (optional)Custom web addressAnnual fee from a domain registrar

Install Visual Studio Code

  1. Go to code.visualstudio.com and download the macOS version.
  2. Open the downloaded file and drag Visual Studio Code into your Applications folder.
  3. Open VS Code from Applications. If macOS warns that it was downloaded from the internet, choose Open.
  4. Enable the code terminal command: open the Command Palette with Cmd+Shift+P, type shell command, and choose Shell Command: Install 'code' command in PATH.

Verify it in a new terminal window:

bash
code --version

You should see a version number. If you see command not found, repeat step 4 and open a new terminal.

Install and authenticate Claude Code

Claude Code is Anthropic's agentic coding tool. It is available as an official VS Code extension and as a command-line tool. The installation method can change, so confirm the current steps in the official Claude Code documentation.

Option A: VS Code extension

  1. Make sure VS Code is up to date. The extension requires a recent version (1.94 or later when this guide was checked).
  2. Open the Extensions view with Cmd+Shift+X.
  3. Search for Claude Code. Confirm the publisher is Anthropic (extension id anthropic.claude-code) before installing — avoid look-alike extensions.
  4. Click Install.
  5. Open Claude Code from its icon or the Command Palette. A sign-in screen appears the first time: click Sign in and authorize in your browser. You need a paid Claude plan or a Claude Console account; the free Claude plan does not include Claude Code.

The extension includes what it needs to run inside VS Code. To also run the claude command in a terminal, install the command-line tool (Option B).

Option B: Command-line tool

The official documentation recommends the native installer on macOS and Linux. It updates itself automatically:

bash
curl -fsSL https://claude.ai/install.sh | bash

Alternatives documented when this guide was checked:

bash
# Homebrew (does not auto-update; run "brew upgrade claude-code" periodically)
brew install --cask claude-code
 
# npm (requires Node.js 22 or later; do not use sudo)
npm install -g @anthropic-ai/claude-code@latest

Verify the installation, then start Claude Code inside a project folder and follow the browser login:

bash
claude --version
claude

If something looks wrong, claude doctor prints diagnostics.

Terminal fundamentals

The terminal lets you control your computer by typing commands. On macOS, use the Terminal app (Applications → Utilities) or the VS Code integrated terminal (View → Terminal, or Ctrl + backtick).

CommandWhat it doesExample
pwdPrint the folder you are inpwd
lsList files in the current folderls -la
cdChange foldercd ~/projects
mkdirMake a new foldermkdir my-app
open .Open the current folder in Finderopen .
code .Open the current folder in VS Codecode .
clearClear the screenclear

Useful habits:

  • ~ means your home folder, for example /Users/yourname.
  • Press Tab to auto-complete file and folder names.
  • Press the Up arrow to recall previous commands.
  • Press Ctrl+C to stop a running command, such as a development server.
  • Read error messages fully. They usually say exactly what went wrong.

Create your local project directory

Keep all projects in one place. This example creates a projects folder in your home directory and a folder for a new application.

bash
mkdir -p ~/projects/my-first-app
cd ~/projects/my-first-app
code .

VS Code opens with the empty folder. Open the integrated terminal (Ctrl + backtick) — it starts inside your project folder automatically, which is where Claude Code will work.

Git and GitHub fundamentals

Git is version control software on your computer. It records snapshots of your project called commits, so you can see what changed and return to any earlier version.

GitHub is an online service that stores Git repositories. It acts as the off-computer backup of your code and the source that Railway deploys from.

Key concepts:

  • Repository (repo): a project tracked by Git.
  • Commit: a saved snapshot with a message describing the change.
  • Branch: an independent line of work. main is the primary branch.
  • Remote: a copy of the repository hosted elsewhere, usually called origin on GitHub.
  • Push: upload local commits to the remote.
  • Pull: download new commits from the remote.
  • .gitignore: a list of files Git must never track, such as .env and node_modules.

Local development and GitHub source control

Your computer

VS Code + Claude Code

Edit, run, test

Local Git repository

History of commits

GitHub

Private repository

main branch is the source of truth

Railway

Build and deploy

From the connected branch
Code is written and tested on your computer, saved as commits in the local repository and pushed to a private GitHub repository. Railway deploys from GitHub, never from your laptop directly.

Install Git and the GitHub CLI

Check whether Git is installed:

bash
git --version

If macOS prompts you to install the Command Line Developer Tools, accept. Alternatively run xcode-select --install.

The GitHub CLI (gh) makes authentication and repository creation easier. With Homebrew installed:

bash
brew install gh

Without Homebrew, download the installer from cli.github.com.

Configure Git once

bash
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
git config --global init.defaultBranch main

Authenticate with GitHub

bash
gh auth login

Choose GitHub.com, HTTPS, agree to authenticate Git with your GitHub credentials, and log in with a web browser. Confirm:

bash
gh auth status

Create a private repository

You can create the repository with the GitHub CLI, with the GitHub website, or by asking Claude Code to do it.

Option A: GitHub CLI

Run this inside your project folder after the first commit (next section):

bash
gh repo create my-first-app --private --source=. --remote=origin --push

Option B: GitHub website

  1. Sign in at github.com and choose New repository.
  2. Enter the name, choose Private, and do not add a README, .gitignore or license (your local project will provide them).
  3. Create the repository and copy its HTTPS URL.

Option C: Ask Claude Code

Paste this prompt into Claude Code from your project folder. Replace the placeholders.

Claude CodeSetup

GitHub Repository Initialization

Purpose
Initialize Git in the current project folder, create a private GitHub repository and push the first commit.
When to use
Once, right after creating and opening a new empty project directory in VS Code.
Replace these placeholders: [REPOSITORY NAME][SHORT PROJECT DESCRIPTION]
## Operating instructions
Use LOW GAS throughout this task.
Minimize token consumption, unnecessary analysis, repetitive audits, readiness checks and intermediate reports. Consolidate related implementation activities. Do not create additional planning phases or request approval for routine implementation decisions.
Run essential tests, type checking and production builds. Do not compromise security or functionality to reduce model usage.

## Task
Set up source control for this project.

1. Initialize the current directory as a Git repository with "main" as the default branch, if it is not already a repository.
2. Create an appropriate .gitignore for a [SHORT PROJECT DESCRIPTION] project. Always exclude .env files, secrets, dependency folders, build output and operating system files.
3. Create a minimal README.md containing the project name "[REPOSITORY NAME]" and a one-paragraph description.
4. Using the authenticated GitHub CLI (gh), create a PRIVATE GitHub repository named [REPOSITORY NAME] if it does not already exist, and set it as the "origin" remote.
5. Create the initial commit and push the main branch.

## Rules
- Do not overwrite an existing repository and never force-push.
- Never commit credentials, API keys or .env files.
- If GitHub CLI authentication is unavailable, stop and give me the exact commands to authenticate (gh auth login) and to finish the setup manually.

## Completion report
Report the repository URL, branch, commit hash and any manual actions required.

Initial commit and push

If you used Option A or B, create the first commit manually:

bash
git init
printf ".env\n.env.*\n!.env.example\nnode_modules/\n.DS_Store\n" > .gitignore
echo "# My First App" > README.md
git add .
git commit -m "Initial commit"

Then connect and push. With the GitHub CLI, use Option A above. With the website (Option B):

bash
git remote add origin https://github.com/YOUR-USERNAME/my-first-app.git
git push -u origin main

Refresh the repository page on GitHub. You should see README.md and .gitignore.

Module 1 checklist

0 of 9 complete

Next, you will turn an idea into a plan that an AI agent can build reliably.