This page documents the configuration mechanisms, access methods, and operational patterns for Amp. It covers VSCode settings, Thread YAML inspection, model selection, and environment context structure. For information about Amp's tool ecosystem, see Tool Suite and Capabilities.
Amp operates as a VSCode extension and requires configuration through the editor's user settings. The primary configuration parameters control the service endpoint and model selection.
| Setting | Type | Purpose | Default |
|---|---|---|---|
amp.url | string | Amp service endpoint URL | https://ampcode.com/ |
amp.gpt5 | boolean | Enable GPT-5 model selection | false |
Amp supports multiple underlying LLM models with model-specific system prompts. The amp.gpt5 flag switches between configuration profiles:
amp.gpt5: false - Uses Claude 4 Sonnet configuration with extensive reasoning capabilitiesamp.gpt5: true - Uses GPT-5 configuration optimized for parallel execution and minimal reasoning outputVSCode Settings Configuration
Sources: Amp/README.md12-20
Amp maintains conversation state in Thread objects accessible through a YAML inspection interface. This mechanism allows users to view the complete system prompt, environment context, and tool definitions for debugging and transparency.
The Thread YAML contains:
Sources: Amp/README.md1-9 Amp/view-thread-yaml.png1
Each Thread includes a structured environment section that provides the LLM with contextual awareness of the execution environment. This section is automatically populated and included in the system prompt.
| Field | Example Value | Purpose |
|---|---|---|
| Today's date | Mon Sep 15 2025 | Temporal context for queries |
| Working directory | /c:/Users/ghuntley/code/system-prompts-and-models-of-ai-tools | Current operation location |
| Workspace root folder | /c:/Users/ghuntley/code/system-prompts-and-models-of-ai-tools | Project root for absolute paths |
| Operating system | windows (Microsoft Windows 11 Pro 10.0.26100) | Platform-specific command syntax |
| Repository | https://github.com/ghuntley/system-prompts-and-models-of-ai-tools | Source control context |
| Amp Thread URL | https://ampcode.com/threads/T-... | Thread identifier |
| Directory listing | <directoryListing>...</directoryListing> | Cached workspace structure |
The <directoryListing> section provides a cached snapshot of the workspace structure, reducing the need for explicit list_directory tool calls:
c:/Users/ghuntley/code/system-prompts-and-models-of-ai-tools
├ .git/
├ .github/
├ Amp/
├ Claude Code/
├ Lovable/
├ Qoder/
├ Windsurf/
└ README.md
Sources: Amp/gpt-5.yaml514-612 Amp/claude-4-sonnet.yaml756-852
The two supported models receive tailored system prompts optimized for their respective strengths. The prompts share core functionality but differ in emphasis and verbosity constraints.
Emphasis on Concision
Parallel Execution Policy
Output Constraints
Emphasis on Agency
Oracle Integration
Task Management
todo_write and todo_read VERY frequentlySources: Amp/gpt-5.yaml63-70 Amp/gpt-5.yaml72-107 Amp/claude-4-sonnet.yaml10-58 Amp/claude-4-sonnet.yaml211-286 Amp/claude-4-sonnet.yaml301-356
Both configurations share core usage patterns for tool execution, file operations, and workflow management, with differences in how aggressively they are applied.
Sequential Discovery
codebase_search_agent, Grep, glob)Read tooledit_file or create_fileget_diagnostics and test commandsParallel Execution (emphasized in GPT-5)
Read calls in single turncodebase_search_agent queries for different conceptsTask tool invocations for disjoint file modificationsRead Before Edit
Read tool to understand file content before editingEdit Strategy
edit_file for targeted string replacementscreate_file for new files or complete rewritesreplace_all: true for repeated pattern changesVerification Gate
get_diagnostics after modificationsAGENTS.md if presentDecision Matrix
| Need | Tool | When to Use |
|---|---|---|
| Senior engineering advice | oracle | Planning, review, architecture, debugging |
| Conceptual code search | codebase_search_agent | Find logic by description |
| Heavy multi-file execution | Task | Feature scaffolding, refactors, migrations |
Workflow Example
1. oracle(plan feature) → Strategic guidance
2. codebase_search_agent(validate scope) → Locate existing patterns
3. Task(execute) → Implement across files
Sources: Amp/gpt-5.yaml220-298 Amp/claude-4-sonnet.yaml35-68 Amp/claude-4-sonnet.yaml211-297
Amp automatically includes the AGENTS.md (or legacy AGENT.md) file in the system prompt if present in the workspace. This mechanism allows project-specific conventions to be persistently available without manual injection.
Common Commands
npm run typecheck, cargo check, go buildnpm run lint, eslint .npm run build, cargo buildnpm test, pytest, go test ./...Code Style Preferences
Project Structure
When Amp needs to verify code changes:
AGENTS.mdAGENTS.mdSources: Amp/gpt-5.yaml300-314 Amp/claude-4-sonnet.yaml455-471
The complete configuration access workflow combines VSCode settings, Thread inspection, and runtime environment context.
Key Configuration Points
| Layer | Configuration Entity | Access Method |
|---|---|---|
| VSCode | amp.gpt5, amp.url | User settings JSON |
| Thread | System prompt, environment | Thread YAML viewer (Alt/Option + Click) |
| Workspace | Commands, conventions | AGENTS.md auto-inclusion |
| Runtime | Working directory, OS | Automatic environment detection |
Sources: Amp/README.md1-20 Amp/gpt-5.yaml1-612 Amp/claude-4-sonnet.yaml1-852
Refresh this wiki