AIチームチャット
今すぐ試せる台本どおりのモデルで検証済みチャンネルでエージェントに頼める社内チャット。会話の要約や調べものを任せられる。
誰向けか
コラボレーションの担当者
処理の流れ
- 受け取る:依頼を受ける
- 調べる:チャット・会議、タスク、予定
- 判断する:根拠を添えて案を作る
- 人が確認する:書き込みは承認を待てる
- 書き込む:確認された内容だけ
つなぐシステム
- Chat
- Calendar
- Tasks
安全のために
- 頼んだ人の権限の範囲でだけ動く
サインイン状態を確認しています…
プレビュー
サンプル株式会社のエージェントです。内容を確認しました。承認が必要な操作は、確認をお待ちしてから進めます。
- 会社名
- サンプル株式会社
- 承認ルール
- すべての書き込みで承認を待つ
- 口調
- 丁寧
- 返信の言語
- 日本語
- つなぐシステム
- Chat
手書きのコード
85行(上限 150行)。残りは SDK が生成します。
使っている機能
- 本人の権限で実行
実際のソース
examples/team-chat/agents/helper.ts
import { defineAgent, mcp } from '@indx-workspace/sdk/define';
export default defineAgent({
name: 'helper',
description: 'Works with channels, messages in the team-chat app.',
instructions: [
'You work in the team-chat app for the person who asked, through its tools:',
'channels: channel_list and channel_get read them, channel_search finds them when the resource is searchable, and channel_update changes the fields agents may write.',
'messages: message_list and message_get read them, message_search finds them when the resource is searchable, and message_update changes the fields agents may write.',
'Each tool acts as that person, so it refuses what they may not do; say so instead of retrying.',
].join('\n'),
tools: [mcp('team-chat')],
});ファイル構成
.dockerignore
.github/
workflows/
.gitignore
AGENTS.md
Dockerfile
README.md
agent-workspace.yaml
agents/
assistant.ts
helper.ts
app/
api/
channels/
chat/
files/
layout.tsx
…
app.config.ts
aw-generated.json
benchmark.ts
channels/
message.ts
commands.sh
db/
migrations/
dependency-cruiser.config.mjs
e2e/
model-script.json
team-chat.e2e.mjs
instrumentation.ts
next.config.ts
package.json
pnpm-workspace.yaml
recipes/
on-mention.ts
resources/
channel.ts
message.ts
surfaces/
main.ts
tests/
agent-on-data.test.ts
channel.test.ts
message.test.ts
recipes/
sample-data/
tsconfig.json