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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file forevr-0.1.3.tar.gz.
File metadata
- Download URL: forevr-0.1.3.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79efa5eedfec0a3c8090dd077c4f3f8bcb34a2fbeb417fc865a8120ef0a7ee16
|
|
| MD5 |
1a1e55084cc2b8b7fa02b13d82655a7a
|
|
| BLAKE2b-256 |
e7c1a9d4b177bd5f8e2510a1975093eb99eb40cfa931bbad59c59c4a992522e1
|
File details
Details for the file forevr-0.1.3-py3-none-any.whl.
File metadata
- Download URL: forevr-0.1.3-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b12edb1223011695a7a4325d8b774b525251dbcc35cbe7fc875fc70f0bd1ca0
|
|
| MD5 |
c12e2e2e03a285df5af078ec3c4c7db8
|
|
| BLAKE2b-256 |
7a99cd50b596fb1d26b72dc4e23a7127c7cd7205f8ca3ec35351dfb77f4754d1
|