Overview
AI coding agents have transformed how developers write, debug, and understand code. This guide covers setting up the major free-tier options for home use, where you don’t have to deal with corporate proxies, SSL inspection, or data governance policies.
The Landscape (2025)
| Tool | Provider | Free Tier | Best For |
|---|---|---|---|
| Claude Code | Anthropic | Free plan via claude.ai | Agentic coding, large context |
| Roo Code | Roo | Free (BYOK) | VS Code integration, multiple models |
| GitHub Copilot | GitHub/MS | Free (limited) | IDE autocomplete |
| Codex / ChatGPT | OpenAI | Limited free | General purpose |
| Gemini CLI | Free tier | Google ecosystem | |
| Ollama | Local | Completely free | Privacy, offline |
Claude Code (Anthropic)
Best for: Long autonomous coding tasks, agentic workflows, file editing across projects.
Installation
# Requires Node.js 18+
npm install -g @anthropic-ai/claude-code
# Authenticate with your Anthropic account (free plan available)
claude auth login
# Start a session
cd /your/project
claude
Configuration
# claude is configured per-project with CLAUDE.md files
# Create a CLAUDE.md in your project root:
cat > CLAUDE.md << 'EOF'
# Project Context
This is a TypeScript web app using React and Express.
- Use functional components with hooks
- Prefer explicit type annotations
- Run `npm test` after code changes
EOF
Key Capabilities
- Full file system access (reads and writes files)
- Runs shell commands and tests
- Maintains context across multi-file changes
--continueflag resumes previous sessions
Roo Code (VS Code Extension)
Best for: In-editor AI assistance, quick completions, multiple model backends.
Installation
- Open VS Code
- Extensions → Search “Roo Code” (formerly Roo Cline)
- Install
Configuration
Roo Code supports multiple API backends. For the free Anthropic option:
- Get a free API key at console.anthropic.com (includes $5 free credits)
- Roo Code settings → API Provider → Anthropic
- Enter your API key
- Select
claude-3-5-haiku-*for cost efficiency
Modes
Roo Code runs in different modes depending on task type:
- Code: Writes and edits files
- Architect: Plans and designs before writing
- Ask: Q&A without file modifications
- Debug: Focused on diagnosing and fixing issues
GitHub Copilot (Free Tier)
Best for: Inline completions, GitHub-integrated workflows.
Free Tier Limitations (2025)
- 2,000 code completions/month
- 50 chat requests/month
- Limited to VS Code, JetBrains, vim plugins
Setup
- GitHub account → Settings → Copilot → Enable free plan
- Install “GitHub Copilot” extension in VS Code
- Sign in with GitHub
Tips for Free Tier
- Use completions for boilerplate, not complex logic
- The chat feature (Copilot Chat) counts against your quota — use it judiciously
- Free tier uses
claude-3.5-sonnetorgpt-4odepending on request type
Ollama (Completely Local)
Best for: Privacy-sensitive projects, offline development, unlimited free usage.
Installation
# macOS
brew install ollama
# Linux
curl -fsSL https://ollama.ai/install.sh | sh
# Windows: Download from ollama.ai
Running Models
# Pull a code-optimised model
ollama pull codellama:7b # Meta's code model, 4GB
ollama pull deepseek-coder:6.7b # Strong coding performance, 4GB
ollama pull qwen2.5-coder:7b # Excellent coding model from Alibaba
# Start interactive session
ollama run deepseek-coder:6.7b
# Use as API (compatible with OpenAI format)
curl http://localhost:11434/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-coder:6.7b",
"messages": [{"role": "user", "content": "Write a Python function to parse JSON"}]
}'
Integrate with Roo Code
Roo Code supports Ollama as a local backend:
- Roo Code settings → API Provider → Ollama
- Base URL:
http://localhost:11434 - Model:
deepseek-coder:6.7b(or whichever you’ve pulled)
Advantages: No API costs, no data leaves your machine, no rate limits.
Choosing the Right Tool
Personal project with no data sensitivity?
→ Roo Code + Claude Haiku (cheap) or Copilot (free completions)
Complex multi-file refactoring task?
→ Claude Code (best long-context agentic reasoning)
Privacy-sensitive work?
→ Ollama with deepseek-coder or qwen2.5-coder
Quick inline completions?
→ GitHub Copilot free tier
Want to experiment with multiple models?
→ Roo Code (swap backends easily)
Cost Management Tips
- Use Haiku for routine tasks — claude-haiku-* is 10-20x cheaper than Sonnet for simple completions
- Set usage limits — Anthropic console lets you set monthly spending caps
- Cache your sessions — Claude Code’s
--continueflag reuses conversation history, reducing re-sending context - Use local for experimentation — Ollama is free; use it for prototyping prompts before using paid APIs
- Monitor token usage — Most tools show token counts; long system prompts add up quickly