import{_ as t,c as o,o as a,ae as s}from"./chunks/framework.CBTkueSR.js";const i="/assets/view-thread-yaml.Bu7VY5Z2.png",u=JSON.parse('{"title":"Amp (EN)","description":"","frontmatter":{},"headers":[],"relativePath":"en/amp/index.md","filePath":"en/amp/index.md","lastUpdated":1760450691000}'),n={name:"en/amp/index.md"};function r(l,e,d,p,c,h){return a(),o("div",null,[...e[0]||(e[0]=[s('<h1 id="amp-en" tabindex="-1">Amp (EN) <a class="header-anchor" href="#amp-en" aria-label="Permalink to &quot;Amp (EN)&quot;">​</a></h1><h1 id="how-to-obtain-the-system-prompt-for-amp" tabindex="-1">How to obtain the system prompt for <a href="https://ampcode.com" target="_blank" rel="noreferrer">Amp</a> <a class="header-anchor" href="#how-to-obtain-the-system-prompt-for-amp" aria-label="Permalink to &quot;How to obtain the system prompt for [Amp](https://ampcode.com)&quot;">​</a></h1><ol><li>Login with Amp using VScode</li><li>Issue a short query into Amp</li><li>Hold down Alt (windows) or Option (macOS) and click on the workspace button</li></ol><p><img src="'+i+`" alt=""></p><ol start="4"><li>Click view Thread YAML</li></ol><h1 id="notes" tabindex="-1">Notes <a class="header-anchor" href="#notes" aria-label="Permalink to &quot;Notes&quot;">​</a></h1><p>The system prompt used by Amp is tuned to Sonnet 4.x and has other LLMs registered into it as tools (&quot;the oracle&quot;). To obtain the <code>GPT-5</code> tuned system prompt then you need to configure VSCode user settings with the following and then follow the steps above again</p><div class="language-json vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">    &quot;amp.url&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;https://ampcode.com/&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">    &quot;amp.gpt5&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><h2 id="summary-of-product-tool-documents" tabindex="-1">Summary of Product Tool Documents <a class="header-anchor" href="#summary-of-product-tool-documents" aria-label="Permalink to &quot;Summary of Product Tool Documents&quot;">​</a></h2><p>This directory contains system prompts designed for the AI coding agent &quot;Amp&quot;. Built by Sourcegraph, Amp is designed to help users with software engineering tasks. The files in this directory demonstrate how Amp is configured and optimized for different underlying large language models.</p><ul><li><p><strong><code>claude-4-sonnet.md</code></strong>: This is the system prompt configured for Amp, targeting Anthropic&#39;s Claude Sonnet 4 model. It defines in detail Amp&#39;s agent behavior, task management (<code>todo_write</code> tool), code conventions, and communication style. A core feature is the frequent use of the <code>oracle</code> tool, an expert consultant played by another LLM (in this case, GPT-5), used for guidance in planning, reviewing, and debugging complex tasks.</p></li><li><p><strong><code>gpt-5.md</code></strong>: This is the system prompt configured for Amp, targeting OpenAI&#39;s GPT-5 model. This version also defines Amp&#39;s agent behavior but places more emphasis on a Parallel Execution Policy, rapid context understanding, and strict Guardrails. It also mentions the use of an <code>oracle</code> (possibly played by Claude Sonnet 4 here) and other sub-agents (<code>Task</code>, <code>Codebase Search</code>) to complete tasks collaboratively.</p></li></ul><p>In summary, the <code>amp</code> directory showcases a flexible, multi-model collaborative AI agent architecture by providing customized system prompts for different LLMs. It utilizes a primary model (like Claude Sonnet 4) to execute tasks while using another powerful model (like GPT-5) as an &quot;oracle&quot; tool to provide expert advice, thereby achieving more powerful and reliable programming assistance capabilities.</p>`,12)])])}const g=t(n,[["render",r]]);export{u as __pageData,g as default};
