SPR{K}3 Defend Agents
Runtime security for AI agents — detects jailbreak, prompt injection, and tool misuse from inside the agent, not at the gateway.
Install
pip install sprk3-defend-agents
Quick Start
from sprk3.defend import monitor
monitor(api_key="sk-...")
That's it. Auto-instruments Anthropic, OpenAI, and LangChain clients.
What it detects
- Indirect prompt injection — hidden instructions in web pages, emails, docs, tool outputs
- Tool misuse — legitimate tools used on attacker's behalf
- Agent tamper — heartbeat detects monitoring disabled or bypassed
- Behavioral anomaly — tool velocity spikes, entropy shifts, new tool usage
Privacy
All detection runs client-side. Server sees metadata only. Evidence stays on your machine.
Links
Metadata
Release files for sprk3-defend-agents 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sprk3_defend_agents-0.1.0.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sprk3_defend_agents-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.2 kB
Release files / sprk3_defend_agents-0.1.0.tar.gz
| Download URL | sprk3_defend_agents-0.1.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb6dbf9e58f9bc64fff9d7ca6c232fe549073b20b4656b80ce507657e52126c9
|
|
BLAKE2b-256 checksum How to use checksums |
184d981b0441eadcf23a69ea05c27caa07732975f13cd5577cdf9425bd0af8d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / sprk3_defend_agents-0.1.0-py3-none-any.whl
| Download URL | sprk3_defend_agents-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86932b40129371fe6ab65d0c739baee68606eb4a42c8fd50d2819652601187f8
|
|
BLAKE2b-256 checksum How to use checksums |
d50ff95f5c6341bf918b2520717fa9f6811a03b117ad5b3f5fc4b68c90c2b031
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|