メインコンテンツまでスキップ

Agent Builder

AI-powered Agent Builder を使用して、自然言語 conversation により agent を構成します​

Agent Builder を使用する理由​

AI agent の構成では、通常、instruction、connector、function、guardrail などを設定するために複数の tab と form を操作する必要があります。Agent Builder では、必要な内容を plain language で説明するだけで、configuration change を行えるため、この作業を簡略化できます。

Agent Builder は Agent Studio に組み込まれた conversational AI assistant です。agent configuration の横に collapsible panel として表示されるため、agent が real-time で update されるのを確認しながら chat できます。

概要​

新しい agent で初めて Agent Builder を開くと、開始するために次の 3 つの onboarding question が表示されます。

  1. agent は何を支援すべきですか?
  2. agent は誰のためのものですか?
  3. agent はどの情報または tool を使用すべきですか?

これらの question は、Builder が agent configuration の堅実な foundation を設定するのに役立ちます。

Builder が構成できる内容​

  • Agent instruction と description
  • LLM model selection
  • Guardrail
  • 新規および既存の connector(database、API、SaaS service など)
  • AI function
  • Connected agent(multi-agent workflow)
  • Knowledge base

Builder ができないこと​

Builder は application 内の既存 resource を使用します。次のことはできません。

  • 新しい knowledge base または AI function の作成(手動作成の手順を guide します)
  • security rule または access control の構成
  • audit logging の設定
  • agent の delete

これらの task には、Agent Settings page または Squid Console の関連する configuration section を使用してください。

Conversation memory​

Builder は session 内の context を記憶するため、以前の message を基に作業を続けられます。chat を clear すると、新しい conversation が開始します。

Agent Builder の使用​

  1. Builder を開く - Agent Studio で、agent page の Agent Builder icon をクリックします。新規作成 agent では、"Start Here" banner が Builder を強調表示します。
  2. 必要な内容を説明する - chat input に natural language request を入力します。Builder は intent を解釈して、適切な configuration change を行います。
  3. 変更を確認する - Builder は変更内容の summary で response します。変更は agent configuration に直ちに反映されます。
  4. 反復する - conversation を続けて agent を改善します。Builder は session 内の以前の context を記憶します。
  5. agent を test する - Test をクリックして test chat widget を開き、agent が期待どおりに動作することを確認します。
  6. chat を clear する - 必要に応じて Clear Chat button を使用し、新しい Builder conversation を開始します。

Agent Builder に依頼できること​

Agent instruction と personality​

  • 「この agent を、professional で helpful な tone で回答する customer support agent にしてください」
  • 「情報を提供するときは常に source を cite するよう instruction を update してください」
  • 「refund request を処理する step-by-step process を追加してください」

Model selection​

  • 「model を Claude Sonnet に切り替えてください」
  • 「この agent には GPT-4o を使用してください」

Guardrails​

  • 「profanity filter と professional tone guardrail を有効にしてください」
  • 「agent が competitor product を議論しないようにする custom guardrail を追加してください」

Connectors​

  • 「Salesforce connector を接続し、user が customer account について質問したときに使用してください」
  • 「Jira connector を切断してください」
  • 「Slack connector の usage を、完了した task に関する notification の送信のみに update してください」

AI functions​

  • 「generateReport function を追加してください」
  • 「sendEmail function を削除してください」

Sub-agent(multi-agent workflow)​

  • 「analysis-agent を接続し、複雑な data analysis task をそれに delegate してください」
  • 「billing-agent を切断してください」

Knowledge bases​

  • 「product question への回答用に product-docs knowledge base を接続してください」
  • 「FAQ knowledge base をいつ使用すべきかを update してください」

Agent description​

  • 「description を 'employee onboarding question 向けの Internal HR assistant' に update してください」

ヒント​

  • まず 3 つの onboarding question を使用して Builder に堅実な foundation を設定させ、その後で詳細を改善してください。
  • database connector では、Builder を通じて接続する前に、Schema tab で全 table と column の description を生成してください。これにより agent が data structure を理解しやすくなります。
  • 1 つの message で複数の変更を行えます(例: 「Salesforce connector を接続し、instruction を update して account inquiry を処理してください」)。

次のステップ​

  • Abilities - agent に追加できる各 ability type について学ぶ
  • Agent Settings - access control や audit logging など、Builder が管理しない setting を構成する
  • AI Agent SDK - Squid SDK を使用して agent をプログラムで構成する
  • Getting Started tutorials - agent 構築の step-by-step tutorial を実行する