OpenClaw: The Open-Source AI-Agent Runtime

The Apache 2.0 Engine Inside STRATRONIX STA-100 PAA — Self-Hostable, Auditable, Enterprise-Grade

Published 2026-07-27 · By Stratronix AI · 9 min read · Technical Series

Why OpenClaw exists: AI agent infrastructure should be auditable. Closed-source AI agent platforms create vendor lock-in and unverifiable security claims. STRATRONIX built OpenClaw as a fully open-source (Apache 2.0) AI-agent runtime so every enterprise can inspect, modify, and self-host the agent that holds their prompts, documents, and business workflows.

1. What Is OpenClaw?

OpenClaw is the AI-agent runtime that runs inside STRATRONIX STA-100 PAA. It is also available standalone as an open-source project (Apache 2.0 license) for organisations that want to deploy the same agent runtime on their own infrastructure (Linux server, container, VM) without buying STRATRONIX hardware.

PropertyValue
LicenseApache 2.0 (permissive, commercial-friendly)
LanguagePython 3.11+ with Rust core for performance-critical paths
Minimum hardware4-core ARM / x86, 4GB RAM, 64GB storage
OS supportUbuntu 22.04+, Debian 12+, RHEL 9+, macOS, Windows WSL2
Container supportDocker, Podman, Kubernetes
Cloud LLM providersOpenAI, Anthropic, Mistral, Aleph Alpha, OpenAI Azure, AWS Bedrock, Google Vertex, Aliyun, DeepSeek, Ollama, vLLM
Embedding modelsOpenAI text-embedding-3, BGE-M3, E5-large, instructor-xl, custom
Vector storesSQLite-vec, FAISS, Qdrant, Milvus, Pinecone, Weaviate
Chat clientsFeishu, WeChat Work, Slack, Teams, Telegram, WhatsApp, Discord, Email
Documentationdocs.openclaw.ai (mirrored to GitHub Pages)
Source repositorygithub.com/stratronix/openclaw

2. Core Architecture

OpenClaw follows a modular agent architecture inspired by the ReAct (Reasoning + Acting) pattern. The runtime has four layers:

  1. Inbound layer — receives messages from chat clients (Feishu, Slack, etc.) and web UI
  2. Agent core — processes the message: classifies intent, retrieves RAG context, plans actions, calls LLM
  3. Tool layer — executes actions: search documents, send emails, query databases, call APIs
  4. Outbound layer — formats responses and sends back to the user via the originating chat client

3. The Agent Loop (ReAct Pattern)

For each user message, OpenClaw runs the following loop:

  1. Receive message from chat client
  2. Pre-process — redact PII, classify intent, check permissions
  3. Retrieve — query local RAG knowledge base for relevant context (vector search + keyword)
  4. Plan — agent decides: direct answer, retrieve more, or call a tool
  5. Act — call cloud LLM with full context; optionally call a tool (e.g., search internal CRM)
  6. Verify — check response for policy violations, hallucinations, sensitive content
  7. Respond — format and send back to the user
  8. Log — write structured log entry to local audit database

Each step is logged locally for auditability and replay debugging.

4. RAG Engine

OpenClaw's RAG (Retrieval-Augmented Generation) engine keeps your documents on-device:

Important: Document text never leaves your device. Only the embedding vectors and the LLM context window contents are sent to the cloud LLM during a query. The cloud LLM provider sees the query text + retrieved context (which you can redact before sending), but never sees your full document store.

5. Tool Layer (Integrations)

OpenClaw ships with pre-built integrations for common enterprise tools:

CategoryTools
Chat / MessagingFeishu, WeChat Work, Slack, MS Teams, Telegram, WhatsApp, Discord
EmailSMTP/IMAP, Gmail API, Microsoft Graph, Outlook
CalendarGoogle Calendar, Microsoft 365, CalDAV
Document StorageLocal filesystem, S3, Aliyun OSS, Nextcloud, SharePoint
DatabasesPostgreSQL, MySQL, SQLite, MongoDB, ClickHouse
CRMSalesforce, HubSpot, Zoho, Pipedrive (via REST)
TicketingJira, Linear, Zendesk, Freshdesk
SearchElasticsearch, Meilisearch, Typesense
CustomWebhook + OpenAPI / OpenRPC / MCP tools

Custom tools can be added via the MCP (Model Context Protocol) standard or simple Python function decorators. Every tool call is logged locally.

6. Configuration & Deployment

A minimal OpenClaw config (YAML) for a typical European SMB:

# openclaw.yaml — minimal European SMB deployment
agent:
  name: paa-smb
  cloud_llm:
    provider: mistral
    region: eu-west-1
    api_key_secret: env:MISTRAL_API_KEY
rag:
  embedding_model: bge-m3
  vector_store: sqlite-vec
  documents_path: /srv/openclaw/documents
chat_clients:
  feishu:
    app_id: env:FEISHU_APP_ID
    app_secret: env:FEISHU_APP_SECRET
security:
  disk_encryption: aes-256
  audit_log: /var/log/openclaw/audit.jsonl
  redaction_pii: enabled
network:
  outbound_allow:
    - api.mistral.ai
    - api.openclaw.ai (OTA updates only)

7. Audit Trail & Compliance

Every agent action is logged to a local append-only JSONL file. Each log entry includes:

Audit logs can be exported to your SIEM (Splunk, Elastic, Datadog) via OpenClaw's webhook integration.

8. Security Model

OpenClaw's security model assumes the host network is hostile. Defences include:

9. OTA Updates

STRATRONIX-managed OpenClaw instances (running on STA-100) receive automatic OTA updates for security patches and new features. Update cadence:

Self-hosted OpenClaw installations can opt out of OTA and pin to a specific version. STRATRONIX commits to maintaining the v1.x branch for 3 years from release.

10. Self-Hosting OpenClaw (Without STRATRONIX Hardware)

If your organisation prefers to deploy OpenClaw on existing infrastructure:

  1. Clone the repository — github.com/stratronix/openclaw
  2. Install dependencies — pip install openclaw (or docker pull stratronix/openclaw)
  3. Configure — openclaw.yaml with your cloud LLM provider and document paths
  4. Run — openclaw serve --config openclaw.yaml
  5. Bind chat clients — scan QR code from the admin UI

Self-hosted instances receive the same OTA updates (configurable) and access the same documentation. STRATRONIX charges no licensing fee for OpenClaw itself; revenue comes from the STA-100 hardware.

11. Roadmap (2026-2027)

12. Why Open Source?

Closed-source AI infrastructure creates unverifiable security claims. Every line of OpenClaw that runs on your device is auditable. Security researchers can inspect, modify, and self-host the runtime. This is a deliberate architectural choice: open-source is the only path to enterprise trust at scale. STRATRONIX commits to keeping OpenClaw open-source indefinitely; the business model is built around hardware and managed services, not software lock-in.

Try OpenClaw today

Apache 2.0 · Self-hostable · $399 on STRATRONIX STA-100

→ View on GitHub → View STA-100