Skip to content
Early access Kaleidoscope needs a key to run. Email contact@kleosresearch.xyz and we will send you one.

LangChain

Install and activate first — Getting started covers both. Without a key the wiring below succeeds and the server refuses with E_NO_KEY the moment your editor starts it.

Use the official LangChain MCP adapter, one session for the whole run.

Terminal window
cd ~/your-project
kscope init --no-wire
kscope profile import default ~/your-project/.kaleidoscope
kscope profile launch default

Copy command and args into the adapter’s server definition. Any other MCP client explains each field.

Open the stdio adapter before the agent run, load search and remember, and close it when the run is over.

Do not wrap Kaleidoscope as a BaseStore, and do not attach a second LangChain memory alongside it.

The adapter should have loaded search and remember, and your agent should have no other memory component attached.

Close the adapter and delete the server definition from your application configuration.