Observability for AI agents
Project description
Layr
Observability for AI agents. Instrument your agents in a few lines of code and get full visibility into every action, decision, and resource they consume — works with the observability stack you already have.
Requirements
- Python 3.10+
Installation
Install the package from PyPI (the distribution name is layr-sdk; you import the layr module in code):
pip install layr-sdk
Quickstart
Create an API key from your Layr account, then:
from layr import Agent
agent = Agent(api_key="your-key")
agent.track(
action="send_email",
target="user@example.com",
reasoning="Customer requested order update",
input_tokens=450,
output_tokens=210,
latency_ms=1200,
)
Documentation
Full documentation: www.getlayr.co/docs
License
MIT — Built by the Layr team at www.getlayr.co
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 layr_sdk-0.1.0.tar.gz.
File metadata
- Download URL: layr_sdk-0.1.0.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a023c2901b58e36962544dfd36272b868aa49da9fe4736276e5c09b01c5c3c7
|
|
| MD5 |
dbc89b65fa2ec65fe80f788423c17c1b
|
|
| BLAKE2b-256 |
895bbd1a5cad5cbc765b0d1a2904430a050186d7ce3672a0b80b2dc24b5a81fa
|
File details
Details for the file layr_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: layr_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edc57643feca66ad5760d26a089a65288632c304c3e2b1f2e25df68ef2e9bdaa
|
|
| MD5 |
1909f735a0f6d4fbc11cc60e65a9c872
|
|
| BLAKE2b-256 |
e8a8f7aa183daa027139e66920a56267eb1040e5b6ec6b83ce4393f0be17a966
|