保全トラブルシュート
今すぐ試せる台本どおりのモデルで検証済みベテランのノウハウと設備マニュアルから、故障の切り分け手順を案内する。
誰向けか
製造・品質の担当者
処理の流れ
- 受け取る:依頼を受ける
- 調べる:図面・仕様書、不良・保全の記録、設備マニュアル
- 判断する:根拠を添えて案を作る
- 人が確認する:書き込みは承認を待てる
- 書き込む:確認された内容だけ
つなぐシステム
- Files
- Excel
- MES
安全のために
- 頼んだ人の権限の範囲でだけ動く
サインイン状態を確認しています…
プレビュー
サンプル株式会社のエージェントです。内容を確認しました。承認が必要な操作は、確認をお待ちしてから進めます。
- 会社名
- サンプル株式会社
- 承認ルール
- すべての書き込みで承認を待つ
- 口調
- 丁寧
- 返信の言語
- 日本語
- つなぐシステム
- Files
使っている機能
- 本人の権限で実行
実際のソース
tests/gallery/maintenance-troubleshooting/agents/maintenance-troubleshooting.ts
import { defineAgent, files, skill } from '@indx-workspace/sdk/define';
import { maintenance } from '../tools/maintenance.ts';
export default defineAgent({
name: 'maintenance-troubleshooting',
instructions: { file: './maintenance-troubleshooting.md' },
model: 'default',
// A run is unattended: without autoApprove the SDK stops the search on an approval prompt.
// `handoff` offers `handoff_to_person`: the agent passes the session to the expert with it.
engine: {
id: 'claude-agent-sdk',
autoApprove: ['mcp__agent-workspace__search_files'],
handoff: true,
},
// The past troubles, the experts' notes and the manuals are granted folders, searched with the
// platform's `search_files` and opened with `Read`; the backend narrows each run to what the
// signed-in technician may see (`runs.start({ fileScope })`). No write, command or network
// permission: the one write it makes, a resolved case into the trouble log, is the maintenance
// system's logResolution, which the platform runs only for a call the technician approved.
permissions: { readFiles: true },
tools: [maintenance],
files: [files('trouble-log', 'read'), files('expert-notes', 'read'), files('manuals', 'read')],
skills: [skill('one-step-diagnosis')],
limits: { maxTurns: 10, maxBudgetUsd: 0.3 },
});ファイル構成
agent-workspace.yaml
agents/
maintenance-troubleshooting.md
maintenance-troubleshooting.ts
apis/
maintenance.openapi.json
backend/
diagnose.ts
inspect-turn.ts
review.ts
scope.ts
benchmark.ts
data/
access.json
expert-notes/
manuals/
trouble-log/
evals/
maintenance-troubleshooting.yaml
maintenance/
fake-maintenance.d.mts
fake-maintenance.mjs
maintenance-troubleshooting.checks.test-support.ts
maintenance-troubleshooting.definition.test-support.ts
maintenance-troubleshooting.fixture.test-support.ts
maintenance-troubleshooting.session.test-support.ts
maintenance-troubleshooting.test.ts
maintenance-troubleshooting.tools.test-support.ts
skills/
one-step-diagnosis/
surfaces/
floor.ts
tools/
maintenance.ts