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 1.2.0

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 1.2.0
File Size Uploaded Provenance Actions
kobil_agent_audit-1.2.0.tar.gz 16.0 kB Without provenance Details for kobil_agent_audit-1.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 38.0 kB

Release files / kobil_agent_audit-1.2.0.tar.gz

Download URL kobil_agent_audit-1.2.0.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
319c9618deec61969399e8edd8e4f24c81a70611525fc84dd3f342d8ae7db55f
BLAKE2b-256 checksum
How to use checksums
0398143387260f356fac0b206bb1379b62c854f40e83bda3eb87de0608ef14d7
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-1.2.0-py3-none-any.whl

Download URL kobil_agent_audit-1.2.0-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
461cec4e2538445f1f4ace42f3dcdfda50f9c18f851973eb0abe95df13403d97
BLAKE2b-256 checksum
How to use checksums
6f53f54afba189254295ed2b10df57f03243bff3014663c497cae91d19bc5ea5
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 1.2.0

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

1.2.0 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