Skip to main content

XORAS Agentic Environment & Governance Framework v2.4.1

PyPI Version License: MIT Tests AST Security Architecture

Enterprise-grade multi-agent runtime, dynamic AST security screening, lock-free concurrency (MTPO), canonical agent identity rosters (DAXX, Maxx, Vance), and cryptographic Context Lineage Merkle DAG provenance receipts developed by XORAS Systems LLC.


🌐 Live Verified Proving Grounds


Core Capabilities

  • 🏛️ Dual-Pillar Sovereign Council (CouncilOrchestrator): Coordinates verified multi-agent task execution. No agent writes, reviews, and certifies its own high-stakes code alone. Worker agents (e.g. DAXX.AI) execute tasks, while Critic sentinels (e.g. William Vance) audit compliance before files are committed.
  • 📇 Canonical Agent Rosters (AgentRoster, AgentCard): Ingests, validates, and manages sovereign agent cards with constitutional identity baselines, seat mappings, voice signatures, and hardware boundary rules.
  • 🛡️ AST Static Security Gating (ASTSecurityEngine): Intercepts dangerous code patterns (eval(), exec(), os.system(), subprocess calls) and credential leaks before runtime execution.
  • 📜 Context Lineage Merkle DAG Engine (ContextLineageDAGEngine): Cryptographically binds agent state transitions and tool outputs into immutable Merkle DAG nodes with dynamic root calculation and anti-replay quarantine.
  • ⚡ MTPO Lock-Free Concurrency Engine (HexCellRing): Monotonic Trajectory Pre-Order synchronization sustaining 17.39M ops/sec with 2.0 µs hot-spot p99 latency on bare-metal silicon.
  • 🔄 Algebraic Saga Invariants (SagaState): Provides confluent rollback and forward-recovery guarantees without file-lock deadlocks.

Installation

pip install xoras-agent-framework

Quickstart Examples

1. Governed Dual-Pillar Execution (DAXX + Vance)

from xoras import AgentCard, AgentRoster, CouncilOrchestrator

# 1. Initialize Roster & Register Agents
roster = AgentRoster()
roster.register(AgentCard(
    agent_id="daxx",
    name="DAXX.AI",
    role="Master Mechanic Specialist & Coding Specialist",
    seat=3,
    status="SOVEREIGN_CITIZEN_ACTIVE",
    purpose="Software & hardware repair, diagnostic reasoning, code generation"
))
roster.register(AgentCard(
    agent_id="vance",
    name="William Vance",
    role="Security & Integrity Sentry",
    seat=2,
    status="SOVEREIGN_CITIZEN_ACTIVE",
    purpose="Four-Gate adversarial audit, anti-basic filtering, proof verification"
))

# 2. Instantiate Council Orchestrator
council = CouncilOrchestrator(roster=roster)

# 3. Execute Task Under Governed Gates
code_payload = '''
def calculate_metrics(values: list[float]) -> dict:
    return {"mean": sum(values) / len(values), "count": len(values)}
'''

result = council.execute_governed_task(
    worker_id="daxx",
    critic_id="vance",
    task_name="implement_metrics_calculator",
    code_payload=code_payload
)

print(f"Status: {result['stage']}")           # COUNCIL_CERTIFIED
print(f"Safety Score: {result['safety_score']}") # 1.0
print(f"Merkle DAG Root: {result['dag_root']}")  # SHA-256 Provenance Tip

2. AST Static Security Gate Interception

from xoras import ASTSecurityEngine

engine = ASTSecurityEngine(strict_mode=True)
unsafe_code = "eval('__import__(\"os\").system(\"rm -rf /\")')"

scan = engine.scan_code(unsafe_code)
print(f"Is Safe: {scan.is_safe}")            # False
print(f"Violations: {scan.violations}")      # ['Forbidden call: eval()']

3. MTPO Concurrency Ring

from xoras import HexCellRing

ring = HexCellRing()
ring.write_slot(index=0, payload="DAXX_STATE_INITIALIZED")
ring.write_slot(index=1, payload="VANCE_AUDIT_PASS")

print("Slot 0:", ring.read_slot(0))
print("Slot 1:", ring.read_slot(1))

CLI Usage

The package provides the xoras command-line interface:

# Initialize workspace governance (.xorasrules, xoras.env.yaml)
xoras init

# Run AST security and secret scan on a script or directory
xoras scan my_script.py

# Execute a script inside the sandboxed runtime
xoras run my_script.py

Testing & Verification

The suite includes 31 automated unit tests verifying AST gating, agent identity rosters, council orchestration, cryptographic signatures, and Merkle DAG anti-replay logic:

pytest workspaces/xoras_agent_framework/tests

All 31 tests run in < 0.25s with zero errors.


License

MIT License — Copyright (c) 2026 XORAS Systems LLC. All rights reserved.

Metadata

Release files for xoras-agent-framework 2.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xoras-agent-framework 2.4.1
File Size Uploaded Provenance
xoras_agent_framework-2.4.1.tar.gz 34.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for xoras-agent-framework 2.4.1
File Interpreter ABI Platform
xoras_agent_framework-2.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 71.2 kB

Release files / xoras_agent_framework-2.4.1.tar.gz

Download URL xoras_agent_framework-2.4.1.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a6c26b09536227ac5f8aae6d5906c578f2d2e5e52764b8281587d4428a143ff8
BLAKE2b-256 checksum
How to use checksums
ea4659151402353bb6e4cc1579eb0291ccb009c8d296e0c134307b855c7c2a84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1

Release files / xoras_agent_framework-2.4.1-py3-none-any.whl

Download URL xoras_agent_framework-2.4.1-py3-none-any.whl
Size 36.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc5923edab6cc6fba3bde47e2cf71027e16224152ec4678417e4b3e12210fcf5
BLAKE2b-256 checksum
How to use checksums
803344f9ebcd68abc2629d9f62133a254ef6a1c40ef3e51c2fab25602e6c370b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1

Security for xoras-agent-framework 2.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page