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.
Docs Menu

@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.

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 ci
npm run build --workspace=@mongodb-js/agent-engine-runner-shared
npm run test --workspace=@mongodb-js/agent-engine-runner-shared

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

Rate this page