AKIOS runtime for secure AI agent execution
Project description
AKIOS v1.0 – The Open-Source Security Cage for AI Agents
Document Version: 1.0
Date: 2026-01-25
Security sandboxing · Real-time PII redaction · Merkle audit · Cost kills
AKIOS is open-source (GPL-3.0-only). Read the legal notices, trademarks, and security policy before use.
EU AI Act disclaimer: AKIOS is not designed for "high-risk" use cases under the EU AI Act. For such deployments, consult a compliance expert and consider implementing additional regulatory controls on top of AKIOS.
AKIOS is the strongest open-source cage you can put around any AI agent. Run AI workflows with military-grade security, automatic cost controls, and cryptographic audit trails.
🚀 Quick Start (5 minutes – Docker Works on All Platforms)
Security Levels:
- Native Linux: Full security feature set (automatic - no setup required)
- Standard Docker: Strong policy-based security across all platforms (macOS, Linux, Windows)
- Future: Enhanced security options in upcoming versions
✅ Docker provides reliable security across all platforms - simple setup, strong protection, and optimized performance with smart caching for fast subsequent runs.
Most users start with Docker for cross-platform compatibility and excellent security.
Platform Security Overview
| Environment | Security Level | Status | Notes |
|---|---|---|---|
| Docker on any platform (macOS/Linux/Windows) | Strong policy-based container isolation | ✅ v1.0 | Simple, reliable, cross-platform |
| Native Linux (AWS EC2) | Full security feature set | ✅ v1.0 | Maximum security and performance |
| gVisor on Linux | Kernel-hard isolation | 🔮 V1.1+ | Future advanced security option |
AKIOS v1.0 provides strong, reliable security across all platforms.
⚠️ Docker Security Limitations
Important Security Trade-off: Docker mode provides strong policy-based security but does NOT enforce host filesystem permissions. This is a known limitation of containerized deployment.
What Docker CANNOT do:
- ❌ Host filesystem permission enforcement (
chmod 444is bypassed - containers run as root internally) - ❌ Full kernel-hard security (no seccomp-bpf on macOS/Windows - reduced to policy-based only)
What Docker DOES provide:
- ✅ Strong container isolation (network restrictions, resource limits)
- ✅ PII redaction (application-level data protection)
- ✅ Audit logging (comprehensive security tracking)
- ✅ Cost kill-switches (automatic budget enforcement)
- ✅ Input validation (automatic size limits and safety checks)
- ✅ Rate limiting protection (automatic retry with backoff)
- ✅ Performance optimizations (automatic container-aware resource management)
For maximum security (full kernel-hard seccomp-bpf + strict filesystem permissions): Use native Linux installation on Linux hosts.
macOS & Windows / Docker Users – Important Note on Audit Logging
Full audit trail is preserved in normal operation thanks to:
- Memory buffering (events held in RAM, flushed every 100 events)
- tmpfs mount for
/app/audit(writes happen in ultra-fast in-memory filesystem)
Extremely rare edge case:
If the container is violently killed (e.g. via Task Manager "End task" on Windows or docker kill --signal=SIGKILL / force-quit Docker Desktop) exactly during a flush window, up to the last ~100 audit events could be lost.
Real-world impact: This requires forceful termination at a precise moment — it is extremely unlikely in normal use and almost impossible without someone deliberately attacking the Docker runtime itself.
Recommendation for maximum paranoia / compliance environments: Use native Linux installation (kernel-level cgroups + seccomp + direct filesystem writes) for absolute audit durability with zero possibility of loss.
All other security guarantees (PII redaction, sandboxing, path/command restrictions, network controls, cost/loop kill-switches) remain fully active in Docker on macOS and Windows.
Choose Docker for:
- Cross-platform convenience (macOS, Windows, Linux)
- Development & testing scenarios
- Most production use cases
Choose Native Linux for:
- Regulated/high-security environments
- Strict filesystem permission enforcement
- Maximum security guarantees
Installation (works on Linux, macOS, Windows)
# Option 1: Pip Package (Recommended - maximum security on Linux)
# Ubuntu 24.04+ users: Use pipx instead of pip due to PEP 668
sudo apt install pipx
pipx install akios
# Ubuntu 20.04/22.04 and other Linux/macOS/Windows users:
pip install akios
akios init my-project
cd my-project
# Setup wizard runs automatically - just follow the prompts!
akios run templates/hello-workflow.yml
# Option 2: Docker (Cross-platform - works on Linux, macOS, Windows)
curl -O https://raw.githubusercontent.com/akios-ai/akios/main/akios
ls -la akios && file -b akios # Verify download (shell script)
chmod +x akios
./akios init my-project
cd my-project
# What is this wrapper script?
# - Zero-dependency Docker wrapper for AKIOS
# - Manages Docker image pulls and container execution
# - Provides consistent CLI experience across platforms
# - Handles security sandboxing and resource limits
# Setup wizard runs automatically - just follow the prompts!
./akios run templates/hello-workflow.yml
# Optional: refresh the Docker image on the next run
AKIOS_FORCE_PULL=1 ./akios status
📦 Version Note:
pip install akiosinstalls the latest stable version (currently v1.0). For specific versions:pip install akios==1.0.4.
Which Installation Should I Choose?
| Option | Best For | Requirements | Security Level | Ease of Use |
|---|---|---|---|---|
| Pip Package ⭐ | Python developers, maximum security | Python 3.8+, Linux kernel 3.17+ Ubuntu 24.04+: pipx install akios |
Full kernel-hard security | ⭐⭐⭐⭐⭐ |
| Docker | Cross-platform teams, development environments | Docker installed | Strong policy-based security | ⭐⭐⭐⭐ |
| Direct Docker | Emergency fallback when wrapper fails | Docker installed | Strong policy-based security | ⭐⭐⭐ |
Choose Pip if:
- You're a Python developer
- You need maximum security (Linux kernel features)
- You want to integrate AKIOS into Python applications
Choose Docker if:
- You need cross-platform compatibility
- You already use Docker in your workflow
- You want containerized deployment
Choose Direct Docker if:
- The wrapper script download fails (curl issues, network problems)
- You prefer direct Docker commands over wrapper scripts
- You need emergency access when GitHub is unavailable
Get Started
# 1. Create your first project
akios init my-project
cd my-project
# 2. Configure your AI provider (guided setup)
akios setup # Interactive wizard for API keys and settings
# Use --force to re-run setup: akios setup --force
# 3. Run your first workflow
akios run templates/hello-workflow.yml
# 4. Check results and status
akios status
cat data/output/run_*/hello-ai.txt
v1.0 UX and Value
AKIOS v1.0 is designed around one workflow per project so users can run, test, and deploy a single, focused workflow with minimal setup.
What users get in v1.0:
- Security-first execution in Docker and native Linux (Linux provides the strongest guarantees).
- Ready-to-run templates to learn fast, then adapt for real use cases.
- Clear outputs in timestamped run folders under
data/output/run_*/. - Audit trails for every workflow, with export support for compliance reporting.
Verify Your Installation
# All installation methods support the same commands:
akios --version # Show version
akios --help # Show help
akios init my-project # Create new project
cd my-project
akios setup # Configure API keys and settings
akios status # Check system status
akios files # Show available input/output files
akios run templates/hello-workflow.yml # Run sample workflow
AKIOS includes a guided setup wizard that makes configuration effortless:
- Interactive provider selection (OpenAI, Anthropic, Grok, Mistral, Gemini)
- Model selection (gpt-4o, claude-3.5-sonnet, grok-3, etc.)
- Real API key validation with test calls
- Budget and token limit configuration
- Secure storage in .env file
akios setup # Run the guided setup wizard
Manual configuration is also available:
cp .env.example .env
# Edit .env with your API keys
⚠️ IMPORTANT: Project Context
All project commands (run, status, audit, clean, etc.) expect to be run from INSIDE your project directory (after cd my-project).
❌ Wrong (unexpected results):
./akios init my-project
./akios run templates/hello-workflow.yml # Uses current dir as context!
./akios status # Shows wrong project data!
✅ Correct (intended experience):
./akios init my-project
cd my-project # ← REQUIRED STEP
./akios run templates/hello-workflow.yml
./akios status
Running project commands from outside uses the current directory as context — this may cause unexpected results (wrong outputs, wrong audit data, etc.).
Always cd into your project folder for the intended experience.
What this gives you:
- ✅ Standalone Binaries: Zero-dependency deployment with full security
- ✅ Pip Package: Maximum security on Linux (kernel-hard features)
- ✅ Docker: Strong cross-platform security (all operating systems)
- ✅ Cross-platform support (Linux, macOS, Windows)
- ✅ Compliance-ready for regulated environments
- ✅ Real LLM integration with audit trails
- ✅ Cryptographic verification (SHA256 hashes for all downloads)
✨ Key Features
- 🔒 Security Sandboxing: Kernel-hard isolation on native Linux (seccomp-bpf + cgroups) or strong policy-based security in Docker — agents cannot escape
- 🛡️ Comprehensive PII Redaction: 50+ pattern detection covering personal, financial, health, and location data before LLM processing
- 📊 Merkle Audit Trails: Cryptographic proof of execution integrity — tamper-evident JSON exports
- 💰 Cost Kill-Switches: Hard budget limits ($1 default) with automatic termination on violations
- ⚡ Zero-Dependency Deployment: Standalone binaries for air-gapped environments, plus pip packages for Python integration
- 🔧 Core Agents: Filesystem, HTTP, LLM, and Tool Executor agents for complete AI workflows
- ✅ Real AI Integration: Templates use actual LLM APIs - not mock responses or demo placeholders
- 🚀 10/10 Performance: Validated performance metrics across all platforms (native Linux: 25ms startup, 44.44 wf/s throughput; Docker: <1000ms startup, >5 wf/s throughput)
⚡ Performance Highlights
AKIOS v1.0.4 achieves 10/10 performance scores across all platforms:
Native Linux (Maximum Performance)
✅ Startup: 25ms (sub-50ms latency)
✅ Throughput: 44.44 workflows/second
✅ Memory: 21MB footprint
✅ Scaling: 100% efficiency (perfect horizontal scaling)
✅ Cost: Industry-leading AI agent execution speed
Docker (Cross-Platform Performance)
✅ Startup: <1000ms (container overhead normal)
✅ Throughput: >5 workflows/second (parallel-friendly)
✅ Memory: <150MB (containerized)
✅ Scaling: >90% efficiency
✅ Cost: Excellent cross-platform performance
Why Both Scores Matter:
- Native Linux (EC2/Kubernetes): Choose for maximum performance & security, lowest cost at scale
- Docker (macOS/Windows/Cloud): Choose for cross-platform compatibility, strong security, excellent performance
Both performance profiles are validated and blocking for every release — we measure both to ensure no regressions as AKIOS evolves.
See Native Linux Performance (EC2) and Docker Performance for detailed validation reports.
⚖️ Legal Disclaimers & User Responsibility
AKIOS Performance Validation Scope
AKIOS v1.0.4 performance metrics are validated ONLY on AWS EC2 t3.medium instances in us-east-1 region. Your actual performance may differ significantly based on:
- Instance type and size
- AWS region and network latency
- System load and other processes
- Workflow complexity and input data size
- LLM API provider response times
- Configuration choices
What AKIOS Guarantees
✅ Security of the sandbox - Full kernel-hard isolation on native Linux (verified with 26/26 security tests)
✅ PII redaction - 50+ pattern detection (>95% accuracy)
✅ Audit integrity - Cryptographic Merkle proofs of execution
✅ Performance baseline - 25ms startup & 44.44 wf/s throughput on t3.medium
What AKIOS Does NOT Guarantee
❌ AWS infrastructure performance - Varies by instance type and region
❌ AWS account security - Your responsibility to manage credentials and IAM
❌ AWS cost management - You are responsible for monitoring AWS billing
❌ Performance on untested instances - Test on YOUR instance before assuming performance
❌ Results from misconfigured deployments - Configuration errors are user responsibility
User Responsibilities
AWS Account Security
- Keep access keys safe — never commit to git or share
- Use IAM roles with least-privilege permissions (don't use root credentials)
- Enable CloudTrail for API audit logging
- Rotate credentials regularly and monitor account activity
- Use security groups to restrict EC2 access (SSH on port 22 only)
AKIOS is NOT responsible for:
- EC2 instance compromise or account takeover
- AWS IAM misconfigurations
- Leaked credentials or API keys
- Unauthorized access to your instances
Cost Management
- Monitor your AWS bill actively during testing
- Set up AWS billing alerts to prevent surprise charges
- Terminate instances when testing is complete
- Understand EC2 pricing for your region and instance type
- Use on-demand or spot instances according to your needs
AKIOS is NOT responsible for:
- AWS infrastructure charges you incur
- Runaway instances left running after testing
- Data transfer costs or unexpected charges
- Regional price variations
Note: AKIOS includes budget kill-switches for LLM API costs ($1 default), but this does NOT cover AWS EC2, storage, or data transfer costs.
Data Security
- Encrypt sensitive files before processing through AKIOS
- Don't hardcode secrets in workflow definitions or code
- Use environment variables for credentials
- Secure EC2 instances with proper security groups and SSH key management
- Review permissions on all input files and directories
AKIOS is NOT responsible for:
- EC2 instance compromise due to misconfiguration
- Secrets leaked through mismanaged workflows
- Data breaches from improperly configured security groups
- Malicious workflows from untrusted sources
Infrastructure Validation
- Test on YOUR instance type (not just t3.medium)
- Validate performance meets YOUR requirements
- Understand differences between baseline and your setup
- Document findings for your team and future reference
AKIOS is NOT responsible for:
- Performance degradation on untested instance types
- Results that don't match your use case
- Infrastructure issues outside AKIOS control
- Third-party software conflicts or misconfiguration
Performance Testing & Validation
We provide two resources to help validate AKIOS for your use case:
-
EC2 Performance Testing Guide (Complete how-to)
- Instance type recommendations by use case
- Step-by-step EC2 setup instructions
- Performance optimization tips
- Cost estimation and control strategies
- Troubleshooting for common issues
- Security best practices for AWS
-
Native vs Docker Performance Comparison (Detailed analysis)
- Side-by-side metrics comparison
- Performance analysis for each metric
- Decision matrix: when to use each platform
- Validation results and methodologies
When Testing AKIOS on AWS EC2
✅ Before starting:
- Understand AWS costs in your region (check EC2 pricing)
- Secure your AWS credentials properly
- Plan for instance cleanup after testing
- Have valid LLM API credentials ready
✅ During testing:
- Monitor your AWS billing actively
- Document your instance type and actual performance
- Verify security status (kernel-hard isolation confirmed)
- Test both mock and real API modes
✅ After testing:
- Terminate EC2 instances to stop charges
- Archive results and performance baselines
- Rotate any exposed credentials immediately
- Clean up S3, CloudTrail, or other resources
🔍 Audit & Compliance
AKIOS v1.0 provides raw, tamper-evident audit logs (JSONL format) for every workflow execution.
akios audit— view recent eventsakios audit export --format json— raw JSON export
🛡️ Security Levels by Environment
AKIOS v1.0 uses Linux kernel features for maximum security. Security levels vary by deployment environment:
Native Linux (Recommended for Production)
- Security Level: Full (kernel-hard)
- Features:
- ✓ cgroups v2 resource isolation
- ✓ seccomp-bpf syscall filtering
- ✓ Unbreakable containment
- Requirements: Linux kernel 3.17+ with cgroups v2 support,
libseccomp-devinstalled - Benefit: Provides the highest level of process isolation and syscall control, preventing even sophisticated attacks
Docker (All Platforms)
- Security Level: Strong (policy-based)
- Features:
- ✓ Command/path allowlisting
- ✓ PII redaction (rule-based, 50+ patterns)
- ✓ Audit logging
- ✓ Container isolation
- ✓ Cross-platform compatibility
- Requirements: Docker installed and running
- Benefit: Provides reliable security across macOS, Linux, and Windows
macOS/Windows (Via Docker Only)
- Security Level: Strong (policy-based)
- Features: Command allowlisting, PII redaction, audit logging, container isolation
- Requirements: Docker Desktop installed and running
- Benefit: Provides reliable security across all platforms
For maximum security: run on native Linux.
Docker provides strong security — but not the absolute maximum.
🔧 Docker Troubleshooting
Installation Issues
Wrapper Script Download Issues
# Verify the wrapper script downloaded correctly
ls -la akios && file akios
# Expected output:
# -rw-r--r-- 1 user group 3426 Jan 17 17:56 akios
# akios: Bourne-Again shell script text executable, Unicode text, UTF-8 text
# If download failed, use Direct Docker fallback:
docker run --rm -v "$(pwd):/app" -w /app akiosai/akios:v1.0.4 init my-project
cd my-project
# Create wrapper script for future use
echo '#!/bin/bash
exec docker run --rm -v "$(pwd):/app" -w /app akiosai/akios:v1.0.4 "$@"' > akios
chmod +x akios
./akios --version # Should show "AKIOS 1.0.4"
Docker Installation Issues
# Check Docker installation
docker --version
docker system info
# Restart Docker if needed
# On macOS: Restart Docker Desktop
# On Linux: sudo systemctl restart docker
# On Windows: Restart Docker Desktop
Performance Issues
- Expected behavior: Optimized Docker performance with automatic container-aware optimizations
- If slow: Check Docker resource limits, restart Docker
- Network issues: Ensure stable internet connection
- File operations: AKIOS automatically optimizes I/O operations for containerized environments
Compatibility Issues
- Platform support: Works on macOS, Linux, Windows
- Resource requirements: 2GB RAM minimum, 4GB recommended
- Permission issues: Ensure Docker has proper access to project directories
Runtime Errors
# Check Docker daemon logs
docker system info
# Test Docker directly
docker run hello-world
# Check AKIOS logs
akios logs --limit 10
Security Expectations
AKIOS provides strong policy-based security in Docker:
- Command allowlisting active
- PII redaction works
- Audit trails maintained
- Container isolation provided
- Memory usage: ~50MB additional per container
- Disk space: ~500MB for Docker images
Known Limitations
- Large workflows: May require increased Docker resource limits
- Network timeouts: AI API calls may need longer timeouts in containers
- File permissions: Ensure proper volume mounting permissions
Performance Expectations
Typical performance with AI workflows:
| Metric | Docker (All Platforms) | Native Linux (AWS EC2) |
|---|---|---|
| Startup time | 0.5-0.8s | 0.4-0.5s (10-20% faster) |
| Runtime overhead | 0% (optimized) | -5-10% (more efficient) |
| Memory usage | 60-80MB | 40-60MB (25-33% less) |
| Security level | Policy-based | Full kernel-hard features |
| Compatibility | Full | Full |
✅ Validated Results: Native Linux performance exceeds Docker baselines with superior efficiency and security.
Recommendation: Use native Linux for maximum performance and security, Docker for cross-platform compatibility.
🎯 What AKIOS Solves
The AI Security Crisis: AI agents can leak sensitive data, run up massive bills, and execute dangerous code — all while being impossible to audit.
AKIOS Solution: Every AI workflow runs inside a hardened security cage with:
- Zero data leakage through automatic PII redaction
- Predictable costs through hard budget enforcement
- Complete auditability through cryptographic logging
- Unbreakable containment through kernel-level isolation
- Real AI functionality - templates produce actual AI-generated content using OpenAI/Anthropic/Grok/Mistral/Gemini
📋 Limits (v1.0)
AKIOS v1.0 is minimal by design — focused on security fundamentals:
- Linux kernel required (5.4+ for cgroups v2 + seccomp-bpf security)
- Docker recommended (provides Linux environment for macOS/Windows users)
- Sequential workflows only (no parallel execution)
- Core agents (filesystem, HTTP, LLM, tool executor)
- Basic CLI (10 commands: init, setup, run, workflow, audit export, logs, status, templates, testing, clean)
- No API server (CLI-only in v1.0)
- No monitoring dashboard (command-line only)
These limits ensure bulletproof security. Advanced features come in future releases.
⚠️ Production Security Warning
🔑 API Keys Required: v1.0 requires real API keys for LLM functionality. See setup instructions below.
AKIOS v1.0 provides genuine LLM API integration with OpenAI, Anthropic, Grok, Mistral, and Gemini for real workflows and audit-ready results.
🛠️ Installation
Requirements
- Linux kernel 3.17+ with cgroups v2 and seccomp support
- Python 3.8+
- pip for installation
Install from PyPI
pip install akios
Verify Installation
akios --version
📦 Dependencies
AKIOS uses a structured dependency management system for different use cases:
Core Dependencies (requirements.txt)
Runtime dependencies required to run AKIOS workflows:
- Core functionality:
pydantic,click,pyyaml,jsonschema - LLM providers:
openai,anthropic(for AI agent functionality) - Security:
cryptography,psutil - System monitoring:
psutil,httpx
Build Dependencies (requirements-build.txt)
Development and build-time tools:
- Testing:
pytest,pytest-cov(comprehensive test coverage) - Code quality:
black,flake8,mypy(linting and type checking) - Documentation:
sphinx(docs generation)
Installation Options
| Option | Command | Includes | Use Case |
|---|---|---|---|
| Minimal | pip install akios |
Core runtime only | Basic workflows, no AI |
| With AI | pip install akios[agents] |
+ LLM providers | Full AI functionality |
| Development | pip install akios[dev] |
+ Testing tools | Contributing to AKIOS |
| API Server | pip install akios[api] |
+ FastAPI, uvicorn | REST API deployment |
| Docker Build | N/A | Both files | Container deployment |
Docker vs PyPI Dependencies
- PyPI installs use
pyproject.tomldependencies (modern Python packaging) - Docker builds use both
requirements.txt+requirements-build.txtfor complete environments - Security libraries (
seccomp) are platform-specific and handled via optional dependencies
🐧 Advanced Installation Options
Choose the best deployment method for your use case:
Option 1: Native Linux (Maximum Security)
For Linux users who prefer native performance (no Docker overhead) or need maximum security isolation:
Requirements:
- Linux kernel 3.17+ (for cgroups v2 + seccomp security features)
- Python 3.8+
- GCC/make for optional agent dependencies
Install with full security:
# Full installation with LLM support
pip install akios[agents]
# Or minimal install (no LLM support)
pip install akios
Verify Security Features
# Check if kernel security features are available
akios status | grep -E "(Sandbox|Audit|seccomp)"
Option 2: Docker (All Platforms - Strong Security)
For cross-platform compatibility:
Requirements:
- Docker installed and running
- Cross-platform support (macOS, Linux, Windows)
Setup:
# Download the wrapper script
curl -O https://raw.githubusercontent.com/akios-ai/akios/main/akios
ls -la akios && file -b akios # Verify download (shell script)
chmod +x akios
# Run (provides strong cross-platform security)
./akios run templates/hello-workflow.yml
Benefits: Reliable security across all platforms with simple setup.
⚠️ Docker is strongly recommended for cross-platform users — it provides consistent Linux environment and automatic dependency management.
🤖 LLM Provider Setup
AKIOS supports 5 LLM providers for maximum flexibility. Use the guided setup wizard for easy configuration:
Guided Setup (Recommended)
# After creating your project:
cd my-project
# Run the interactive setup wizard
akios setup
The wizard guides you through:
- Provider selection (OpenAI, Anthropic, Grok, Mistral, Gemini)
- Model selection for your chosen provider
- API key entry with validation
- Budget and security settings
Manual Setup
# Alternative: Manual configuration
cd my-project
cp .env.example .env
# Edit .env with your real API keys (NEVER commit .env to version control)
OpenAI (Default)
# Add to .env file:
OPENAI_API_KEY=sk-your-key-here
AKIOS_LLM_PROVIDER=openai
Anthropic (Claude)
# Add to .env file:
ANTHROPIC_API_KEY=sk-ant-your-key-here
AKIOS_LLM_PROVIDER=anthropic
Grok (xAI)
# Add to .env file:
GROK_API_KEY=xai-your-grok-key-here
AKIOS_LLM_PROVIDER=grok
Using Different Providers in Templates
Specify your preferred provider in workflow configurations:
steps:
- agent: llm
config:
provider: anthropic # openai, anthropic, or grok
api_key: "${ANTHROPIC_API_KEY}"
model: "claude-3.5-sonnet"
action: complete
parameters:
prompt: "Analyze this data..."
Supported Models:
- OpenAI: gpt-3.5-turbo, gpt-4, gpt-4-turbo, gpt-4o, gpt-4o-mini
- Anthropic: claude-3.5-haiku, claude-3.5-sonnet
- Grok: grok-3, grok-3-turbo
🔑 API Keys Required: v1.0 uses real LLM APIs - you must provide API keys.
Set AKIOS_MOCK_LLM=1 to use mock responses (for testing/CI without API keys).
🛡️ Security Safeguards
Provider Allowlist: Only explicitly allowed providers can be used. Configure in config.yaml:
allowed_providers: ["openai", "anthropic", "grok"] # Restrict to specific providers
Mock Mode for Testing Only: Use fake responses for development/testing without API keys:
# Enable mock mode via environment variable
export AKIOS_MOCK_LLM=1
# Or via config.yaml
mock_llm_fallback: true
When to Use Mock vs Real Mode
| Use Case | Recommended Mode | Why |
|---|---|---|
| Learning AKIOS | Mock Mode | Instant setup, explore features without API keys |
| Developing Workflows | Mock Mode | Test logic and templates without API costs |
| CI/CD Testing | Mock Mode | Fast, reliable automated testing |
| Production Workflows | Real Mode | Full AI capabilities with real providers |
| Cost-Sensitive Tasks | Real Mode | Actual AI responses (with budget controls) |
| High-Quality Output | Real Mode | Best results from GPT-4, Claude, Grok, etc. |
Both safeguards ensure 100% bulletproof operation in all environments.
🛡️ Security Levels by Environment
AKIOS adapts its security approach based on the deployment environment:
Native Linux (Recommended for Production)
- Security Level: Full (kernel-hard)
- Features: cgroups v2 + seccomp-bpf + comprehensive audit
- Requirements: Linux kernel 3.17+, root access for security setup
- Use Case: Production, high-security environments
Docker Containers (Recommended for Development/Testing)
- Security Level: Partial (policy-based)
- Features: Command allowlist + path restrictions + PII redaction + audit
- Limitations: Cannot use kernel-level seccomp-bpf (container restrictions)
- Use Case: Development, CI/CD, cross-platform deployment
macOS/Windows (Via Docker Only)
- Security Level: Partial (policy-based)
- Features: Same as Docker containers
- Requirements: Docker Desktop installed
- Use Case: Local development on non-Linux platforms
Check Your Security Level
akios status
Look for the 🛡️ Security Status section to see your current security level and capabilities (Full kernel-hard or Strong policy-based).
📋 Quick Start & Core Files
The essential files you'll need to get started:
- GETTING_STARTED.md – 3-minute try-it-now guide
- AGENTS.md – Core agents (LLM, HTTP, Filesystem, Tool Executor)
- RELEASES.md – What v1.0 delivers and scope limitations
- akios – Smart wrapper (Cross-platform Docker launcher)
- config.yaml – Default configuration template
- Dockerfile – Official Docker build
- DEPLOYMENT.md – Deployment philosophy and security-first approach
- TROUBLESHOOTING.md – Common issues and solutions
📚 Documentation
🚀 Quick Start
- Getting Started - 3-minute setup guide with Docker wrapper
- Templates - 4 production-ready AI workflow examples
- Roadmap - Vision, future plans, and PRO strategy
📖 Complete Guides
- Configuration - Settings and environment variables
- CLI Reference - All command-line options
- Security Overview - Security features and compliance
- Deployment - Production deployment options
- Troubleshooting - Common issues and solutions
🏗️ Design & Architecture
- CLI Scope & Boundaries - v1.0 CLI design constraints and limitations
📋 Documentation Index - All guides in one place
🔒 Security First
AKIOS is built around unbreakable security:
Process Isolation
- Kernel-level sandboxing using cgroups v2 + seccomp-bpf
- Syscall interception blocks dangerous operations
- Process containment prevents escape attempts
Data Protection
- Comprehensive PII redaction (50+ pattern coverage)
- No sensitive data reaches LLM processing
- Cryptographic audit trails prove compliance
Cost Control
- Hard budget limits ($1.00 default per workflow)
- Token restrictions prevent runaway LLM costs
- Automatic kill-switches on violations
Audit Integrity
- Merkle tree verification ensures tamper-evident logs
- JSON exports for regulatory compliance
- Cryptographic proof of execution integrity
🚀 Production AI Workflows
AKIOS ships with 4 production-ready AI applications (not demo placeholders):
Hello World
akios run templates/hello-workflow.yml
Basic file operations - proves the security cage works.
Real AI Document Analysis
# Create sample document
echo "Contact john.doe@example.com for project details. Phone: 555-123-4567" > data/input/document.txt
# Get real AI summary with automatic PII redaction
akios run templates/hello-workflow.yml
# Verify AI output was generated
cat data/output/run_*/summary.txt
AI-Powered File Analysis
# Create file to analyze
echo "Sample data for AI analysis" > data/input/analysis_target.txt
# Get real AI insights with syscall sandboxing
akios run templates/file_analysis.yml
# Check AI-generated analysis
cat audit/analysis_integrity.txt
Cost-Controlled AI Data Enrichment
# Create input data
echo "Sample files for batch processing" > data/input/batch/sample1.txt
echo "More content for analysis" > data/input/batch/sample2.txt
# Process multiple files with AI aggregation
akios run templates/batch_processing.yml
# Verify AI output
cat data/output/run_*/batch-summary.json
Note: The batch_processing.yml template processes multiple local files with AI analysis; all LLM outputs are real when AKIOS_MOCK_LLM=0.
All templates produce real AI-generated content using your chosen LLM provider (OpenAI/Anthropic/Grok/Mistral/Gemini) - not placeholder text.
📈 Roadmap
Current: v1.0 - Security cage fundamentals (Linux-only, minimal features)
Future Releases:
- Enhanced Security: Additional compliance features, advanced monitoring
- Cross-Platform: macOS/Windows support with equivalent security
- Advanced Orchestration: Parallel execution, workflow dependencies
- Advanced Integrations: REST API, monitoring dashboard, advanced integrations
🤗 Community
- GitHub Issues: Bug reports and feature requests
- GitHub Discussions: Questions and community support
- Security: Report vulnerabilities to security@akioud.ai
📄 License
AKIOS Open Runtime is licensed under the GPL-3.0-only license. The security cage and audit system ensure AI agents run safely while maintaining full transparency through open source.
Built with security-first principles. Run AI agents safely — anywhere.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file akios-1.0.4.tar.gz.
File metadata
- Download URL: akios-1.0.4.tar.gz
- Upload date:
- Size: 470.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed90e4a15b90e727692c98d9d31352957821287f8e46274dd38bb053ffe2632a
|
|
| MD5 |
d012599d8068211febfad5d9815c16a7
|
|
| BLAKE2b-256 |
b5d15ee3bca34dce49413cd15c4e75e78b198f20904d5ae7ed17d541ed7eeb8d
|
File details
Details for the file akios-1.0.4-py3-none-any.whl.
File metadata
- Download URL: akios-1.0.4-py3-none-any.whl
- Upload date:
- Size: 431.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
829b1f1bc5dbc39c003dd5ef93035c247405b681323bb5a8d714b7a6ca956b3e
|
|
| MD5 |
d2b2b794c7f0e68eb58d21e6a44db17d
|
|
| BLAKE2b-256 |
41cbe740dca7e7bed68127ab7e3ae7984ecb36d689d6a25b1e48749db88480cb
|