Commands
runs create supports:
runs list accepts --agent, --status, --limit, and --offset.
Continue a conversation
--wait is accepted too. Tools may launch background work that finishes later.
Chat errors produce a non-zero exit code.
Supply --message and omit --agent, file options, --together, and
--notification-email. No new background run is created. Pending questions and
approval requests appear in the tool messages; the command does not submit form
answers or grant approvals.
Clone a project
projects clone clones the project’s repository into a directory named after
the project, or the directory you pass. For a repository Fluent hosts, the
clone uses the CLI as its git credential helper: every git pull and
git push signs in with your Fluent login for a credential that lasts an hour,
and the clone never stores a password. That needs fluent on your PATH, so
install the CLI globally. A project on GitHub clones with your own GitHub
login. Cloning needs edit access to the project.
Deploy a project
<project> is a project’s id, slug, or name. projects deploy ships the
project’s main branch as it is on the remote, so push your commits first;
committed migrations run against the production database. With --wait the
command follows the deployment and exits non-zero unless it reaches deployed.
projects status shows the deployment production is serving and whether main
has commits it is not running. projects rollback puts a past successful
deployment back in production. The database is not rolled back, so migrations
that ran since then stay applied.
Read logs
projects logs prints the most recent lines the production app wrote, oldest
first (100 by default, up to 500 with --limit). --since takes a duration
(15m, 2h, 1d) or a time, and --follow keeps printing new lines until you
stop it. With --deployment, it prints that deployment’s build log instead,
which is where a failed build explains itself. Logs can hold anything the app
prints, so reading them needs edit access to the project.
Deploying and rolling back need edit access to the project. If you signed in
before these commands existed, run fluent auth login again to grant them.
Fill a knowledge base
<knowledge-base> is a knowledge base’s id or title. knowledge-bases add
uploads a text or Markdown file as a document. Fluent chunks and embeds it, and
agents can search it once its status is completed; with --wait the CLI
exits non-zero unless it gets there. --name sets the document’s file name,
which documents --search matches. Adding and deleting documents needs a team
admin. Create the knowledge base itself in Fluent.
Work with a coding agent
.claude/skills/fluent, where Claude Code picks it
up. It teaches the agent the workflow above: signing in, cloning, deploying,
checking production, reading logs, and rolling back. Pass --agents for .agents/skills/fluent,
which other coding agents read, or --global to install it under your home
directory. The skill matches the CLI version that installed it; the CLI warns
when an installed copy is out of date, and running the command again updates it.
Authentication and environments
Usefluent auth login for interactive OAuth. For unattended use, set FLUENT_API_KEY or pass --api-key.
The CLI defaults to https://www.fluenterp.com. Set FLUENT_BASE_URL or pass --base-url only when intentionally targeting a different Fluent environment.