Zum Inhalt springen

Ampcode Release Notes

Einträge
192
Quellen
1
Zuletzt aktualisiert

Folge Ampcode, um die Release Notes in deinen Feed zu holen.

Ampcode

Globs in AGENTS.md

AGENTS.md-Dateien können jetzt per Glob-Erwähnungen und Filtern weitere Kontextdateien einbinden, die nur berücksichtigt werden, wenn Amp eine zu den Globs passende Datei gelesen hat.

Your AGENTS.md files can now include other context files dynamically, with glob mentions and filters, so you can give more granular guidance to the agent.

For example, to apply language-specific coding rules:

  1. Put See @docs/*.md anywhere in your AGENTS.md file.

  2. Create a file docs/typescript-conventions.md with:

    ---
    globs:
      - '**/*.ts'
    ---
    
    Follow these TypeScript conventions:
    
    - Never use the `any` type
    - ...
    
  3. Repeat for other languages.

There's nothing special about @docs/*.md; you could instead mention @.agent/rules/*.md or @.cursor/rules/*.mdc or anywhere else you want these rules to live.

These @-mentioned files with globs will only be included if Amp has read a file matching any of the globs (in the example above, any TypeScript file). Use /agent-files (CLI) or hover over X% of 968k (editor extension) to see the guidance files in use.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Streaming JSON in der Amp CLI

Die Amp CLI hat die neuen Flags --stream-json und --stream-json-input, die zusammen mit --execute strukturierte JSON-Ausgabe bzw. -Eingabe aktivieren.

The Amp CLI has two new flags: --stream-json and --stream-json-input.

They can be used together with the --execute flag to turn on structured JSON output and input, respectively.

Here is an example:

$ amp --execute "what is 2+2?" --stream-json

This would print something like the following on stdout:

{"type":"system","subtype":"init","cwd":"/Users/mrnugget/work/amp","session_id":"T-2775dc92-90ed-4f85-8b73-8f9766029e83","tools":["oracle","..."],"mcp_servers":[]}
{"type":"user","message":{"role":"user","content":[{"type":"text","text":"what is 2+2?"}]},"parent_tool_use_id":null,"session_id":"T-2775dc92-90ed-4f85-8b73-8f9766029e83"}
{"type":"assistant","message":{"type":"message","role":"assistant","content":[{"type":"text","text":"2 + 2 equals 4."}],"stop_reason":"end_turn","usage":{"input_tokens":12783,"cache_creation_input_tokens":367,"cache_read_input_tokens":12416,"output_tokens":8,"max_tokens":224000,"service_tier":"standard"}},"parent_tool_use_id":null,"session_id":"T-2775dc92-90ed-4f85-8b73-8f9766029e83"}
{"type":"result","subtype":"success","duration_ms":2906,"is_error":false,"num_turns":1,"result":"2 + 2 equals 4.","session_id":"T-2775dc92-90ed-4f85-8b73-8f9766029e83"}

Structured input can be provided on stdin with the --stream-json-input flag:

$ echo '{
  "type": "user",
  "message": {
    "role": "user",
    "content": [
      {
        "type": "text",
        "text": "what is 2+2?"
      }
    ]
  } …

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Amp CLI als flackerfreies Fullscreen-Terminal-UI

Die Amp CLI ist jetzt eine Vollbild-Terminaloberfläche auf eigenem Framework mit flüssigem Scrollen, Mausinteraktion, Overlays, Popups, klickbaren Buttons und ohne Flackern.

Today the Amp CLI reached the next stage in its evolution.

It’s no longer just a command-line tool, but a proper terminal user interface — fullscreen, responsive, fast, and built on our own framework.

Our framework now lets us do things that were previously awkward or impossible: smooth scrolling while tool calls stream in, real mouse interactions with the transcript and the rest of the interface, overlays, popups, and clickable buttons.

But maybe most importantly: no flicker. No jarring redraws. No stuttering text.

And without flicker, really, anything’s possible.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Eigene Tools als ausführbare Dateien einbinden

Über die Umgebungsvariable AMP_TOOLBOX mit einem Verzeichnispfad kann Amp ausführbare Dateien als Tools nutzen, die per TOOLBOX_ACTION mit describe und execute beschrieben und aufgerufen werden.

You can now provide tools to Amp in the form of executable files.

If the environment variable AMP_TOOLBOX is set and contains the path to a directory, Amp will look in that directory for executables to be used as tools.

On start, Amp will invoke each executable it found, with the environment variable TOOLBOX_ACTION set to describe. The tool is then expected to write its description (which is what will end up in the system prompt that's sent to the agent) to stdout.

Here is an example:

#!/usr/bin/env bun
import fs from 'node:fs'
const action = process.env.TOOLBOX_ACTION

if (action === 'describe') showDescription()
else if (action === 'execute') runTests()

function showDescription() {
	process.stdout.write(
		JSON.stringify({
			name: 'run-tests',
			description: 'use this tool instead of Bash to run tests in a workspace',
			args: { dir: ['string', 'the workspace directory'] },
		}),
	)
}

When the agent then decides to invoke your tool, Amp runs the executable again, this time setting TOOLBOX_ACTION to execute. Amp passes the tool call arguments on stdin and the executable can then execute the tool call:

function runTests() {
	let dir = JSON.parse(fs.readFileSync(0, 'utf-8'))['dir']
	dir = dir && dir.length > 0 ? dir : '.'
	Bun.spawn(['pnpm', '-C', dir, 'run', 'test', '--no-color', '--run'], {
		stdio: ['inherit', 'inherit', 'inherit'],
	})
}
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

1 Million Tokens Kontext mit Claude Sonnet 4

Amp kann mit Claude Sonnet 4 nun 1 Million Tokens Kontext nutzen (zuvor 432.000), empfiehlt aber kleine, aufgabenbezogene Threads und zeigt bei 20 % des Kontextfensters einen Hinweis an.

Amp can now use 1 million tokens of context with Claude Sonnet 4, up from 432,000 tokens two weeks ago.

You should not use the full context window for most tasks in Amp. Instead, use small threads that are scoped to a single task. Amp is better, faster, and cheaper when used this way. A notice will appear when you hit 20% of the context window to remind you of this.

Longer threads are more expensive, both because each iteration of the agentic loop sends more and more tokens, and because requests with more than 200k tokens are roughly twice as expensive per token in Anthropic's API pricing.

Amp thread with 1,000,000 tokens of context

Note: the screenshot shows 968k tokens because the context window is composed of 968k input tokens and 32k output tokens.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Enterprise Managed Settings

Administratoren von Enterprise-Amp-Kunden können über eine managed-settings.json organisationsweite Einstellungen definieren, die individuelle Einstellungen überschreiben, etwa für MCP-Server und Bash-Berechtigungen.

Amp now allows system administrators to configure organization-wide settings that override individual settings for Enterprise Amp customers. These settings can help ensure security, standardization, and best practices across an organization. Managed settings can be used, for example, to do the following:

  • Set MCP servers to those that work well in your organization (amp.mcpServers)
  • Allow or block MCP servers (amp.mcpPermissions)
  • Allow or block Bash commands that match specified patterns (amp.permissions)
  • Override any other Amp setting

To use managed settings, system administrators should ensure the settings are defined in the following files:

  • macOS: /Library/Application Support/ampcode/managed-settings.json
  • Linux: /etc/ampcode/managed-settings.json
  • Windows: %ProgramData%\ampcode\managed-settings.json

Settings in these files use the same schema as individual settings.

You can read more about managed settings in the manual.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

MCP Permissions

Die neue Einstellung amp.mcpPermissions definiert regelbasiert, welche MCP-Server erlaubt oder blockiert werden, wobei die erste passende Regel gilt und ohne Treffer der Server erlaubt ist.

The setting amp.mcpPermissions defines rules that block or allow MCP servers.

MCP permissions are evaluated using a rule-based system with the same pattern matching syntax that is used for tool permissions. The first matching rule determines the action. If no rules match, the MCP server is allowed by default.

The following configuration would block all MCP servers except locally-executed servers from the @modelcontextprotocol npm organization and remote servers from trusted-service.com:

{
	"amp.mcpPermissions": [
		{
			"matches": { "command": "npx @modelcontextprotocol/server-*" },
			"action": "allow"
		},
		{
			"matches": { "url": "https://trusted-service.com/mcp/*" },
			"action": "allow"
		},
		{
			"matches": { "url": "*" },
			"action": "reject"
		}
		{
			"matches": { "command": "*" },
			"action": "reject"
		}
	]
}

Read more about amp.mcpPermissions in the manual.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

JetBrains-Diagnosen für Java, Kotlin und Scala

Die Amp CLI kann jetzt Diagnosen aus JetBrains-IDEs für JVM-Sprachen wie Java, Kotlin und Scala lesen.

Amp CLI can now read diagnostics from JetBrains IDEs for JVM languages such as Java, Kotlin, and Scala.

See the Manual for how to connect Amp CLI to your JetBrains IDE.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Multi-File Tab

Amp Tab schlägt nun Änderungen in mehreren zuletzt angesehenen Dateien vor, wenn eine akzeptierte Änderung Diagnosefehler verursacht, wobei man mit Tab die Vorschau öffnet und mit erneutem Tab springt.

Amp Tab will now suggest edits across multiple recently-viewed files when an accepted edit introduces diagnostic errors.

Press Tab once to preview the file, and Tab again to make the jump.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Shell-Modus in der Amp CLI

In der Amp CLI lassen sich per $ am Nachrichtenanfang Shell-Befehle ausführen, deren Ausgabe in den Kontext einfließt, während $$ einen Inkognito-Modus ohne Kontextaufnahme aktiviert.

Finally: the Amp CLI now also lets you execute shell commands, right there in the prompt input.

It's called shell mode. You activate it by starting a message with $. Everything you type after that will be executed as a shell command. The command and its output will be included in the context window the next time you send a message to the agent.

It's a good way to show the agent the output of a command without the agent having to execute it.

Type $$ and you'll activate the incognito version of shell mode in which the commands are executed in the same way, but not included in the context.

That, in turn, is handy when you want to run noisy commands to check on something, or fire off a quick command that you'd otherwise run in a separate terminal.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Von AGENT.md zu AGENTS.md

Amp sucht nun nach AGENTS.md-Dateien und bleibt dabei mit bestehenden AGENT.md-Dateien abwärtskompatibel.

In May we added support for AGENT.md files to Amp. Not long after, OpenAI picked AGENTS.md (plural) for their agent and, instead of insisting on what we came up with, we decided that we'd prefer one standard.

Our condition: if OpenAI can get the agents.md domain, we'll switch. And that condition has now been met.

True to our word, and as of today, Amp will look for AGENTS.md files (while staying backwards compatible with existing AGENT.md files, of course)

AGENTS.md standard

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Neues Modell für Amp Tab

Amp Tab nutzt ein aktualisiertes eigenes Modell, das mit synthetischen Trainingsdaten sowie DPO-Post-Training auf SFT-Basis bessere Vervollständigungen liefert, besonders bei Folgeänderungen.

Amp Tab now uses an updated custom model to provide better completions.

In order to train this model, we rebuilt our training dataset to include synthetically generated examples to improve the model's performance in specific scenarios in which the previous model produced poor or missing suggestions, such as follow-up edits.

The new model also uses DPO (Direct Preference Optimization) post-training on top of our SFT (Supervised Fine-Tuning) base. To do that, we used the model's previous bad outputs as negative examples alongside the new synthetic ground truth as positive examples, teaching it to avoid common failure patterns.

Here, see how follow-up edits work much better now. In this video, deleting a proxy variable triggers a chain of completions, including fixes to the constructor and updates to the header.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Neue Threads ohne Verlassen der CLI

In der CLI kann man mit /new einen neuen Thread starten und mit /continue einen alten Thread fortsetzen, ohne die Sitzung zu verlassen.

You can now start new threads and continue old threads without leaving your CLI session. Use /new for a new thread and /continue to pick an old thread.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Nachrichten in der CLI einreihen

In der CLI lassen sich Nachrichten mit /queue <message> einreihen, die nach Abschluss des aktuellen Agent-Durchgangs gesendet werden, und mit /dequeue wieder entfernen.

You can now also queue messages in the CLI. Once queued, messages will be sent to the agent once it's done with its current turn.

Use /queue <message> to enqueue a message and /dequeue to dequeue them.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

432.000 Tokens Kontext mit Claude Sonnet 4

Amp unterstützt mit Claude Sonnet 4 nun 432.000 Tokens Kontext für alle Nutzer in der aktuellen CLI und Editor-Extension, mehr als das Doppelte des bisherigen Limits.

Amp can now use 432,000 tokens of context with Claude Sonnet 4, more than 2x the previous limit imposed by the model. Your threads can keep going for longer, with more iterations, more context, more replies, and larger files, before you need to compact or start a new thread.

We've rolled it out to all Amp users in the latest CLI and editor extension. We'll ship support for 1 million tokens of context soon.

You should still start new threads for new tasks and use small threads where possible.

Amp thread with 432,000 tokens of context

Note 1: Why does it say 400k in this screenshot? Because the context window is made up of 400k input and 32k output tokens.

Note 2: It remains to be seen what those 400k tokens are made of. Quantity isn't quality, and we're not sure yet whether the model behaves the same at 360k tokens as it does at 60k.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Diagnosegesteuerte Vervollständigungen in Amp Tab

Amp Tab nutzt Language-Server-Diagnosen, um Folgeänderungen vorzuschlagen, die durch vorherige Änderungen entstandene Fehler beheben, und zwar in der gesamten Datei.

Amp Tab now uses language server diagnostics to suggest follow-up edits that resolve errors introduced by previous edits.

This means you can get completions across the entire file, not just in nearby code.

It's particularly useful when making changes that immediately introduce fixable errors, such as changing the signature of a function or renaming a variable.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Modellbewertung: Amp-Team testet neue Modelle

Das Amp-Team dokumentiert in einem fortlaufend aktualisierten Beitrag seine Eindrücke und Erkenntnisse bei der Bewertung neuer Modelle wie Kimi K2, Qwen3-Coder, GLM-4.5, gpt-oss, Claude Opus 4.1 und GPT-5.

A lot of models have been released in the last few weeks: Kimi K2, Qwen3-Coder, GLM-4.5, gpt-oss, Claude Opus 4.1, GPT-5, diffusion models, and there's no end in sight.

We've been trying a lot of them, to see whether they can make Amp better.

In Amp, a new model isn't just another entry in a model selection dropdown menu. It's part of a whole in which many different models have different jobs to do and for each job we want to use the best model, regardless of cost or deployment concerns. So when a new model comes along, we ask:

  • Is it a frontier model that can replace Claude Sonnet 4 fully or even partially as the main agent model?
  • Is it a good subagent model that spikes in certain areas? (Like how the oracle uses a different model, originally o3.)
  • Is it a fast utility model that we can use, for example, for search, summarization, or other similar tasks?

With this post, we want to show you a week in the life of the Amp team as we evaluate new models. Impressions, ideas, tips — we'll share what we discover.

We'll continuously update it with notes from Thorsten, Camden, Quinn, Beyang, and other Amp team members.

  • GPT-5 One Week Later (latest note)
  • GPT-5 is pretty good after a few days of use …

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

GPT-5 in Amp ausprobieren (Optionen entfernt)

Amp bot zeitlich begrenzt die Option amp --try-gpt5 bzw. die Einstellung "amp.gpt5": true, um GPT-5 als Hauptmodell zu testen; diese Optionen wurden entfernt, und Amp nutzt GPT-5 nun als Oracle.

Update: These options to try GPT-5 as the main model have been removed. Amp now uses GPT-5 as the oracle.

We're in the process of evaluating where and how GPT-5 might fit into Amp.

You can join us and try GPT-5 in Amp now:

  • CLI: amp --try-gpt5
  • Editor extension: Set "amp.gpt5": true in VS Code, Cursor, Windsurf (or other VS Code fork) settings

(This flag and setting will only exist for a limited time, until we've made a call on how to use GPT-5.)

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

JetBrains-Anbindung im Amp CLI

Das Amp CLI lässt sich mit amp --jetbrains aus dem Projektstamm mit JetBrains-IDEs verbinden, sodass Amp Kontext zu aktueller Datei und Auswahl erhält und Dateien direkt über die IDE bearbeiten kann.

You can now connect the Amp CLI to JetBrains IDEs.

This provides Amp with context about your current file and selection. It also allows Amp to edit files directly through the IDE.

Update the Amp CLI to the latest version and run amp --jetbrains from the root of your project.

Learn more about the new JetBrains integration in the manual.

Originalquelle(öffnet in neuem Tab)Problem melden

Ampcode

Berechtigungen auf Tool-Ebene

Über die Liste amp.permissions in der Konfigurationsdatei lässt sich nun pro Tool und Argumenten festlegen, ob ein Aufruf erlaubt, abgelehnt, per Rückfrage bestätigt oder an ein anderes Programm delegiert wird.

Instead of only allowing you to configure which Bash commands are allowed to run and which aren't, Amp now gives you the ability to define which tool it's allowed to run, and with which arguments.

When Amp wants to call a tool, it first checks your list of permissions to find an entry that matches the tool and the tool call arguments. The matched entry then tells Amp to either allow the tool call, reject it, ask you for confirmation, or delegate the decision to another program. If no matching entry is found, Amp checks the built-in permission list that contains sensible defaults.

You can define these granular tool-level permissions by adding entries to the amp.permissions list in your configuration file. Here's an example:

"amp.permissions": [
  // Ask before running a command containing "git commit"
  { "tool": "Bash", "matches": { "cmd": "*git commit*" }, "action": "ask"},
  // Reject command containing "python " or "python3 "
  { "tool": "Bash", "matches": { "cmd": ["*python *", "*python3 *"] }, "action": "reject"},
  // Ask before running any MCP tool
  { "tool": "mcp__*", "action": "ask"},
  // Delegate everything else to a permission helper (must be on $PATH)
  { "tool": "*", "action": "delegate", "to": "my-permission-helper"}
]

You can read more about the new tool-level permissions in the manual.

Originalquelle(öffnet in neuem Tab)Problem melden