Logo di Agenticx Agent Obs

Agenticx Agent Obs

Community
DemonDamon
agenticx-agent-obs

Configure AgenticX observability (Traces, Observations, Sessions, Token & latency metrics) for Near desktop, Python/TypeScript/Go agents, LangChain/LangGraph, and OpenAI-compatible apps, or diagnose failed traces and slow spans. Use when the user asks to enable trace reporting, connect AgenticX observability, inspect recent failed traces, or analyze agent latency and token consumption.

Add to TypingMind

Panoramica

Pubblicato daDemonDamon
RepositoryAgenticX
Nome della skillagenticx-agent-obs
Stelle
608
Fork
68
File inclusi
2
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 2

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da DemonDamon su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Agenticx Agent Obs in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/DemonDamon/AgenticX/tree/main/agenticx/skills/agenticx-agent-obs
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DemonDamon/AgenticX.git /tmp/AgenticX
mkdir -p .claude/skills
cp -r /tmp/AgenticX/agenticx/skills/agenticx-agent-obs .claude/skills/agenticx-agent-obs
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Agenticx Agent Obs in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Agenticx Agent Obs non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Agenticx Agent Obs non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

AgenticX Observability Assistant (agenticx-agent-obs)

Guide for connecting AI agents to the AgenticX Runtime Observability center (/ops/logs: Overview, Traces, Observations, Sessions) and diagnosing trace errors or latency bottlenecks.

Core Capabilities

  1. Desktop & Local Runtime Auto-Onboarding: Configure ~/.agenticx/config.yaml so Near desktop sessions automatically report run, model, tool, and subagent spans (including reasoning thought previews) to the enterprise observability endpoint.
  2. Multi-Framework SDK Instrumentation: Instrument Python (agenticx, openai, langchain, langgraph), TypeScript/Node.js, or Go services to report structured trace spans.
  3. Interactive Trace & Session Diagnosis: Query recent traces, inspect failed tool / model / subagent observations, and summarize latency P50/P90 or token spikes using the bundled diagnostic script.

Workflow 1 — Connect Near Desktop to Enterprise Observability

When the user wants their local Near desktop runs to appear in the Enterprise Admin Console (运行观测):

  1. Inspect ~/.agenticx/config.yaml under the enterprise: section.
  2. Ensure the following keys are present (ask the user for base_url and token only if missing):
    yaml
    enterprise:
      enabled: true
      base_url: "<ENTERPRISE_PORTAL_URL>"
      user_email: "<USER_ACCOUNT>"
    (The personal access credential is configured in Near Desktop Settings → Enterprise Connection.)
  3. Verify connectivity using the bundled diagnostic script (see Workflow 3).
  4. Explain privacy guarantees:
    • Uploaded spans include trace_id, step_no, step_kind (run | model | tool | subagent), status, model, provider, token counts, duration_ms, and 500-char clipped previews of user input, assistant reply, and model reasoning (metadata.thought).
    • Tool arguments and raw tool outputs are never uploaded.

Workflow 2 — Instrument External Agent Code (Python / LangChain / OpenAI / TS)

When the user wants to report traces from their own application code into AgenticX Observability:

  1. Read references/ingest-guide.md in this skill directory for complete payload schemas and copy-pasteable code templates.
  2. Choose the matching integration path:
    • Desktop Ingest (POST /api/desktop/agent-traces): Uses the enterprise connection header against the Web Portal. Best for developer machines, CLI agents, and custom Python/LangGraph runners.
    • Gateway Proxy (:8088/v1/chat/completions): Route OpenAI-compatible SDK calls through the AgenticX Go Gateway with X-Trace-Id, X-Trace-Step, and X-Session-Id headers for automatic span + token + cost capture.
  3. Keep span hierarchies linked by setting metadata.parent_step_no on child model, tool, and subagent spans pointing to the root run step (or active model step for tool calls).

Workflow 3 — Diagnose Failed Traces, Slow Spans, or Token Spikes

When the user asks "Why did my last agent run fail?", "Which tool is slowing down the session?", or "Show me today's token usage and errors":

  1. Run the bundled diagnostic script located in this skill's scripts/diagnose_traces.py:
    bash
    python3 ~/.agenticx/skills/registry/agenticx-agent-obs/scripts/diagnose_traces.py --mode summary
    (If running from the built-in path, use the directory where this SKILL.md resides.)
  2. Supported flags:
    • --mode summary: Prints 24h KPI overview, error counts by category (tool / model / subagent / run), P50/P90 latency, and top models.
    • --mode errors: Lists recent failed traces and the exact observation step (#step_no, tool/model name, error message) that bubbled up to the trace.
    • --trace-id <id>: Prints the full parent-child call tree (run → model → thought / tool) and input/output previews for a single trace.
  3. Summarize the root cause clearly for the user and provide actionable next steps (e.g., fixing a broken MCP tool command, adjusting model timeout, or narrowing prompt context).

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Agenticx Agent Obs?

Configure AgenticX observability (Traces, Observations, Sessions, Token & latency metrics) for Near desktop, Python/TypeScript/Go agents, LangChain/LangGraph, and OpenAI-compatible apps, or diagnose failed traces and slow spans. Use when the user asks to enable trace reporting, connect AgenticX observability, inspect recent failed traces, or analyze agent latency and token consumption.

Perché usare Agenticx Agent Obs su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Agenticx Agent Obs è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Agenticx Agent Obs in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/DemonDamon/AgenticX/tree/main/agenticx/skills/agenticx-agent-obs. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Agenticx Agent Obs?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Agenticx Agent Obs?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Agenticx Agent Obs: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Agenticx Agent Obs è gratuita?

Sì. È pubblicata su GitHub da DemonDamon con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇