AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。

agentengine create

スターターテンプレートから新しいエージェントを構築します。

サポートされているテンプレートからローカルファーストのスターターエージェントを作成し、名前やパッケージのメタデータなどのIDフィールドを書き込み (write)、パーソナライズされた環境ファイルを書き込み (write)、テンプレート固有の次のステップを出力します。

対話型作成では、ファイルに書き込み (write) を行う前にLLM接続をテストします。テストが失敗した場合は、接続の詳細を再入力するか、再試行するか、続行するかを選択できます。非対話型実行では、--smoke-testは何も書き込み (write) せず、テストが失敗するとエラーで終了するため、修正した値で同じコマンドを再実行できます。手動でのLLM設定、クライアントアプリ、メモリのみのプロジェクトでは、このチェックはスキップされます。

agentengine create [flags]
agentengine createagentengine create --name "Acme Assistant" --llm anthropic --memory
--dir string Target directory (default: ./<slug>)-h, --help help for create --json Output the scaffold result as JSON --llm string LLM connection: openai, anthropic, gemini, openrouter, openai-compatible, anthropic-compatible, or custom (configure in code) --llm-auth-header string Header field the compatible endpoint expects the API key in (default: inferred; authorization uses Bearer) --llm-base-url string Compatible endpoint base URL; its host is added to network.egress --llm-model string Model or deployment name (required for OpenRouter and compatible endpoints) --memory Enable memory for supported agent templates and prompt for Voyage API key --memory-only Scaffold a memory-only project (project-config.yaml only, no agent template) --name string Application display name --open-egress Allow open outbound access for Agent and Tool (writes network.egress_mode: allow_all) --smoke-test Send one Hello request to the selected LLM before writing files (10s timeout); if it fails, create writes nothing and exits with an error --template string Starter template to use (default: insurance-agent) --yes Accept defaults for optional prompts
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)
  • agentengine - エージェント エンジン ローカル開発用 CLI。
このページを評価