Skip to content

POK-54: Add Amp (Sourcegraph) coding agent CLI to aikit#2

Merged
saheljalal merged 1 commit into
mainfrom
pok-54-add-amp-code-cli
Jun 29, 2026
Merged

POK-54: Add Amp (Sourcegraph) coding agent CLI to aikit#2
saheljalal merged 1 commit into
mainfrom
pok-54-add-amp-code-cli

Conversation

@saheljalal

Copy link
Copy Markdown
Collaborator

Closes POK-54.

Summary

Adds Amp (by Sourcegraph, https://ampcode.com) as the 21st AI coding agent managed by aikit. Amp is a popular agentic coding tool (read/edit code, run commands, MCP, Oracle reasoning) available in IDEs and via a CLI — a good fit to track alongside Claude Code, Codex, Cursor, etc.

What changed

  • Registry entry (aikit AGENTS["amp"]), following the existing pattern (mirrors Qwen: official curl install + npm-based release tracking):
    • Install: curl -fsSL https://ampcode.com/install.sh | bash (PowerShell install.ps1 on Windows) — the install method upstream recommends over npm
    • Version: amp --version; Update: amp update
    • Release tracking: version_check via the @ampcode/cli npm package
    • Auth: auth_type: oauth_browser, auth_cmd: amp login (browser sign-in), with AMP_API_KEY for scripts/CI
  • Auth discovery: discover_auth now recognizes ~/.config/amp/settings.json (and .jsonc)
  • Version bump: aikit 1.6.2 → 1.7.0 (additive) + docstring header
  • Docs/README/CHANGELOG: agent count 20 → 21, new agents-table row, 1.7.0 changelog entry
  • Tests: len(AGENTS) == 21; added test_aikit_amp_registry_entry and test_aikit_resolve_update_cmd_amp

All install/update/auth details verified against the official Amp manual and CLI docs.

Verification

  • aikit --versionaikit 1.7.0; registry loads 21 agents; amp detection works for both curl (~/.local/bin/amp) and npm install paths
  • venv/bin/python -m pytest: 222 passed, 11 failed — the 11 failures are pre-existing/environmental (9 pluck, 1 test_console color, 1 aikit uninstall-prune) and are byte-identical with this branch stashed; no new failures, and the 3 Amp/registry tests pass.

Adds Amp from ampcode.com as the 21st managed agent. Installs via the
official curl script (PowerShell on Windows), updates with `amp update`,
tracks releases through the @ampcode/cli npm package, and authenticates
with `amp login` (browser sign-in) or AMP_API_KEY for scripts/CI. Auth
discovery recognizes ~/.config/amp/settings.json.

Bumps aikit 1.6.2 -> 1.7.0 and updates docs, README, changelog, and
characterization tests (registry now 21 agents).

Co-authored-by: multica-agent <github@multica.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant