Skip to content

Your first watch

Start with one guardrail.
Know what it does.

Choose a module. Install it on your own machine. Verify the configuration before trusting it with real work. Commands on this page are copied, never executed by your browser.

01 / Before you begin

Your machine. Your setup.

  • For Pi extensions, install Pi first. Bastille-C3 extends Pi; it does not replace your harness or model provider.
  • Use Linux or macOS. On Windows, use WSL2 for the full toolset. Check each module's requirements, especially Linux isolation and CUDA features.
  • For zrag, use uv and the separate Python wheel. zrag is not included in the Pi tarball.
  • Paid archives need a valid license and access to Polar for activation and entitlement checks. Agent workloads are not hosted by Bastille-C3.

02 / Installation

Choose your first module.

pi-gatekeeper

Free

AST-based bash interception. Blocks destructive commands before they run.

Requirements & documentation ↗

Public release pending. This npm package is not available at its configured identifier yet. Do not treat the command below as a working download until the package is published. Ask for release access.

pi install npm:@bastilleworks/pi-gatekeeper

After publication, run the command in your terminal, then start a new Pi session. No paid license is required for an Apache-2.0 module.

03 / Verify before trusting

A safe first check.

For pi-gatekeeper, start a fresh Pi session and open its configuration with the command below. Check that the module loaded and review its approval and denial settings.

/gatekeeper

Ask the agent to run a harmless command such as pwd in a disposable project. Observe the module's status and behavior. An ordinary command need not trigger an approval prompt.

Do not test with destructive commands on a real machine. A screenshot is not proof that your installation is configured correctly. Use an isolated, disposable environment for destructive-policy tests and verify the installed version yourself.
pi-gatekeeper / recorded exampleRecorded view
Recorded product screenshot showing Gatekeeper rejecting a destructive command

Product recording: a blocked command. Do not reproduce this on your working machine.

For another module, follow its own usage guide. Governance is an extra layer, not a guarantee that every agent action is safe.

04 / Build from what works

Add one thing at a time.

Pair command interception with pre-edit review when file changes need your sign-off. Add a local trace when you need to understand model calls. Choose a self-hosted Console when the work becomes a team effort.