
Amp
A free AI coding agent from Sourcegraph
- Categoria
- Ferramentas de Programação com IA
- Listada em
O que é Amp?
Amp is an AI coding agent from Sourcegraph, positioned as an autonomous programming tool built for teams and outcomes. Unlike traditional code completion tools, Amp can plan and execute multi-step tasks across codebases on its own, much like a junior engineer. Backed by a decade of Sourcegraph's code search expertise, it deeply understands project structure and traces function call chains to deliver end-to-end development work, from complex refactoring to test generation and documentation. Amp takes a quality-first approach with no token limits, automatically selecting cutting-edge models such as Claude Opus 4.6 and GPT-5.2 to produce high-quality code. Its unique Thread session sharing lets teams reuse prompts, agent responses, and code change histories, encouraging collaboration and the accumulation of best practices. Amp works through both a CLI and a VS Code extension, and new users receive a $10 free daily credit.
Como usar o Amp
- Visit the platform: Go to the Amp website at https://sourcegraph.com/amp. Install the CLI tool: Run npm install -g @sourcegraph/amp to install the Amp command-line tool globally. Configure your API key: Set an environment variable or add your Sourcegraph API key in the config file to complete authentication. Start a session: Run the amp command in your terminal to enter interactive mode, where you can describe coding tasks in natural language. Choose an agent mode: Pick smart (high quality), rush (fast), or deep (deep reasoning) depending on the task. Connect your repository: Amp automatically analyzes the project in your current directory, building a code graph and vector embeddings to understand the code structure. Write an AGENT.md file (optional): Create an AGENT.md file in your project root to define your codebase structure, development practices, and coding standards so Amp generates more context-aware code. Use the VS Code extension: Install the Amp extension in VS Code and its forks (Cursor, Windsurf, VSCodium) to invoke agent capabilities directly in the editor. Share a Thread: After finishing a session, save the Thread and share the prompts, agent responses, and code changes with teammates for reuse.
Recursos principais do Amp
- 1
Autonomous Task Execution
Beyond code completion, Amp can plan, reason through, and execute complex programming tasks on its own like a junior engineer, such as refactoring modules across codebases, generating test files, and writing documentation.
- 2
Multi-Model Smart Routing
Amp automatically selects the optimal model (Claude Opus 4.6, GPT-5.2, DeepSeek, Gemini, Mistral, and more) without manual switching, always using the best model to deliver high-quality code.
- 3
Deep Code Understanding
Leveraging a decade of Sourcegraph code search technology, Amp builds a code graph and vector embeddings to trace type definitions and function call chains, performing global analysis across microservices, shared libraries, and API boundaries.
- 4
Thread Session Sharing
Amp lets you save and share complete conversation histories, including prompts, agent responses, and code changes, with teammates to encourage collaboration and the reuse of best practices.
- 5
Three Agent Modes
Smart mode uses the most advanced models without restrictions, rush mode quickly handles well-defined tasks, and deep mode applies deep reasoning to solve complex problems.
- 6
AGENT.md Integration
Amp automatically reads project-specific AGENT.md files to understand your codebase structure, development practices, and coding standards, producing more context-aware code.
- 7
No Token Limits
Unlike other tools that cap token usage, Amp places no ceiling on tokens, ensuring tasks are completed with the quality they deserve.
- 8
Dual Platform Support
Amp offers both a CLI tool and a VS Code extension, seamlessly integrating into your existing development workflow with no new interface to learn.
Casos de uso do Amp
- 1
Complex Code Refactoring
Perform large-scale refactoring across modules and services, with automatic dependency analysis and safe migration of code structure.
- 2
Automated Test Generation
Automatically generate unit and integration tests from existing code to improve test coverage and code quality.
- 3
Technical Documentation
Automatically analyze code logic to produce API documentation and README files, reducing the manual effort of keeping docs up to date.
- 4
Rapid Feature Development
From requirement description to code implementation, Amp can plan the development steps autonomously, accelerating your feature iteration cycle.
- 5
Legacy Code Understanding
Quickly map out the structure and call chains of older projects, helping new team members get up to speed on complex codebases.
- 6
Code Review Assistance
Generate detailed change explanations and context to improve the efficiency and quality of pull request reviews.