Metadata-Version: 2.4
Name: agentiva
Version: 0.1.5
Summary: Runtime safety for AI agents: intercept tool calls, policy scoring, and audit logging
License: Apache-2.0
Keywords: ai,agent,safety,langchain,fastapi,guardrails
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiofiles==25.1.0
Requires-Dist: aiosqlite==0.21.0
Requires-Dist: aiohappyeyeballs==2.6.1
Requires-Dist: alembic==1.16.5
Requires-Dist: asyncpg==0.30.0
Requires-Dist: aiohttp==3.13.3
Requires-Dist: aiosignal==1.4.0
Requires-Dist: annotated-doc==0.0.4
Requires-Dist: annotated-types==0.7.0
Requires-Dist: anyio==4.12.1
Requires-Dist: attrs==26.1.0
Requires-Dist: certifi==2026.2.25
Requires-Dist: charset-normalizer==3.4.6
Requires-Dist: click==8.3.1
Requires-Dist: dataclasses-json==0.6.7
Requires-Dist: Faker==37.0.0
Requires-Dist: fastapi==0.135.1
Requires-Dist: frozenlist==1.8.0
Requires-Dist: greenlet==3.3.2
Requires-Dist: h11==0.16.0
Requires-Dist: httpcore==1.0.9
Requires-Dist: httpx==0.28.1
Requires-Dist: httpx-sse==0.4.3
Requires-Dist: idna==3.11
Requires-Dist: iniconfig==2.3.0
Requires-Dist: jsonpatch==1.33
Requires-Dist: jsonpointer==3.0.0
Requires-Dist: langchain==1.2.13
Requires-Dist: langchain-classic==1.0.3
Requires-Dist: langchain-community==0.4.1
Requires-Dist: langchain-core==1.2.20
Requires-Dist: langchain-text-splitters==1.1.1
Requires-Dist: langgraph==1.1.3
Requires-Dist: langgraph-checkpoint==4.0.1
Requires-Dist: langgraph-prebuilt==1.0.8
Requires-Dist: langgraph-sdk==0.3.12
Requires-Dist: langsmith==0.7.21
Requires-Dist: marshmallow==3.26.2
Requires-Dist: multidict==6.7.1
Requires-Dist: mypy_extensions==1.1.0
Requires-Dist: numpy==2.4.3
Requires-Dist: orjson==3.11.7
Requires-Dist: ormsgpack==1.12.2
Requires-Dist: packaging==26.0
Requires-Dist: pluggy==1.6.0
Requires-Dist: propcache==0.4.1
Requires-Dist: pydantic==2.12.5
Requires-Dist: pydantic-settings==2.13.1
Requires-Dist: pydantic_core==2.41.5
Requires-Dist: Pygments==2.19.2
Requires-Dist: PyJWT==2.10.1
Requires-Dist: pytest==9.0.2
Requires-Dist: reportlab==4.4.2
Requires-Dist: python-dotenv==1.2.2
Requires-Dist: PyYAML==6.0.3
Requires-Dist: redis==7.3.0
Requires-Dist: requests==2.32.5
Requires-Dist: requests-toolbelt==1.0.0
Requires-Dist: SQLAlchemy==2.0.48
Requires-Dist: starlette==0.52.1
Requires-Dist: tenacity==9.1.4
Requires-Dist: typing-inspect==0.9.0
Requires-Dist: typing-inspection==0.4.2
Requires-Dist: typing_extensions==4.15.0
Requires-Dist: urllib3==2.6.3
Requires-Dist: uuid_utils==0.14.1
Requires-Dist: uvicorn==0.42.0
Requires-Dist: websockets==16.0
Requires-Dist: xxhash==3.6.0
Requires-Dist: yarl==1.23.0
Requires-Dist: zstandard==0.25.0
Dynamic: license-file
Dynamic: requires-python

# Agentiva

**Runtime safety for AI agents.** Agentiva helps you:

- intercept tool calls (before side effects)
- score risk against a YAML policy
- run in **shadow** mode first, then **live** (block) or **approval**
- keep an audit trail of what happened

## Install

```bash
pip install agentiva
```

## Use as a repo scanner (optional git hook)

```bash
agentiva scan .
agentiva init   # installs a pre-push hook that runs `agentiva scan .`
```

View the local HTML report generated by scans:

```bash
agentiva dashboard
```

## Use at runtime (agent frameworks / custom)

Run the API:

```bash
agentiva serve
```

Wrap tools in your app (minimal example):

```python
from agentiva import Agentiva

shield = Agentiva(mode="shadow")
tools = shield.protect([your_tool_a, your_tool_b])
```

## Project links

- **Source + full docs**: https://github.com/RishavAr/agentiva
- **Issues**: https://github.com/RishavAr/agentiva/issues

## Note about the dashboard UI

The PyPI distribution installs the Python package (CLI + API + policies). The full Next.js dashboard UI lives in the repository under `dashboard/` and is not included in the wheel.
