aurel-cli v0.3.1 / Python 3.9+ · stdlib only · 0 deps / OS sandbox · MIT nekrasovdmytro/aurel-cli
// DEVELOPER CLI · TERMINAL AGENT HARNESS

One terminal CLI for local code, private VPN/VPS agents, RAG & 100+ connectors.

Built for engineers who live in the shell. Run a sandboxed coding agent with any model — or pair securely with your hosted or private-VPN Aurel workspace to query RAG, drive 100+ connectors, run workflows and manage setup as code.

Update: brew upgrade aurel
brew install nekrasovdmytro/aurel/aurel

macOS & Linux · zero third-party packages · device-paired Keychain auth · aurel update --apply

~/infra-service — aurel 0.3.1 · sandbox:on · tls:verifiedCONNECTED

  

// ARCHITECTURE & PRIVATE INFRASTRUCTURE

Built for real dev workflows and secure private workspaces.

Use aurel standalone in any repository, or bridge your terminal directly to a hosted or self-hosted VPS/VPN workspace — keeping secrets local and outbound actions behind human approval.

Secure VPS & VPN Auth

Pair like gh auth login or connect to private WireGuard/Tailscale VPS URLs with custom internal CAs (AUREL_CA_BUNDLE). Keys live in macOS Keychain or mode-600 files — never on the command line.

Workspace RAG from the Shell

Query runbooks, PDFs, prices and past notes right from your terminal with aurel rag "query" or /rag. Inspect indexed collections and sources with aurel rag status.

100+ Connectors & MCP

Gmail, Calendar, Stripe, Shopify, GitHub, SQL and custom REST APIs mount automatically as ws.<connection>.<tool>. Reads run fast; sends, posts, payments and deletes create [DRAFT] approvals.

OS Sandbox & Hard Guardrails

Shell commands run inside sandbox-exec (macOS) or bwrap (Linux) with network off and ~/.ssh, ~/.aws, Keychain blocked. aurel can never self-approve workspace drafts, even with --yes.

// OPERATING MODES

Connected to your workspace. Or completely standalone.

Pair once with your cloud or self-hosted VPS workspace. Talk to agents, query RAG knowledge, run workflows with live step logs, inspect SQL tables and diff/apply workspace setup as JSON — while your coding agent calls all 100+ workspace connectors.

  • Uses workspace AI credit — no separate provider key needed
  • Agents, RAG, workflows, routines, DB, logs & 100+ connectors
  • Works over private WireGuard/Tailscale VPN & custom CA
aurel login https://YOUR-WORKSPACE aurel ws aurel rag "deployment checklist" aurel workflows run 12 date=today --test aurel ask ops "Check open errors in /logs"

// COMMAND REFERENCE

Scriptable CLI flags & interactive slash commands.

Run commands directly in scripts/CI or interactively inside aurel. Type /help at any prompt.

aurelStart interactive sandboxed agent REPL in the current directory
aurel -p "TASK" [--json]Run one non-interactive task; stdout answer or NDJSON event stream
aurel -c · --resume [ID]Continue the latest conversation for this repo or pick a saved session
/model · /config · /permissionsSwitch models mid-session, tune context/sandbox, inspect allow/ask/deny rules
/compact · /init · /costCompact long history, generate AUREL.md project notes, track tokens & USD
aurel login URL [--key] [--no-browser]Device-pair with cloud or private VPS/VPN workspace (Keychain storage)
aurel ws · /wsWorkspace telemetry: access scope, agents, connectors, drafts, open problems
aurel rag "QUERY" · aurel rag statusSearch private workspace RAG knowledge base & inspect indexed collections
aurel agents · aurel ask AGENT "…"Inspect team status and talk directly to any specialist agent
aurel connections · /toolsList 100+ workspace connectors & mount ws.<connection>.<tool> tools
aurel workflows [show|run|watch] IDRun workflows with key=val inputs, --test dry runs and live step watching
aurel approvals · db · logs · creditView pending drafts, query workspace SQL tables, inspect errors & budget
aurel setup export|plan|apply|undoInfrastructure-as-code for workspaces: diff plan, backup on apply, instant undo
aurel mcp · aurel linkPrint MCP config for Claude/Cursor · pair local computer tools via FarmLink
aurel doctor [--offline]Diagnose install method, Python, PATH, TLS/CA, workspace, model & sandbox
aurel update [--apply] [--cached]Check GitHub releases and upgrade cleanly via brew, pipx, curl, uv or git

// DEVICE PAIRING (NO KEYS IN SHELL HISTORY)

Sign in like gh auth login.

  1. 01
    Run aurel login https://your-workspace

    Prints a one-time pairing code and opens your panel (or use --no-browser / --key on headless VPS).

  2. 02
    Choose exact key scope

    tasks (agents, RAG & connectors), manage (also setup changes), or read (observe only) with daily AI budget cap.

  3. 03
    Revoke any machine in 1 click

    Each laptop or CI runner gets its own key stored in macOS Keychain or mode-600 file and masked in every log.

// ZERO-TRUST GUARDRAILS & TEST MATRIX

Sends become approvals. Tested across 10+ OS/Python targets.

  • Human approval gate. Emails, posts, payments and deletes create drafts approved in Telegram or panel — never by CLI.
  • Kernel sandbox. sandbox-exec / bwrap blocks outbound shell network, ~/.ssh, ~/.aws, Keychain and .git/hooks.
  • CI Test Matrix. Verified on macOS + Ubuntu across Python 3.9–3.13, plus daily live checks for Homebrew, curl SHA-256 and pipx.
  • Instant undo & easy updates. aurel setup undo rolls back config changes; aurel update --apply keeps your binary current.

// TECHNICAL DETAILS & FAQ

Environment variables, CI & common questions.

Private VPN / VPS & CI environment variables

Use AUREL_URL and AUREL_KEY in CI/Docker. For private WireGuard/Tailscale servers with an internal corporate CA, set AUREL_CA_BUNDLE=/path/to/ca.pem (or standard SSL_CERT_FILE). Non-TTY runs automatically refuse any unapproved interactive prompt.

export AUREL_URL="https://aurel.internal.company" export AUREL_CA_BUNDLE="/etc/ssl/certs/company-ca.pem" aurel doctor && aurel rag status
Easy install, update and clean uninstall

aurel update checks the latest GitHub release and shows the exact upgrade command for how you installed. Pass --apply (or run aurel upgrade) to run it directly after confirmation.

aurel update --apply # or manually: brew upgrade aurel | pipx upgrade aurel-cli
Do I need an Aurel workspace?

No. Standalone aurel works in any project with Anthropic, OpenRouter, OpenAI, Ollama or LM Studio. Adding a workspace brings agents, RAG, workflows, 100+ connectors and prepaid AI credit.

What does it cost?

aurel CLI is 100% free and open source (MIT). Standalone you pay your model provider directly (or €0 with local Ollama). With an Aurel workspace, the platform is free and AI runs from your prepaid workspace credit.

Can it break my workspace or leak secrets?

Setup edits are planned first, backed up and undoable. Risky actions become drafts approved by a human. Keys live in Keychain/mode-600 files, are never passed on argv and are scrubbed from logs and model outputs.

// READY IN 30 SECONDS

Install aurel and connect your first workspace.

brew install nekrasovdmytro/aurel/aurel && aurel doctor