-
v0.2.0 — Auth & Billing Stable
released this
2026-02-10 15:37:56 +00:00 | 8 commits to main since this releaseWhat's New
AgentLens is now a production SaaS with user accounts, API key authentication, and Stripe-powered subscription billing.
User Authentication
- Email + password registration and login (NextAuth v5)
- JWT sessions with bcrypt password hashing (12 rounds)
- Protected dashboard — login required, each user sees only their own traces
- Middleware-enforced route protection
API Key System
- Generate API keys from the dashboard (
al_prefix, SHA-256 hashed) - One-time plaintext display on creation with copy-to-clipboard
- Revoke keys instantly from the dashboard
- Every trace ingestion request validated against API key
Subscription Tiers & Rate Limiting
Tier Price Sessions Free $0 20 / day Starter $5/mo 1,000 / month Pro $20/mo 100,000 / month - Rate limiting enforced per tier on trace ingestion
- Usage tracking with automatic reset on billing cycle
Stripe Billing Integration
- Checkout sessions for tier upgrades
- Webhook handling for subscription lifecycle (create, update, cancel, invoice)
- Self-service billing portal for subscription management
- Security hardened: no secrets exposed to client, webhook signature verification
Dashboard Scoping
- All API endpoints scoped to authenticated user
- Traces, decisions, stats, and SSE streams filtered by ownership
- Settings page rewritten with account info, subscription tiers, and billing UI
Security
- Stripe secret key never exposed to client
stripeCustomerIdsanitized from API responses- Webhook error logs scrubbed of sensitive data
- API key comparison via SHA-256 hash (not plaintext)
Full Changelog: https://gitea.repi.fun/repi/agentlens/compare/v0.1.6...v0.2.0
Downloads
-
released this
2026-02-10 11:45:15 +00:00 | 13 commits to main since this releaseWhat's Changed
Bug Fix: Duplicate Trace ID Handling
Fixed 409 errors caused by intermediate SDK flushes sending duplicate trace IDs to the ingestion API.
Changes:
apps/web/src/app/api/traces/route.ts— ChangedINSERTtoUPSERTfor trace ingestion, so duplicate trace IDs are updated instead of rejectedpackages/sdk-ts/src/transport.ts— Added buffer dedup by trace ID inadd()method to prevent redundant payloads
Version Bumps
Downloads
-
released this
2026-02-10 11:26:08 +00:00 | 14 commits to main since this releaseWhat's Changed
Bug Fixes
- OpenCode Plugin: Fixed event property shape mismatches that prevented traces from being captured
session.created/session.deletednow correctly readsproperties.info.id(Session object) instead ofproperties.idsession.diffnow readsproperties.diffasFileDiff[]array instead of stringfile.editednow readsproperties.fileinstead ofproperties.filePath
- Dashboard Navigation: Fixed highlight staying on "Traces" when visiting Decisions or Settings pages
- Plugin Resilience: Added auto-session creation fallback from
tool.execute.beforeandchat.messagehooks - Plugin Flush: Added
flushSession()for intermediate trace sends onsession.idleto prevent data loss
New Features
- Docs Syntax Highlighting: All 10 documentation pages now use Shiki with
github-darktheme for proper code highlighting - Copy-to-Clipboard: Every code block in docs has a one-click copy button
- README: Updated with TypeScript SDK and OpenCode plugin sections
Published Packages
opencode-agentlens@0.1.1on npmagentlens-sdk@0.1.0on npm (unchanged)vectry-agentlens@0.1.1on PyPI
Full Changelog
https://gitea.repi.fun/repi/agentlens/compare/v0.1.0...v0.1.1
Downloads
- OpenCode Plugin: Fixed event property shape mismatches that prevented traces from being captured
-
released this
2026-02-10 01:52:20 +00:00 | 27 commits to main since this releaseAgentLens v0.1.0
Agent observability that traces decisions, not just API calls. See why your AI agents chose what they chose.
Install
pip install vectry-agentlensQuick Start
import agentlens agentlens.init(api_key="your-key", endpoint="https://agentlens.vectry.tech") with agentlens.trace("my-agent-task"): agentlens.log_decision( type="TOOL_SELECTION", chosen={"name": "search_web", "confidence": 0.92}, alternatives=[{"name": "search_docs", "reason_rejected": "query too broad"}], reasoning="User query requires real-time data" )What's Included
Python SDK
- Decision tracing with 7 decision types (TOOL_SELECTION, ROUTING, PLANNING, RETRY, ESCALATION, MEMORY_RETRIEVAL, CUSTOM)
- OpenAI auto-instrumentation:
wrap_openai(client) - LangChain callback handler
- Nested trace contexts for multi-agent workflows
- Async batch transport with automatic flushing
Dashboard
- Real-time trace streaming via SSE
- Decision tree visualization (React Flow + Dagre)
- Analytics: token usage, cost tracking, duration timelines
- Advanced filtering: status, tags, date range, full-text search
- Trace detail with tabs: Tree, Analytics, Decisions, Spans, Events
Infrastructure
- Docker Compose one-command deployment
- PostgreSQL 16 + Redis 7
- Health checks on all services
- Memory limits and log rotation
Links
- Live demo: https://agentlens.vectry.tech
- PyPI: https://pypi.org/project/vectry-agentlens/
- Documentation: See README.md and packages/sdk-python/README.md
- Examples: See examples/ directory
Downloads