🛡️ Anchor Core (anchor-audit)
The Deterministic Runtime Governance & Compliance Kernel for Autonomous AI Systems.
Anchor is a high-performance, dual-language (Rust/Python) infrastructure library designed to enforce strict regulatory invariants, architectural boundaries, and safety safeguards around autonomous AI agents and LLM application pipelines in real-time.
By executing compiled Abstract Syntax Tree (AST) query matchers and single-pass Deterministic Finite Automaton (DFA) regex sets, Anchor operates with zero-copy memory boundaries—allowing enterprises to secure high-frequency workloads without introducing a latency tax.
🏎️ Core Architectural Horsepower
- ~1,800,000 Lines/Sec Parsing Speed: Powered by a lock-free, multi-threaded Rust backend engine utilizing parallel directory walking via
rayonand memory-mapped files (memmap2). - Zero-Copy Memory Boundaries: Leverages PyO3 zero-copy buffer bridges to consume incoming network data frames straight from host ASGI server pools (like FastAPI) with zero heap allocation overhead.
- Asymmetric Cryptographic Identity: Every compiled audit log is bundled into an un-falsifiable Decision Audit Chain (DAC) block—cryptographically sealed locally using Ed25519 asymmetric keys and verified via constant-time hashing (
subtle::ConstantTimeEq). - Active Self-Healing Interception: Moves beyond passive post-mortem dashboards. If an active consumer agent drifts into an invariant violation, Anchor's runtime layer intercepts the thread, halts execution, and injects dynamic, domain-agnostic rerouting directives on the fly.
🏛️ Comprehensive Regulatory Scope
Anchor converts dense legislative text into executable code gates out-of-the-box, natively supporting:
- EU Artificial Intelligence Act (Regulation EU 2024/1689): Complete mapping from Chapter II Article 5 Prohibited Practices (subliminal manipulation, facial scraping safeguards) to Chapter III Articles 6–27 High-Risk System obligations (6-month log retention tracking under Art 12/19, Article 14 human override levers), stretching up to Article 99 turnover penalty metrics.
- U.S. Securities and Exchange Commission (SEC / FINRA): Hard automated boundaries protecting algorithmic trading setups under SEC Regulation SCI (System capacity loop circuit breakers), Exchange Act Rule 15c3-5 (Pre-trade credit and risk limit validation), and Cybersecurity Form 8-K outbound data exfiltration gates.
- Industry Frameworks: Built-in support for FINOS OSERA AI supply-chain resiliency blueprints, OWASP Top 10 LLM security controls, NIST AI RMF, and ISO/IEC 42001 standards.
📦 High-Velocity Installation
Deploy the compiled binary kernel straight into your production cluster workspace:
pip install anchor-audit
Initialize your local asymmetric cryptographic repository identity:
anchor init
Run a parallel, sub-millisecond static code safety audit across your local workspace:
anchor check .
🔌 Zero-Friction Runtime Integration
Wrap any high-privilege agent routine or LLM invocation loop using a single python decorator to activate your real-time security envelope:
from anchor.runtime import anchor
@anchor.guard(domain="finance")
def execute_algorithmic_trade(order_payload):
# If the autonomous agent tries to route an un-vetted market order,
# Anchor intercepts it in microseconds, blocks execution, and self-heals the track.
return route_order_to_exchange(order_payload)
🌐 The AnimusLab Institution Network
Anchor Core acts as the local spoke auditing engine that feeds seamlessly into the wider, unified decentralized coordination hub ecosystem:
- Central Portal Hub: animuslab.dev
- Enterprise Fleet Cockpit: hub.animuslab.dev
- Statutory Rules Documentation: animuslab.dev/rules
- Authoritative Engineering Profile: tan.animuslab.dev
Managed and Certified by the AnimusLab Open-Source Network Engine. Verifiable proofs are cryptographically bound to our global institutional identity registry.
Metadata
Release files for anchor-audit 6.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| anchor_audit-6.0.2.tar.gz | 234.3 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| anchor_audit-6.0.2-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| anchor_audit-6.0.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| anchor_audit-6.0.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| anchor_audit-6.0.2-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
| anchor_audit-6.0.2-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 7.9 MB
Release files / anchor_audit-6.0.2.tar.gz
| Download URL | anchor_audit-6.0.2.tar.gz |
|---|---|
| Size | 234.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90909fe590233c6685cfe9672df0dbdee2ce4b0d89019d00f1cc80bc828dcd2f
|
|
BLAKE2b-256 checksum How to use checksums |
2e87f7298cc1ad1f2d8f83854bd59de2e3c47cc79e96b497d495af5afbc9dcf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / anchor_audit-6.0.2-cp310-abi3-win_amd64.whl
| Download URL | anchor_audit-6.0.2-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
b08d2d2c16c938ec1b0d6e61ff66dac2bbbfaff76c27736101ee1434b9abbcb0
|
|
BLAKE2b-256 checksum How to use checksums |
f1f6ef62adc68860f3dc158d8b15bd6ba45b9f738dcdd3e7bcbafa03fc8eb78b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / anchor_audit-6.0.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | anchor_audit-6.0.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
8bc9680edbb2baf838c43f8c93124bd09f5056130bbd7384008880e574350d86
|
|
BLAKE2b-256 checksum How to use checksums |
7f866aa7eeaf785d2f5dc58404429ee7180abe93ac13bda8062a505566e4f539
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / anchor_audit-6.0.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | anchor_audit-6.0.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
9098d80416f40d1238b8e6d78e7296f02f04d04648a130885954a534bde1c6d5
|
|
BLAKE2b-256 checksum How to use checksums |
fd5d80efe2fd00af545352cf7dd35a1646f321b8181aa74745ce2ba4e5aeab59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / anchor_audit-6.0.2-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | anchor_audit-6.0.2-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f50bb873825556c6958de21a2b27e9889fe93b5812345c9e2f24178e177f862b
|
|
BLAKE2b-256 checksum How to use checksums |
ed7050f8f26b3405ec0b6ad4fbaf4589715982863fa37d60d43cea8734915b03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / anchor_audit-6.0.2-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | anchor_audit-6.0.2-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
550ea7e6d7db338783787df8f3d18284c90158464a14512ba446a6a33fe8a29d
|
|
BLAKE2b-256 checksum How to use checksums |
5893ba0a0dbdfb95e6ff9a9b93a1a35069643a19fdfc0b3c972c7f37aedaadf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|