本文へスキップ
Kitbay
スキル公式

add-lens

MIT2026年11月5日 更新178GitHubスター

A Redis skill that adds Redis Iris Lens tracing to an AI agent so each turn appears as one trace in the Lens interface, showing model calls, token counts, tool calls and retrievals.

スキルの内容

A Redis skill that adds Redis Iris Lens tracing to an AI agent so each turn appears as one trace in the Lens interface, showing model calls, token counts, tool calls and retrievals. The agent works out how the app runs a turn (LangGraph, Google ADK, OpenAI Agents SDK, other frameworks or a plain loop), installs the redis-iris package with its tracing extra, initialises Lens with an agent id and opens a turn per message where needed. It also covers threads, process hops and coexistence with an existing OpenTelemetry setup. The Lens endpoint and agent key come from the Lens UI and are kept in an env file.

できること

  • Install redis-iris with LLM tracing and initialise Lens
  • Open one trace per agent turn across common frameworks
  • Record model calls, tokens, tool calls and retrievals
  • Work alongside an existing OpenTelemetry setup
  • Diagnose missing Lens traces