API Reference crowd_control v#0.1.0

Copy Markdown View Source

Modules

Orchestrate many coding-agent CLI instances in parallel.

Adapter behaviour for a coding-agent CLI.

CrowdControl.Agent adapter for the Claude Code stream-json wire format.

Behaviour for the sandbox that a CrowdControl.Session drives.

Credential rewriting shared by every remote backend that fronts an egress proxy.

Runs the CLI inside a Docker container over the Engine API.

Thin HTTP layer over the Docker Engine API.

Docker multiplexed-stream framing.

The one place Docker container hardening defaults are defined.

Runs the CLI inside a Kubernetes Pod over the API server.

Every kubereq call in the project, and the error vocabulary built on top of it.

Runs the CLI as a local subprocess via NetRunner.

Drives a CLI through the sandboxd agent over HTTP, on any substrate.

Every HTTP call to a sandboxd agent, and the one error vocabulary they produce.

Shell quoting shared by every backend that crosses an sh -c boundary.

Builds CLI commands for Claude Code and Open Code executables.

A :logger primary filter that keeps a %Req.Request{} out of crash reports.

Pure functions for the Claude Code stream-json wire format.

Behaviour for the infrastructure a CrowdControl.Backend.Sandboxd talks to.

A per-session Docker stack — sandbox plus sidecars — over the Engine API.

One container per sandbox, running sandboxd, reached on a loopback-published port.

How to reach one sandbox's sandboxd agent, right now.

One Google Compute Engine VM per sandbox, running sandboxd, reached through an SSH tunnel to the VM's loopback.

Every gcp_compute call in the project, and the error vocabulary built on top of it.

Renders the startup-script that turns a bare Debian VM into a sandbox running sandboxd.

An SSH tunnel from this node's loopback to one sandbox VM's loopback agent port, with a private key that never touches disk.

Reconciles live sandboxes against stored session records.

The one Req adapter in this codebase, and the carrier for the :req_adapter test seam.

GenServer managing a single coding-agent CLI instance.

Behaviour for persisting enough session state to reattach after a restart.

Disk-backed CrowdControl.Store. Survives a node restart, adds no dependency.

In-memory CrowdControl.Store. The default.