Catalog PyPI
PACKAGE EXPLORERView in registry

agentkeys-io

PyPI

Python SDK for AgentKeys — proxy API calls through a secure credential vault

agentkeysai-agentsapi-keyscredentialsproxysdk
Versions collected1
Direct dependencies1From release 0.1.1
Last observed20 Oct, 22:31 UTC

README

Version 0.1.1 documentation

agentkeys-io

Python SDK for AgentKeys — proxy API calls through a secure credential vault. Your agent never sees the real API keys.

Install

pip install agentkeys-io

Usage

from agentkeys import AgentKeys

ak = AgentKeys(
    token="ak_ws_your_key...",
    proxy_url="https://proxy.agentkeys.io",
)

# Proxy a request through the "resend" credential
response = ak.proxy(
    credential="resend",
    url="https://api.resend.com/emails",
    method="POST",
    body={
    },
)

print(response.json())

With proxy token (single credential)

ak = AgentKeys(token="pxr_resend_abc123...")

response = ak.proxy(
    credential="ignored",
    url="https://api.resend.com/emails",
    method="POST",
    body={""from": "hi@example.com", "to": "user@example.com", "subject": "Hello", "text": "Sent via AgentKeys"},
)

Scoped client

resend = ak.for_credential("resend")
stripe = ak.for_credential("stripe")

resend.post("https://api.resend.com/emails", body={
    "from": "hi@example.com",
    "to": "user@example.com",
    "subject": "Hello",
    "text": "Sent via AgentKeys",
})

balance = stripe.get("https://api.stripe.com/v1/balance")

Context manager

with AgentKeys(token="ak_ws_...") as ak:
    response = ak.proxy("resend", url="https://api.resend.com/emails", method="POST", body={...})

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.119 Feb 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
alexandr-belogubov/agentkeys

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:31 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:eaca74945fcb19a8277887c7131df99727c3a02c3ec310066246ee21cde361e0