AgentGate
AgentGate is a source-available security and governance layer for AI agents. It adds PII protection, injection defense, approvals, rate limits, audit evidence, and formal verification around model and tool calls without forcing teams to rebuild their application stack.
Why Teams Use AgentGate
- Redact PII before prompts leave your infrastructure.
- Block common attack classes such as SQL injection, shell injection, XSS, and prompt attacks.
- Enforce human approvals, rate limits, and budget controls around sensitive operations.
- Capture tamper-evident audit logs and signed decision certificates.
- Run the same project as an SDK, API service, dashboard, CLI, and MCP security server.
Installation
pip install ea-agentgate
Install the full server profile when you want the local API, dashboard, auth, and governance surfaces:
pip install "ea-agentgate[server]"
Minimal SDK Example
from ea_agentgate import Agent
from ea_agentgate.middleware import PIIVault, Validator
agent = Agent(
middleware=[
PIIVault(mask_ssn=True, mask_email=True, mask_credit_card=True),
Validator(block_sql_injection=True, block_shell_injection=True),
]
)
Project Links
- Repository: github.com/eacognitive/agentgate
- Full README: GitHub README
- Issues: github.com/eacognitive/agentgate/issues
Local Demo Note
The repository demo stack includes a dashboard playground. To get real model responses in that
playground, set OPENAI_API_KEY in the root .env file before running ./run demo --fresh.
Metadata
Release files for ea-agentgate 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ea_agentgate-1.0.1.tar.gz | 1.6 MB | Without provenance | Details for ea_agentgate-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ea_agentgate-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for ea_agentgate-1.0.1-py3-none-any.whl |
Total release size: 3.1 MB
Release files / ea_agentgate-1.0.1.tar.gz
| Download URL | ea_agentgate-1.0.1.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
468fda10764d67324b8e7ab90dc162a871000b4ff5ffa558277dc3c8f15b2ff2
|
|
BLAKE2b-256 checksum How to use checksums |
b7ec065aabfc46623bce57f8e5d32685c157bcce6d303e21634cc062c70be192
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.21
|
Release files / ea_agentgate-1.0.1-py3-none-any.whl
| Download URL | ea_agentgate-1.0.1-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21b59203f63da55d8d691528276524476120bf84bb6d33ba6810d807087742bc
|
|
BLAKE2b-256 checksum How to use checksums |
0aee4e7561844ef964e895f3c33296f9fafa09cbc8f9ae01c43ebcadccb6afd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.21
|
Security for ea-agentgate 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.