Skip to main content

Agent Security Philosophy

Defense in Depth for AI Agents

Last updated: November 2026

This page describes how the Fruxon platform is designed. It is not a contractual commitment; security commitments are set out in your agreement with Fruxon and the Data Processing Addendum.


Core Principle

Fruxon treats AI agent security as fundamentally different from traditional software security. Agents are autonomous, probabilistic, and operate with delegated authority—making them more analogous to employees than to APIs. Our security philosophy reflects this reality.

Traditional application security assumes deterministic software executing fixed logic. Agent security must account for emergent behavior, adversarial inputs designed to manipulate reasoning, and the fact that an agent's actions are only as trustworthy as the context it operates in. Every layer of our platform is built with this distinction in mind.

The Three Pillars

Isolation by Default

Every agent can use only the tools and permissions its builder granted. An agent processing invoices cannot suddenly decide to send emails, because its builder never gave it access to an email tool. Code an agent writes and runs goes further, into its own gVisor sandbox.

Scoped by Design

The agent builder decides which tools and integrations each agent can use. Beyond that, the platform adds only a few built-in conversation tools, such as reacting to a message or sharing a file link. No tool lets an agent widen its own scope, and a tool that wasn’t granted doesn’t exist in the agent’s world.

Checked Before It Runs

Every tool call an agent makes passes through the platform’s executor before it runs. The executor checks that the tool was granted, substitutes only the secrets this agent was granted, and holds the call for a person’s approval when you’ve required one on that tool.

Assume Breach Architecture

Prompt injection—where adversarial inputs manipulate an agent into performing unintended actions—is an unsolved problem across the AI industry, and no detection method is reliable enough to depend on alone.

Fruxon takes a different approach: we assume the LLM will be manipulated, and design every surrounding layer to contain the damage. This is the same "assume breach" philosophy that transformed network security—applied to AI agents.

If the model's reasoning is compromised, the question becomes: what can a manipulated agent actually do? In Fruxon, the answer is "only what you granted it"—the tools it was given, inside its spend limits, with a person's approval wherever you required one. Those limits are enforced outside the model, not by it.

  • Privilege separation:Even if an agent’s reasoning is hijacked, the platform’s permission system prevents it from performing actions outside the scope its builder defined. Tools that weren’t explicitly granted are unreachable—not restricted, but nonexistent.
  • Context boundary enforcement:The platform keeps the agent’s own configuration apart from everything else: messages, documents and tool results reach the model as conversation content, not as part of its instructions. Because a model can still be swayed by that content, what an agent is able to do is limited outside the model.
  • Secrets stay out of the model’s context:API keys and credentials are resolved at the execution layer rather than placed in the LLM’s context window. Each secret is granted to specific agents, and a value a tool echoes back is scrubbed from its output before the model sees it, so a manipulated agent has no credential in its context to leak.
  • Blast radius containment:Spend limits that block runs, a cap on tool-call loops per step, and the human approvals you set all operate at the platform level. A compromised agent hits the same walls as a misbehaving one—these controls don’t depend on the model behaving correctly.

We don't claim to prevent prompt injection. We design for the reality that it will happen, so that a manipulated agent is held to the permissions it was granted.

Tool & Action Security

Agents interact with the real world through tools—API calls, database queries, file operations, messaging systems. In Fruxon, the agent builder explicitly defines which tools an agent has access to. The agent never discovers tools on its own. Every tool is an attack surface, and every tool call is a trust boundary crossing.

  • Explicit scope declarations:The agent builder explicitly defines which tools the agent will have access to at definition time. The agent cannot discover or request additional tools at runtime—if a tool isn’t in the declared scope, it simply doesn’t exist from the agent’s perspective.
  • Parameter validation:Tool arguments are checked before the call goes out. For API tools, required fields, types, lengths and patterns are validated against the tool’s definition, and a call that fails is rejected with an error the agent can see.
  • Run limits:Every agent has spend limits that block new runs once reached, on by default and adjustable per agent. There is a cap on tool-call loops per step, and any tool can add a repeat guard that refuses the same call made again within a time window.
  • Action types and ceilings:Each tool is labelled read-only, reversible or irreversible. A run can be given a ceiling, and tools above it are removed before the model sees them; a tool with no label is treated as irreversible, so an unclassified tool never slips under a ceiling.
  • Approval gates:You can require a person’s approval before any tool runs—deletions, payments, outbound messages. The gate is enforced by the platform, outside the model, so a prompt can’t talk its way past it. Draft and test runs approve automatically.

Tools are the hands of the agent. We control which tools are available, check arguments before calls go out, and hold the high-stakes actions you choose for a person's approval—so a compromised agent has only the hands you gave it.

Just-in-Time Permissions

Many platforms require broad upfront access grants—give the agent all the API keys, database credentials, and OAuth tokens it might ever need. This creates a large, static attack surface. Fruxon defaults the other way.

Per-person access, on demand. An integration can be set so that each person connects their own account—this is the default. When an agent first needs that integration for someone, they get the connect link at that moment—not before—and the agent can't use the integration for them until they've connected. Integrations can also be set to use one shared account the admin connects.

This means:

  • Per-person permission boundaries:With per-person connections, different people using the same agent can have different access: the agent acts with each person’s own account and only what that person granted.
  • Disconnect at any time:People can disconnect their own account at any time, from a page that lists only their connections. The agent loses that access for them without affecting anyone else, and they can also withdraw the grant in the provider’s own settings.
  • Consent transparency:The person sees exactly which permissions are being requested, on the integration provider’s own consent screen.

The safest credential is one that doesn't exist yet. By deferring authorization to the moment it's needed, we minimize the window of exposure and keep users in control of what their agents can access.

Human-in-the-Loop as Architecture

Most platforms bolt on approval workflows as a safety net. Fruxon treats human oversight as a first-class architectural component.

Our connectors enable conversational human-in-the-loop patterns—the agent can pause mid-execution, ask clarifying questions, present options, and resume based on human input. This isn't just approve/reject. An agent can ask a person for a decision or a missing fact and wait for the answer, consult a teammate in a discussion thread before going on, or notify someone when nothing is owed back.

Enforceable policies, not suggestions. You can require human approval on any tool you consider high-stakes—payments, outbound messages, deletions. On production runs these gates are enforced by the platform, outside the model, not left to prompt engineering. Draft and test runs approve automatically so you can build without waiting.

Human oversight also extends to the credential layer. When an agent encounters an integration requiring OAuth, the human is brought directly into the authorization flow. The agent pauses, the user completes the OAuth consent, and only then does execution resume—the human is the gatekeeper, not a rubber stamp.

Human oversight is not a fallback—it's a feature. Agents that know when to ask are more trustworthy than agents that always guess.

Evaluation Before You Ship

The insight that drives Fruxon: you shouldn't deploy what you haven't evaluated.

Traditional CI/CD asks "does the code compile and pass tests?" For agents, the question is "does this agent behave appropriately across the scenarios it will encounter?"

Golden datasets let you score a candidate revision against the version in production before you ship it. Cases where the candidate does worse than production are listed first, so a regression is caught before your users find it. This is the missing layer between "the model works" and "the agent is safe to deploy."

Security cases belong in the same datasets. Beyond functional correctness, you can add cases and metrics for security-relevant behavior:

  • Adversarial resilience:Add prompt-injection attempts and malformed inputs to your dataset, and check that the agent declines, or that your approvals and tool scope hold.
  • Boundary compliance:A metric such as “called the right tool” can flag runs where the agent reached for something it shouldn’t. The platform refuses any call to a tool the agent wasn’t given, and the trace records the attempt.
  • Escalation behavior:Include ambiguous and high-stakes cases, with a metric for whether the agent handed off to a person instead of guessing.
  • Behavioral regression:After any change to an agent’s prompt, tools or model, run its dataset against the new revision and the one in production, and compare the scores side by side before you promote.

Output Safety & Guardrails

An agent's outputs are just as dangerous as its inputs—perhaps more so, because outputs are often passed directly to users, external systems, or downstream processes. Fruxon gives you controls between what a model writes and what happens next.

  • Schema enforcement:When you declare an output schema for an agent step, Fruxon has the model produce output in that shape on providers that support it, and tells you where a provider can’t enforce it. Tool arguments are checked against the tool’s definition before the call is made.
  • Inline judge:An optional judge can check each reply against criteria you write—staying on topic, not revealing internal details—and stop a reply that fails. The platform always adds one rule of its own: a reply must never ask for or send a secret.
  • Personal data detection:Everything an agent reads from tools, writes, and sends is scanned for personal data: ID numbers, card and bank numbers, credentials, phone numbers and email addresses. What it finds is recorded so you can see where personal data flows; detection doesn’t block or change a reply. An Application can mask personal data for teammates who read its conversations, and personal data is redacted before it’s written to a knowledge base.
  • Downstream injection limits:Where generated content reaches a sensitive interpreter, the platform limits what it can do. SQL from built-in database tools is checked for schema changes, permission changes and other statements that aren’t allowed, HTML rendered to PDF is sanitized, and code the agent writes runs in an isolated gVisor sandbox.

Guardrails are not just about what goes into the model. What comes out matters equally, and Fruxon gives you controls on both sides.

Observability & Audit Trails

You cannot secure what you cannot see. Fruxon provides full observability into agent behavior—not just for debugging, but as a security control.

  • Complete run record:Every run is recorded in full: inputs, every model and tool call, outputs, approvals and costs, kept for your plan’s retention window. On Enterprise, the audit log adds an append-only record of changes, reads of personal data, and staff access to your workspace.
  • Alerts that need a person:Alerts tell you when something needs a person: a failed run, a spend limit approaching, a connection that needs reconnecting, a messaging channel that stopped sending, or judge scores dropping on a new revision.
  • Live monitoring:Dashboards show each agent’s activity, errors and spend as they happen, along with where sensitive data showed up, and a teammate can take over a conversation when something looks wrong.
  • Cost and resource tracking:Unusual spikes in token consumption, tool calls, or execution time can indicate a compromised or runaway agent. Resource monitoring doubles as a security signal.

Observability is the immune system of an agent platform. Without it, you're flying blind. With it, you can detect, diagnose, and respond to problems before they cause damage.

Supply Chain & Provider Security

AI agents depend on external LLM providers, and that dependency is a security surface. A provider outage, model regression, or compromised model can cascade into agent-level failures.

Multi-provider failover. Fruxon works with many LLM providers, and each agent step can name fallbacks to try when its provider stops answering—the same model on another cloud, or a second key. A provider outage then means switching, not waiting.

  • Model version pinning:Each agent revision names its exact model, and the model changes only when you deploy a revision that changes it. When a model is deprecated, agents already using it keep running until the provider retires it, and new revisions can’t adopt it.
  • Inference residency:You choose which LLM providers your agents use, and a workspace can set where inference may run. Configurations that would send data outside that boundary are refused.
  • Your own tools, same controls:Built-in integrations are built and maintained by Fruxon, with each tool labelled read-only, reversible or irreversible. Tools your team adds itself, from an API definition or an MCP server, sit behind the same controls as built-in ones: tool scope, secret grants and approvals.

Your agents should not inherit the risk profile of a single vendor. Multi-provider support is a security decision as much as a reliability one.

Practical Security Patterns

Beyond architectural principles, these patterns are implemented across the platform:

  • Fail closed on platform limits:When the platform enforces a limit—a tool the agent wasn’t given, a secret it wasn’t granted, a spend limit reached, an approval nobody gave—the action is refused, not allowed. Agents can also be given a way to hand a conversation to a person when they’re unsure.
  • Immutable versioning:Every agent revision is immutable. You can redeploy any previous revision with one action, so a bad deployment can be reverted in seconds.
  • Secret isolation:Secrets are injected at runtime and granted to specific agents. One agent’s secrets are invisible to another, and they are scrubbed from tool output.
  • Keys are write-only and kept out of the LLM:API keys and credentials are stored encrypted at rest and are not returned from the API once saved—they are write-only. The agent references a secret by name and the platform resolves it at the execution layer, so secrets are not placed in the context sent to an LLM provider and a prompt injection has no credential in context to exfiltrate.
  • Multi-tenant data separation:Each customer’s agent data—runs, conversations, evaluation datasets and configuration—is isolated by workspace in the data layer, and a query with no workspace fails rather than returning everyone’s rows.

The Philosophy in One Sentence

"Treat agents like employees with access to sensitive systems: verify their work, limit their access, monitor their behavior, and build processes that assume they will occasionally make mistakes."