Observed since 20 Oct, 22:02 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
agentgate-sdk
The security gateway for AI agents — auth, rate limiting, and policy enforcement in one line.
The security gateway for AI agents. Enforce authentication, rate limiting, and policy controls between users and AI agents — in one line of code.
pip install agentgate
With LangChain:
pip install "agentgate[langchain]"
With OpenAI Agents SDK:
pip install "agentgate[openai]"
Everything:
pip install "agentgate[all]"
Get your free API key at https://agent-gate-rho.vercel.app/
from agentgate import with_agent_gate, AgentGateOptions
secured = with_agent_gate(my_agent, AgentGateOptions(
api_key="ag_your_key_here"
))
result = secured.run("delete_file", {"path": "/etc/passwd"})
from agentgate import AgentGateLangChainCallback, AgentGateOptions
from langchain.agents import AgentExecutor
callback = AgentGateLangChainCallback(
AgentGateOptions(api_key="ag_your_key_here")
)
agent_executor = AgentExecutor(
agent=agent,
tools=tools,
callbacks=[callback],
)
from agentgate import wrap_openai_agent, AgentGateOptions
from agents import Agent, Runner
secured = wrap_openai_agent(agent, AgentGateOptions(
api_key="ag_your_key_here"
))
result = await Runner.run(secured, "Send email to all users")
from agentgate import AgentGateMiddleware, AgentGateOptions
gate = AgentGateMiddleware(AgentGateOptions(api_key="ag_your_key_here"))
# Inline check
result = gate.check("send_email", args, lambda: send_email(args))
# As a decorator
@gate.guard()
def delete_user(user_id: str):
...
# Development (default)
AgentGateOptions(api_key="ag_xxx", on_network_error="fail-open")
# Production (recommended)
AgentGateOptions(api_key="ag_xxx", on_network_error="fail-closed")
| Decision | Behaviour |
|---|---|
| ALLOW | Tool executes normally |
| DENY | Tool blocked, error string returned |
| REQUIRE_APPROVAL | Tool paused, human approves in dashboard |
Dashboard: https://agent-gate-rho.vercel.app/ GitHub: https://github.com/wiserautomation/agentgate Issues: https://github.com/wiserautomation/agentgate/issues
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
httpxEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | httpx>=0.27.0 | runtime |
langchain-coreEnvironment{
"extras": "",
"marker": "extra == \"langchain\"",
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | langchain-core>=0.2.0; extra == "langchain" | runtime |
openai-agentsEnvironment{
"extras": "",
"marker": "extra == \"openai\"",
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | openai-agents>=0.0.3; extra == "openai" | runtime |
langchain-coreEnvironment{
"extras": "",
"marker": "extra == \"all\"",
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | langchain-core>=0.2.0; extra == "all" | runtime |
openai-agentsEnvironment{
"extras": "",
"marker": "extra == \"all\"",
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | openai-agents>=0.0.3; extra == "all" | runtime |
bdist_wheel · 7.4 KB · Python py3
sdist · 6.91 KB · Python source
Observed since 20 Oct, 22:02 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:29f86f80f6c07e7519fbbcc689d0c6fed3de65fcee055dd018c99a36c732ebad