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.2.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.2-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: forevr-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 15fac0fc1b441f6dcb79ef832e0005cffc2889ba0e71e0704966b876e06d12c4
MD5 a71616c470652857f972d73eb1f9a509
BLAKE2b-256 96cd127c7ca1c14307db7928825b11b513941fad76bb8e93d41d391a9979096a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: forevr-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0712cb896ca62205ca6cd507cfd8cf96798a421fe285567f5a7d50336cbd1706
MD5 86b6813cf84780d758a2225cac8446d5
BLAKE2b-256 d642dd39c1dbf0cf3a38bbdf01668787a11ac3851008fd04c3858e014de711d5

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