etaoi
The Python SDK for ETAOI Flow — an agent-native trace visualizer for the LangChain ecosystem and LiveKit voice agents. Attach it to your agent, run a conversation, and watch the full reasoning unfold as a navigable, drill-down node graph.
pip install etaoi # core SDK
pip install "etaoi[livekit]" # + LiveKit voice agent tap
Quick start — LangChain / LangGraph / deepagents
import etaoi
etaoi.attach(my_agent) # streams telemetry to a local ETAOI Flow server
# … now `my_agent.invoke(...)` shows up as a trace.
One callback adapter covers LangChain, LangGraph, and deepagents.
Quick start — LiveKit voice agents
from livekit.agents import AgentSession
import etaoi
session = AgentSession(...)
etaoi.attach_session(session)
Captures voice turns (mic → STT → LLM → TTS → speaker), tool calls, sub-agent handoffs, scores/outcomes, errors, and — if the host enabled LiveKit recording — synced audio for replay alongside the trace.
ETAOI Flow Cloud (project API keys)
To stream to the hosted ingest instead of a local self-host server, pass a
host plus your project's API keys:
import etaoi
etaoi.attach(
my_agent,
host="ingest.etaoi.dev", # bare host → wss://, default path /ingest
public_key="pk_live_…",
secret_key="sk_live_…",
)
Or via environment (explicit params take precedence):
export ETAOI_HOST=ingest.etaoi.dev
export ETAOI_PUBLIC_KEY=pk_live_…
export ETAOI_SECRET_KEY=sk_live_…
etaoi.attach(my_agent) # picks up ETAOI_HOST / ETAOI_PUBLIC_KEY / ETAOI_SECRET_KEY
The keys are sent as X-Etaoi-Public-Key / X-Etaoi-Secret-Key headers on
every (re)connect — and only when both are set, so self-host stays
key-less. If the server rejects them (WS close code 4401), the SDK logs a
clear error and stops reconnecting. It never raises into or blocks your agent.
Design constraints
- Never blocks your agent. Async background flush via
anyio, bounded in-memory queue with drop-oldest on overflow, transparent reconnect with backoff. All callbacks return immediately. - Schema-versioned wire format. MessagePack with
permessage-deflateover WebSocket; schema version is negotiated at the handshake (MAJOR mismatch = fast fail, close code4400). - No vendor lock-in. Self-host the server with
docker compose up, or stream to ETAOI Flow Cloud. Same SDK.
For the wire schema this package depends on, see
etaoi-schema.
Links
- Source: https://github.com/etaoi/etaoi
- Changelog: see the project's
CHANGELOG.md(per-version what's-new / what's-fixed) - License: MIT
Metadata
Release files for etaoi 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| etaoi-0.1.4.tar.gz | 104.7 kB | With provenance | Details for etaoi-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| etaoi-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for etaoi-0.1.4-py3-none-any.whl |
Total release size: 223.9 kB
Release files / etaoi-0.1.4.tar.gz
| Download URL | etaoi-0.1.4.tar.gz |
|---|---|
| Size | 104.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd08089255a8200850474320d3fa467a26ddd763a58983da90c60b025cee7707
|
|
BLAKE2b-256 checksum How to use checksums |
40228e7f66b92f5e1cfc07f6f318fee3d6d43ea8dc0a24d1b13046857343c374
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 12, 2026.
Transparency logRelease files / etaoi-0.1.4-py3-none-any.whl
| Download URL | etaoi-0.1.4-py3-none-any.whl |
|---|---|
| Size | 119.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3bcfb471503e57619a8252b895f349844d022f3d0ab7e4576937b25a20ba323c
|
|
BLAKE2b-256 checksum How to use checksums |
103f3d32be9189218b5ab57c6b40e71760043c934082ef6d08634f4a886bb057
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 12, 2026.
Transparency logSecurity for etaoi 0.1.4
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for etaoi-0.1.4.tar.gz
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 Jun 12, 2026.
Transparency logA 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.