Architecture

Platform Architecture

weaveIntel is built as a layered runtime. Each layer is independently configurable, testable, and replaceable — giving you complete control over your AI infrastructure.

Runtime Layers

Five layers, one runtime

Each layer handles a specific concern. Together, they form a complete AI runtime that scales from a single developer to enterprise deployments.

Your App
Your Application — React, Next.js, Express, or any framework. weaveIntel runs alongside your stack.
Orchestrate
Loom Engine · Skill Router · Memory Fabric · Context Manager · Agent Lifecycle
Govern
Policy Engine · PII Detection · Audit & Lineage · RBAC · Content Safety
Connect
Model Gateway · Tool Framework · Data Connectors · Vector Search · Event Bus
Scale
Auto-Scaling · Semantic Cache · Cost Analytics · Performance Monitor · Load Balancer
Extend
Skill SDK · Custom Policies · UI Components · Webhooks · Extension Registry

APIs

Three API surfaces

Interact with weaveIntel at the level that suits your needs — from high-level REST to low-level runtime hooks.

🌐

REST API

OpenAPI 3.1 compliant REST API for Loom management, skill invocation, policy configuration, and analytics. Authentication via API keys or JWT.

OpenAPI 3.1 JSON SSE Streaming
🔌

SDK

Type-safe TypeScript/JavaScript SDK with full IntelliSense support. Programmatic access to every runtime capability with async/await patterns.

TypeScript JavaScript Python (soon)
🔧

CLI

Command-line interface for project scaffolding, Loom management, deployment, and monitoring. Ideal for CI/CD pipelines and automation scripts.

npx Global install CI/CD ready

Principles

Design principles

The architectural decisions that guide every line of weaveIntel code.

🛡

Governance First

Every AI interaction passes through governance layers before execution. Compliance is not an afterthought — it’s the foundation.

🔌

Provider Agnostic

No vendor lock-in. Switch between OpenAI, Anthropic, Google, or local models without changing application code. Your AI, your choice.

👀

Observable by Default

Every token, every decision, every cost is tracked automatically. Full distributed tracing, metrics, and audit logs out of the box.

🛠

Plugin Everything

Skills, policies, adapters, and UI components are all plugins. Extend or replace any part of the runtime without forking.

📈

Scale Linearly

Horizontal scaling with zero configuration. From a single process to a distributed cluster, weaveIntel adapts to your workload.

Developer Joy

Great DX matters. Type-safe APIs, hot reload, comprehensive docs, and clear error messages. Build with confidence and speed.

Explore the code

Dive into the source code, read the architecture docs, or scaffold your first project.