Tutorial 1: Quick Start
Get thegent up and running in 5 minutes.
Prerequisites
- Python 3.10+
- Rust (for high-performance extensions)
- Homebrew (macOS) or package manager (Linux)
Step 1: Installation
macOS / Linux
bash
curl -fsSL https://raw.githubusercontent.com/kooshapari/thegent/main/scripts/bootstrap.sh | sh -s -- installFrom Source
bash
git clone https://github.com/kooshapari/thegent
cd thegent
pip install -e .Step 2: Setup
Run the interactive setup wizard:
bash
thegent setup --wizardThis will guide you through:
- Basic configuration (MCP host, port, directories)
- Model defaults (Cursor, Gemini, Copilot, Claude, Codex)
- Performance settings (timeouts, routing)
- Budget settings (optional)
- Advanced settings (optional)
Or use defaults:
bash
thegent setupStep 3: Verify Installation
Check that everything is set up correctly:
bash
thegent doctorYou should see:
- ✓ All dependencies installed
- ✓ Configuration valid
- ✓ MCP server accessible
- ✓ Shims installed
Step 4: Run Your First Agent
bash
thegent run "Analyze the current directory structure" freeThis runs a free agent (Copilot) to analyze your directory.
Step 5: Check Status
bash
thegent psThis shows active and historical agent sessions.
Next Steps
- Configuration Tutorial - Customize your setup
- First Agent Run - Learn about agent execution
- Multi-Agent Workflows - Orchestrate multiple agents
Troubleshooting
If you encounter issues:
- Run
thegent doctorto diagnose problems - Check Troubleshooting Guide
- Run
thegent doctor --fixto attempt automatic fixes
Common Issues
Command Not Found
If thegent command is not found:
bash
# Add to PATH
export PATH="$HOME/.local/bin:$PATH"
# Add to shell profile
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrcMCP Server Not Running
bash
# Start MCP server
thegent mcp up
# Or use task
task devConfiguration Errors
bash
# Validate configuration
thegent config validate
# Run wizard again
thegent config wizardSuccess!
You're now ready to use thegent! Continue to the next tutorial to learn about configuration.