Agent Cache

Cache les réponses des agents pour skipper l'exécution quand l'output est prédictible. Use when you want to cut 10-15% by avoiding redundant agent runs.

zedarvates 199eff0 4 files · 10.5 KB Updated

File contents

Agent Cache

Skippe l'exécution d'un agent si son résultat peut être prédit.

Stratégies de matching

Stratégie Description Quand
Exact hash Même input → même output Tâches déterministes
Fingerprint Code inchangé → résultat inchangé Audit, linting
Fuzzy match Similarité sémantique Questions similaires

Usage

python -m skills.agent_cache.cli check "query" --agent audit
python -m skills.agent_cache.cli store "query" "response" --agent fix
python -m skills.agent_cache.cli stats

zedarvates/botte-secrete/tree/main/skills/agent_cache commit 199eff0abe

Frequently asked questions

npx skillmds@latest add zedarvates/agent-cache