How Praxis works and stays safe

How Praxis works from your AI assistant and in its optional hosted agents, what it can read freely versus change, and where its security boundaries sit.

Praxis is the CLI and skills that let your AI assistant work with Facets, plus optional hosted agents that run on Facets' side. This page covers what runs in each case, how Praxis acts on your behalf, and what keeps it safe to point at production systems.


How you reach Praxis

The main way is the Praxis CLI, from your own AI assistant. The web console and Slack are optional hosted agents. Which agent does the work, and which Facets account it acts as, depends on the place:

  • The Praxis CLI, which brings Praxis's skills and tools to your own AI assistant, a script, or a CI job. Your AI assistant is the agent, and raptor runs on your machine with your Facets access token.
  • The web console, where you ask Praxis in a chat session and watch it work. Praxis uses your own Facets access. Opening the console needs the Access Praxis permission in your Facets role, or you see "Praxis access is not enabled". The Praxis CLI doesn't need it.
  • Slack, once your organization connects a workspace: @-mention an agent in a channel, or have it watch a channel and respond on its own. Praxis uses your organization's Facets connection.

On every surface, Praxis's cloud and Kubernetes tools run on Facets' side, with the access your organization connected.


Inside the hosted agent

The optional hosted agent is mostly one general agent, not a fleet of separate products. When you chat with it in the web console or Slack, a single DevOps agent loads skills on demand: each skill is a written procedure for one job, such as importing a resource or auditing a blueprint (a Facets environment configuration). Skills ship built-in, and you can add your own. The agent pulls in only the skills a task needs rather than carrying all of them at once. A few specialist agents sit alongside it for focused work and to power the apps.

Three related ideas are easy to confuse, so it helps to name them:

  • A capability is a skill: a procedure an agent loads when it needs it.
  • An agent is a configured persona that you chat with or delegate to, built from a system prompt, a model, and a chosen set of capabilities. Some are built-in, and you can build your own.
  • An app is a packaged product surface with its own screens, its own data, and a per-organization on/off switch. Four apps ship today, listed under Agentic Apps.

Where it runs

In the web console, in Slack, and in unattended runs, Praxis runs server-side, in a managed cloud environment. When a task needs a command-line tool for the cloud or Kubernetes, that tool runs on the server with the access your organization connected.

Facets commands run through raptor, as the Facets account Praxis acts as. The model writes each command, and Praxis adds the credentials on the server when the command runs. Each hosted raptor command stops after 120 seconds. So Praxis starts long operations, such as launching an environment or an import, and checks their status until they finish.

When you use Praxis's tools from the Praxis CLI, your AI assistant, or CI, each call travels through the MCP gateway. (MCP is the connection layer that lets an agent use an external tool.) Raptor commands don't: raptor runs on your machine and talks to your control plane directly, with your Facets access token.

The gateway is where identity and auditing are enforced:

  1. A request arrives carrying your Facets access token or a Praxis API key.
  2. The gateway resolves your organization and user from that credential. It never trusts an organization or user identity sent by the caller.
  3. It runs the requested tool server-side, under your organization's stored credentials.
  4. It writes an audit row for the call: who ran it, which tool and function, the result, and how long it took.

The chat console, Slack, and scheduled runs invoke the same tools in-process rather than over the gateway, but they enforce the same access rules, the same organization scoping, and the same per-command logging. Under heavier orchestration a main worker splits a job across additional worker processes, and this identity and audit path is the same for all of them.


What Praxis can read and what it can change

Praxis reads infrastructure freely and is deliberately limited in what it can change. How that limit is enforced depends on the system it is touching, so it is worth being specific rather than saying "read-only" and stopping there.

In your cloud and clusters, the access you connect keeps Praxis read-only. The cloud setup asks for read-only roles, such as AWS's ReadOnlyAccess policy or GCP's Viewer role. With those roles, your cloud provider refuses any change, whatever command Praxis sends. In a cluster, Praxis gets what the kubeconfig you connect allows.

Praxis also reaches AWS, GCP, Azure, Kubernetes, and Helm through built-in tools that check each command before running it. Read verbs such as list, describe, and get run. The tools refuse commands that would change state, such as create, delete, update, apply, or scale, and commands they don't recognize. The same check rejects shell pipes and redirection.

Facets changes go through raptor and are gated by your Control Plane's own access control. When Praxis changes Facets infrastructure, creating a release, applying a resource, setting a variable, or deleting a release, it runs raptor, the Facets Control Plane CLI. Raptor is not filtered to read-only operations, and there's no separate approval prompt.

Instead, the Facets Control Plane checks every command against the role of the account Praxis acts as, and that role's AI permissions. What Praxis can change is what that account is allowed to change:

Where Praxis runsFacets account it acts as
Your AI assistant, through the Praxis CLIYours, through the Facets access token on your machine
Chat in the web consoleYours. Chat never uses an organization Facets connection
Slack, schedules, webhooks, and incident investigationsYour organization's Facets connection. By default, that's the built-in praxis@facets.cloud account, which is read-only until an admin widens its role

Keep the Facets connections you set up for Praxis read-only, or as narrow as their jobs allow. Release approval and guardrail policies still hold or block releases where you've turned them on. For what raptor is and how it fits into the Praxis CLI, see Praxis CLI.

Writing files and running other shell commands waits for approval, unless you change /mode. By default, Praxis asks before it edits a file or runs a shell command that isn't on its built-in read-only list. In an interactive session you steer this with slash commands typed into chat:

  • /mode sets how actions are approved: review each one (the default), review a plan once, or accept all automatically.
  • /ask poses a question that runs no tools, and /model switches the model.
  • /compact, /clear, and /rewind condense, reset, or step back through the conversation.

Reviewing each action needs a live connection. If yours drops before you answer a prompt, the pending action is denied rather than assumed.


What happens in an unattended run

When Praxis runs with no person present, watching a Slack channel, running on a schedule, investigating an incident, or driven from CI, there is no approval prompt for anyone to answer, so tool calls are auto-approved. Safety in these runs does not come from a human approving each change. It comes from the boundaries that hold with no one in the loop:

  • In Facets, Praxis acts as your organization's Facets connection: by default the built-in praxis@facets.cloud account, which can read but not change anything until an admin widens its role. A CI job acts with the credentials you give it.
  • In your cloud and clusters, the read-only access you connect keeps Praxis read-only.
  • Credentials are stored encrypted, and Praxis adds them on the server when a command runs.
  • Every run is attributable to a real identity and every command is logged.

An agent can still choose to pause and ask a question mid-run. In Slack that becomes an interactive prompt the run waits on before continuing.

These boundaries are the shared foundation for every Praxis capability and app. Each one applies them to its own surface and states any limit specific to it.


Credentials and tenant scoping

Stored credentials are encrypted at rest with Fernet (AES-128-CBC with an HMAC-SHA256 integrity check), and Praxis doesn't show a stored value back to you. When a command needs a secret, you reference it as ${credential:name}. Praxis substitutes the value on the server when the command runs.

Every record Praxis reads or writes is scoped to its owner and organization, so one organization's data cannot surface in another's session. An API key inherits the permissions of the person who created it; there are no separate per-key scopes.

For each raptor command, Praxis looks up the Facets access token of the account it acts as, and adds it to that command when it runs.


Honest limits

The separation described above is defense-in-depth, not kernel-grade isolation, and it is worth being precise about what that means.

📘

Praxis does not run each user or each run in its own operating-system sandbox. A single shared container runs as a non-root user, and separation comes from several layers working together rather than from a hard operating-system boundary.

Those layers are:

  • working-directory separation between runs,
  • owner-and-organization scoping on every query,
  • a deny list that blocks the agent from reading or editing its own permission settings and the workspace kubeconfig, and from running shell commands that dump the environment (env, printenv, set) or invoke raptor directly, and
  • removal of sensitive environment variables, including the model's own API key, before any shell command runs.

Be precise about what the deny list is: a targeted barrier, not a blanket filesystem lock. It raises the bar against casual credential exfiltration rather than making it impossible.

One more limit is worth stating plainly: there is no global filter that strips secrets from logs. Some tokens are redacted where they are specifically handled, but the gateway's audit records store call arguments as they were passed, unless a tool declares a field to mask. Treat anything you pass to a tool as something that can appear in an audit record.


  • Praxis CLI - Drive Praxis from your terminal and CI, and how it works with raptor
  • Build your own agent - Configure a custom agent's persona, model, and capabilities
  • Agentic Apps - The packaged apps and how they build on this shared model
  • API Reference - Programmatic access through the MCP gateway