Skip to content

Core concepts

The words the rest of the docs use, one short section each.

Workspace

Everything one account holds: its agents, rules, keys, issues and audit log. An API key belongs to one workspace, so the CLI, agentfox.auto() and the app see the same workspace when they use the same key. Without a key, the CLI and auto() use a local workspace in one SQLite file per installation.

Agent

A program that calls a model and can take actions. Each agent has a name, such as support-triage, and everything else (its access, its rules, its issues) hangs off that name. Agents come from a scan of your code, from agentfox.auto(), or from their own traffic. An agent seen in traffic that nobody added is flagged so someone can own it.

Project

An agent and every agent it hands work to. The Agents page draws one project as a map: who talks to each agent, its model, its tools, the data those tools touch, and the guardrail on each line.

The Agents page: the project map with the user, each agent, its model, tools and data sources, and the guardrail on each line.

Tool and its impact

Anything an agent can call that is not the model: a function, an API, an MCP server, a shell. Each tool has an impact, which says how much harm a wrong call can do:

ImpactMeans
readReads data, changes nothing.
writeChanges data, and the change can be undone.
high_impactCan be undone, but costly if wrong.
irreversibleCannot be taken back: sending, paying, deleting.

A new tool gets an impact guessed from its name and description, marked as a guess until a person confirms it.

Access

Which tools an agent may call. Access to a tool can carry limits on the arguments (an amount under 1,000, one email domain) and can require a person to approve each call. A call to a tool the agent was not given is refused once Tool containment blocks; while it watches, the call is recorded as what it would have stopped. You see and change it on the agent's Access tab. See Tool access.

Where an argument came from

AgentFox tracks where each value in a tool call came from: the user typed it, it came out of a retrieved document, out of another tool's result (a fetched web page), from another agent, or from the agent's memory. Anything not typed by the user is untrusted. An untrusted value headed for a tool that changes something is refused or held for a person, even when nothing looked like an attack. An email whose address was copied out of a web page is stopped because of where the address came from.

Two settings change this. Declare a tool's output trusted when it is a system of record you control, such as your CRM, and values copied from it no longer count as untrusted. taint_scope decides what counts: session (the default) marks every later call once the run has read anything untrusted; argument looks only at the values in the call itself, which lets more real work through and misses more attacks. See Configuration.

Guardrails, rules, Watch and Block

A guardrail is a check on one line of the map: what users send, what the model replies, or a tool call. Rules are grouped into libraries you apply to agents, and you can write your own. Each runs in one of two modes:

  • Watch records what the rule would have done and lets the call through.
  • Block stops the call, hides the text, or holds it for a person.

Every library starts in Watch, Tool containment included: look at what it would have stopped, then switch it to Block. Only destructive commands, turning AgentFox off, and a limit or Ask first set on a grant apply from the start. In the CLI, Watch is observe and Block is enforce (agentfox policy enforce <library>). See Guardrails.

Issues

Something a person should look at: a blocked attack, a tool call that was stopped or would have been, an agent nobody owns. The same problem seen again is one issue with a count, not a new row. The CLI lists them with agentfox findings.

Runs (traces)

One run end to end, listed on Activity (the API and SDK call a run a trace): the user's message, each model call, each tool call, and every check each one went through, with the reason for any block. Every decision is also written to a tamper-evident log, which is what audit evidence is built from.

The app and the CLI: same things, two names

The app uses plain words; the CLI and the API keep the older, shorter ones. They name the same objects.

In the appCLI and APIWhat it is
Watch / Blockobserve / enforce (agentfox policy observe|enforce, auto(mode=…))Whether a rule only records what it would stop, or stops it.
Librariespacks (agentfox policy packs, agentfox policy list)Ready-made sets of rules you apply to agents.
Applied rules, Your rulespolicies, rules (agentfox policy, agentfox policy rules)The rules in force, and the ones you wrote.
Issuesfindings (agentfox findings, /api/findings)Something that needs a person.
Activity → Runstraces (/api/traces, ids trc_…); no CLI commandOne run end to end, with every check.
Access tabgrants and declarations (agentfox permit, agentfox declare tool)Which tools an agent may call, and each tool's impact.
Approvalsapprovals (agentfox permit approvals)Calls held for a person to decide.
Pause / Stop / Resumeagentfox agents quarantine / kill / resumeRefuse every call an agent makes until it is resumed.
Testing, attack testagentfox test, agentfox test redteamAttacks and test suites run against an agent.
Agents (a project's map)agents (agentfox agents list, --agent <name>)The CLI works per agent. A project is the app's grouping of an agent and the agents it hands work to; the CLI has no project command.
Workspaceworkspace (the account a key belongs to)See Workspace.