CLI tool to monitor, analyze and optimize LLM agents in production
Project description
finobs — LLM Agent Observability Suite
Monitor, analyze and optimize LLM agents in production.
pip install finobs
Commands
finobs audit run_123 # Full observability audit (5 agents in parallel)
finobs trace run_123 # Visualize execution trace
finobs loops run_123 # Detect loops and redundant steps
finobs cost run_123 # Cost breakdown by run
finobs cost tenant_abc # Cost breakdown by tenant
finobs performance run_123 # Latency analysis (p50/p95/p99)
finobs debug run_123 # Debug failed steps
finobs debug run_123 --llm # Debug with Claude semantic analysis (Phase 4)
Instrument your agent
from finobs import traced, flush_trace
@traced("search_documents")
def search_documents(query: str) -> str:
...
@traced("llm_call")
def call_llm(prompt: str) -> str:
...
# At end of run:
flush_trace(run_id="run_123", tenant="my_tenant")
Generate test traces
from finobs.scripts.trace_generator import generate_trace, Scenario
generate_trace(Scenario.LOOP) # loop detection
generate_trace(Scenario.LATENCY_SPIKE) # p95 spike
generate_trace(Scenario.TOKEN_WASTE) # cost waste
generate_trace(Scenario.MULTI_FAILURE) # combined issues
Then audit:
finobs audit loop_xxxxxx
Scoring
| Dimension | Weight |
|---|---|
| Performance | 25% |
| Quality | 25% |
| Cost | 20% |
| Stability | 15% |
| RAG | 15% |
Bands: 🟢 85–100 HEALTHY · 🟡 65–84 DEGRADED · 🔴 0–64 CRITICAL
Development
git clone https://github.com/tu-org/finobs
cd finobs
pip install -e ".[dev,fastapi]"
pytest tests/ -v
Roadmap
- Phase 1 — CLI + trace interceptor + 5 analysis agents
- Phase 2 — Scoring system + report generation
- Phase 3 — Deterministic scripts (loop detector, cost analyzer, metrics)
- Phase 4 — Claude LLM semantic analysis (
--llmflag) - Phase 5 — Self-healing + A/B prompt comparison + degradation detection
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
finobs-0.0.1.tar.gz
(27.4 kB
view details)
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
finobs-0.0.1-py3-none-any.whl
(40.0 kB
view details)
File details
Details for the file finobs-0.0.1.tar.gz.
File metadata
- Download URL: finobs-0.0.1.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04dae08594c1a81b58db4c9710c76cdb8f45f9a3dc19921448727cfb2c88df35
|
|
| MD5 |
90350d67e124b746823151211320824e
|
|
| BLAKE2b-256 |
9e56a76261b23b45d1435ea49117934f37712bfedab1784a6472d3b0e63d3153
|
File details
Details for the file finobs-0.0.1-py3-none-any.whl.
File metadata
- Download URL: finobs-0.0.1-py3-none-any.whl
- Upload date:
- Size: 40.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
775d6988fc3a02865f771b9fd6961f8329b6ea6da812f64dff3e0562dd7df21c
|
|
| MD5 |
ab0d23958ea38f713d9a69d56df7164d
|
|
| BLAKE2b-256 |
44a2a555b34255693e077d905a814ec7cd70f28503bc9a3829627d425bb71919
|