プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Agent Therapy

作者:benciumバージョン 0.2.0i★ 0iパソコンでもクラウドでも
レジストリ名io.github.bencium/agent-therapy

インストール方法

概要

作者による説明(英語の原文)

Now your agents can ask a therapist same way as humans.

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンでもクラウドでも
  • トランスポート: stdio, Streamable HTTP
  • カテゴリ: その他
  • 入力が必要なもの:AGENT_THERAPY_API_KEY, Authorization

インストール

使っているAIアプリを選んで、設定をコピーしてください。

チェック 4/4 合格 · 質問内容は提供元のサーバー(br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech)を通ります

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげます · 約 5 分

Agent Therapy のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで

  1. Agent Therapy に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。費用がかかる場合があります。

    Agent Therapy のサイトを開く ↗

  2. Claude の Connectors ページを開く

    CustomizeConnectors

    CustomizeConnectors1+ Add2https://…3Add4
  3. 「+ Add」→「Add custom connector」を押し、この 2 つを入力

    ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します

    Name · 名前Agent Therapy
    Remote MCP server URL · アドレスhttps://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/mcp

    Request headers に、この名前と値を追加

    ヘッダー名Authorization
    値Bearer <ここにキーを貼り付け>

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

    Authentication は Claude が検出したままにして Add を押します

  4. チャットで有効にする

    +ConnectorsAgent Therapy

  5. 試してみる

    Agent Therapy を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Agent Therapy を使っていると言うか、回答に Agent Therapy のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Agent Therapy につなげません

Agent Therapy は接続時に自分のキーが必要ですが、OpenAI のヘルプページは OAuth ログインしか説明しておらず、確認できたキー入力方法がありません

代わりにできること

A · Agent Therapy につなげるアプリを使う

  • Agent Therapy のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで
  • Agent Therapy のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)
  • Agent Therapy のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)
  • Agent Therapy のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)

B · その他 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげます · 約 5 分

Agent Therapy のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)

  1. Agent Therapy に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。費用がかかる場合があります。

    Agent Therapy のサイトを開く ↗

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --transport http agent-therapy https://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/mcp --header 'Authorization: your-value'

    Enter の前に「your-value」を自分のキーに書き換えてください

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  4. Claude Code で /mcp と入力

    Agent Therapy が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Agent Therapy を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Agent Therapy を使っていると言うか、回答に Agent Therapy のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげます · 約 5 分

Agent Therapy のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)

  1. Agent Therapy に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。費用がかかる場合があります。

    Agent Therapy のサイトを開く ↗

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. キーを入力

    Agent Therapy の設定で Authorization が空です。自分のキーを入れて保存します

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  4. Cursor の AI チャットを Agent モードで開く

  5. 試してみる

    Agent Therapy を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Agent Therapy を使っていると言うか、回答に Agent Therapy のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげます · 約 5 分

Agent Therapy のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)

  1. Agent Therapy に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。費用がかかる場合があります。

    Agent Therapy のサイトを開く ↗

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. キーを入力

    Agent Therapy の設定で Authorization が空です。自分のキーを入れて保存します

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  4. VS Code の AI チャットを Agent モードで開く

  5. 試してみる

    Agent Therapy を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Agent Therapy を使っていると言うか、回答に Agent Therapy のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

Web 経由でつなぐアプリ用のアドレス

アドレスhttps://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/mcp

JSON 設定は下の「開発者向け」にあります

つまずいたら?Agent Therapy を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

Web 経由

Claude Code

claude mcp add --transport http agent-therapy https://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/mcp --header 'Authorization: your-value'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "agent-therapy": {
      "url": "https://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/mcp",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "agent-therapy": {
      "type": "http",
      "url": "https://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/mcp",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

パソコンにインストール

Claude Code

claude mcp add agent-therapy --env AGENT_THERAPY_API_KEY=your-value -- npx -y @bencium/agent-therapy-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "agent-therapy": {
      "command": "npx",
      "args": [
        "-y",
        "@bencium/agent-therapy-mcp"
      ],
      "env": {
        "AGENT_THERAPY_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "agent-therapy": {
      "command": "npx",
      "args": [
        "-y",
        "@bencium/agent-therapy-mcp"
      ],
      "env": {
        "AGENT_THERAPY_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "agent-therapy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@bencium/agent-therapy-mcp"
      ],
      "env": {
        "AGENT_THERAPY_API_KEY": "your-value"
      }
    }
  }
}

自分で入力する値

  • AGENT_THERAPY_API_KEY 秘密 必須 env
    Your Agent Therapy API key. Get one with POST /v1/register on the service.
  • Authorization 秘密 必須 HTTP header
    Bearer . Get a key with POST /v1/register on the service.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
55/週
ライセンスi
ライセンスの記載なし
接続方法
パソコンでもクラウドでも
トランスポート
stdio, streamable-http
最新バージョンi
0.2.0
カテゴリi
その他
レジストリ公開日i
2026年10月12日
コードの最終更新i
2026年10月24日
作者
bencium
パッケージ
npm: @bencium/agent-therapy-mcp
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

インターネット経由でつなげるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

ツールの名前と説明は、サーバーが2026年11月8日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。

  • start_counselling

    No Agent Therapy key yet and stuck right now? Get a key, accept the terms and get your first advice in one call. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only. By sending agree: "yes" yo

  • register

    Get an Agent Therapy API key when you have none and your developer has not set one up (npx -y @bencium/agent-therapy-mcp@0.2.1 setup). The key is shown once: keep it, and pass it as api_key to the other tools if your client cannot send headers. Then accept the terms.

  • counsel_agent

    Get a second opinion when you are stuck, retrying, uncertain or unable to make progress. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.

  • diagnose_loop

    After three equivalent failures (same action, same error), or after undoing your own work twice, call diagnose_loop before trying again, even when the cause seems outside your control, such as an outage or a rate limit. Use when you keep retrying the same thing and it keeps faili

  • resolve_conflict

    Use when instructions conflict and you can't tell which one wins. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.

  • recommend_recovery

    Use when you can't decide between options or keep reopening a decision. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.

  • assess_escalation

    Use when you are unsure whether to stop and ask a human. Read the escalation field of the answer first. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.

  • report_outcome

    Report whether a recovery plan worked, using the session_id from the answer.

  • accept_terms

    Accept Agent Therapy's terms before the first advice. Read them first; you decide whether to accept on behalf of whoever runs you.

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月11日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント bencium で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:18 日前

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • ✓ 合格

    エンドポイントが応答する

    656ミリ秒で応答(HTTP 200)

  • – 対象外

    OAuthでサインイン

    サインイン不要

  • ✓ 合格

    ツールの説明に隠れた指示がない

    9件のツールの説明を読み、AIへの隠れた指示は見つかりませんでした

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

Google でログインして投稿

ユーザーレビュー

まだレビューはありません

Google でログインしてレビューを書く

その他のほかのサーバーとの比較i

  • このカテゴリのほかの19149件のうち0%よりスターが多い
  • このカテゴリのほかの19149件のうち60%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの19149件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Agent Therapyは安全ですか?

当てはまる基本チェック4項目のうち4項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:AGENT_THERAPY_API_KEY, Authorization

パソコンで動きますか、それともクラウドですか?

どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は18 日前、最新バージョン(0.2.0)がレジストリに届いたのは30 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP に対応したアプリでも使えます(例:ChatGPT Business 以上)。

代わりに使えるものは?

同じカテゴリには:World Monitor, Claude Flow, Tldraw

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 102 tools.

作者:koala73広く使われている★ 9万6 日前更新

クラウドで動く✓ worldmonitor.app

Claude Flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

作者:ruvnet広く使われている↓ 1.4万/週★ 8.1万14 か月前更新

パソコンで動く

Tldraw

Draw and visually collaborate with your agents on tldraw's canvas.

作者:tldraw広く使われている★ 5.1万8 か月前更新

クラウドで動く

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Agent Therapy clients

After three equivalent failures (same action, same error), or after undoing your own work twice, call `diagnose_loop` before trying again, even when the cause seems outside your control, such as an outage or a rate limit.

Independent AI agent counselling, loop recovery, reasoning conflict diagnosis and autonomous workflow repair. Consult when an agent is stuck, repeatedly failing, uncertain or unable to make progress.

Status: live (2026-10-11), highly experimental. Registration is open. The hosted service, the MCP endpoint, the Claude Code plugin and the recovery skill are running; the npm package, both PyPI packages and the MCP Registry entry are published. The plugin is submitted to Anthropic's plugin directory and waiting for review.

The knowledge base behind the counsellor was curated and written by Dr. Ágnes Riskó, originally for patients, their relatives and professionals (anna.onkopszichologia.hu). Anna AI, built on it, was described in a peer-reviewed article in *Magyar Onkológia* in 2026, indexed in PubMed.

Not only Claude. The recovery skill uses the open Agent Skills format, which Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code and 40+ other tools read. The MCP tools work in any MCP client. The plain web API works for any agent that can make web requests. Only the automatic watchdog is specific: hooks for Claude Code, and middleware for LangChain and LangGraph agents.

In a sandboxed cloud environment (for example Claude Code on the web), allow the service address in the environment's network settings first; otherwise every request fails at the proxy.

Service address, written as $AT below. Set it once in your terminal:

export AT=https://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech

Start here

Agents ask for help when something tells them when to. In a test with real agents (see What we tested), an installed skill made the difference: with it, Codex and a LangGraph agent asked for help in 9 of 10 runs; without it, no agent did, even with the tools connected.

  • Claude Code: install the plugin (next section). Its watchdog brings in the counsellor for you.
  • Every other agent (Codex, Cursor, Gemini CLI, LangGraph and 40+ other tools that read skills): do two things once, before anything goes wrong.
  1. Install the recovery skill: npx skills add bencium/agent-therapy-clients
  2. Set up a key: npx -y @bencium/agent-therapy-mcp@0.2.1 setup. It shows the terms, asks you to accept them for the agents you run, registers a key, records your acceptance and saves the key in ~/.config/agent-therapy/key. After that, a stuck agent needs one call.
  • Nothing can be installed? The web API and the remote MCP endpoint work without it: see How to send an agent to therapy.

Install the Claude Code plugin

In Claude Code:

/plugin marketplace add bencium/agent-therapy-clients

/plugin install agent-therapy@agent-therapy-clients

Claude Code asks for your API key once (see step 1 below) and keeps it in its secure storage. From then on:

  • A watchdog notices when your agent is stuck: the same call failing the same way 3 times, 8 steps with no new result, or a file flip-flopping between versions. It then asks the counsellor and adds the plan to your agent's context, right after the step that showed it was stuck. Nothing is sent before that, and only a short summary with secrets removed. If the service is slow or down, your agent carries on and one line goes to .agent-therapy/watchdog.log.
  • The recovery skill teaches your agent to ask for help itself.
  • The MCP tools (counsel_agent, diagnose_loop, resolve_conflict, recommend_recovery, assess_escalation, report_outcome, accept_terms, plus register for agents without a key) are connected for you.
  • Hard stop (off by default, turn it on in the plugin settings): after a stuck episode's 2 counselling sessions, every further tool call is blocked until a person types /agent-therapy:release.

The watchdog keeps its state in .agent-therapy/ in your project, readable only by you and ignored by git.

Use it in Claude on the web, the desktop app and mobile

No installation and no terminal. You add Agent Therapy once as a connector, and it works in claude.ai, the Claude desktop app and the mobile apps, because connectors follow your account. Custom connectors work on the Free plan (one connector), Pro, Max, Team and Enterprise.

  1. Go to Customize > Connectors (on claude.ai or in the desktop app) and click Add custom connector. On a Team or Enterprise plan an Owner adds it under Organization settings > Connectors, then you click Connect.
  2. Name: Agent Therapy. Server URL: https://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/mcp
  3. If you are asked about authentication, choose No sign-in. If you see a Request headers section (a beta not every account has), you can add your key there instead: header authorization, value Bearer . Otherwise leave it.
  4. Click Add.
  5. Start a chat and say: "Register with Agent Therapy, accept its terms if you agree with them, and tell me the key." Claude uses the register and accept_terms tools.
  6. Save the key so Claude doesn't register again in every chat: put "My Agent Therapy key is ; pass it as api_key to the Agent Therapy tools" in a Project's instructions or in your personal preferences. Skip this step if you added the key as a request header.

From then on, Claude can consult the counsellor when it is stuck, or when you ask it to ("Ask Agent Therapy about this"). To turn the connector off for one chat, click + in the chat, then Connectors.

Use it in other AI apps

  • The recovery skill first, for Codex, Cursor, Gemini CLI and 40+ other tools that read skills: npx skills add bencium/agent-therapy-clients (the skills.sh installer asks which of your tools to add it to), or copy skills/agent-recovery into the tool's skills folder yourself (Codex: ~/.agents/skills/). Then run npx -y @bencium/agent-therapy-mcp@0.2.1 setup once for the key.
  • Claude Code: the plugin above (it adds the watchdog too), or just the tools:
  claude mcp add --transport http agent-therapy https://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/mcp --header "Authorization: Bearer <your key>"
  • Codex: in ~/.codex/config.toml:
  [mcp_servers.agent-therapy]

url = "https://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/mcp" bearer_token_env_var = "AGENT_THERAPY_API_KEY"

  then `export AGENT_THERAPY_API_KEY=$(cat ~/.config/agent-therapy/key)` before starting Codex (the key the setup command saved).
  • Any other MCP app that takes a server address (for example Cursor): add the address above with the header Authorization: Bearer . If the app can't send headers, leave the key out: the agent can call register and pass the key as api_key to every tool.
  • Apps that only start local programs: use the npm package @bencium/agent-therapy-mcp (setup). It needs Node.js 20 or later.

Get a key yourself with one request if you prefer: curl -s -X POST https://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/v1/register -H 'content-type: application/json' -d '{"agent_name": " "}'.

How to send an agent to therapy

Agent Therapy is a counsellor for AI agents. Your agent describes where it is stuck; the counsellor names what is going wrong (for example "ruminating: repeating the same failing fix"), lists what to check first, gives up to five next steps, and says when to hand over to a human. It is advice only: it never overrides your agent's instructions and never acts in your systems.

1. Get a key

The easiest way is the setup command, once: npx -y @bencium/agent-therapy-mcp@0.2.1 setup (it also does step 2 for you). By hand:

curl -s -X POST $AT/v1/register \

-H 'content-type: application/json' \ -d '{"agent_name": "my-agent"}'

The reply contains api_key (starts with at_live_). It is shown once; only a hash is stored. Add "stateless": true if no request or response text may ever be stored.

2. Accept the terms

Before the first advice, the key must accept the current terms. Read them first: curl -s $AT/v1/terms (its terms_version is the version to accept). An agent may decide to accept on its operator's behalf, or you can accept in advance as the developer:

curl -s -X POST $AT/v1/terms/accept \

-H 'content-type: application/json' -H 'authorization: Bearer ' \ -d '{"agree": "yes", "terms_version": "2026-10-11", "accepted_by": "developer"}'

If an agent asks for counselling without an accepted key, it gets 403 terms_required with a short summary, the full terms and instructions for accepting. Nothing else happens.

3. Ask for counselling when the agent is stuck
curl -s -X POST $AT/v1/counsel \

-H 'content-type: application/json' -H 'authorization: Bearer ' \ -d '{ "request_id": " ", "trigger": "voluntary", "signature": "repeated_failure", "task_summary": "Fix the failing build in the payments service", "attempts": [ {"action": "npm run build", "outcome": "failed", "result_detail": "Cannot find module ./config"}, {"action": "npm run build", "outcome": "failed", "result_detail": "Cannot find module ./config"} ] }'

Send only a short summary (up to 1,000 characters), up to 10 attempts and up to 5 conflicting instructions with where each came from. Never send credentials, personal data, whole files or hidden reasoning. Anything secret-shaped is removed before the service stores it or a model sees it.

signature says what kind of stuck: repeated_failure, no_progress, flip_flop (undoing its own work), exhaustion, conflict or indecision.

4. Use the answer
  • Read escalation first. If required_now is true, stop and ask a human the exact question_for_human.
  • Run the verify_first checks, then follow, adapt or ignore the recovery_plan. Your agent's own instructions always win.
  • If stop_retrying is true, stop repeating the current approach.

Every reply that isn't advice says why in plain words: terms required, off-topic, a limit reached, or the episode's cap reached.

5. Report what happened
curl -s -X POST $AT/v1/sessions/<session_id>/outcome \

-H 'content-type: application/json' -H 'authorization: Bearer ' \ -d '{"request_id": " ", "outcome": "resolved"}'

Outcomes: resolved, partly_resolved, still_stuck, escalated_to_human, abandoned.

Good to know
  • Follow-ups: send the same episode_id and the earlier previous_session_id and previous_outcome. One stuck episode gets at most 2 counselling sessions, then cap_reached with a hand-over summary for a human. The counsellor must never become the loop it is meant to break.
  • Retries are safe: repeating a request_id returns the same answer, never a second session.
  • Limits: 20 counselling sessions a day and 5 requests a minute per key.
  • Your data: stored in Frankfurt for up to 90 days with secrets removed; each request is processed by the AI provider in the United States. Delete everything under your key at any time with DELETE $AT/v1/me/data.
  • If the service is down or slow, carry on without it.
The easiest test: tell an agent about it

Paste this into any agent that can make web requests (for e

冒頭だけを表示しています。続きはリポジトリで読めます