Agentra LabsAgentra Labs DocsPublic Documentation

Workspace

Agentra Workspace How-To

From your workspace root (<agentra-workspace>):

1. Install all sisters locally

From your workspace root (<agentra-workspace>):

./install_all.sh

Dry run only:

./install_all.sh --test-mode

2. Verify detection and MCP wiring

cargo run --bin agentra -- status
cargo run --bin agentra -- status --session
cargo run --bin agentra -- doctor

Auto-repair MCP wiring:

cargo run --bin agentra -- doctor --fix

Expected tool states are OK, DISABLED, or MISSING with hints.

3. Toggle sisters and full control

Disable individual sisters:

cargo run --bin agentra -- toggle codebase off
cargo run --bin agentra -- toggle memory off
cargo run --bin agentra -- toggle vision off

Re-enable:

cargo run --bin agentra -- toggle codebase on
cargo run --bin agentra -- toggle memory on
cargo run --bin agentra -- toggle vision on

Release/re-enable full control:

cargo run --bin agentra -- control off
cargo run --bin agentra -- control on

Settings persist in ./agentra-config.json at workspace root.

4. Start the dashboard

cargo run --bin agentra -- ui

Controls:

  • r refresh
  • h hints
  • q quit

5. Operations backup and restore

Create snapshot:

cargo run --bin agentra -- backup run --workspace "$PWD"

List snapshots:

cargo run --bin agentra -- backup list

Verify latest snapshot:

cargo run --bin agentra -- backup verify

Restore examples:

cargo run --bin agentra -- backup restore <snapshot-name> --memory
cargo run --bin agentra -- backup restore <snapshot-name> --mcp
cargo run --bin agentra -- backup restore <snapshot-name> --artifacts

Retention:

cargo run --bin agentra -- backup prune --keep 20 --dry-run
cargo run --bin agentra -- backup prune --keep 20

6. Server runtime (auth + artifact sync)

Hosted/cloud runtimes cannot directly read files on your laptop. Sync artifacts to server-accessible paths and configure auth first.

Required environment:

export AGENTRA_RUNTIME_MODE=server
export AGENTIC_TOKEN="$(openssl rand -hex 32)"
export AGENTRA_ARTIFACT_DIRS="/srv/agentra:/data/brains"
# optional token file:
# export AGENTIC_TOKEN_FILE="/etc/agentra/token"

Sync artifacts:

./sync_artifacts.sh --target=<server-path-or-rsync-target>

Run strict preflight:

cargo run --bin agentra -- server preflight --strict

Start MCP runtimes on the server host:

agentic-memory-mcp serve
agentic-vision-mcp serve
acb-mcp serve

Client-side validation (any MCP client):

which agentic-memory-mcp
which agentic-vision-mcp
which acb-mcp

Protocol parity:

  • Desktop and server use the same MCP contract.
  • Server mode only adds explicit auth and artifact-sync requirements.

Troubleshooting Matrix

SymptomLikely causeCheckFix
Sister shows MISSING in statusBinary not installed or not in PATHwhich acb-mcp, which agentic-memory-mcp, which agentic-vision-mcpReinstall sister, reopen shell, rerun agentra doctor --fix
MCP client does not show sister toolsClient config not reloadedInspect MCP config and process stateRestart MCP client after install/repair
Server preflight fails token checkMissing AGENTIC_TOKEN or token fileecho $AGENTIC_TOKEN, inspect token file pathSet token env or AGENTIC_TOKEN_FILE, rerun preflight
Server preflight fails artifact checkArtifacts not synced to server dirsInspect AGENTRA_ARTIFACT_DIRS and target directory contentsRun ./sync_artifacts.sh --target=..., rerun preflight
Takeover does not activateSisters disabled or control offagentra status, check toggle stateagentra toggle <sister> on, agentra control on, then agentra doctor
Backup verify failsSnapshot corruption or partial copyagentra backup verify outputRestore previous valid snapshot, rerun backup
Doc command mismatch suspectedOld docs cacheCompare against --help output of current binariesUse the command surface pages and regenerate docs sync

7. OpenClaw TUI command namespace

Primary runtime control namespace is agentra:

/agentra <status|where|on|off|resync|disable|enable>
/agentra-status
/agentra-where

Legacy aliases remain valid:

/sisters ...
/sisters-status
/sisters-where

8. Run local AI smoke test

./local_ai_test.sh

Requirements:

  • ollama in PATH
  • local model llama3

9. Build and package

cargo build --release -p agentra-cli
cargo package -p agentra-cli