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 forevr

forevr.init(
    api_key  = "tai-xxxxxxxxxxxxxxxxxxxx",
    project  = "my-agent",
)

Integrations

LangChain / LangGraph

from forevr.langchain import Tracer

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

CrewAI

from forevr.crewai import trace_crew

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

OpenAI Agents SDK

from forevr.openai_agents import Processor
from agents import add_trace_processor

add_trace_processor(Processor())

Any custom agent

from forevr.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 forevr.langchain import Tracer

Environment variables

export FOREVR_API_KEY=tai-xxxxxxxxxxxxxxxxxxxx
export FOREVR_PROJECT=my-agent

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.4.tar.gz (20.4 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.4-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: forevr-0.1.4.tar.gz
  • Upload date:
  • Size: 20.4 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.4.tar.gz
Algorithm Hash digest
SHA256 64175a54979cd4842fd6fecabf5b18933801d430e754514adcea6b3461ea2966
MD5 970735b3ae36f32317afc62f5869807c
BLAKE2b-256 0ca52007aa471ca4e6da62665a98cf92888727f72cab2644df943fa08ec8d74d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: forevr-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 13.3 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 be213dac3db1891e041c21618802cd270f6184ae606dc03ec45b217dfb918af8
MD5 ea71a725859073fc3ce97cdbb9224532
BLAKE2b-256 3d79bc702f433312cb1e7c6ab37f5a0d9635ab5b2c1b891dee40978a4d30de7f

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