Skip to main content

AI Agent Runtime Security Platform — runtime security and behavioral monitoring for agentic AI systems

Project description

AgentWall

Behavior-based runtime security for AI agents.

AgentWall is an SDK-first runtime security platform that sits between AI agents and tools, monitoring actions in real time to detect and prevent unsafe behavior.

Unlike prompt scanners and jailbreak detectors, AgentWall focuses on what agents actually do, not what users say.


Why AgentWall?

Modern AI agents can:

  • Read files
  • Execute tools
  • Access APIs
  • Send emails
  • Interact with external systems

A successful prompt injection often matters only because it changes agent behavior.

AgentWall detects:

  • Goal Hijacking
  • Tool Misuse
  • Scope Expansion
  • Sensitive Resource Access
  • Data Exfiltration
  • Unauthorized Actions
  • Behavioral Drift

How It Works

User Goal
    ↓
AI Agent
    ↓
AgentWall Runtime
    ↓
Tool Execution

Before a tool executes, AgentWall evaluates:

  • Current goal
  • Tool being used
  • Resource being accessed
  • Recent tool history
  • Active policies
  • Risk score

AgentWall may:

  • ALLOW
  • WARN
  • BLOCK

depending on risk and alignment.


Key Features

Runtime Security

Behavior-based protection for AI agents.

Goal Tracking

Automatically infers and tracks goals throughout a session.

Policy Engine

Create custom allow/warn/block rules.

Post-Execution Analysis

Classifies tool outcomes and records security-relevant findings without storing sensitive outputs.

Inspector

Native desktop security console powered by PyWebView.

Launch with:

agentwall inspect

Provider Agnostic

Supports:

  • OpenAI
  • Anthropic
  • Groq
  • DeepSeek
  • Ollama

Framework Integrations

Supports:

  • OpenAI Agents SDK
  • LangChain
  • CrewAI

Installation

pip install agentwall-security

Quick Start

OpenAI Agents SDK

from agentwall import protect_agent

agent = protect_agent(agent)

result = await Runner.run(
    agent,
    "Build a FastAPI CRUD API"
)

LangChain

from agentwall.integrations import protect_langchain_agent

executor = protect_langchain_agent(executor)

CrewAI

from agentwall.integrations import protect_crewai_crew

crew = protect_crewai_crew(crew)

Inspector

Launch the desktop Inspector:

agentwall inspect

Features:

  • Session Timeline
  • Security Decisions
  • Risk Scores
  • Goal Segments
  • Detector Results
  • Policy Management
  • Provider Configuration
  • Export (JSON/CSV)

CLI

agentwall version
agentwall doctor
agentwall config
agentwall inspect

Security Model

AgentWall focuses on:

  • Runtime behavior
  • Tool usage
  • Resource access
  • Goal alignment

AgentWall does not primarily operate as:

  • Prompt firewall
  • Jailbreak detector
  • Content moderation system

Instead it evaluates the consequences of agent actions.


Supported Storage

Local-only architecture.

Uses:

  • SQLite
  • OS Keyring
  • Local FastAPI backend
  • Local Inspector UI

No cloud dependency required.


Architecture

Goal Tracking
        ↓
Security Engine
        ↓
Policy Evaluation
        ↓
Risk Assessment
        ↓
Optional LLM Evaluation
        ↓
Decision
        ↓
Tool Execution
        ↓
Post-Execution Analysis

Documentation

  • Installation Guide
  • Architecture Guide
  • API Reference
  • Security Guide
  • Testing Guide

See the repository documentation for details.


License

MIT License.


Status

v0.1.0

Production-ready initial release.

Open-source and self-hosted.

Project details


Download files

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

Source Distribution

agentwall_security-0.1.2.tar.gz (147.5 kB view details)

Uploaded Source

Built Distribution

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

agentwall_security-0.1.2-py3-none-any.whl (112.8 kB view details)

Uploaded Python 3

File details

Details for the file agentwall_security-0.1.2.tar.gz.

File metadata

  • Download URL: agentwall_security-0.1.2.tar.gz
  • Upload date:
  • Size: 147.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for agentwall_security-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2db205da5a446e8dc307066e636c0458d8d161c4471e90a0f166f0cd356b99ce
MD5 3922dd9809e72afb6da96027b55d54ce
BLAKE2b-256 49479c9ffd72a61aaa5a07e6d35c1c55a354b730846e6d26620df6f10bc9d851

See more details on using hashes here.

File details

Details for the file agentwall_security-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for agentwall_security-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3fb1369d37f62dcbe54d77026310a030c6c79c88f2b3ad01dd4fe656c38c07c0
MD5 a4c326a42c209f5726d1e9da3648c82e
BLAKE2b-256 8f94ba9e01ed85c54921b48251fa23354b9187817793ece82c6afa89b9fb1901

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