Skip to content

zkonduit/SafePaw

Repository files navigation

SafeClaw

SafePaw - Agents for the Paranoid

IMPORTANT: this is ALPHA software and undergoing active development.

SafePaw is a security focused agent orchestration layer for the paranoid. It features a MMORPG RTS style UI for managing agents.

Village UI

Install

curl -fsSL https://raw.githubusercontent.com/zkonduit/SafePaw/main/install.sh | bash

The installer defaults to the latest release on https://github.com/zkonduit/SafePaw/releases, installs multipass when it can, and then places safepaw in /usr/local/bin or ~/.local/bin.

For non-interactive installs, pass --overwrite to download the latest release and overwrite existing binaries.

curl -fsSL https://raw.githubusercontent.com/zkonduit/SafePaw/main/install.sh | bash -s -- --overwrite

Pin a release or change the install location with environment variables:

curl -fsSL https://raw.githubusercontent.com/zkonduit/SafePaw/main/install.sh | \
  SAFEPAW_VERSION=v0.1.0 SAFEPAW_INSTALL_DIR="$HOME/.local/bin" bash

The installer also accepts CLI flags:

curl -fsSL https://raw.githubusercontent.com/zkonduit/SafePaw/main/install.sh | \
  bash -s -- --version v0.1.0 --install-dir "$HOME/.local/bin"

If automatic multipass installation is not supported on the host, the script exits with the official Multipass install guide.

Design Philosophy

  1. Agents are untrusted plugins, everything is treated with reasonable caution.
  2. Strong isolation, no-access sandboxes as default, context is provided on a need to know basis for agents.
  3. Verification and observability are key for active threat detection.
  4. Useful and secure defaults without additional twiddling.

Architecture

architecture
  1. SafePaw is a VM centric agentic orchestration system. Each agent runs on their own isolated VM instance via multipass. It's designed as a multi-agent swarm system with strong context isolation between the instances and may be run across a network.

  2. Each VM has different networking rights, access rights, and execution rights.

  3. As each VM runs independently from a host, in the event a VM is behavior anomalously we can shutdown and circuit break the VM down if needed.

  4. All logs are stored in a lightweight blockchain distributed across instances. This is for tamper resistant append-only logs. This prevents agents from hiding their trails by log deletion or log tampering.

  5. Secrets are either stored via secure enclaves in the host machine or trusted 3rd party services like AWS secrets manager.

  6. Context and workspace files are stored on the host machine and only selectively shared with the VMs as needed.

Development Instructions

  1. Install multipass this is needed to use the VMs required for safepaw
# MacOS
brew install multipass

# Debian/Ubunttu Linux
sudo snap install multipass

# Windows: check the link above
  1. Install safepaw
make

Testing

  1. Run test suite using
make test

# Run rust tests
make test-rust

# Run solidity tests
make test-solidity

Credits

  1. WebUI Assets -From : Sprout Lands -By : Cup Nooble

About

Agents for the Paranoid

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages