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 compilar

Empaquete y compile la imagen del agente en la plataforma.

Cree un fichero de origen desde el directorio actual, súbalo y activador una compilar de CodeBuild que produzca una imagen de ECR.

El comando necesita un directorio de agente local porque carga el fichero de origen; --workspace-id por sí solo no lo reemplaza. Para volver a compilar una versión sin código fuente local, utilice agentengine build --version <version> --workspace-id <id>. El ID del espacio de trabajo, de lo contrario, proviene de .agentengine/state.json, escrito por agentengine init.

--upload-build-secrets es de inclusión voluntaria. Lee cada `agente.yaml artifact_repositories[].secret` de la variable de entorno con el mismo nombre, lo carga en el ámbito declarado antes de que comience la compilación y nunca lee una variable de entorno que `agente.yaml` no declare. Sin ello, almacene las credenciales una vez con agentengine secret set <NAME>. Subir un secreto con ámbito de proyecto requiere PROJECT_OWNER o ORG_ADMIN; un secreto con ámbito de espacio de trabajo requiere PROJECT_OWNER o AGENT_DEVELOPER.

export ARTIFACT_REPO_CORPS_PYPI_TOKEN="$(aws codeartifact get-authorization-token ...)"agentengine build --upload-build-secrets
agentengine build [flags]
--all Monorepo: build all workspaces sequentially --base-url string Platform base URL --context string Named context to target (see 'agentengine context list')-h, --help help for build --json Output build result as JSON --label string Human-readable build label (default: git branch@sha12) --no-wait Return immediately after starting the build without polling --org-id string Organization ID --project-id string Project ID --release Mark this build as a release of the version declared in agent.yaml, addressable by 'agentengine deploy --version' --upload-build-secrets Optional: before building, upload each agent.yaml artifact_repositories[].secret from the same-named environment variable-v, --verbose Print every file added to the source archive --version string Always start a new build of the release for this declared agent.yaml version, at its pinned commit and skipping archive upload (mutually exclusive with --workspace/--all) --workspace string Monorepo: build a specific workspace by name (from root agent.yaml) --workspace-id string Workspace ID
--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
Califique esta página