CLI reference
Install and use the supported Algenta command-line surfaces without managing a separate compute runtime.
Algenta has two command-line surfaces with different ownership boundaries:
de
The one-line self-hosted installer
Operate the installed Algenta API: health, keys, data, decisions, agents, repositories, and deployment policy.
algenta
pip install algenta
Run the automatically installed local native runtime and local data helpers.
algenta-sdk is the typed Python HTTP client. It does not install either CLI.
Self-hosted control plane: de
The self-hosted installer creates $HOME/.algenta/bin/de and links it at $HOME/.local/bin/de. The wrapper runs the control-plane command in the already installed official API container. It does not install another engine, Python environment, or runtime process.
curl -sSL https://algenta.ai/install.sh | bash
export PATH="$HOME/.local/bin:$PATH"
export ALGENTA_API_KEY='<bootstrap or replacement key>'
de version
de health
de contractIf ALGENTA_DIR or ALGENTA_BIN_DIR was set during installation, use the same value when invoking the wrapper. A pre-existing non-symlink file named de is never overwritten; the installer prints the exact wrapper path instead.
Configuration
The wrapper forwards ALGENTA_API_KEY (or legacy DE_API_KEY) to the local API container and targets its loopback API. Secrets remain in the caller's process environment; they are not placed in command arguments or written by the wrapper.
For machine-readable output, append --format json to commands that expose a format option.
Common command groups include:
API and identity
health, contract, account, keys, devices
Data
data, connectors, sources, query
Decisions
simulate, recommend, score, batch, compare, decisions
Agents and jobs
agent-runs, jobs, triggers
Repository intelligence
repos, repo
Operations
deployments, execution-policy, runtime
Use de with no arguments to print the command groups and accepted flags from the installed version. Invalid input and API failures return a non-zero exit code.
Local native runtime: algenta
One install resolves the Python facade and its native runtime wheel on Python 3.12 or newer: macOS 13 or newer on Apple silicon (Metal on macOS 26 or newer), and Linux x86-64 or arm64 with glibc 2.34 or newer (NVIDIA CUDA on x86-64). On any other platform the install fails; there is no fallback build. See Local native runtime for the CPU floors. algenta runtime doctor names the installed runtime wheel with its floors:
Users do not install Mojo, launch a daemon, configure a socket, or install the native artifact separately. The package verifies the platform wheel and signed manifest before execution and fails closed if they do not match.
Runtime catalog
The execute command returns JSON. A successful response includes "engine_used":"mojo"; runtime or argument failures return non-zero.
Native simulation and benchmark
simulate executes a 10,000-scenario Monte Carlo in the bundled native runtime. benchmark reports cold startup separately from ten warm native executions. Neither command uses a Python compute fallback or prints a synthetic speedup.
Local data helpers
Run algenta with no arguments for the installed command summary.
MCP bridge
Install the MCP client separately only when an editor or agent host needs it:
The MCP package is an authenticated client of hosted or self-hosted Algenta. It does not require users to start a local compute service. See MCP server.
Last updated
Was this helpful?