Agentra LabsAgentra Labs DocsPublic Documentation

Get Started

Command Surface

AgenticReality exposes 15 MCP tools and approximately 40 CLI commands.

AgenticReality exposes 15 MCP tools and approximately 40 CLI commands. Every MCP tool uses operation-based routing: a single tool receives an operation string that selects the action to perform.

Compact Facade Tools

All 15 tools follow the MCP quality standard (verb-first imperative descriptions, isError: true for tool execution errors, error code -32803 for unknown tools).

#ToolDomainDescription
1reality_deploymentDeploymentManage the deployment soul and incarnation identity
2reality_memoryDeploymentAccess incarnation memory across past lives
3reality_environmentEnvironmentSense and manage the operational environment
4reality_resourceResourceSense and query the agent's resource body
5reality_capabilityResourceDiscover and check available capabilities
6reality_layerRealityManage reality layers and trust levels
7reality_anchorRealityManage reality anchors for truth grounding
8reality_hallucinationRealityDetect and manage hallucination state
9reality_topologyTopologyMap and manage the deployment topology
10reality_temporalTemporalAccess temporal grounding and deadlines
11reality_stakesStakesAssess stakes and check action safety
12reality_coherenceCoherenceRun coherence checks and manage transitions
13reality_contextCross-domainAccess the context fingerprint
14reality_groundCross-domainHigh-level grounding operations
15reality_workspaceWorkspaceManage the .areal workspace

Each tool accepts a JSON object with an operation field plus optional parameters. For example:

{
  "operation": "sense",
  "tool": "reality_environment"
}

CLI Commands by Group

The areal binary organises approximately 40 commands into 12 subcommand groups.

areal workspace

areal workspace init [--path <DIR>]
areal workspace sense
areal workspace status
areal workspace summary
areal workspace export [--format json]
areal workspace import <FILE>

areal soul

areal soul init [--spawned-by <ID>] [--purpose <TEXT>]
areal soul summary
areal soul vitals
areal soul lineage
areal soul nature
areal soul birth

areal env

areal env sense
areal env show
areal env mood
areal env mood set <MOOD> [--cause <TEXT>]
areal env incidents
areal env incident add <DESC> --severity <LEVEL>
areal env incident clear <ID>

areal resource

areal resource sense
areal resource body
areal resource mind
areal resource energy
areal resource reach
areal resource storage
areal resource pressure
areal resource bottleneck
areal resource sensations

areal capability

areal capability discover
areal capability list
areal capability check <NAME>
areal capability missing

areal anchor

areal anchor add --type <TYPE> --source <SRC> [--frequency <SECS>]
areal anchor list
areal anchor verify <ID>
areal anchor verify-all
areal anchor remove <ID>
areal anchor drift

areal layer

areal layer show
areal layer list
areal layer trust
areal layer set <LAYER>

areal topology

areal topology show
areal topology position
areal topology upstream
areal topology downstream
areal topology siblings
areal topology observers
areal topology health
areal topology add-downstream <SVC> --type <TYPE> --criticality <LEVEL>
areal topology add-sibling <ID>

areal temporal

areal temporal context
areal temporal deadlines
areal temporal deadline add <DESC> --at <TIME>
areal temporal causality <EVENT>
areal temporal business

areal stakes

areal stakes level
areal stakes set <LEVEL>
areal stakes should-proceed <ACTION> --tolerance <0-1>
areal stakes risk
areal stakes blast-radius
areal stakes guardrails
areal stakes guardrail add <DESC>

areal coherence

areal coherence check
areal coherence level
areal coherence violations
areal coherence transitions

areal serve and areal completions

areal serve [--mode stdio|http|sse] [--port <PORT>] [--auth] [--cors]
areal completions bash|zsh|fish

Global Options

OptionDescription
--file <PATH>Path to .areal file (default: ./.areal)
--jsonOutput in JSON format
--quietSuppress non-essential output
--verboseEnable verbose output
--versionPrint version information
--helpPrint help

Exit Codes

CodeMeaning
0Success
1General error
2Invalid arguments
3File not found
4Permission denied
5Not initialized
6Coherence violation
7Stakes rejection