Observed since 20 Oct, 19:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Observability CLI for agentic workflows and event-driven systems. Query LGTM stack + Kafka from your terminal.
Observability CLI for agentic workflows and event-driven systems.
Trace requests across distributed services, debug Kafka consumers, and correlate logs with traces - all from your terminal.
Built for teams running AI agents, Kafka pipelines, and microservices on the LGTM stack (Loki, Grafana, Tempo, Prometheus).
When debugging agentic workflows, you need to:
Existing tools are siloed:
logcli - Loki onlypromtool - Prometheus onlytempo-cli - Tempo onlylgtm-observe: All of them + Kafka in one tool. Optimized for the workflow of debugging distributed systems.
# Core (logs, traces, metrics)
pip install adjoint-lgtm-observe
# With Kafka support
pip install adjoint-lgtm-observe[kafka]
# Development
pip install -e ".[dev,kafka]"
# Configure endpoints (pick one method)
# Option 1: Environment variables
export LOKI_URL=http://localhost:3100
export TEMPO_URL=http://localhost:3200
export PROMETHEUS_URL=http://localhost:9090
export KAFKA_BOOTSTRAP=localhost:9093
# Option 2: Config file
cat > ~/.lgtm-observe.json << 'EOF'
{
"loki_url": "http://localhost:3100",
"tempo_url": "http://localhost:3200",
"prometheus_url": "http://localhost:9090",
"kafka_bootstrap": "localhost:9093"
}
EOF
# Check status
lgtm-observe status
# Query logs
lgtm-observe logs
lgtm-observe logs --service myapp --limit 50
# Get traces
lgtm-observe traces --service myapp
lgtm-observe trace abc123def456
# Query metrics
lgtm-observe metrics 'up'
lgtm-observe metrics 'rate(http_requests_total[5m])'
# Kafka state
lgtm-observe kafka topics
lgtm-observe kafka consumers
lgtm-observe kafka lag
| Command | Description |
|---|---|
status | Health check all systems |
config | Show current configuration |
logs | Query logs from Loki |
trace <id> | Get a specific trace |
traces | Search recent traces |
metrics <query> | Query Prometheus |
kafka topics | List topics with message counts |
kafka consumers | List consumer groups |
kafka lag | Show consumer lag |
# Using uv (recommended)
uv sync --all-extras --dev
uv run pytest
uv run ruff check src/
# Or with pip
pip install -e ".[dev,kafka]"
pytest
ruff check src/
This package uses uv and PyPI Trusted Publishers for secure, token-free releases.
v0.1.0)Add a Trusted Publisher on PyPI:
Adjoint-uklgtm-observepublish.ymlpypiApache 2.0 - Adjoint Ltd
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 13 Dec 2025 | 4 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:c4acbd8280af1104b54f5356a4546ce3a0a2993e8c12e980189ce9d4270cb011