feat: SEO improvements and npm publish prep
- Expand sitemap from 2 to 13 URLs (all docs pages) - Update JSON-LD featureList with Anthropic, OpenCode, TypeScript SDK - Update llms.txt with docs links, TS SDK, OpenCode plugin sections - Add READMEs for agentlens-sdk and opencode-agentlens packages - Add repository, homepage, author, bugs fields to both package.json
This commit is contained in:
@@ -6,19 +6,35 @@ AgentLens helps engineering teams debug, monitor, and improve AI agent applicati
|
||||
|
||||
## Getting Started
|
||||
|
||||
- [GitHub Repository](https://gitea.repi.fun/repi/agentlens): Source code, issues, and contribution guide
|
||||
- [Documentation](https://agentlens.vectry.tech/docs): Full docs covering SDKs, integrations, API reference, and self-hosting
|
||||
- [Quick Start](https://agentlens.vectry.tech/docs/getting-started): Install, initialize, and send your first trace in 5 minutes
|
||||
- [GitHub Repository](https://gitea.repi.fun/repi/agentlens): Source code and issues
|
||||
- [PyPI Package](https://pypi.org/project/vectry-agentlens/): Install with `pip install vectry-agentlens`
|
||||
- [Dashboard](https://agentlens.vectry.tech/dashboard): Live demo dashboard with sample traces
|
||||
- [npm Package (SDK)](https://www.npmjs.com/package/agentlens-sdk): Install with `npm install agentlens-sdk`
|
||||
- [npm Package (OpenCode Plugin)](https://www.npmjs.com/package/opencode-agentlens): Install with `npm install opencode-agentlens`
|
||||
- [Dashboard](https://agentlens.vectry.tech/dashboard): Live dashboard with real-time traces
|
||||
|
||||
## Python SDK
|
||||
|
||||
- [Python SDK Reference](https://agentlens.vectry.tech/docs/python-sdk): init(), @trace decorator, log_decision(), TraceContext, configuration
|
||||
- [Basic Usage](https://gitea.repi.fun/repi/agentlens/src/branch/main/examples/basic_agent.py): Minimal SDK usage with trace context and decision logging
|
||||
- [OpenAI Integration](https://gitea.repi.fun/repi/agentlens/src/branch/main/examples/openai_agent.py): Wrap OpenAI client for automatic LLM call tracing
|
||||
- [Multi-Agent Example](https://gitea.repi.fun/repi/agentlens/src/branch/main/examples/multi_agent.py): Nested multi-agent workflow tracing
|
||||
- [Function Calling](https://gitea.repi.fun/repi/agentlens/src/branch/main/examples/moonshot_real_test.py): Real LLM test with tool/function calling
|
||||
|
||||
## TypeScript SDK
|
||||
|
||||
- [TypeScript SDK Reference](https://agentlens.vectry.tech/docs/typescript-sdk): init(), TraceBuilder, createDecision(), BatchTransport
|
||||
- Install with `npm install agentlens-sdk`
|
||||
|
||||
## OpenCode Plugin
|
||||
|
||||
- [OpenCode Plugin Docs](https://agentlens.vectry.tech/docs/opencode-plugin): Capture coding agent sessions, tool calls, LLM calls, permission flows, and file edits
|
||||
- Install with `npm install opencode-agentlens`
|
||||
- Configure via AGENTLENS_API_KEY and AGENTLENS_ENDPOINT environment variables
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Concepts](https://agentlens.vectry.tech/docs/concepts): Traces, Spans, Decision Points, Events explained
|
||||
- **Traces**: Top-level containers for agent execution sessions, with tags and metadata
|
||||
- **Spans**: Individual operations within a trace (LLM calls, tool calls, chain steps)
|
||||
- **Decision Points**: The core differentiator — captures what was chosen, what alternatives existed, and why
|
||||
@@ -26,6 +42,7 @@ AgentLens helps engineering teams debug, monitor, and improve AI agent applicati
|
||||
|
||||
## API
|
||||
|
||||
- [API Reference](https://agentlens.vectry.tech/docs/api-reference): Full REST API contract
|
||||
- POST /api/traces: Batch ingest traces from SDK (Bearer token auth)
|
||||
- GET /api/traces: List traces with pagination, search, filters, and sorting
|
||||
- GET /api/traces/:id: Get single trace with all spans, decisions, and events
|
||||
@@ -34,12 +51,14 @@ AgentLens helps engineering teams debug, monitor, and improve AI agent applicati
|
||||
|
||||
## Integrations
|
||||
|
||||
- **OpenAI**: `wrap_openai(client)` auto-instruments all chat completions, streaming, and tool calls
|
||||
- **LangChain**: `AgentLensCallbackHandler` captures chains, agents, tools, and LLM calls
|
||||
- [OpenAI Integration](https://agentlens.vectry.tech/docs/integrations/openai): `wrap_openai(client)` auto-instruments chat completions, streaming, and tool calls
|
||||
- [Anthropic Integration](https://agentlens.vectry.tech/docs/integrations/anthropic): `wrap_anthropic(client)` auto-instruments Claude API calls
|
||||
- [LangChain Integration](https://agentlens.vectry.tech/docs/integrations/langchain): `AgentLensCallbackHandler` captures chains, agents, tools, and LLM calls
|
||||
- **Any Python Code**: `@trace` decorator and `log_decision()` for custom instrumentation
|
||||
|
||||
## Self-Hosting
|
||||
|
||||
- [Self-Hosting Guide](https://agentlens.vectry.tech/docs/self-hosting): Docker, docker-compose, env vars, reverse proxy
|
||||
- Docker Compose deployment with PostgreSQL and Redis
|
||||
- Single `docker compose up -d` to run
|
||||
- Environment variables: DATABASE_URL, REDIS_URL, AGENTLENS_API_KEY
|
||||
|
||||
@@ -37,9 +37,12 @@ export default function HomePage() {
|
||||
"Agent Decision Tracing",
|
||||
"Real-time Dashboard",
|
||||
"OpenAI Integration",
|
||||
"Anthropic Integration",
|
||||
"LangChain Integration",
|
||||
"OpenCode Plugin",
|
||||
"Self-hosting Support",
|
||||
"Python SDK",
|
||||
"TypeScript SDK",
|
||||
],
|
||||
}),
|
||||
}}
|
||||
|
||||
@@ -2,8 +2,21 @@ import { MetadataRoute } from "next";
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
const baseUrl = "https://agentlens.vectry.tech";
|
||||
const now = new Date();
|
||||
|
||||
return [
|
||||
{ url: baseUrl, lastModified: new Date(), changeFrequency: "weekly", priority: 1.0 },
|
||||
{ url: `${baseUrl}/dashboard`, lastModified: new Date(), changeFrequency: "daily", priority: 0.8 },
|
||||
{ url: baseUrl, lastModified: now, changeFrequency: "weekly", priority: 1.0 },
|
||||
{ url: `${baseUrl}/dashboard`, lastModified: now, changeFrequency: "daily", priority: 0.8 },
|
||||
{ url: `${baseUrl}/docs`, lastModified: now, changeFrequency: "weekly", priority: 0.9 },
|
||||
{ url: `${baseUrl}/docs/getting-started`, lastModified: now, changeFrequency: "monthly", priority: 0.9 },
|
||||
{ url: `${baseUrl}/docs/concepts`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${baseUrl}/docs/python-sdk`, lastModified: now, changeFrequency: "monthly", priority: 0.8 },
|
||||
{ url: `${baseUrl}/docs/typescript-sdk`, lastModified: now, changeFrequency: "monthly", priority: 0.8 },
|
||||
{ url: `${baseUrl}/docs/opencode-plugin`, lastModified: now, changeFrequency: "monthly", priority: 0.8 },
|
||||
{ url: `${baseUrl}/docs/integrations/openai`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${baseUrl}/docs/integrations/anthropic`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${baseUrl}/docs/integrations/langchain`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${baseUrl}/docs/api-reference`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${baseUrl}/docs/self-hosting`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user