Lesson 20
AI Coding Assistants Overview
AI-generated
- Understand the three categories of AI coding tools
- Know the major players and their strengths
- Choose the right tool for different situations
- Understand pricing and setup requirements
- Avoid analysis paralysis when selecting tools
This unit is specifically for developers and aspiring developers. If you do not write code, you can skip to Unit 6 (Power User) without missing anything essential.
The content ahead assumes you are comfortable with concepts like version control, IDEs, and command-line tools. We will cover AI coding assistants, instruction files, agent-mode development, and building software with AI assistance.
Let's dive in.
AI coding tools fall into three categories. Understanding the differences helps you choose the right tool for each situation.
Chat-Based Coding
You talk to AI in a conversation, pasting code and asking questions. This works in any AI chat interface (Claude, ChatGPT, etc.) but also in dedicated coding tools.
Best for:
- Explaining code concepts
- Debugging complex issues
- Architecture discussions
- Learning new frameworks
- Code review feedback
Example: "Here's my React component. Why is it re-rendering too often?" [paste code]
Inline Completion
AI suggests code as you type, appearing as ghost text in your editor. You accept suggestions with Tab or keep typing to ignore them.
Best for:
- Boilerplate code
- Repetitive patterns
- Test cases following a pattern
- Documentation strings
- Standard implementations
Example: Start typing "function validateEmail(" and watch the AI suggest the implementation.
Agent Mode
You describe a task in natural language. The AI plans the work, creates/edits multiple files, runs commands, and iterates until done. You review the changes.
Best for:
- Multi-file refactoring
- Implementing complete features
- Setting up project scaffolding
- Bug investigation across codebase
- Automated test generation
Example: "Add dark mode support to the entire app. Use CSS custom properties."
Choosing the Right Mode
| Task | Best Mode |
|---|---|
| Quick question about syntax | Chat |
| Writing standard function | Completion |
| Implementing new feature | Agent |
| Understanding error message | Chat |
| Repetitive code changes | Agent or Completion |
| Learning new API | Chat |
| Refactoring across files | Agent |
| Writing tests for existing code | Agent |
The AI coding tool landscape is competitive. Here are the main options as of April 2026.
Claude Code (Anthropic)
What it is: Agentic coding tool running in your terminal. Understands your entire codebase, can create/edit files, run commands, and iterate autonomously.
Strengths:
- Deep codebase understanding
- Strong reasoning for complex tasks
- Excellent instruction file support (CLAUDE.md)
- Works with any editor
- Direct access to terminal
Pricing: Claude Pro subscription ($20/month includes usage), or API access
Setup: Install via terminal, authenticate, run in project directory
GitHub Copilot
What it is: AI pair programmer integrated directly into editors. Strong inline completion with chat available.
Strengths:
- Seamless editor integration
- Very fast completions
- Good for repetitive code
- Wide language support
- Copilot Chat for conversation
Pricing: $10/month individual, $19/month business, free for students and open source maintainers
Setup: Install extension in VS Code, JetBrains, or other supported editors
Cursor
What it is: Fork of VS Code with AI built in at every level. Completion, chat, and agent mode in one IDE.
Strengths:
- All modes in one tool
- Familiar VS Code interface
- Strong Composer (agent mode)
- Fast iteration
- Good codebase awareness
Pricing: Free tier with limits, Pro at $20/month
Setup: Download and install like any editor
Other Notable Tools
- Windsurf: AI-native editor with Cascade agent mode
- Cody (Sourcegraph): Enterprise-focused with strong codebase search
- Continue: Open-source extension for VS Code and JetBrains
- Tabnine: Privacy-focused with on-premise options
Do not spend days researching the "best" tool. Use this framework to choose quickly and start learning.
The Decision Tree
Do you want a new editor or to stay in your current one?
- Stay in current editor → GitHub Copilot or Continue
- Open to new editor → Cursor
Do you prefer terminal-based workflows?
- Yes → Claude Code
- No → Cursor or Copilot
What is your budget?
- Free → Copilot (if eligible) or Cursor free tier
- $10-20/month → Any of the above
- Enterprise → Evaluate based on security/compliance needs
The "Just Pick One" Recommendation
If you are paralyzed by choice:
For most developers: Start with Cursor (free tier). It has all three modes, a familiar interface, and you can evaluate without cost.
If you love terminal workflows: Start with Claude Code. The agentic capabilities are powerful once you learn the workflow.
If you just want completion: Start with GitHub Copilot. It is the most mature for inline suggestions.
You can always switch later. The skills transfer.
Every major tool offers a way to try before you pay.
| Tool | Free Option |
|---|---|
| Claude Code | Claude Pro free trial, then $20/month |
| GitHub Copilot | Free for students, educators, OSS maintainers; 30-day trial otherwise |
| Cursor | Free tier with usage limits |
| Windsurf | Free tier available |
| Continue | Open source, free |
Your First Week
- Day 1: Install one tool (we recommend Cursor or Claude Code)
- Day 2-3: Use it for completion/chat on normal work
- Day 4-5: Try agent mode on a real task
- Day 6-7: Evaluate: Does it fit your workflow?
Do not try to master everything. Focus on one tool until it becomes natural, then expand.
- Three modes matter: Chat, completion, and agent serve different needs
- Major tools: Claude Code (agentic), Copilot (completion), Cursor (all-in-one)
- Start with one tool: Do not over-research; pick and learn
- Free options exist: Every major tool has a trial or free tier
- Skills transfer: Learning one tool helps with all of them
If you do not have AI coding tools yet:
- Choose one tool: Cursor (easy start) or Claude Code (powerful agent mode)
- Install it and authenticate
- Open a project you are actively working on
- Try this simple test:
- Write a function you would normally write yourself (e.g., "validate phone number") - Let AI assist via completion or chat - Note: What was better than expected? What was worse?
This 15-minute exercise will teach you more than hours of reading reviews.
- Claude Code documentation: https://docs.anthropic.com/en/docs/claude-code
- GitHub Copilot features: https://github.com/features/copilot
- Cursor documentation: https://cursor.sh/docs
- Developer survey on AI tools: https://stackoverflow.blog/2023/06/13/developer-survey-results-2023/