Skip to main content

kobil-agent-audit (Python)

Python mirror of the @uveysservetoglu/kobil-agent-audit TypeScript SDK — audit, observability, and human-in-the-loop for the KOBIL AI Trust Platform.

Behavioral 1:1 port of the TypeScript package in ../src. The TypeScript source is the reference specification; the Python code reproduces its logic, HTTP wire format, and error semantics. AuditConfig is a snake_case dataclass (developer surface); the entity types (AuditEvent, TokenTrackingEntry, …) are camelCase dicts because they are the literal JSON exchanged with the platform.

Install (dev)

python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"

Test

pytest

Usage

import asyncio
from kobil_agent_audit import KobilAgentAudit

audit = KobilAgentAudit(
    platform_url="https://platform.kobil.com",
    agent_id="my-agent",
    api_token="tok",
)

audit.log_action("call_tool", "weather-api", "success", {"temp": 72})

async def main():
    await audit.destroy()  # flushes remaining events

asyncio.run(main())

Metadata

Release files for kobil-agent-audit 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kobil-agent-audit 3.0.1
File Size Uploaded Provenance Actions
kobil_agent_audit-3.0.1.tar.gz 16.1 kB Without provenance Details for kobil_agent_audit-3.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kobil-agent-audit 3.0.1
File Interpreter ABI Platform Actions
kobil_agent_audit-3.0.1-py3-none-any.whl Python 3 none any Details for kobil_agent_audit-3.0.1-py3-none-any.whl

Total release size: 38.0 kB

Release files / kobil_agent_audit-3.0.1.tar.gz

Download URL kobil_agent_audit-3.0.1.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
91873f9ec0129e169c0089e572c03d43a96c849990d5eafce2b32a102e79ed64
BLAKE2b-256 checksum
How to use checksums
f8e0e4e2f56d298b4efb53323d7c9704d50854874a28f521f35c432b364ddb11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / kobil_agent_audit-3.0.1-py3-none-any.whl

Download URL kobil_agent_audit-3.0.1-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aee82b8be1e126b8f631b4008bc8dd9ba1b311d1e3f47b6abc602e14a152eba5
BLAKE2b-256 checksum
How to use checksums
5980c665dbd6831ce8cedf62545f5fd8d00633f458f42ae8ce631f48cea57660
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for kobil-agent-audit 3.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page