Installation and deployment paths
Installation and deployment paths
Section titled “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 started → CLI reference → this page → golden path → configuration hub.
Recommended for operators: follow get started, then deployment.md for systemd and nginx on a VM.
Choose a deployment style
Section titled “Choose a deployment style”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.
npm i -g agent-detectiveagent-detective initagent-detective doctoragent-detectiveagent-detective smoke # server running in another terminalUse npx agent-detective instead of a global install if you prefer. Commands: CLI reference. Production: deployment.md.
When to use: You fork the repo, change packages/, or contribute to the monorepo.
What you need: Node.js 24+, pnpm 10+ (see root package.json packageManager), git.
git clone https://github.com/andezdev/agent-detective.gitcd agent-detectivepnpm installpnpm run buildpnpm run build:apppnpm startReplace andezdev/agent-detective with your fork’s owner/name on GitHub if applicable.
When to use: Long-running service on a VM with nginx or similar.
What you need: See deployment.md for systemd unit, nginx reverse proxy, sizing, and health checks.
Host capabilities
Section titled “Host capabilities”- Process: Node.js 24+ (npm CLI or from-source build).
- Configuration: JSON under
config/(configuration.md); scaffold withagent-detective init(copiesdefault.jsonfrom the package). From source: copyconfig/local.example.json→config/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.
Configuration (all paths)
Section titled “Configuration (all paths)”- Read the configuration hub for load order and top-level
configshape. - Use configuration.md for the full env whitelist and plugin narratives.
- Use
config/local.jsonand/or the env whitelist for secrets in production. - For plugin option fields, use generated/plugin-options.md.
Detailed guides
Section titled “Detailed guides”See also
Section titled “See also”- configuration-hub.md — config load order and top-level keys
- upgrading.md — releases and upgrade runbook
- Root README.md — quick start
- extending-with-plugins.md — npm, path, or
plugins/directory for custom plugins - publishing.md — publishing
@agent-detective/*packages (maintainers) - Release notes live in GitHub Releases; see
docs/operator/upgrading.md.