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.5.tar.gz (21.5 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.5-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: forevr-0.1.5.tar.gz
  • Upload date:
  • Size: 21.5 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.5.tar.gz
Algorithm Hash digest
SHA256 ba4b87e78c204567790591df7467d97a83ee81878d8b5137c1635ac33a58e75b
MD5 85c45b88d334cbd873a88c63fff7c308
BLAKE2b-256 de541a33ad235ff9fe29fc229fe0c358fe688d2a424cfe40dff0c844467a015e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: forevr-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 14.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ed5f08a7958b855a11b317f3df9548e57c18aaea66aef73edcac43b945e8d99a
MD5 890f71ea24466021571f9f070d0f3453
BLAKE2b-256 dd030f21ca8c4bcc991e4442261eda1328c717628de17ad7480097c59113590c

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