Skip to main content

RAXIT SDK - Runtime AI eXecution Integrity & Trust

Project description

RAXIT SDK

Runtime AI eXecution Integrity & Trust - Security scanning SDK for AI agent applications.

Overview

RAXIT SDK is a static analysis tool that scans AI agent codebases and generates an Agent Assets Schema for security analysis, compliance checking, and runtime enforcement. It implements the A2AS (Agentic AI Runtime Security) framework developed collaboratively by AWS, Google, Meta, Cisco, and other major tech companies.

Features

  • 12+ Framework Extractors: LangGraph, CrewAI, AutoGen, Swarm, PydanticAI, LlamaIndex, Google ADK, and more
  • Security Analysis: Semgrep/CodeQL rules for trust boundary detection
  • CaMeL Provenance: Agent asset metadata with data flow tracking
  • CLI Tools: raxit init, raxit migrate, raxit status
  • Incremental Scanning: xxhash-based cache for fast re-scans
  • Trust Boundary Detection: Meta's "Rule of Two" compliance checking
  • Graph Topology Extraction: Complete LangGraph structure analysis

Installation

Python (TestPyPI - Beta)

pip install -i https://test.pypi.org/simple/ raxit-sdk

TypeScript/Node.js (npm - Beta)

npm install @raxit/raxit@beta

Rust (crates.io)

[dependencies]
raxit-core = "0.1"

From Source (Development)

Using UV (recommended):

cd src/ai-security-sdk
uv venv
uv pip install -e ".[dev]"

Using pip:

pip install -e ".[dev]"

Quick Start

# Scan your agent project
cd /path/to/your/agent/project
raxit init

# View generated assets
cat .raxit/assets.yaml

Usage

Scanning a Project

raxit init [directory] --output .raxit/assets.yaml

Options:

  • --output / -o: Output file path (default: .raxit/assets.yaml)
  • --format: Output format (yaml or json, default: yaml)
  • --workers: Number of parallel workers for scanning
  • --incremental: Enable incremental scanning with cache
  • --sign: Sign the schema with HMAC-SHA256
  • --detect-trust: Enable trust boundary detection

Schema Migration

raxit migrate .raxit/assets.yaml --target-version 0.8.0

Status Check

raxit status

Shows tool version, dependencies, and configuration.

Architecture

raxit_sdk/
├── cli/          # Command-line interface
├── parser/       # AST parsing and framework extractors
│   ├── extractors/   # Framework-specific extractors (12+ frameworks)
│   └── analyzers/    # Cross-cutting analysis (secrets, networks, memory, etc.)
├── schema/       # Pydantic models for Agent Assets Schema
├── trust/        # Security analysis (Semgrep, CodeQL, Joern)
├── decorators/   # Trust decorators for agent code
└── integrity/    # Cryptographic signing and verification

Supported Frameworks

The SDK can extract agent metadata from these frameworks:

  • LangGraph - StateGraph, nodes, edges, conditional routing
  • CrewAI - Agents, tasks, crews, pipelines
  • AutoGen - Agents, tools, group chats
  • OpenAI Agents - Agent SDK
  • Swarm - Multi-agent orchestration
  • PydanticAI - Type-safe agents
  • LlamaIndex - FunctionAgent, ReActAgent
  • Google ADK - Sequential/parallel/loop agents
  • n8n - Workflow automation (JSON)
  • AgentChat - Conversational agents
  • Strands - Custom framework
  • Generic - Custom agent implementations

Examples

See examples/ directory for sample agent projects across multiple frameworks:

  • examples/langgraph/ - LangGraph examples
  • examples/crewai/ - CrewAI examples
  • examples/custom/ - Custom agent implementations
  • And more...

Development

Running Tests

# All tests
uv run pytest tests/ -v

# Specific test suite
uv run pytest tests/test_extractors/ -v
uv run pytest tests/test_integration/ -v

Code Quality

# Lint
uv run ruff check raxit_sdk/

# Type check
uv run mypy raxit_sdk/

Trust Boundary Analysis

RAXIT implements Meta's "Rule of Two" for trust boundary detection:

A component is non-compliant if it has ALL three properties:

  • [A] Processes untrusted input
  • [B] Has sensitive access (credentials, data, systems)
  • [C] Performs external actions (network, files, processes)

Use raxit init --detect-trust to enable this analysis. Requires Semgrep and optionally Joern for deep taint analysis.

Agent Assets Schema

The generated schema includes:

  • Manifest: Metadata about the scan
  • Agents: AI agents with roles, tools, and models
  • Tools: Functions and capabilities
  • Models: LLM configurations
  • Graphs: LangGraph topologies
  • DataFlows: CaMeL provenance tracking
  • Networks: External API endpoints
  • Memory: Vector stores and databases
  • Secrets: Detected credentials (names only)
  • Boundaries: Trust boundary analysis
  • Guardrails: Security controls
  • Audit: Security findings

License

Proprietary - raxIT Labs

Contact

For questions and support: engineering@raxit.io

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

raxit_sdk-0.1.2-cp39-abi3-win_amd64.whl (531.1 kB view details)

Uploaded CPython 3.9+Windows x86-64

raxit_sdk-0.1.2-cp39-abi3-manylinux_2_34_x86_64.whl (638.7 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.34+ x86-64

raxit_sdk-0.1.2-cp39-abi3-manylinux_2_34_aarch64.whl (608.0 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.34+ ARM64

File details

Details for the file raxit_sdk-0.1.2-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: raxit_sdk-0.1.2-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 531.1 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for raxit_sdk-0.1.2-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b716a41ed5bd828329231a639e6a102c56e2f6768d852750b2bf43e476e74b17
MD5 414268bbed4817f59495710e826942cd
BLAKE2b-256 5a156b18f77969751d5728ee4bca31bee109355d2629d4fcf478227de665d8b5

See more details on using hashes here.

File details

Details for the file raxit_sdk-0.1.2-cp39-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for raxit_sdk-0.1.2-cp39-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5694daf3c96189145fd0c25f5729c9b063e910011e384793c35690e36092b584
MD5 72d3101baaa76ad945cb757401ad43f0
BLAKE2b-256 76c84b48a62feb5821e6258ac7e67df80c5bd296f3ebed5347ff437165f9b3e5

See more details on using hashes here.

File details

Details for the file raxit_sdk-0.1.2-cp39-abi3-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for raxit_sdk-0.1.2-cp39-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 83e6c250c06f1ee6f7b8def1e22e7ebda2c8e4ac841dc4e879c3f079fc031b97
MD5 421b8034f39b587d0b6056b1b12f6897
BLAKE2b-256 5ffa3bd04ec412cefc41baf36209fff2532b7b0f84b58d8b794b9be5a920f6da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page