Skip to main content
← Back to list
01Issue
FeatureShippedSwamp CLIPublic
Assigneesstack72

Relationships

#1856 Add Amp Code as a built-in tool in repo init

Opened by stack72 · 8/26/2026· Shipped 8/28/2026

Problem

Amp (ampcode.com) is an AI coding agent (spun out of Sourcegraph) that uses AGENTS.md for project instructions and .agents/skills/ for skills — the same conventions already used by opencode, codex, and copilot. Swamp does not currently list it as a built-in tool, so users cannot run swamp repo init --tool amp.

Proposed Solution

Add amp as a built-in tool in the BUILT_IN_TOOL_NAMES list alongside the existing tools. The tool config would be:

  • instructionsFile: AGENTS.md (shared with opencode/codex/copilot)
  • skillsDir: .agents/skills (shared with opencode/codex/copilot)
  • instructionsMode: shared
  • skillReferenceStyle: name

Additionally, scaffold .amp/settings.json with:

  • amp.commands.allowlist: whitelist swamp commands so the agent can run them without prompting
  • amp.commands.strict: enforce the allowlist

Audit hooks gap

Amp hook system (amp.hooks in .amp/settings.json) currently supports send-user-message and redact-tool-input actions but does not support a run-command action type. This means we cannot wire up swamp audit record --from-hook on tool:post-execute the way we do for Claude, Cursor, Kiro, and Copilot. The audit hook should be added once Amp supports a run-command hook action.

Alternatives

Users can already use swamp agent setup to define amp as a custom tool, but having it built-in gives a better out-of-the-box experience and keeps it consistent with the other agents.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 7 MOREPR_MERGED+ 2 MORESESSION_SUMMARIZED

Shipped

8/28/2026, 8:56:50 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack728/28/2026, 7:32:06 PM

Sign in to post a ripple.