evolv-agents
Agent runs as e-volv Observer reads them. Every model call, tool call and
agent run becomes a span with the OpenTelemetry GenAI attributes, sent through
the e-volv-logs SDK you already have, so Observer's Agents pages show each
run with its tokens, cost, session and prompt version.
pip install evolv-agents
import evolv_agents as agents
from openai import OpenAI
agents.init(key=os.environ["EVOLVE_LOGS_KEY"],
url="https://api.e-volv.io/api/public/v1/logs", service="support-bot")
client = agents.instrument_openai(OpenAI())
with agents.session(thread_id, user=user_id), agents.agent("triage"):
res = client.chat.completions.create(model="gpt-5-mini", messages=messages)
with agents.tool("read_ticket"):
ticket = tickets.read(ticket_id)
What it gives you
init(content=False, **e_volv_logs_options):content=Truerecords prompts, completions, tool arguments and results (off by default). e-volv Launch flags are off too, since a Berserker project key has noflags:read; passflags=to turn them on for a key that does.agent(name, agent_id=, provider=, model=): the run, as a context manager.chat(model, provider=): one model call; callc.usage(input=, output=, cache_read=, cache_write=, response_model=)inside.tool(name): one tool call.session(session_id, user=)andprompt(name, version): tag every span inside.instrument_openai(client),instrument_anthropic(client): wrap the client in place; chat completions, the Responses API and messages, streams included.trace_mcp(session, server_name): everycall_toolis a tool span.
Already on OpenTelemetry? You do not need this package: point your exporter at
https://api.e-volv.io/api/public/v1/logs/otlp/v1/traces with the ingest key
as Authorization and Observer reads the GenAI spans directly.
Metadata
Release files for evolv-agents 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| evolv_agents-0.1.1.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| evolv_agents-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.6 kB
Release files / evolv_agents-0.1.1.tar.gz
| Download URL | evolv_agents-0.1.1.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83e48bd771dfc7eafeaf524bc64f31984cb136a12bfaf14f93853a472d5a8f3a
|
|
BLAKE2b-256 checksum How to use checksums |
a1d4f1c32f8369528c51d4e6c38be3454e2178c7a9368f0c0b50c74bd1b3318e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / evolv_agents-0.1.1-py3-none-any.whl
| Download URL | evolv_agents-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78f573a893d3b9d37f93eac7b8a4790d1f041e37d4caa98eb7716c3785d214b6
|
|
BLAKE2b-256 checksum How to use checksums |
5fc9bc0e82f6f7a442ce0ef3dbef850cddca082d44b137ac72ebcb5e08cc2a12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|