Agenticx Agent Obsのロゴ

Agenticx Agent Obs

コミュニティ
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

概要

公開者DemonDamon
リポジトリAgenticX
スキル名agenticx-agent-obs
スター
608
フォーク
68
同梱ファイル
2
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    DemonDamonがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Agenticx Agent Obs」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/DemonDamon/AgenticX/tree/main/agenticx/skills/agenticx-agent-obs
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAgenticx Agent Obsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAgenticx Agent Obsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Agenticx Agent Obsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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).

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでAgenticx Agent Obsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Agenticx Agent Obsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAgenticx Agent Obsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/DemonDamon/AgenticX/tree/main/agenticx/skills/agenticx-agent-obsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Agenticx Agent Obsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Agenticx Agent Obsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAgenticx Agent Obsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Agenticx Agent Obs」は無料ですか?

はい。DemonDamonがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇