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.0-cp39-abi3-win_amd64.whl (535.9 kB view details)

Uploaded CPython 3.9+Windows x86-64

raxit_sdk-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl (638.6 kB view details)

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

raxit_sdk-0.1.0-cp39-abi3-manylinux_2_34_aarch64.whl (616.6 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.34+ ARM64

File details

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

File metadata

  • Download URL: raxit_sdk-0.1.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 535.9 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.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 239231885626469fe4b1b94d3882a7c0446680e676e3b26028b9071dd59f659a
MD5 5bf8d67e07a3fcb4513af36e5e23bc97
BLAKE2b-256 b66ebb0f21c17a3789586f8fe14efbe3c5e4801321d62c215a5770e0c66fc97b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for raxit_sdk-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f24ef021322c9558cf18bbb51bb362920b5a4d296484b6e590fd9a286677d27f
MD5 69ca694880c539387adb9b217f327846
BLAKE2b-256 881cad5fdd204b441e123384ba6ae5a342cda32a3bceac19ac317c243fa9e6f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for raxit_sdk-0.1.0-cp39-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 f40982f3157948a11862a165afb81724f0e346853ef03d5fd816d773253411e6
MD5 21237ff41799060bfc623dcdb771d5a7
BLAKE2b-256 b81fefe6675ce146be91f82747831f5e51a4dd1ce1c78195c079969696dcd4a5

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