Skip to main content

navig-agentctl

Agent Control Center (devops section): sessions, worktrees, tasks and the Agent Monitor (runs, hooks, verified lands) — one view, then a controller.

A navig extension — installing it pulls in navig and adds the commands below · v0.4.2 · PyPI

Install

pip install "navig[agentctl]"
navig agentctl --help

It is not a separate program: it needs navig, and installing it installs navig for you.

Commands
Command What it does
navig agentctl ack Acknowledge a failed run so it stops lighting the Dock indicator.
navig agentctl bind Claim a task for a session. Rebinding MOVES the owner (one claim per task).
navig agentctl bindings Active task <-> session claims (one claim per task — no duplicate execution).
navig agentctl hooks install Add the Agent Monitor hooks to Claude Code settings (shows the diff first).
navig agentctl hooks status Which Claude Code settings files carry the monitor hooks.
navig agentctl hooks uninstall Remove only the Agent Monitor hooks; every other hook is left as it was.
navig agentctl run Run a command as a monitored, verified process: navig agentctl run -- <command…>
navig agentctl runs Agent runs: sessions, subagents, commands and lands, live and historical.
navig agentctl sessions Live agent sessions (who is working where, idle or active).
navig agentctl show One run in detail: state, stages, history, and optionally its log tail.
navig agentctl status One-line overview: sessions, worktrees (cwd repo), tasks.
navig agentctl tasks Unified tasks from the board and the work queue.
navig agentctl unbind Release a task claim (the ledger keeps the history).
navig agentctl worktrees Git worktrees of a repo: branch, ahead/behind, dirty, last commit.

Agent Control Center — the devops section for managing AI coding agents across sessions, git worktrees and task records. Local-first, provider-agnostic, read-only in Phase 1.

Phases

Phase Name What it does
1 Observer Discover live agent sessions · list worktrees + conflict radar · unified task read-model (board + work queue). Changes nothing.
2a Heartbeat POST /api/deck/agents/heartbeat — the extension annotates workspace/editor/roster context; daemon-owned state/pid/reason are never written.
2b (this) Bindings The task-binding ledger: one active claim per task (bind/unbind), ownership chips in the Control Center. Process control (launch/pause/terminate) is still ahead.
2c Controller Launch CLI agents into worktrees, assign task specs, pause/terminate owned processes, collect handoff reports, detect ownership conflicts.
3 Orchestrator Schedule by dependency, allocate by capacity, trigger reviews, recover interrupted work — production deploys always ask a human first.

CLI

navig agentctl sessions [--project P] [--json]
navig agentctl worktrees [--project PATH] [--conflicts] [--json]
navig agentctl tasks [--source board|work] [--json]
navig agentctl status [--json]
navig agentctl bindings [--all] [--json]
navig agentctl bind <task-ref> --session <id> [--note TEXT] [--json]
navig agentctl unbind <task-ref> [--json]

Deck routes (the contract)

All under /api/deck/agents, gated on the agentctl module. Reads are GET-only; writes are annotation/ledger only (no process control):

  • GET /api/deck/agents/sessions — live sessions (from navig procs semantics) merged with the persistent registry.
  • GET /api/deck/agents/worktrees?project=&conflicts= — worktrees + pairwise conflict radar.
  • GET /api/deck/agents/tasks — board cards + work items, one normalised shape.
  • POST /api/deck/agents/heartbeat — annotation-only session context (daemon truth wins).
  • GET /api/deck/agents/bindings[?all=1] / POST / DELETE /{task_ref} — the claim ledger.

The OS app (Control Center tile) and navig-dev (VS Code tree views) are both consumers of this one contract.

Store

~/.navig/data/store/agentctl.db — session ledger (who was active where, with state-change history) and task bindings (which session owns which task). Task truth stays in board.db / work.db; this ledger only answers ownership.

Non-negotiables

Local-first · provider-agnostic adapters · explicit process ownership · safe git handling · no duplicate task execution · no automatic merge or deployment.

Metadata

Release files for navig-agentctl 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for navig-agentctl 0.4.2
File Size Uploaded Provenance Actions
navig_agentctl-0.4.2.tar.gz 65.0 kB Without provenance Details for navig_agentctl-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for navig-agentctl 0.4.2
File Interpreter ABI Platform Actions
navig_agentctl-0.4.2-py3-none-any.whl Python 3 none any Details for navig_agentctl-0.4.2-py3-none-any.whl

Total release size: 119.5 kB

Security for navig-agentctl 0.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page