flox agent launches the agent with exactly what the environment holds.
Harness, plugins, sandboxes
The harness is the agent program itself, such as Claude Code. It comes from theagent-stacks catalog on FloxHub as an ordinary package, so its version is pinned in the lockfile like everything else.
Agent plugins carry what the agent can use: skills, MCP servers, and, for Claude Code, hooks, agents, and commands.
Each plugin is a package named
agent-stacks/agent-plugin-<name>, built from a pinned commit of its upstream repository.
An installed plugin lands in the environment under share/agent-plugins/<name>/.
Claude Code receives whole plugins.
Codex, opencode, and pi receive the plugins’ skills only.
A sandbox limits what the agent can reach once it runs: which files it can write, which files it can read, and which hosts it can contact.
Each sandbox is a package named agent-stacks/agent-sandbox-<name>, and you choose one when you launch.
Agent plugins are packages an AI agent loads.
They are unrelated to the
[plugins] section of the manifest, which is described in Plugins.What flox agent launch does
When you run flox agent launch claude, Flox:
- Finds the harness on the environment’s
PATH. - Reads every agent plugin installed in the environment.
- Stages those plugins in the environment’s cache, under
.flox/cache/agent-stacks/. - Starts the harness with the staged plugins, through a sandbox if you asked for one.
~/.claude and your login are not changed, and a claude started outside the environment does not see them.
Why a Flox environment
- Reproducible. The harness and every plugin are pinned in
manifest.lock. A teammate who activates the same environment launches the same agent with the same skills. - Shareable. Push the environment to FloxHub and the whole setup travels with it. See Sharing environments.
- Reviewable. Changing the agent’s skills is a change to the manifest, so it shows up in a diff and in the environment’s generations.
- Auditable. You can scan a plugin for security issues before you install it. See Audit an agent plugin.
Requirements
flox agent is a Flox extension provided by the flox/flox-agent package.
Extensions are a beta feature, so enable beta features once:
FLOX_FEATURES_BETA=true in your shell.
Usage data
flox agent follows the same consent and opt-out as the Flox CLI.
It can send crash reports and usage events: the command that ran, the operating system, the release, counts of plugins and skills, and whether the command succeeded.
It never sends names, paths, file contents, or arguments.
flox config --set disable_metrics true, FLOX_DISABLE_METRICS=true, or DO_NOT_TRACK=1 turns both off.
Next steps
- Quickstart: launch Claude Code with a plugin in a few minutes.
- Launch an agent in a sandbox
- Package a skill repository