Symbi is an AI-native agent framework for building autonomous, policy-aware agents that can safely collaborate with humans, other agents, and large language models. The Community edition provides core functionality with optional Enterprise features for advanced security, monitoring, and collaboration.
๐ Quick Start
Prerequisites
- Docker (recommended) or Rust 1.88+
- Qdrant vector database (for semantic search)
Running with Pre-built Containers
Using GitHub Container Registry (Recommended):
# Run unified symbi CLI
# Run MCP Server
# Interactive development
Building from Source
# Build development environment
# Build the unified symbi binary
# Test the components
# Run example agents (from crates/runtime)
&&
&&
&&
# Use the unified symbi CLI
# Enable HTTP API (optional)
&&
Optional HTTP API
Enable RESTful HTTP API for external integration:
# Build with HTTP API feature
# Or add to Cargo.toml
Key Endpoints:
GET /api/v1/health- Health check and system statusGET /api/v1/agents- List all active agentsPOST /api/v1/workflows/execute- Execute workflowsGET /api/v1/metrics- System metrics
๐ Project Structure
symbi/
โโโ src/ # Unified symbi CLI binary
โโโ crates/ # Workspace crates
โ โโโ dsl/ # Symbi DSL implementation
โ โ โโโ src/ # Parser and library code
โ โ โโโ tests/ # DSL test suite
โ โ โโโ tree-sitter-symbiont/ # Grammar definition
โ โโโ runtime/ # Agent Runtime System (Community)
โ โโโ src/ # Core runtime components
โ โโโ examples/ # Usage examples
โ โโโ tests/ # Integration tests
โโโ docs/ # Documentation
โโโ Cargo.toml # Workspace configuration
๐ง Features
โ Community Features (OSS)
- DSL Grammar: Complete Tree-sitter grammar for agent definitions
- Agent Runtime: Task scheduling, resource management, lifecycle control
- Tier 1 Sandboxing: Docker containerized isolation for agent operations
- MCP Integration: Model Context Protocol client for external tools
- SchemaPin Security: Basic cryptographic tool verification
- RAG Engine: Retrieval-augmented generation with vector search
- Context Management: Persistent agent memory and knowledge storage
- Vector Database: Qdrant integration for semantic search
- Comprehensive Secrets Management: HashiCorp Vault integration with multiple auth methods
- Encrypted File Backend: AES-256-GCM encryption with OS keychain integration
- Secrets CLI Tools: Complete encrypt/decrypt/edit operations with audit trails
- HTTP API: Optional RESTful interface (feature-gated)
๐ข Enterprise Features (License Required)
- Advanced Sandboxing: gVisor and Firecracker isolation (Enterprise)
- AI Tool Review: Automated security analysis workflow (Enterprise)
- Cryptographic Audit: Complete audit trails with Ed25519 signatures (Enterprise)
- Multi-Agent Communication: Encrypted inter-agent messaging (Enterprise)
- Real-time Monitoring: SLA metrics and performance dashboards (Enterprise)
- Professional Services and Support: Custom development and support (Enterprise)
๐ Symbiont DSL
Define intelligent agents with built-in policies and capabilities:
metadata {
version = "1.0.0"
author = "Your Name"
description = "Data analysis agent"
}
agent analyze_data(input: DataSet) -> Result {
capabilities = ["data_analysis", "visualization"]
policy data_privacy {
allow: read(input) if input.anonymized == true
deny: store(input) if input.contains_pii == true
audit: all_operations
}
with memory = "persistent", requires = "approval" {
if (llm_check_safety(input)) {
result = analyze(input);
return result;
} else {
return reject("Safety check failed");
}
}
}
๐ Secrets Management
Symbi provides enterprise-grade secrets management with multiple backend options:
Backend Options
- HashiCorp Vault: Production-ready secrets management with multiple authentication methods
- Token-based authentication
- Kubernetes service account authentication
- Encrypted Files: Local AES-256-GCM encrypted storage with OS keychain integration
- Agent Namespaces: Scoped secrets access per agent for isolation
CLI Operations
# Encrypt secrets file
# Decrypt secrets file
# Edit encrypted secrets directly
# Configure Vault backend
Audit & Compliance
- Complete audit trails for all secrets operations
- Cryptographic integrity verification
- Agent-scoped access controls
- Tamper-evident logging
๐ Security Model
Basic Security (Community)
- Tier 1 Isolation: Docker containerized agent execution
- Schema Verification: Cryptographic tool validation with SchemaPin
- Policy Engine: Basic resource access control
- Secrets Management: Vault integration and encrypted file storage
- Audit Logging: Operation tracking and compliance
Advanced Security (Enterprise)
- Enhanced Sandboxing: gVisor (Tier2) and Firecracker (Tier3) isolation (Enterprise)
- AI Security Review: Automated tool analysis and approval (Enterprise)
- Encrypted Communication: Secure inter-agent messaging (Enterprise)
- Comprehensive Audits: Cryptographic integrity guarantees (Enterprise)
๐งช Testing
# Run all tests
# Run specific components
&& &&
# Integration tests
&&
&&
&&
๐ Documentation
- Getting Started - Installation and first steps
- DSL Guide - Complete language reference
- Runtime Architecture - System design
- Security Model - Security implementation
- API Reference - Complete API documentation
- Contributing - Development guidelines
Technical References
crates/runtime/README.md- Runtime-specific docscrates/runtime/API_REFERENCE.md- Complete API referencecrates/dsl/README.md- DSL implementation details
๐ค Contributing
Contributions welcome! Please see docs/contributing.md for guidelines.
Development Principles:
- Security first - all features must pass security review
- Zero trust - assume all inputs are potentially malicious
- Comprehensive testing - maintain high test coverage
- Clear documentation - document all features and APIs
๐ฏ Use Cases
Development & Automation
- Secure code generation and refactoring
- Automated testing with policy compliance
- AI agent deployment with tool verification
- Knowledge management with semantic search
Enterprise & Regulated Industries
- Healthcare data processing with HIPAA compliance (Enterprise)
- Financial services with audit requirements (Enterprise)
- Government systems with security clearances (Enterprise)
- Legal document analysis with confidentiality (Enterprise)
๐ License
Community Edition: MIT License
Enterprise Edition: Commercial license required
Contact ThirdKey for Enterprise licensing.
๐ Links
Symbi enables secure collaboration between AI agents and humans through intelligent policy enforcement, cryptographic verification, and comprehensive audit trails.