Skip to main content

Observability SDK for AI agents — auto-traces LangChain, CrewAI, OpenAI Agents, and any custom agent.

Project description

forevr

Observability SDK for AI agents. Auto-traces LangChain, CrewAI, OpenAI Agents, and any custom agent — with a full dashboard for latency, cost, errors, and LLM-as-judge scoring.

Install

pip install forevr

Quick start

import traceai

traceai.init(
    api_key  = "tai-xxxxxxxxxxxxxxxxxxxx",   # from your Trace AI dashboard
    project  = "my-agent",
)

Integrations

LangChain / LangGraph

from traceai.langchain import Tracer

agent = AgentExecutor(agent=..., tools=..., callbacks=[Tracer()])

CrewAI

from traceai.crewai import trace_crew

result = trace_crew(crew, inputs={"topic": "AI trends"})

OpenAI Agents SDK

from traceai.openai_agents import Processor
from agents import add_trace_processor

add_trace_processor(Processor())

Any custom agent

from traceai.universal import Trace, span

with Trace("my_agent"):
    with span("tool_call", "web_search"):
        result = search(query)

Local dev (no API key needed)

Run the backend locally and traces appear in the dashboard automatically:

# No init() needed — defaults to http://127.0.0.1:8000
from traceai.langchain import Tracer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forevr-0.1.1.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

forevr-0.1.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file forevr-0.1.1.tar.gz.

File metadata

  • Download URL: forevr-0.1.1.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for forevr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 299aa94e11d567fe28c1f038db638f2ed4727853fbae8623050010f12dd8f3d3
MD5 63e8729ff2255f52935b9e0b96a2df6d
BLAKE2b-256 d2ccfe6b780560db06bc9449e09e6729b7b8d88a1cdc3379de56dbbc9399bcdd

See more details on using hashes here.

File details

Details for the file forevr-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: forevr-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for forevr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a929f988e84636b95f35aaa34b1f170e72dac85640d0a8df314c40b189d169e
MD5 38545d53251b317de520ff4f7f8ff807
BLAKE2b-256 ca4d152af3e4265a7aea3aced0058187e7766179204d666fe4a8221bd932ab04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page