# NousResearch/hermes-agent · Configurable Anthropic prompt cache TTL setting

## Open now

- Nothing open on GitHub.

These issues and pull requests concern adding a configurable TTL option for Anthropic prompt caching, allowing users to choose between cache duration tiers (e.g., 5 minutes vs 1 hour) via configuration. The work spans feature requests and implementation attempts targeting config.yaml or similar settings.

## TL;DR

- 5 member(s): 0 open issue(s), 2 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #15065. Verify it addresses your case.
- **Recommended:** read PR #15065 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `partially_resolved` · deciding PR(s): `pr-15065`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.44`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #3047: Feature: Configurable prompt cache TTL via config.yaml
- #14971: Feature request: make prompt cache TTL configurable (5m vs 1h)

## Prior & competing PRs

- **#15065: feat: configurable prompt_caching.cache_ttl (5m default, 1h opt-in) — salvage #12659**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `cli-config.yaml.example`, `hermes_cli/config.py`, `run_agent.py`, `scripts/release.py`, `tests/run_agent/test_run_agent.py`, `website/docs/developer-guide/context-compression-and-caching.md`
- **#3082: feat(gateway): configurable prompt cache TTL via config.yaml**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#15065`, `#12659`
- **#12659: feat: configurable prompt_caching.cache_ttl for Anthropic TTL tier**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#15065`, `#14812`, `#3082`

## Fix status

- Merged to main in PR #15065 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-04-24`. This confirmation is old and may be out of date (a revert/reopen would not have invalidated it here); re-verify.
- Subsystem: `agent`
