symbi 0.1.0

AI-native agent framework for building autonomous, policy-aware agents that can safely collaborate with humans, other agents, and large language models
symbi-0.1.0 is not a library.

Symbiont 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 DSL parser
docker run --rm -v $(pwd):/workspace ghcr.io/thirdkeyai/symbiont-dsl:latest parse /workspace/agent.dsl

# Run Runtime/MCP Server
docker run --rm -p 8080:8080 ghcr.io/thirdkeyai/symbiont-runtime:latest

# Interactive development
docker run --rm -it -v $(pwd):/workspace ghcr.io/thirdkeyai/symbiont-runtime:latest bash

Building from Source

# Build development environment
docker build -t symbiont:latest .
docker run --rm -it -v $(pwd):/workspace symbiont:latest bash

# Build individual components
cd dsl && docker build -t symbiont-dsl .
cd runtime && docker build -t symbiont-runtime .

# Test the components
cd dsl && cargo run && cargo test
cd ../runtime && cargo test

# Run example agents
cargo run --example basic_agent
cargo run --example full_system
cargo run --example rag_example

# Enable HTTP API (optional)
cargo run --features http-api --example full_system

Optional HTTP API

Enable RESTful HTTP API for external integration:

# Build with HTTP API feature
cargo build --features http-api

# Or add to Cargo.toml
[dependencies]
symbiont-runtime = { version = "0.1.0", features = ["http-api"] }

Key Endpoints:

  • GET /api/v1/health - Health check and system status
  • GET /api/v1/agents - List all active agents
  • POST /api/v1/workflows/execute - Execute workflows
  • GET /api/v1/metrics - System metrics

๐Ÿ“ Project Structure

symbiont/
โ”œโ”€โ”€ dsl/                    # Symbiont 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

๐Ÿ”ง Features

โœ… Community Features (OSS)

  • DSL Grammar: Complete Tree-sitter grammar for agent definitions
  • Agent Runtime: Task scheduling, resource management, lifecycle control
  • Docker Sandboxing: Basic 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
  • 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");
        }
    }
}

๐Ÿ”’ Security Model

Basic Security (Community)

  • Docker Isolation: Containerized agent execution
  • Schema Verification: Cryptographic tool validation with SchemaPin
  • Policy Engine: Basic resource access control
  • Audit Logging: Operation tracking and compliance

Advanced Security (Enterprise)

  • Multi-tier Sandboxing: gVisor/Firecracker for high-risk operations (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
cargo test

# Run specific components
cd dsl && cargo test          # DSL parser
cd runtime && cargo test     # Runtime system

# Integration tests
cargo test --test integration_tests
cargo test --test rag_integration_tests
cargo test --test mcp_client_tests

๐Ÿ“š Documentation

Technical References

๐Ÿค 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


Symbiont enables secure collaboration between AI agents and humans through intelligent policy enforcement, cryptographic verification, and comprehensive audit trails.