Skip to content

Add ingestion bridge for local agent telemetry warehouse #210

@Zephyr709

Description

@Zephyr709

Background

A local-first agent telemetry warehouse MVP now exists outside this repo at /Users/jagercooper/code/agent-telemetry. It provides:

  • PostgreSQL/Neon-compatible schema for agent runs, events, spans, prompts, skills, rule sets, experiments, and task outcomes
  • Python CLI for manual/scripted logging
  • SQL views and analysis queries for subagent effectiveness, rule impact, and prompt comparison

Follow-up

Add a Jcode ingestion bridge so tool events, model metadata, swarm/subagent lifecycle events, and task outcomes can be written to the telemetry warehouse automatically or semi-automatically.

Initial design questions

  • Should ingestion be direct DB writes, CLI subprocess calls, or an event-export file that a daemon imports?
  • Which events should be captured by default without leaking sensitive content?
  • How should sessions map to agent_runs, agent_events, agent_spans, and task_outcomes?
  • How should user opt-in/config be represented?

Acceptance criteria

  • Config-gated telemetry export path.
  • Captures at least run start/end, tool call/result metadata, swarm spawn/report lifecycle, and outcome annotations.
  • Does not include prompts, code, file paths, or personal content by default.
  • Documented local Postgres setup and validation path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions