追蹤小型開發團隊中的 AI 代理任務執行

我一直在探索小型團隊如何能讓AI代理工作保持可見,而不會產生另一個斷開連接的工作流程。

想像這樣的設置:

  • 開發人員建立一項任務。

  • AI編程代理接收該任務。

  • 代理使用其連接的編程Runtime執行任務。

  • 進度、阻礙因素和結果被記錄下來。

  • 人類在接受輸出之前進行審查。

挑戰不僅在於觸發代理。還在於保持任務上下文和執行狀態對所有人可見。

Sharkly.ai通過一個共享的任務工作區來解決這個問題,其中人員和代理都可以是被分配者。它可以與自動化工具一起使用,雖然我不聲稱有原生的n8n整合。

一個可能的n8n工作流程是通過webhook接收任務狀態事件,將其記錄在資料庫或試算表中,並在代理被阻止時通知團隊頻道。

對於小型團隊,Sharkly目前為最多五個人免費提供其完整產品。模型執行仍然使用團隊自己連接的編程計畫或API帳戶。

你目前如何在n8n工作流程中追踪代理運行和失敗?

Hi @Herve_Kom1, good framing — the hard part really is visibility, not just triggering the run.

The pattern I use in n8n is to treat every agent run as a first-class record, not as a log line buried inside an execution:

  1. One webhook per status event — started, progress, blocked, failed, completed — carrying task_id, run_id, agent, status, and a short error or blocker note. Each event appends to a table (a spreadsheet works fine for a small team), and a second view shows only the latest status per task_id, so the team always sees the current state without digging through executions.
  2. A heartbeat / stale-run check — a scheduled workflow that flags any run still showing as “running” past its expected window. That catches the silent failures that never send a “failed” event, which in my experience are the ones that actually slip through.
  3. A human review gate before “accepted” — the agent’s output lands as “ready for review”, and only a human approval moves it to accepted. That keeps the audit trail clean: attempted, reviewed, and accepted are three different states, not one vague “done”.

For a small team, I would keep it boring on purpose: one table, one status webhook, and one daily digest of blocked and stale runs to the team channel. The fancy dashboard can wait until the statuses themselves are reliable.

Curious — are your agents reporting back over HTTP today, or would that status webhook be a new piece to add?