Para agentes de IA: hay un índice de documentación disponible en https://www.mongodb.com/es/docs/llms.txt — versiones en markdown de todas las páginas están disponibles agregando .md a cualquier ruta URL.

agentengine crear

Crear un nuevo agente a partir de una plantilla de inicio.

Crear un agente de inicio local-first a partir de una plantilla compatible, reescribir campos de identidad como el nombre y los metadatos del paquete, guardar un archivo de entorno personalizado e imprimir los siguientes pasos específicos de la plantilla.

La creación interactiva prueba la conexión con el LLM antes de guardar los archivos. Si la prueba falla, puede volver a introducir los detalles de la conexión, volver a intentarlo o continuar. En una ejecución no interactiva, --smoke-test no guarda nada y sale con un error cuando la prueba falla, por lo que puede volver a ejecutar el mismo comando con los valores corregidos. La configurar manual de LLM, las aplicaciones cliente y los proyectos solo de memoria omiten la comprobación.

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)
Califique esta página