Getting Started with Trae AI
From the course Trae AI: ByteDance Code Editor
Trae AI is a free AI-powered code editor developed by ByteDance. Built on VS Code's foundation, it offers a familiar interface enhanced with powerful AI capabilities including chat, inline editing, and autonomous coding agents.
Why Trae Stands Out
- Completely free — No subscription required, includes Claude 3.5 Sonnet and GPT-4o
- VS Code compatible — Supports VS Code extensions and settings
- Multi-model — Switch between AI models for different tasks
- Builder mode — Autonomous agent that creates entire features
- No API keys — Models are provided at no cost to the user
Installation
- Download from trae.ai for macOS, Windows, or Linux
- Sign in with Google, GitHub, or email
- Import your VS Code settings and extensions (optional)
- Open a project folder and start coding
Interface Overview
The Trae interface adds AI panels to the familiar VS Code layout:
- Chat Panel — Conversational AI assistant on the right
- Inline Edit — Trigger with Cmd/Ctrl+I for targeted changes
- Builder Panel — Full agentic mode for complex tasks
- Context Bar — Add files, folders, and web URLs as context
Model Selection
| Model | Best For | Speed |
|---|---|---|
| Claude 3.5 Sonnet | Complex reasoning, architecture | Medium |
| GPT-4o | General tasks, broad knowledge | Fast |
| Claude 3 Haiku | Quick completions, simple tasks | Fastest |
Migrating from Other Editors
Trae imports from:
- VS Code — Settings, extensions, keybindings, themes
- Cursor — Similar transition, familiar AI patterns
- JetBrains — Basic settings and project import
Best Practice: Import your VS Code settings and extensions on first launch — Trae will inherit your existing keybindings, theme, and editor preferences, making the transition feel immediate rather than disruptive.
Common Pitfall: Trae's free model access has daily usage limits that reset at midnight UTC. If you hit the limit mid-session, the Chat and Builder panels silently stop responding. Check the usage indicator in the settings panel before starting a long agentic task.
Named Example: ByteDance built Trae on the same VS Code fork technology as Cursor, which means it benefits from the same extension ecosystem while offering the underlying models at no cost — a meaningful advantage for individual developers and students on tight budgets.
Key Takeaways
- •Trae AI is completely free with access to Claude and GPT models
- •Built on VS Code with full extension compatibility
- •Three AI interaction modes: Chat, Inline Edit, and Builder
- •No API keys or subscriptions required
Progress is kept in this browser only.