-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Summary
Replace ralph-starter's current prompt caching implementation with Amp SDK's built-in caching for cost optimization.
Linear: ENG-1468
Current State
Ralph-starter has custom prompt caching logic. Amp SDK provides native caching that could be more efficient and maintained by the Amp team.
Implementation
- Identify current caching touchpoints in the codebase
- Map them to Amp SDK's native caching API
- Implement adapter/wrapper for non-Amp agents (keep existing caching for Claude Code, etc.)
- For Amp agent: delegate caching entirely to Amp SDK
Files
src/loop/executor.ts(caching integration points)- Potentially new:
src/loop/cache.ts(cache abstraction)
Depends On
- Issue K (Research — understand Amp's caching API)
- Issue L (Agent abstraction)
Reactions are currently unavailable