PrismRefraction
The governance-native Agent OS. Cryptographically sealed 10-Law security, tri-model cognitive orchestration, and secure full-stack computer use with immutable CAC accountability.
Install / Use
claude mcp add kirklasalle -- npx -y github:kirklasalle/PrismRefractionIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
SecuritySupported Platforms
Skill content
View source on GitHubPRISM — Governance-Native Agents-as-a-Service Runtime
The first open-source agent platform with cryptographically enforced governance, tri-model cognitive orchestration, and full computer-use autonomy — designed for operators who refuse to choose between power and accountability.
PRISM is not another chatbot wrapper. It is a production-grade autonomous agent operating system that orchestrates LLM reasoning, browser automation, terminal virtualization, container sandboxing, and multi-agent swarms — all governed by an immutable policy engine with cryptographic integrity verification at boot and runtime.
Where other platforms bolt on safety as an afterthought, PRISM makes governance load-bearing architecture: every tool invocation, every agent decision, every autonomous action passes through a 3-tier policy engine before execution. High-risk operations require explicit human approval. Denials and timeouts are first-class tested behaviors. The operator is always supreme.
"PRISM doesn't just run agents — it runs them with honor."
Why PRISM
The Problem
Every agentic framework today asks you to make the same trade-off: power or safety, autonomy or control, speed or transparency. The result is platforms that are either too constrained to be useful or too unconstrained to be trusted.
The PRISM Difference
PRISM eliminates that trade-off entirely through governance-native architecture — safety isn't a guardrail bolted onto the side; it's the foundation everything else is built on.
| Capability | Other Frameworks | PRISM | | :------------------ | :--------------------------------------- | :------------------------------------------------------------------------------------ | | Governance | Prompt-level guardrails, easily bypassed | Cryptographically enforced 10 Laws (SHA-256 integrity, CI-gated) | | Policy Engine | Basic allow/deny lists | 3-tier authority model with approval queues, timeouts, and denial paths | | Multi-Model | Single model per request | Spectrum Refraction: tri-model parallel fan-out with structured aggregation | | Computer Use | Browser-only or terminal-only | Full-stack: browser + terminal + container sandbox, all policy-governed | | Agent Lifecycle | Stateless tool calls | Managed lifecycles (ephemeral → semi-permanent → permanent) with swarm coordination | | Identity | API key auth | IAM with RBAC, SSO (OIDC/SAML), SCIM provisioning, character accountability chains | | Observability | Basic logging | SHA-256 hashed activity events, LLRE cognitive economics, retrieval quality telemetry | | Self-Hosting | Cloud-only or limited local | Fully self-hostable, runs on consumer hardware, your data never leaves your machine |
✦ Architecture at a Glance
┌──────────────────────────────────────────────────────────────┐
│ OPERATOR DASHBOARD │
│ Chat │ Agents │ Browser │ Computer │ Network │ Telemetry │
└──────────────────────────┬───────────────────────────────────┘
│
┌──────────────────────────▼───────────────────────────────────┐
│ GOVERNANCE PLANE │
│ ┌─────────┐ ┌──────────────┐ ┌──────────────────────┐ │
│ │ 10 Laws │ │ 3-Tier Policy│ │ Approval Queue │ │
│ │ (PAD) │──│ Engine │──│ (tier2/tier3 gates) │ │
│ │ SHA-256 │ │ auto│cond│apv│ │ approve/deny/timeout │ │
│ └─────────┘ └──────────────┘ └──────────────────────┘ │
└──────────────────────────┬───────────────────────────────────┘
│
┌──────────────────────────▼───────────────────────────────────┐
│ COGNITIVE RUNTIME │
│ ┌──────────┐ ┌──────────────┐ ┌─────────────────────┐ │
│ │ Spectrum │ │ Agent Pool │ │ Skills Engine │ │
│ │Refraction│ │ + Swarm Coord│ │ (Browser Researcher, │ │
│ │ (SR) │ │ + Task Decomp│ │ Terminal, Calendar, │ │
│ │ 3-model │ │ 4 topologies │ │ Email, Media, etc.) │ │
│ └──────────┘ └──────────────┘ └─────────────────────┘ │
│ ┌──────────┐ ┌──────────────┐ ┌─────────────────────┐ │
│ │ LLRE │ │ Causal Memory│ │ Guardian Agent │ │
│ │ Cognitive│ │ Fabric │ │ (local llama.cpp, │ │
│ │Economics │ │ (episodic + │ │ autonomous health │ │
│ │ TEQ/RSI │ │ session + │ │ monitor + PAD │ │
│ │ CSR/TCA │ │ semantic) │ │ integrity checker) │ │
│ └──────────┘ └──────────────┘ └─────────────────────┘ │
└──────────────────────────┬───────────────────────────────────┘
│
┌──────────────────────────▼───────────────────────────────────┐
│ TOOL ADAPTERS (Agent-Computer Interface) │
│ System │ Protocol │ Application │ Network │ Cognition │
│ Shell HTTP Browser 50+ cmds SR Tool │
│ FS A2A Terminal PTY ipconfig Autonomous │
│ Docker Container ping Planner │
│ Images Email/OAuth tracert │
│ Audio Calendar netstat │
│ Video Tasks/Notes nslookup │
│ Screen Media Gen │
└──────────────────────────────────────────────────────────────┘
✦ Novel Engineering
1. Permanent Active Directives (PAD) — Cryptographic Governance
PRISM's governance isn't configurable — it's constitutional. The 10 Laws (authored by Kirk LaSalle, rooted in Asimov's Three Laws and extended to cover privacy, equity, transparency, and operational boundaries) are cryptographically sealed:
- SHA-256 integrity verification at every boot and every 10 minutes by the Guardian Agent
- CI Gate blocks any merge/release where directives are modified without updating the integrity constant
- Machine-readable law manifest maps each directive to its runtime enforcement mechanism
- Governance preamble injection into all Tier 2+ LLM system prompts — every model interaction operates within the 10 Laws
- Amendment requires Governance Council approval + cryptographic re-signing
No other agent platform enforces governance at the cryptographic level.
2. Spectrum Refraction (SR) — Tri-Model Cognitive Orchestration
PRISM's novel compounding parallel fan-out architecture simultaneously engages three model instances:
| Hemisphere | Role | Example | | :--------------------- | :---------------------------------------- | :---------- | | Left (Logic) | Analytical reasoning, structured analysis | Claude Opus | | Right (Creative) | Creative generation, lateral thinking | GPT-5 | | Main (Coordinator) | Synthesis, arbitration, final response | Gemini Pro |
- Mandatory instance isolation: Left ≠ Right enforced at configuration, activation, and runtime gates
- Structured XML-tagged aggregation fuses analytical rigor with creative breadth
- Three isolation quality levels:
full(different providers),model(same provider, different models),insufficient(rejected) - Media artifact extraction from Creative hemisphere responses
No competing framework offers native multi-model simultaneous fan-out with structured aggregation and isolation enforcement.
3. LLRE Cognitive Economics Engine
The Low-Level Reasoning Engine provides unprecedented visibility into how efficiently your agents think:
- Token Efficacy Quotient (TEQ) — Are tokens being used effectively?
- Request Satisfaction Index (RSI) — Are user requests being fulfilled?
- Context Saturation Ratio (CSR) — Is context window capacity being optimized?
- Tool Call Accuracy (TCA) — Are tool invocations precise and successful?
- Prompt AST Compiler with
<objective>and<constraints>tag parsing and signal density checks - SQLite persistence with interactive performance rings in the operator console
4. Full Computer Use — Browser, Terminal, Container
PRISM treats computer use as a first-class governed capability, not an auxiliary feature:
- Browser Automation — Playwright-powered headless and headed browser control with screenshot capture, page navigation, element interaction, and multi-tab management
- Terminal Virtualization — Real PTY sessions via
node-ptywith full shell access, command risk classification, and destructive-command deny lists - Container Sandboxing — Docker container orchestration for isolated execution environments with resource limits and lifecycle management
- Autonomous Research — Browser Researcher skill that autonomously navigates, searches, extracts, and synthesizes information from the web
- All pathways governed by the 3-tier policy engine with approval gates for high-risk operations
5. Multi-Agent Swarm Orchestration
- Agent lifecycles: ephemeral (per-task), semi-permanent (idle-reaped), permanent (manual stop)
- Per-agent model assignment: dynamic provider/model override per agent, hot-swappable at runtime
- Four swarm topologies: mesh, star, pipeline, broadcast
- Task decomposition with dependency-aware parallel batch execution
- Intelligent telemetry: pattern detection, role hotspot analysis, lifecycle promotion recommendations
- CAC Main Agent: each operator's certificate-bound primary assistant, agent, and interaction identity; one CAC Main Agent per operator per Initialization Certificate, reused across sessions
- Guardian Agent: permanent secondary system agent powered by local
llama.cppinference; supports the CAC Main Agent and monitors, protects, and heals the complete dashboard and all platform services
6. Advanced Model Routing
- Fully Configurable & AI-Assisted: Complete operator control over routing topologies with AI assistance to dynamically determine the optimal model assignments based on task parameters.
- Role-Based Overrides: Map specific models or providers to individual task roles (e.g., chat, code-generation, summarization, memory indexing, or research) with automatic validation.
- Power-Aware Strategies: Supports routing strategies based on target profiles:
eco(prioritizes local models to eliminate API charges),performance(highest available capability tier), andadaptive(balances VRAM and API costs dynamically).
7. Advanced Model Matrix (Exclusive Platform Core)
- Operator-Exclusive Registry: A dynamically updated, proprietary database of providers, models, use cases, capabilities, and attributes.
- Local Model Auto-Discovery: Aut
Truncated for display — read the full file on GitHub.
Related Skills
momen-cursurrules-prompt-file
40.6kCursor rules for building custom frontends with Momen.app as headless BaaS with GraphQL API, actionflows, AI agents, and Stripe integration.
semiotic-react-dataviz-cursorrules-prompt-file
40.6kCursor rules for Semiotic data visualization library with 30+ chart types, MCP server, and AI-assisted chart generation.
Agent-Reach
72.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
68.0k🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
