-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Summary
Research the Amp SDK (by Sourcegraph) API surface and map it to ralph-starter's existing agent abstraction layer.
Linear: ENG-1461
What to Research
- Amp CLI invocation: How to spawn Amp from CLI, what parameters it accepts
- Output format: How Amp streams output (JSON stream, text, etc.)
- Tool-use protocol: How Amp's native tool invocation works
- Agent modes: Amp has 3 modes —
smart(frontier),rush(fast),deep(extended reasoning) - Sub-agent support: How Amp handles sub-agents for specialized tasks
- Prompt caching: Amp's native caching capabilities
- SDK package: @sourcegraph/amp
Current Agent Abstraction
In src/loop/agents.ts:
AgentTypeunion:claude-code | cursor | codex | opencode | unknownAGENTSconfig: detection command, run command, argsrunAgent(): spawns subprocess, captures output- Amp is listed in AGENTS.md but NOT in the code
Deliverable
Document with API mapping: Amp parameters → ralph-starter agent interface fields.
References
Reactions are currently unavailable