図面作成支援
今すぐ試せる台本どおりのモデルで検証済み仕様と過去の図面から図面の下書きと部品表を作り、設計者のレビューに回す。
誰向けか
製造・品質の担当者
処理の流れ
- 受け取る:依頼を受ける
- 調べる:図面・仕様書、不良・保全の記録、設備マニュアル
- 判断する:根拠を添えて案を作る
- 人が確認する:書き込みは承認を待てる
- 書き込む:確認された内容だけ
つなぐシステム
- Files
- Excel
- MES
安全のために
- 頼んだ人の権限の範囲でだけ動く
- 書き込みは承認を待てる
サインイン状態を確認しています…
プレビュー
サンプル株式会社のエージェントです。内容を確認しました。承認が必要な操作は、確認をお待ちしてから進めます。
- 会社名
- サンプル株式会社
- 承認ルール
- すべての書き込みで承認を待つ
- 口調
- 丁寧
- 返信の言語
- 日本語
- つなぐシステム
- Files
使っている機能
- 本人の権限で実行
- 書き込みの承認
- ファイルの読み取り
実際のソース
tests/gallery/cad-drafting/agents/cad-drafting.ts
import { builtinSkill, defineAgent, files, skill } from '@indx-workspace/sdk/define';
export default defineAgent({
name: 'cad-drafting',
instructions: { file: './cad-drafting.md' },
model: 'default',
// A run is unattended: without autoApprove the SDK stops the skill script's call on an approval prompt.
// The one thing a designer decides is the change set: the agent saves it with `Write`, and the run
// waits there for an approval (ADR-0145) before it drafts. The base drawing is saved by the
// office-reader script (`dxf.mjs <file> <out.json>`), so that `Write` is the run's only gated call.
engine: {
id: 'claude-agent-sdk',
autoApprove: ['mcp__agent-workspace__run_skill_script', 'mcp__agent-workspace__search_files'],
requireApproval: ['Write'],
},
// Similar drawings are found with the platform's `search_files`, which the backend narrows to the
// designer's drawing series with `runs.start({ fileScope })`: no index server of ours.
// It runs the skill's script to write a draft, so it needs commands and file writes; the grants
// below keep the writes to `drafts` (and `outputs/`, which a `writeFiles` agent may write): past drawings
// are read-only.
permissions: { readFiles: true, writeFiles: true, runCommands: true },
// office-reader reads the base drawing; dxf-draft only derives and writes the draft.
skills: [builtinSkill('office-reader'), skill('dxf-draft')],
files: [files('drawings', 'read'), files('drafts', 'read-write')],
limits: { maxTurns: 20, maxBudgetUsd: 1 },
});ファイル構成
agent-workspace.yaml
agents/
cad-drafting.md
cad-drafting.ts
backend/
draft.ts
benchmark.ts
cad-drafting.backend.test-support.ts
cad-drafting.definition.test-support.ts
cad-drafting.fixture.test-support.ts
cad-drafting.skill-script.test-support.ts
cad-drafting.test.ts
data/
access.json
drawings/
evals/
cad-drafting.yaml
skills/
dxf-draft/
surfaces/
design-desk.ts