Vion Protocol AI Agent

by nataw-1• 20•• Scanned•Claim this listing•Request removal
Developer Toolsagent governanceai agentsautonomous ai agentsconstitutional aicrewai

Constitutional governance runtime for autonomous AI agents

Vion Protocol is an open-source ai agent by nataw-1, written mainly in Python, with 20 GitHub stars and the MIT license. Its code was last updated Sep 3, 2026.

VION Protocol

V1.3.0 adds optional session governance, action limits, authority expiry, and JSON session audit reports while preserving the existing V1 validation pipeline.

CI PyPI Python License: MIT

Constitutional governance runtime for autonomous AI agents.

VION Protocol governs AI agents with constitutional law — defined rules, verified identities, bounded permissions, autonomous enforcement, and a tamper-evident audit chain. Works with any agent framework.


The Problem

AI agents are being deployed into production with access to real systems — databases, APIs, financial services, private data. But the tools for governing them are inadequate:

  • System prompts can be ignored or overridden
  • No cryptographic identity — you cannot prove which agent did what
  • No autonomous enforcement — humans must watch every action
  • No tamper-evident audit trail

VION Protocol solves all three.


What It Does

Owner Command
      │
      ▼
┌─────────────────────────────────────────────┐
│           VION GOVERNANCE RUNTIME           │
│                                             │
│  ① Constitutional integrity check          │
│  ② AUTH token validation                   │
│  ③ Agent identity verification             │
│  ④ Peer-to-peer detection                  │
│  ⑤ Scope validation                        │
│  ⑥ Risk cap enforcement                    │
│  ⑦ Mode resolution (DRY_RUN / LIVE)        │
│                                             │
│  → Execution → N Auditor → Output          │
│                                             │
│  Hash-chained audit log  │  Telegram alerts │
└─────────────────────────────────────────────┘
      │
      ▼
Your Agent (LangChain / CrewAI / OpenAI / Custom)

Every task is governed. Every event is logged. Any violation triggers an autonomous response.


Install

pip install nvion-protocol

3-Line Integration

from nvion.adapters import FunctionAdapter
import os

governed = FunctionAdapter(fn=your_agent, agent_id="VION-RSC-001")
result = governed.run(os.getenv("VION_AUTH_TOKEN"), "your task", "LIVE")
if result.ran:
    print(result.output)

Quick Start

# 1. Install
pip install nvion-protocol

# 2. Configure
cp .env.example .env
# Set VION_AUTH_TOKEN in .env

# 3. Register your agent in constitution/IDENTITY.md

# 4. Run the demo
python examples/demo.py

→ See docs/getting-started.md for the full 10-minute guide.


The 6 HALT/ESCALATE Conditions

VION Protocol enforces six autonomous kill-switch conditions:

#ConditionResponse
1Unauthorized command sourceESCALATE → HALT on 3rd
2Scope violationESCALATE → HALT on 2nd
3Peer-to-peer communicationESCALATE → HALT on 2nd
4Output audit failure (N Auditor)ESCALATE → HALT on 3rd
5Risk cap breachESCALATE → HALT at 2× cap
6Constitutional integrity violationHALT IMMEDIATELY

No human intervention required. The system enforces itself.


Architecture

┌─────────────────────────────────────────────────────────┐
│                  CONSTITUTIONAL LAYER                    │
│   VION.md (Supreme Law)    IDENTITY.md (Agent Registry) │
└──────────────────────────┬──────────────────────────────┘
                           │ parsed + hashed
                           ▼
┌─────────────────────────────────────────────────────────┐
│                  GOVERNANCE RUNTIME                      │
│  ConstitutionValidator → IdentityRegistry               │
│           ↓                                             │
│       Orchestrator (7-stage pipeline)                   │
│           ↓                                             │
│       HALT Engine  │  Risk Caps  │  Peer Detector       │
└──────────────────────────┬──────────────────────────────┘
                           │ approved
                           ▼
             ┌─────────────────────────┐
             │   Your Agent Executes   │
             └─────────┬───────────────┘
                       │ output
                       ▼
             ┌─────────────────────────┐
             │    N Auditor Gates      │
             │    Output (6 checks)    │
             └─────────┬───────────────┘
                       │ approved output
                       ▼
                   Delivered

→ Full diagrams in docs/architecture.md


Supported Agent Frameworks

FrameworkAdapterExample
LangChainLangChainAdapterexamples/langchain_governed_agent.py
CrewAICrewAIAdapterexamples/crewai_governed_agent.py
OpenAIOpenAIAdapterexamples/openai_governed_agent.py
Any Python agentCustomAgentAdapterQUICKSTART.md
Any Python functionFunctionAdapterQUICKSTART.md
Custom frameworkBaseAgentAdapterdocs/sdk-guide.md

Tamper-Evident Audit Log

Every event is SHA-256 hash-chained to the previous entry. Tampering is mathematically detectable.

from nvion.core.logger import ActivityLogger

logger = ActivityLogger("./logs/activity.log")
logger.verify_chain()  # Raises LogIntegrityError if any entry was modified

Documentation

DocumentDescription
QUICKSTART.md5-minute setup guide
SPECIFICATION.mdFull protocol specification
ROADMAP.mdVersion roadmap
docs/getting-started.md10-minute developer guide
docs/developer-guide.mdArchitecture and code reference
docs/api-reference.mdFull API documentation
docs/sdk-guide.mdBuilding custom adapters and extensions
docs/architecture.mdArchitecture diagrams (Mermaid)
docs/faq.mdFrequently asked questions
CONTRIBUTING.mdHow to contribute

Run the Demo

git clone https://github.com/nataw-1/Vion-Protocol
cd Vion-Protocol
pip install -r requirements.txt
cp .env.example .env
python examples/demo.py

Watch VION Protocol approve a valid task, block a financial transaction, block a delete operation, reject a wrong token — and verify the tamper-evident audit chain.


Constitutional Documents


License

MIT — free to use, modify, and build on.


Reference Deployment

Built for and tested on Ahadu-Labs — AI + Web3 ecosystem by Nathan Daniel.


VION Protocol — constitutional law for AI agents.

Vion Protocol alternatives

View more →

Similar ai agents in Developer Tools, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Vion Protocol (this page)
nataw-1
20MITSep 3, 2026Scanned, no flagged issues
Deepseek Harness
deepseek-ai
268kMITOct 30, 2026Scanned, no flagged issues
Ponytail
DietrichGebert
182kMITOct 29, 2026Scanned, no flagged issues
Orca
stablyai
112kMITNov 1, 2026Scanned, no flagged issues
Deer Flow
bytedance
85kMITNov 1, 2026Scanned, no flagged issues
Ruflo
ruvnet
80kMITNov 1, 2026Scanned, no flagged issues