inf) gives you command-line access to Observe, datasets, evals, training, and deployment workflows on Inference.net.
Quick Start
How the CLI fits into the platform
The CLI is the fastest self-serve entry point into Observe. It can instrument an existing codebase, help you authenticate, and give you command-line access to the same datasets, evals, and training workflows that appear in the dashboard. Observe uses a proxy layer between your application and your LLM provider. Your app sends requests to Inference.net instead of directly to OpenAI or Anthropic. The proxy forwards each request to the upstream provider, records telemetry, and returns the response unchanged.inf install command instruments your codebase automatically using an AI coding agent. Once instrumented, your Inference.net dashboard shows cost breakdowns, latency percentiles, token usage, error rates, and full request/response inspection for every LLM call.
If you want the product-level walkthrough before you install the CLI, start with Capture Traffic.
Authentication
Browser login (recommended for local development):API keys must begin with
sk-observability-. Generate one from your Inference.net dashboard.Auth Priority
When multiple credentials are present, the CLI resolves them in this order:INF_API_KEYenvironment variable- API key stored via
inf auth set-key - Session token stored via
inf auth login
Configuration
The CLI stores configuration at~/.inf/config.json, created automatically on first login.
| Variable | Description | Default |
|---|---|---|
INF_API_KEY | API key for authentication | — |
INF_API_URL | API base URL override | https://observability-api.inference.net |
INF_PROJECT_ID | Override the active project | — |
Global Options
These flags work on every command.| Flag | Description |
|---|---|
--json | Output as JSON |
-v, --verbose | Verbose debug output |
-p, --project <id> | Override the active project |
--version | Show CLI version |
--help | Show help |
Commands
| Command | Description |
|---|---|
inf install | Instrument your codebase for Observe |
inf project | Manage and switch between projects |
inf training | Monitor training runs, view logs, and poll status |
inf eval | Manage eval runs, definitions, and datasets |
inf dataset | List, inspect, and download datasets |
inf inference | View inference requests and responses |
inf dashboard | Launch the interactive terminal dashboard |