archimedes-cli

Install and drive the archimedes CLI for login, usage metering, and returns-series verification.

17|3|Updated May 12, 2026
One-click install
npx skills add https://github.com/aprin-labs/archimedes --skill archimedes-cli-aprin-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: archimedes-cli
Source: https://github.com/aprin-labs/archimedes/tree/main/skills/archimedes-cli
Command: npx skills add https://github.com/aprin-labs/archimedes --skill archimedes-cli-aprin-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires click, httpx.

What problem does it solve? Scripting against the Archimedes hosted API requires knowing the exact session-file mechanics, the stable exit-code contract, and why verify reports two of the four rigor-gate checks as not_evaluable for a bare returns series — this Skill grounds every one of those claims in file:line citations so an agent never misrepresents what the CLI does. ## Core Features & Use Cases - Three working commands: archimedes login (Better Auth email+password, session cached mode 600), archimedes meter (reads the same quota buckets and price quote the paywall enforces), and archimedes verify RETURNS_CSV (DSR and walk-forward OOS over a two-column CSV). - CI-safe contracts: every command honors --json on every path including errors, and exit codes are stable — 0 pass, 1 gate failed, 2 usage/auth, 3 not implemented — so a CI job can branch on 1 specifically. - Honesty rules: PBO and look-ahead are always not_evaluable for a bare series, a zero-evaluable-leg result never reads as a pass, and backtest / verify --local exit NOT_IMPLEMENTED rather than pretending to work. - Use Case: Wire archimedes verify returns.csv into a CI pipeline, branch on exit code 1 to block deployment of a failing strategy, and give each agent lane its own --session-file to avoid shared-identity overwrites. ## Quick Start Install the CLI from the repo with pip install -e ./cli, then run archimedes login followed by archimedes verify on a two-column date,daily_return CSV to get a DSR and out-of-sample verdict.

Frequently Asked Questions about archimedes-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install the archimedes CLI?

The archimedes-cli package is not published to PyPI, so pip install archimedes-cli fails. Install it from the repository with pip install -e ./cli, which requires Python 3.10 or later and only the click and httpx dependencies.

How do I use archimedes verify in a CI pipeline?

Run archimedes verify returns.csv and branch specifically on exit code 1, which means the gate ran and failed. Exit 0 means pass, while 2 means auth or usage errors and 3 means not implemented, so treating any non-zero exit as a rejection misreports errors as research findings.

Why does archimedes verify report PBO as not_evaluable?

PBO measures overfitting across a selection set of candidate variants, and a single bare returns series has no sibling candidates to compare against. The endpoint reports status not_evaluable with a reason string rather than silently passing or failing the check.

Does archimedes login use a wallet signature?

No, login uses Better Auth email and password via POST /api/auth/sign-in/email, with no SIWE or eth-account dependency. The session cookie is confirmed against get-session before being cached mode 600, and the password is never written to disk.

How do I run multiple agents with separate archimedes sessions?

Give each agent its own session file using the --session-file flag or the ARCHIMEDES_SESSION_FILE environment variable. A shared file is a shared identity: the second login overwrites the first, so each lane needs its own path.

What commands are not implemented in archimedes CLI 0.1.0?

archimedes backtest and archimedes verify --local both exit NOT_IMPLEMENTED with code 3, because they require a local strategy execution engine that is not yet published. Their JSON output reports lands_in as unscheduled rather than a hardcoded version.