Skip to content

Installation and deployment paths

Choose how you run agent-detective on a host or in your cluster. This page is the entry point; the detailed guides are linked below.

Typical reading order: get startedCLI reference → this page → golden pathconfiguration hub.

Recommended for operators: follow get started, then deployment.md for systemd and nginx on a VM.

When to use: Run on a host where you already have Node.js 24+ and your agent CLI (OpenCode, Claude, Cursor) installed and authenticated.

What you need: Node.js 24+, git, and the configured agent on PATH.

Install and scaffold
npm i -g agent-detective
agent-detective init
agent-detective doctor
agent-detective
agent-detective smoke # server running in another terminal

Use npx agent-detective instead of a global install if you prefer. Commands: CLI reference. Production: deployment.md.

  • Process: Node.js 24+ (npm CLI or from-source build).
  • Configuration: JSON under config/ (configuration.md); scaffold with agent-detective init (copies default.json from the package). From source: copy config/local.example.jsonconfig/local.json.
  • Repositories: the local-repos plugin needs git and filesystem access to the repos you list in config (local paths or bind mounts you configure).
  • Network: outbound to Jira (if you use the Jira plugin), to git remotes (for pr-pipeline), and to your AI provider as required by the agent CLI (e.g. OpenCode). Inbound: HTTP(S) to the app (webhooks, API).
  • Agent CLIs: the host must be able to run the configured agent (e.g. opencode). See cursor-agent.md for the Cursor CLI, which is not installed via npm.
  1. Read the configuration hub for load order and top-level config shape.
  2. Use configuration.md for the full env whitelist and plugin narratives.
  3. Use config/local.json and/or the env whitelist for secrets in production.
  4. For plugin option fields, use generated/plugin-options.md.