oracle0.35.41
ProductDownload

Reference

CLI and API reference

The common public commands, executables, import paths, environment settings, and capability tiers in Oracle's published package.

Package 0.35.4121 executables56 exports

CLI commands

CommandPurpose
oracleOpen native Oracle chat
oracle setup modelConfigure model OAuth or API-key access
oracle chain listList chain selections
oracle chain use <name>Select the active chain
oracle doctorVerify installation and local posture
oracle auth statusShow provider status without credentials
oracle mcp install <target>Install a read and prepare connector
oracle data serveRun the loopback data plane
oracle public serve --port 8799Run the loopback public plane
oracle eval all --mode playwrightRun the deterministic evaluation aggregate

Installed executables

ExecutablePurpose
oracleMain CLI and native chat
oracle-investigateBounded report-only wallet evidence
oracle-dataLocal read-plane server
oracle-publicLoopback public-plane server
oracle-data-mcpMCP stdio read plane
oracle-scanToken, pool, risk, and exit scanner
oracle-routeSwap and bridge route comparison and preparation
oracle-equitiesCross-venue on-chain equities desk
oracle-gatewayAuthenticated messaging transport
oracle-initDry-run or apply profile and attestation setup

The package currently declares 21 executable bins. Specialized MEV and restoration tools are intentionally not presented as general user commands here. See the package manifest for the complete list.

Library imports

javascript
import { data } from "@oracle-agent/oracle";

const prepared = await data.call("hl-perps", "prepareOrder", {
  coin: "ETH",
  side: "buy",
  size: "0.01",
  owner: "0xYourWallet"
});
// Review the returned unsigned artifact before signing.
ImportSurface
@oracle-agent/oracleCommon package root
@oracle-agent/oracle/dataProvider catalog and data calls
@oracle-agent/oracle/scannerChain and token scanner
@oracle-agent/oracle/prepare-routeSame-chain route comparison and unsigned preparation
@oracle-agent/oracle/prepare-bridgeBridge comparison and ordered unsigned preparation
@oracle-agent/oracle/policyGrant validation and cap constants
@oracle-agent/oracle/local-signerExplicit self-host-only signer surface
@oracle-agent/oracle/verified-receiptsPure receipt verification over supplied facts
@oracle-agent/oracle/connectMCP harness configuration snippets

Environment variables

NameDefaultMeaning
ORACLE_CONFIG_DIR~/.config/oracleLocal configuration directory
ORACLE_DATA_HOST127.0.0.1Read-plane bind host, loopback enforced
ORACLE_DATA_PORT8787Read-plane port
ORACLE_PUBLIC_HOST127.0.0.1Public-plane bind host, loopback enforced
ORACLE_ALLOWED_CHAINSunsetOptional chain allowlist
ORACLE_VALUE_CAPS_ENABLEDonPer-transaction value caps
ORACLE_AUTONOMOUS_TRADINGoffAdditional self-hosted unattended-trading gate
ORACLE_REDACT_SECRETStrueRedact recognized secret material before model context

Capability tiers

TierMeaning
read-onlyData only. No execution claim.
quote-onlyCan price an action. No reviewed transaction builder.
prepareReturns a policy-bound unsigned artifact.
intentReturns typed data for a protocol-native or solver order.

API coverage is not execution support. Unsupported and unconfigured routes fail closed instead of returning plausible placeholders.