Skip to main content

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-deflate over WebSocket; schema version is negotiated at the handshake (MAJOR mismatch = fast fail, close code 4400).
  • 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.

Metadata

Release files for etaoi 0.3.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 etaoi 0.3.0
File Size Uploaded Provenance Actions
etaoi-0.3.0.tar.gz 110.4 kB With provenance Details for etaoi-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for etaoi 0.3.0
File Interpreter ABI Platform Actions
etaoi-0.3.0-py3-none-any.whl Python 3 none any Details for etaoi-0.3.0-py3-none-any.whl

Total release size: 235.2 kB

Release files / etaoi-0.3.0.tar.gz

Download URL etaoi-0.3.0.tar.gz
Size 110.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8d9ad675aa22856efe78f41400155952a8dd771a73d079dbd2673ca7c6489dee
BLAKE2b-256 checksum
How to use checksums
88a8c8dcc7cf17d5382e4421c1bfd2581986cdb2e54504ea68e3c854394096b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 4, 2026.

Transparency log

Release files / etaoi-0.3.0-py3-none-any.whl

Download URL etaoi-0.3.0-py3-none-any.whl
Size 124.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fa5327864ce2942d62e3d4deee71c1dcbb07031b3c1019f3a2046614eaedea7
BLAKE2b-256 checksum
How to use checksums
5a6e79c0e9ea56febf9a9a58cad66c571f104e4b7c6d247fa8c4a3cc6fd9d263
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 4, 2026.

Transparency log

Security for etaoi 0.3.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for etaoi-0.3.0.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 Sep 4, 2026.

Transparency log

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.

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