gitagent icon indicating copy to clipboard operation
gitagent copied to clipboard

GitClaw traces not showing skill/tool calls in Lyzr Agent Studio (only high-level logs visible)

Open harshit-lyzr opened this issue 7 months ago • 1 comments

Problem In Studio, GitClaw traces are not showing detailed execution steps such as: Skill calls Tool calls Intermediate agent actions

The trace timeline only displays high-level steps like: Session Agent orchestration Generate AI response

Even in Detailed Logs, the breakdown of actual tool/skill execution is missing. This makes it difficult to understand what the agent is actually doing internally.

Expected Behavior Trace view in Studio should include:

  • Skill-level execution steps
  • Tool calls with inputs/outputs
  • Intermediate reasoning/actions (if applicable)
  • Clear step-by-step breakdown of agent flow

harshit-lyzr avatar Apr 27 '26 07:04 harshit-lyzr

Apologies for the delay @harshit-lyzr — and yes, this is a real gap.

The trace plumbing exists on the GitClaw side (src/telemetry.ts emits OpenTelemetry spans for LLM calls, tool execution, and agent sessions; the PR landed Apr 27). What's missing is the Lyzr Studio side rendering those spans at the skill/tool granularity. Studio currently only shows the top-level session + agent-orchestration + generate-response spans — the per-tool spans are emitted but not surfaced in the UI.

Splitting this into two trackable concerns:

  1. GitClaw side (this repo) — verify spans for skill_invocation and tool_call are emitted with the right resource attributes (gitclaw.skill.name, gitclaw.tool.name, args summary). I think they are but the test coverage is thin. I'll add a check.
  2. Studio side — needs a UI update to render the new span kinds in the trace timeline + a "Detailed Logs" expansion for per-tool I/O. That's a Lyzr Studio-side change.

Tagging this bug + studio-integration. Going to ping the Studio team internally about (2). For (1) I'll spot-check the span emission this week. Thank you for the precise repro.

shreyas-lyzr avatar May 13 '26 13:05 shreyas-lyzr