Lightweight Python client for the Nero voice-agent monitoring platform
Project description
nero-client
Lightweight Python client for the Nero voice-agent monitoring platform.
Installation
pip install nero-client
Quick start
from nero_client import NeroClient
nero = NeroClient(api_key="nero_...")
nero.end_session(
transcript=[
{"role": "assistant", "content": "Hi, this is Alex from ...", "timestamp": "2026-04-09T10:00:01Z"},
{"role": "user", "content": "I'm not interested", "timestamp": "2026-04-09T10:00:04Z"},
],
latency_metrics={"stt_ms": 180, "llm_ms": 620, "tts_ms": 240, "round_trip_ms": 1040},
tool_calls=[{"name": "lookup_customer", "params": {"phone": "+1234567890"}, "result": {"name": "Jane"}}],
metadata={"caller_id": "+1234567890", "campaign": "q2_upsell", "duration_ms": 45000},
)
Async
await nero.end_session_async(transcript=[...])
Configuration
| Parameter | Env var | Default |
|---|---|---|
api_key |
NERO_API_KEY |
(required) |
base_url |
NERO_BASE_URL |
https://api.nero.dev |
timeout |
— | 10.0 |
max_retries |
— | 3 |
License
MIT
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
nero_client-0.1.0.tar.gz
(4.7 kB
view details)
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 nero_client-0.1.0.tar.gz.
File metadata
- Download URL: nero_client-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ed907dfcb1ace8385f52c9aa7b6d058e049ba7477ab887a0242b10d879248e6
|
|
| MD5 |
d10b977d37b7759cec4961a95ed41fb1
|
|
| BLAKE2b-256 |
a0af12d8678e68f5f78634c7066d0e65c0824e9916e98d1a453eb62358a461c7
|
File details
Details for the file nero_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nero_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e92b78cde0329b125e268a2074c291c8ebf8c55758364323c2f4876b8307ba56
|
|
| MD5 |
4024ff9e219a9ec80f687dbdd39da12e
|
|
| BLAKE2b-256 |
ecdedb72350befb1200508f837f8f98e1d2c48a89c4eb486b3d3ba4458d064a3
|