Skip to content

Commit e47fe19

Browse files
authored
Merge pull request imbue-ai#180 from andrewlaack-collab/andrew/messaging
Inform users about subscription support via --agentic
2 parents 3c29470 + badf524 commit e47fe19

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717

1818
- **Reviews intent and code**: checks agent conversations for goal adherence and code changes for correctness.
1919
- **Runs anywhere**: from the terminal, as an agent skill, or in CI.
20-
- **Bring-your-own-model**: works with any provider using your own API keys, no subscription ever.
21-
- **No data collection**: requests go directly to inference providers, never through our servers.
20+
- **Bring-your-own-model**: works with any provider using your own API keys.
21+
- **Works with existing subscriptions**: supports Anthropic and OpenAI subscriptions using [`--agentic`](#usage).
22+
- **Free and open source**: no account, fees, or data collection. Requests go directly to your inference provider. Licensed under the AGPL-3.0.
2223

2324
<p align="center">
2425
<a href="https://github.com/imbue-ai/vet">
@@ -112,6 +113,12 @@ Compare against a base ref/commit:
112113
vet "Refactor storage layer" --base-commit main
113114
```
114115

116+
Use Claude Code or Codex instead of LLM APIs (`--agent-harness`: `claude`, `codex`):
117+
118+
```bash
119+
vet "Implement X without breaking Y" --agentic --agent-harness claude
120+
```
121+
115122
## GitHub PRs (Actions)
116123

117124
Vet reviews pull requests using a reusable GitHub Action.

vet/cli/main.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,11 @@ def main(argv: list[str] | None = None) -> int:
660660
validate_api_key_for_model(model_id, user_config, registry_config)
661661
except Exception as e:
662662
print(f"vet: {e}", file=sys.stderr)
663+
print(
664+
"hint: If you have a Claude or Codex subscription, try --agentic to use your\n"
665+
" locally installed coding agent CLI instead.",
666+
file=sys.stderr,
667+
)
663668
return 2
664669

665670
# TODO: Support OFFLINE, UPDATE_SNAPSHOT, and MOCKED modes.
@@ -721,6 +726,11 @@ def main(argv: list[str] | None = None) -> int:
721726
return 1
722727
except MissingAPIKeyError as e:
723728
print(f"vet: {e}", file=sys.stderr)
729+
print(
730+
"hint: If you have a Claude or Codex subscription, try --agentic to use your\n"
731+
" locally installed coding agent CLI instead.",
732+
file=sys.stderr,
733+
)
724734
return 2
725735
# TODO: This should be refactored so we only need to handle prompt too long errors when context is overfilled.
726736
except (PromptTooLongError, BadAPIRequestError) as e:

0 commit comments

Comments
 (0)