Chaukas Spec Client
Protocol buffers and gRPC stubs for integrating Chaukas agent observability into your SDKs
What is this?
chaukas-spec-client provides the client-side Protocol Buffer definitions and gRPC service stubs for the Chaukas agent observability platform. Use this package to:
- Instrument your AI agent SDKs with standardized event tracking
- Send telemetry data to Chaukas-compatible backends
- Track 19+ event types across agent lifecycles, model invocations, tool calls, and errors
- Enable distributed tracing with full trace context propagation
- Ensure compliance with immutable audit trails
Who should use this?
- SDK developers building agent frameworks who want to add observability
- Agent builders integrating telemetry into custom agents
- Platform teams sending events from client applications to observability backends
Note: If you're implementing an observability backend/platform, use
chaukas-spec-serverinstead.
Installation
pip install chaukas-spec-client
Quick Start
import grpc
from chaukas.spec.client.v1.client_pb2_grpc import ChaukasClientServiceStub
from chaukas.spec.client.v1.client_pb2 import IngestEventRequest
from chaukas.spec.common.v1.events_pb2 import Event, EventType
# Create gRPC channel to your Chaukas backend
channel = grpc.insecure_channel('localhost:50051')
stub = ChaukasClientServiceStub(channel)
# Create and send an event
event = Event(
event_id="evt_123",
type=EventType.EVENT_TYPE_AGENT_START,
session_id="session_abc",
trace_id="trace_xyz"
)
request = IngestEventRequest(event=event)
response = stub.IngestEvent(request)
Event Types
The specification includes comprehensive event types for agent observability:
| Category | Event Types |
|---|---|
| Session | SESSION_START, SESSION_END |
| Agent | AGENT_START, AGENT_END, AGENT_HANDOFF |
| Model | MODEL_INVOCATION_START, MODEL_INVOCATION_END |
| Tools | TOOL_CALL_START, TOOL_CALL_END, MCP_CALL_START, MCP_CALL_END |
| I/O | INPUT_RECEIVED, OUTPUT_EMITTED |
| Errors | ERROR, RETRY |
| Extensions | POLICY_DECISION, DATA_ACCESS, STATE_UPDATE, SYSTEM |
Features
✅ Standardized Schema - Protocol Buffer definitions for all event types ✅ gRPC Services - High-performance service stubs for event ingestion ✅ Type Safety - Full type hints and validation ✅ Distributed Tracing - Built-in trace context support ✅ Batch Operations - Efficient batch event ingestion ✅ Query Support - Query events by session, trace, time range, and more
Package Contents
chaukas/spec/
├── client/v1/ # Client gRPC service stubs
│ ├── client_pb2.py
│ └── client_pb2_grpc.py
└── common/v1/ # Shared event definitions
├── events_pb2.py
└── query_pb2.py
Documentation
- Full Specification: chaukas-spec repository
- Protocol Definitions: proto/chaukas/spec/
- Architecture: See main README
- Examples: Usage examples
Related Packages
- chaukas-sdk - One-line instrumentation for popular agent frameworks
- chaukas-spec-server - Server-side implementation for building observability backends
Contributing
We welcome contributions! Please see our Contributing Guide and Code of Conduct.
License
Apache 2.0 - See LICENSE for details.
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Security: See SECURITY.md
Release files for chaukas-spec-client 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chaukas_spec_client-1.0.5.tar.gz | 25.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chaukas_spec_client-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.2 kB
Release files / chaukas_spec_client-1.0.5.tar.gz
| Download URL | chaukas_spec_client-1.0.5.tar.gz |
|---|---|
| Size | 25.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be6264ba7534f65367707e9495522513eefbb44c0de71b93def1106cfe114dba
|
|
BLAKE2b-256 checksum How to use checksums |
ed54a38f37f0bc8a7e1a18d683e3ff521f7804365cdf9d211d9c4dd34389844f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2025.
Transparency logRelease files / chaukas_spec_client-1.0.5-py3-none-any.whl
| Download URL | chaukas_spec_client-1.0.5-py3-none-any.whl |
|---|---|
| Size | 27.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a55af69cf6c1e86472b7544adc2abb508ebb8d228d3beb5bde84179ee8afc57
|
|
BLAKE2b-256 checksum How to use checksums |
9c370f9e66ef511da922eb9aadea34fa548fc949958f8dd0443bca6e09611981
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2025.
Transparency log