对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。

agentengine dev up

启动本地开发环境。

启动本地开发堆栈。

热重载是默认设置:应用容器运行应用程序进程,文件监视会在文件更改时重启这些进程。--isolated 每个进程运行一个容器,更改时需要重新构建。

--all 在统一的用户界面中启动所有代理,并共享项目服务。它仅支持热重载,并且在使用 `--isolated`、`--headless` 和 `--with-egress` 参数时会被拒绝。

memory-服务器 是通过 项目-config.yaml 的 memory: 部分进行配置的。单代理运行会使用代理目录中或其上方的最近的一个文件,并在存储库根目录处停止,因此工作区文件会覆盖单体仓库根目录的文件。--all 仅读取单体仓库根目录的文件。对于代理项目,agent.yaml 中的 功能.memory 也会控制 memory-服务器 是否运行。仅内存项目总是会启动一个。

默认开启本地出口。--no-egress 会跳过 CONNECT 代理并打开互联网。--with-egress 是一个已弃用的别名,用于强制开启代理。

声明文物仓库的代理会获取私有 PyPI 索引的注册表身份验证,这些身份验证会从 UV_INDEX_* 覆盖中解析,然后是 .env。秘密,然后是一个生成的 AWS CodeArtifact 令牌。--no-artifact-auth 会将 UV_INDEX_* 凭证留给您处理。

当 TLS 检测代理(示例 Zscaler)重新签名 HTTPS 时,使用 --ca-bundle 在本地镜像构建中信任公司拦截 CA。PEM 会按工作区记录在 ~/.agentengine/ 下,并在后续于此机器上运行的过程中重复使用;生成的镜像会嵌入授权副本,存储库内容绝不是信任源。AGENTENGINE_CA_BUNDLE 是一个等效的进程环境回退;工作区 .env值将被忽略。使用 --clear-ca-bundle 停止信任先前提供的 CA。

agentengine dev up [flags]
--all Monorepo: start all agents under a single UI --ca-bundle string PEM file of extra CA certificates to trust in local image builds (TLS-inspecting proxies). Recorded per workspace under ~/.agentengine/ and reused on later runs. Also AGENTENGINE_CA_BUNDLE. --clear-ca-bundle Remove a previously persisted extra CA and build without it --headless Omit the playground UI service (for CI and automated testing)-h, --help help for up --isolated Run each process in its own container to simulate production --local-sdk string Install SDK from local source instead of pre-built wheels. Also hot-reloads playground UI (unless --headless) from the same SDK checkout. Pass the path to the client-libraries checkout root. --no-artifact-auth Skip auto-configuring registry auth for declared artifact_repositories --no-cache Build images without Docker layer cache --no-egress Do not start the local CONNECT proxy (open internet) --with-egress Force local egress even if preflight would skip (deprecated alias; default is on) --workspace string Monorepo: target a specific agent by name (from root agent.yaml)
--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)
给本页内容打分