Skip to main content
The CLI is the fastest way to exercise the same API your application will use. It requires Node.js 20 or newer.

1. Install and authenticate

fluent auth login opens a browser and uses OAuth with PKCE. For CI or another unattended environment, set a dedicated API key instead:
See Authentication for credential and scope details.

2. Find an agent

The output includes each accessible agent’s ID, name, and description. Agent names are accepted by runs create when the name is unique.

3. Start a run

Run an agent with a document:
Or run an agent with a text instruction:
Without --wait, the command returns immediately with a run ID and status URL. Use that ID to inspect or follow the run:

4. Use structured output

Every resource command supports --json, which is the stable interface for scripts:
A watched run exits nonzero when its final status is failed or cancelled, so CI jobs fail naturally.