Skip to content

tigerneil/vaultrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Vaultrix πŸ”

Secure, Sandboxed, Human-Guided Autonomous AI Framework

Vaultrix transforms the raw potential of autonomous AI agents into a secure, trustworthy ecosystem through strict sandboxing, audited skill registry (VaultHub), human-in-the-loop execution, and local layered encryption.

License: MIT Security: Sandboxed Status: Alpha


🎯 Core Principles

1. Strict Sandboxing

All agent operations run within an isolated, containerized environment with granular permission controls. No unrestricted system access.

2. VaultHub - Audited Skill Registry

Community skills undergo automated scanning and manual review before approval. Only [AUDITED & VETTED] skills are accessible.

3. Human-in-the-Loop (HITL)

High-risk actions require explicit user confirmation. Users maintain control over critical system operations.

4. Local Layered Encryption

All agent data, memory, and logs are encrypted at rest using local key management. Zero-knowledge architecture ensures privacy.


πŸ—οΈ Architecture Overview

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                      User Interface                      β”‚
β”‚              (HITL Approval Dashboard)                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                  Vaultrix Core                            β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚  Permission  β”‚  β”‚   Action     β”‚  β”‚   Encryption   β”‚ β”‚
β”‚  β”‚   Manager    β”‚  β”‚   Classifier β”‚  β”‚    Manager     β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Sandboxed Execution Environment             β”‚
β”‚    (Docker/Firecracker Container + Resource Limits)      β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚  AI Agent Runtime (OpenClaw Compatible)           β”‚  β”‚
β”‚  β”‚  β€’ Network Access: Restricted                     β”‚  β”‚
β”‚  β”‚  β€’ File System: Isolated Virtual FS               β”‚  β”‚
β”‚  β”‚  β€’ Process Spawning: Controlled                   β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     VaultHub                             β”‚
β”‚         (Audited Community Skill Registry)               β”‚
β”‚  β€’ Automated Static Analysis                             β”‚
β”‚  β€’ Manual Security Review                                β”‚
β”‚  β€’ Cryptographic Signing                                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Quick Start

Prerequisites

  • Docker 20.10+
  • Python 3.10+
  • Node.js 18+ (for UI dashboard)

Installation

# Clone the repository
git clone https://github.com/yourusername/vaultrix.git
cd vaultrix

# Install dependencies
pip install -r requirements.txt

# Initialize the sandbox environment
./scripts/init_sandbox.sh

# Start Vaultrix
python -m vaultrix.cli

First Run

# Configure your LLM provider
vaultrix config set llm.provider anthropic
vaultrix config set llm.api_key YOUR_API_KEY

# Start the agent in interactive mode
vaultrix start --interactive

# Install a skill from VaultHub
vaultrix skill install file-organizer --from vaulthub

πŸ“¦ Project Structure

vaultrix/
β”œβ”€β”€ core/                      # Core agent logic
β”‚   β”œβ”€β”€ sandbox/               # Sandboxing implementation
β”‚   β”œβ”€β”€ permissions/           # Permission management system
β”‚   β”œβ”€β”€ encryption/            # Local encryption layer
β”‚   └── agent/                 # Agent runtime
β”œβ”€β”€ vaulthub/                  # VaultHub registry service
β”‚   β”œβ”€β”€ scanner/               # Automated code analysis
β”‚   β”œβ”€β”€ reviewer/              # Manual review workflow
β”‚   └── api/                   # Registry API
β”œβ”€β”€ ui/                        # HITL approval interface
β”‚   β”œβ”€β”€ dashboard/             # Web-based dashboard
β”‚   └── cli/                   # CLI interface
β”œβ”€β”€ skills/                    # Built-in audited skills
β”œβ”€β”€ tests/                     # Test suite
β”œβ”€β”€ docs/                      # Documentation
└── scripts/                   # Setup and utility scripts

πŸ›‘οΈ Security Features

Sandbox Isolation

  • Container-based: Each agent runs in an isolated Docker container
  • Resource Limits: CPU, memory, and storage quotas enforced
  • Network Restrictions: Whitelist-based network access only
  • File System Isolation: Virtual filesystem with controlled host mounting

Permission Model

permissions:
  network:
    enabled: false
    whitelist: []
  filesystem:
    read: ["/workspace"]
    write: ["/workspace/output"]
  process:
    spawn: false
  system:
    admin: false

Action Risk Classification

  • Low Risk (Auto-execute): Read operations, calculations
  • Medium Risk (Log & execute): File writes, network requests
  • High Risk (Require approval): System modifications, deletions, external commands

πŸ§ͺ Development Roadmap

Phase 1: Architecture & Sandboxing (Weeks 1-4) βœ… Current

  • Project structure
  • Docker-based sandbox
  • Permission matrix implementation
  • Basic agent runtime

Phase 2: VaultHub & Skill Vetting (Weeks 5-8)

  • Registry backend
  • Automated scanning pipeline
  • Manual review dashboard
  • Skill signing and verification

Phase 3: Human-in-the-Loop (Weeks 9-12)

  • Action classification engine
  • Approval UI/UX
  • Timeout and fallback logic
  • Notification system

Phase 4: Encryption & Data Security (Weeks 13-16)

  • Local key management
  • Data-at-rest encryption
  • Secure memory handling
  • Encrypted communication channels

Phase 5: Beta Testing & Auditing (Weeks 17-20)

  • Penetration testing
  • Closed beta program
  • Security audit
  • Performance optimization

Phase 6: V1 Launch (Weeks 21-24)

  • Documentation finalization
  • Open source release
  • Community onboarding
  • VaultHub bounty program

🀝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Security Contributions

Found a security vulnerability? Please report it privately to security@vaultrix.dev (DO NOT open a public issue).


πŸ“„ License

Vaultrix is released under the MIT License.


πŸ™ Acknowledgments

Built on principles from:

  • OpenAI's safety research
  • Anthropic's Constitutional AI
  • The open-source AI safety community

Vaultrix: Autonomous AI, Safely Unleashed πŸ”

About

Secure, Sandboxed, Human-Guided Autonomous AI Framework

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors