chronicle [OPTIONS] <MOUNT_POINT>

Arguments

ArgumentRequiredDescription
MOUNT_POINTYesDirectory to mount the filesystem on

Options

Identity

FlagShortDefaultDescription
--agent-id-ahostname-PIDAgent identifier for namespacing

Storage

FlagShortDefaultDescription
--database-d~/.chronicle/{agent_id}/chronicle.dbSQLite database path
--cas-dir-c~/.chronicle/{agent_id}/casCAS storage directory
--pooled-casfalseShare CAS across agents (~/.chronicle/shared_cas/)

S3 Tiered Storage

FlagDefaultDescription
--s3-bucketNoneS3 bucket for CAS backing
--s3-prefix""S3 key prefix
--s3-async-uploadtrueNon-blocking S3 uploads

Replication (Agent Mode)

FlagShortDefaultDescription
--replication-rfalseEnable replication server
--socket-s~/.chronicle/{agent_id}/chronicle.sockUnix socket path
--ws-listenNoneWebSocket listen address (e.g., 0.0.0.0:3002)

Replication (Sandbox Mode)

FlagShortDescription
--connect-cConnect to agent Unix socket path
--ws-connectConnect to agent WebSocket URL
--replication, --connect, and --ws-connect are mutually exclusive.

Filtering

FlagDescription
--excludeGitignore pattern to exclude from sync
--includeGitignore pattern to include (overrides excludes)

FSKit (macOS)

FlagDefaultDescription
--fskitautoFSKit mode: auto, force, disable

Examples

Standalone (development)

chronicle /tmp/workspace --agent-id dev-agent

With S3 backing

chronicle /tmp/workspace \
  --agent-id prod-agent \
  --s3-bucket my-chronicle-cas \
  --pooled-cas

Agent mode (accepting sandbox connections)

chronicle /instances/agent123/mount \
  --agent-id agent123 \
  --replication \
  --ws-listen 0.0.0.0:3002 \
  --s3-bucket chronicle-cas

Sandbox mode (connecting to agent)

chronicle /sandbox/workspace \
  --agent-id sandbox-1 \
  --connect /instances/agent123/chronicle.sock

Sandbox mode over WebSocket (E2B)

chronicle /sandbox/workspace \
  --agent-id sandbox-1 \
  --ws-connect ws://agent-host:3002