AgenticReality (Sister #10 -- The Ground) gives AI agents existential grounding: deployment awareness, resource proprioception, reality physics, topology, temporal grounding, stakes perception, and coherence maintenance.
This guide covers every supported installation method. Pick the one that fits your workflow, or combine profiles as needed.
- Quick Install
- Desktop Profile (Claude Desktop / MCP)
- Terminal Profile (CLI Only)
- Server Profile (Headless)
- Build from Source
- Rust Crate Dependency
- Python FFI (Placeholder)
- Verifying the Installation
- Troubleshooting
The default installer detects your platform and installs the desktop profile,
which includes both the CLI (areal) and the MCP server binary.
curl -fsSL https://agentralabs.tech/install/reality | bashThis is equivalent to the desktop profile below. It will:
- Download the latest release artifact for your OS and architecture.
- Place binaries in
~/.agentic-reality/bin/. - Merge MCP configuration into Claude Desktop's config (non-destructive).
- Fall back to building from source if no pre-built artifact exists.
After installation, restart Claude Desktop (or your MCP client) to pick up the new server entry.
Installs the MCP server plus the CLI, and configures Claude Desktop automatically.
curl -fsSL https://agentralabs.tech/install/reality/desktop | bash| Component | Location |
|---|---|
areal CLI |
~/.agentic-reality/bin/areal |
| MCP server binary | ~/.agentic-reality/bin/agentic-reality-mcp |
| Data directory | ~/.agentic-reality/ |
The installer merges the following entry into
~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
or ~/.config/claude-desktop/config.json (Linux):
{
"mcpServers": {
"agentic-reality": {
"command": "~/.agentic-reality/bin/agentic-reality-mcp",
"args": ["--mode", "stdio"]
}
}
}Existing keys are preserved. The merge is additive and never overwrites unrelated server entries.
If you use Codex, Cursor, Windsurf, VS Code with Cline, or any other MCP-compatible client, point it at the MCP server binary with the same command and args shown above. Consult your client's documentation for the exact config location.
Installs only the areal CLI. No MCP server binary, no config merging.
curl -fsSL https://agentralabs.tech/install/reality/terminal | bashThe CLI is placed in ~/.agentic-reality/bin/areal. Add it to your PATH:
export PATH="$HOME/.agentic-reality/bin:$PATH"areal --version
areal statusInstalls the MCP server for headless or remote operation with authentication enabled.
curl -fsSL https://agentralabs.tech/install/reality/server | bashServer mode requires a token. Set one of:
export AGENTIC_REALITY_AUTH_TOKEN="your-secret-token"
# or
export AGENTIC_TOKEN="your-secret-token"Start the server in HTTP mode:
agentic-reality-mcp --mode http --port 3010The server will reject unauthenticated requests when running in HTTP mode with a token configured.
A sample unit file for persistent operation:
[Unit]
Description=AgenticReality MCP Server
After=network.target
[Service]
ExecStart=/home/deploy/.agentic-reality/bin/agentic-reality-mcp --mode http --port 3010
Environment=AGENTIC_REALITY_AUTH_TOKEN=changeme
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target- Rust 1.75+ (install via https://rustup.rs)
- Git
git clone https://github.com/agentralabs/agentic-reality.git
cd agentic-reality
cargo build --workspace --releaseBinaries are placed in target/release/:
target/release/areal # CLI
target/release/agentic-reality-mcp # MCP server
cargo install --path crates/agentic-reality-cliOr use the Makefile:
make installTo use AgenticReality as a library in your own Rust project:
[dependencies]
agentic-reality = "0.1"| Feature | Default | Description |
|---|---|---|
cli |
yes | CLI infrastructure (clap) |
format |
yes | .areal binary file format (LZ4) |
ffi |
yes | C FFI bindings |
encryption |
no | AES-256-GCM encryption for .areal |
Disable defaults for a minimal library dependency:
[dependencies]
agentic-reality = { version = "0.1", default-features = false }use agentic_reality::engine::RealityEngine;
fn main() {
let engine = RealityEngine::new();
let reader = engine.reader();
let summary = reader.get_context_summary();
println!("{:?}", summary);
}Status: Placeholder. Python bindings via the C FFI are planned but not yet available. The
agentic-reality-fficrate exposes a C ABI that can be loaded by ctypes or cffi. Documentation and a pip-installable wrapper will ship in a future release.
Planned usage:
import agentic_reality
engine = agentic_reality.Engine()
engine.initialize()
print(engine.context_summary())After any installation method, verify everything is working:
# Check CLI version
areal --version
# Expected: areal 0.1.0
# Check MCP server version
agentic-reality-mcp --version
# Expected: agentic-reality-mcp 0.1.0
# Quick status check
areal status
# Test MCP handshake (stdio)
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"0.1.0"}}}' | agentic-reality-mcpEnsure the bin directory is on your PATH:
export PATH="$HOME/.agentic-reality/bin:$PATH"Add this line to ~/.bashrc, ~/.zshrc, or your shell's profile file.
- Verify the config was merged:
cat ~/Library/Application\ Support/Claude/claude_desktop_config.json
- Restart Claude Desktop completely (quit and reopen).
- Check the MCP server logs:
agentic-reality-mcp 2>/tmp/reality-debug.log
Make sure Rust is up to date:
rustup update stableIf you see linker errors on Linux, install build-essential:
sudo apt-get install build-essential pkg-configThe installer needs write access to ~/.agentic-reality/. If installing
globally, use cargo install which respects $CARGO_HOME.
In server profile, ensure the token environment variable is set before starting the server:
export AGENTIC_REALITY_AUTH_TOKEN="your-token"
agentic-reality-mcp --mode http --port 3010Each workspace derives its own identity from the canonical path. Two projects in different directories will never share state, even if they have the same folder name. To override the data directory:
export AGENTIC_REALITY_DATA_DIR=/path/to/custom/dirOpen an issue at https://github.com/agentralabs/agentic-reality/issues with the output of:
areal --version
uname -a
rustc --version