Observed since 21 Oct, 08:56 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Lightweight observability SDK for AI agents — wrap any agent framework, get anomaly detection, guardrails, and cost tracking.
Lightweight observability for AI agents. Wrap any local or cloud model call, stream steps to AgentWatch, and get cost tracking, anomaly detection, and guardrails on the dashboard at agentwatch.in.
Privacy: Your model credentials (OpenAI, Gemini, Ollama, etc.) stay on your machine. AgentWatch only receives telemetry — tokens, cost estimates, tool names, timing, and step metadata — never your API keys or raw model weights.
pip install agentwatch-observe
Optional LangChain integration:
pip install "agentwatch-observe[langchain]"
Add to your project .env:
AGENTWATCH_API_KEY=your_key_here
AGENTWATCH_BASE_URL=https://api.agentwatch.in # optional
Two lines in your agent code — works with Gemini, OpenAI, Ollama, LangChain, or custom logic:
import agentwatch
agentwatch.bootstrap() # reads AGENTWATCH_API_KEY from env
@agentwatch.track(agent_name="my-agent")
def handle_message(message: str):
return your_existing_agent_logic(message)
Open the AgentWatch dashboard → Runs to see the trace.
If you call a provider SDK directly, wrap it once and every LLM call is logged:
from google import genai
client = agentwatch.instrument_google_genai_client(genai.Client(api_key="..."))
# client.models.generate_content(...) is now auto-logged inside an active run
# Also: instrument_openai(OpenAI()), instrument_anthropic(Anthropic())
with agentwatch.run("my-agent") as run:
run.log_llm(model="gpt-4o-mini", input_tokens=120, output_tokens=40, output="Hello!")
run.log_tool("search", input_data={"q": "hello"}, output_data={"results": []})
agentwatch.run(...) — context managerrun.log_llm(...) — LLM step with token/cost trackingrun.log_tool(...) — tool call stepagentwatch.track(...) — decoratoragentwatch.instrument_openai(client) — auto-log OpenAI callsSee the full docs at agentwatch.in.
PyPI never allows re-uploading the same version number.
version in pyproject.toml and agentwatch/__init__.pycd sdk && python -m buildtwine check dist/*twine upload --repository testpypi dist/*twine upload dist/*See CONTRIBUTING.md for details.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 7 Jul 2026 | 3 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 08:56 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0666878331cdca0c579991c0f7a606879b80d529b554c1f35b4e1efd8686ad82