# NousResearch/hermes-agent · Setup re-run overwrites existing agent settings

## Open now

- 1 issue, 2 PRs open on GitHub.
- #126498: \[Bug\]: re-running hermes setup on an Anthropic or custom-endpoint install resets agent.max_turns and compression to first-install defaults
- PR #126499: fix(setup): re-running setup keeps agent settings for every configured provider
- PR #127223: fix(setup): treat Anthropic and custom-endpoint installs as existing (#126498)

A bug where re-running the setup process on Anthropic or custom-endpoint installations resets agent.max_turns and compression settings to defaults, along with fixes to preserve existing provider configurations during subsequent setup runs.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. 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.67`: 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.

## Open related issues

- #126498: \[Bug\]: re-running hermes setup on an Anthropic or custom-endpoint install resets agent.max_turns and compression to first-install defaults

## Prior & competing PRs

- **#126499: fix(setup): re-running setup keeps agent settings for every configured provider**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `2bc83d6352`, `8262a0ad79`
  - files: `hermes_cli/main.py`, `hermes_cli/setup.py`, `tests/hermes_cli/test_setup_reconfigure.py`
- **#127223: fix(setup): treat Anthropic and custom-endpoint installs as existing (#126498)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/setup.py`, `tests/hermes_cli/test_setup_existing_detection.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
