Overview

Install fagi and find the command for tracing, evals, datasets, prompts, the gateway and simulation environments, with output and exit codes built for scripts and agents

What fagi is

fagi is the Future AGI command-line tool. Use it to set up tracing, run evals, sync datasets and prompts, call the gateway and drive simulation environments, against Future AGI Cloud or a self-hosted install. People, CI jobs and coding agents all run the same commands.

To get started, follow the Quickstart: install, sign in, send a trace and read it back.

Command name and aliases

The primary command is fagi, and every example in these pages uses it. The package also installs two aliases, futureagi and fi, which run the same commands. fi is a reserved word in bash, zsh and sh (it closes an if block), so a line that starts with fi is a syntax error. To use that alias, type \fi or command fi.

Command families

Note

fagi epoch and fagi skills need CLI 0.3.0 or later, and fagi sim ships in a later CLI release. To get a newer CLI, upgrade with npm install -g @future-agi/cli@latest (see Upgrade). fagi skills is in preview, so its commands and manifest format may change.

FamilyReach for it when you want toStatusPage
fagi init, fagi run, fagi traceSet up a project for tracing, install tracing agents, start a program with tracing, and read, watch, diff, check or export stored tracesAvailableTracing
fagi datasetsValidate, push, pull and list datasets as local CSV or JSONL filesAvailableDatasets
fagi evalGrade one example with eval test, or a JSONL cases file with eval suite, and gate CI on the match rate (eval run is not available yet)AvailableEvals
fagi prompts, fagi gatewayPull and diff prompt versions, send one prompt through the gateway and check its guardrails, or follow gateway requestsAvailablePrompts and gateway
fagi sim envBuild and version an environment, and manage its actors, files, agent versions and their credentials, rebuild offers and evalsShips in a later CLI releaseSimulate quickstart, Environments, Actors and evaluations
fagi sim scenarios, fagi sim suites, fagi sim personasReview, edit and generate scenarios and their starting records, save suite versions, and keep personas as local filesShips in a later CLI releaseScenarios, suites and personas
fagi sim run, fagi sim verify, fagi sim runsStart a run and gate on its pass rate, verify an agent version on held-back cases, and follow, read and compare runsShips in a later CLI releaseRuns
fagi epochStart an Epoch on a finished run with its model lock and limits, check, stop or retry it, and fix a failed run with your own coding agentCLI 0.3.0 or laterEpoch
fagi skillsChoose which coding hosts a repository installs skills for, record skills in a manifest, and sync or verify themPreview, CLI 0.3.0 or laterSkills
fagi apiCall one platform endpoint directly when no dedicated command covers itAvailableCall any endpoint
fagi schemaList or search every command, flag and exit code as JSON, offline and without credentials (fagi schema --search <words>, fagi schema --command <path>)AvailableConfiguration and output
fagi auth, fagi profilesSave, check and remove your key pair, and keep several sign-ins side by sideAvailableInstall and auth
fagi doctor, fagi update, fagi version, fagi completionCheck configuration, credentials and tracing (doctor), update fagi to the latest release (fagi update --check only reports), print the version, and generate shell completionAvailableInstall and auth

How the commands behave

  • Output: a table by default, or JSON for scripts; see Output formats
  • Exit codes: each code means the same thing in every command, such as 0 for success and 5 for a failed gate; see Exit codes

Keep exploring

Was this page helpful?

Questions & Discussion