arks agent
arks agent … is an explicit extension for LLM-powered code review and automated consistency/verification checks. It ships on the same arks binary — there is no separate arks-agent product release.
Agent features are not required for git→arks alias compatibility, daemon parity, or forge-client workflows.
What it is (design)
- Nested group:
arks agent <subcommand>… - Talks to configured LLM providers over HTTPS; may integrate with local forge APIs via native HTTP
- Must not spawn
gitorgh - Never fabricates pass or verification claims in review output
arks agent --help
arks agent doctor
arks agent provider smoke ollama # diagnostic check against local Ollama (http://)
arks agent provider smoke --mock # same, against the in-process openai-compat mock
arks agent review --smoke --mock # diagnostic review fixture through the mock
Verification status
| Leaf / area | Status |
|---|---|
provider / config / doctor |
Partial (TCP connect retry + structured error classification) |
provider smoke [ollama\|openai-compat\|--mock] |
Diagnostic — exits 0 on a 2xx chat response, 1 when unreachable (smoke receipt); never spawns the ollama CLI |
review --smoke [--mock] |
Diagnostic — built-in fixture (+ optional mock server); exits 1 when unreachable (smoke receipt) |
review / cev-check / run / serve / bot |
Partial (health + OpenAI-compatible chat proxy; JSON + SSE streaming; --once supported) |
| LLM chatbot / review fixture E2E | Verified — Docker OpenAI-compatible fixture end-to-end (agent LLM receipt); smoke checks remain diagnostics |
HTTPS & proxy behavior: https:// provider endpoints reuse the same TLS stack as the Git remote client (built-in web roots plus GIT_SSL_CAINFO, http.sslCAInfo, SSL_CERT_FILE, HTTPS_PROXY, and NO_PROXY); untrusted certificates fail closed with a TLS error and exit 1. Live third-party HTTPS vendor checks are recorded as host-advisory only (live HTTPS smoke).
See Completeness and specifications: agent product intent, agent CLI surface.