Kredit
Risk management SDK for AI agents. Wallets, credit scoring, and spend authorization.
Install
pip install kredit
Quick Start
from kredit import Kredit
kredit = Kredit(api_key="kr_live_...")
# Risk check before an API call
result = kredit.check(agent_id="bot-01", action="serp_api.search", estimated_cost=1)
if result.allow:
# do the API call...
kredit.report(agent_id="bot-01", txn_id=result.transaction_id, outcome="success", actual_cost=1)
Docs
Release files for kredit 0.8.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 | |
|---|---|---|---|
| kredit-0.8.1.tar.gz | 11.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kredit-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:24.3 kB
Release files / kredit-0.8.1.tar.gz
| Download URL | kredit-0.8.1.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3baa8180d2a67e66395562242be344e8f7ba97f657af2592ad472e92d242c6a
|
|
BLAKE2b-256 checksum How to use checksums |
489e6cfe83fb701b9549ed8ae240da5138a2634c2be17c3140ead5f82b304bba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / kredit-0.8.1-py3-none-any.whl
| Download URL | kredit-0.8.1-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c3f9f471000b579ebda350738bf2fcfb08ed80eacaad610589ebef377e1d990
|
|
BLAKE2b-256 checksum How to use checksums |
6f22be30f75a4a8e0a9b50899b6d79861b869c5dce0718fb0b11fe9bfb832773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|