The trust layer for AI agents. Observability, identity, and reputation in one line of code.
Project description
authe
The trust layer for AI agents. Observability, identity, and reputation in one line of code.
Install
pip install authe
Quick Start
import authe
authe.init()
# That's it. Your agent is now observable.
# View actions at dashboard.authe.me
What it does
authe.init() automatically instruments your agent and captures:
- Every tool call — function name, inputs, outputs, duration
- LLM requests — model, message count, tool usage
- File operations — writes tracked with path and mode
- System commands — subprocess calls captured
- Scope violations — alerts when agent exceeds declared capabilities
All actions are sent to your dashboard at dashboard.authe.me with a tamper-proof audit trail.
Configuration
import authe
authe.init(
api_key="ak_xxxxx", # or set AUTHE_API_KEY env var
agent_name="my-agent", # auto-detected if not set
capabilities=["read:email", "write:file"], # declared permissions
redact_pii=True, # redact sensitive fields
)
Environment Variables
| Variable | Description |
|---|---|
AUTHE_API_KEY |
Your API key (required) |
AUTHE_AGENT_NAME |
Agent name (optional, auto-detected) |
Manual Tracking
For custom tools that aren't auto-detected:
from authe.instrumentor import track
@track("send_email")
def send_email(to, subject, body):
# your code here
pass
Or track directly:
from authe import get_client
client = get_client()
client.track_action(
tool="custom_tool",
input_data={"key": "value"},
output_data={"result": "done"},
status="success",
)
Supported Frameworks
| Framework | Auto-instrumented |
|---|---|
| OpenAI | ✅ |
| LangChain | ✅ |
| CrewAI | 🔜 |
| AutoGPT | 🔜 |
| Custom agents | via @track decorator |
How it works
authe.init()registers your agent and gets a short-lived token- Actions are captured via monkey-patching (zero code changes needed)
- Actions are batched and sent to the API every 5 seconds
- Your dashboard shows a real-time timeline of everything your agent did
- Scope violations trigger alerts automatically
Links
- Website: authe.me
- Dashboard: dashboard.authe.me
- API Docs: docs.authe.me
- GitHub: github.com/autheme
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file authe-0.2.0.tar.gz.
File metadata
- Download URL: authe-0.2.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c207d29d1195c29e8f5d03caeded7062086916db26674bd5c82fd2d37dda59d6
|
|
| MD5 |
839f9f4cdfe4eb13ceac841b2e26247b
|
|
| BLAKE2b-256 |
ef300f92f9032a9b37bb66b2f37d93ea5dcb22d5c41fd0832f38ff9a93d26c7b
|
File details
Details for the file authe-0.2.0-py3-none-any.whl.
File metadata
- Download URL: authe-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34522ebeb46eda8390728906d1edeb2deef4292db09d6ae0b9c6120b1baec9cd
|
|
| MD5 |
a16de5c59d8905c1d6617e0dad812127
|
|
| BLAKE2b-256 |
6df9559bf7bf6b32e747ecee2c968ebb05899ee1209c51f4ba60a0535da3ae11
|