For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.

@mongodb-js/agent-engine-runner-shared

The TypeScript runner runtime for Atlas Agent Engine. It provides the platform protocol, secure tool and LLM wrappers, request-scoped runtime context, and server adapters used by the TypeScript LangGraph SDK.

This package is an open-source runtime integration library. Running an agent through the managed service requires Atlas Agent Engine services such as the Orchestration Engine and Agent Execution Runtime; those services are not distributed with this package.

Note

This is an internal core package; agents don't install it directly. Install a framework SDK (@mongodb-js/agent-engine-sdk-langgraph), which depends on it.

Run commands from the TypeScript workspace root:

npm cinpm run build --workspace=@mongodb-js/agent-engine-runner-sharednpm run test --workspace=@mongodb-js/agent-engine-runner-shared

Every direct dependency is a third-party open-source project or a sibling SDK package. The platform services this package integrates with are not source dependencies.

Copyright 2026 MongoDB, Inc. Licensed under the Apache License, Version 2.0.

Rate this page