MemoryRouter
Integration guide

Connect Dark Knight Agent Framework to MemoryRouter

Pair the vault with your own running DKAF bot from its owner Telegram DM. Authorization happens on the owner setup page, not in a shared chat.

Before you connect

Deploy and configure the Telegram-first DKAF package with your owner ID, persistent volume and model. The guided browser setup requires the bot’s public HTTPS ingress; without it use the operator-console flow supplied by the package.

Set up Dark Knight Agent Framework

  1. 1

    Ask the bot for its setup state

    From the configured owner Telegram account send /setup. Check the MemoryRouter entry, separately from the model and network status.

  2. 2

    Authorize from your private owner DM

    Send /login MemoryRouter. Open the single-use owner page it returns. On auth.memoryrouter.ai sign in, choose the intended vault, review read/write/reflect access, and approve. Do not paste tokens into Telegram.

  3. 3

    Check the vault state

    Send /setup again to confirm DKAF recognizes the vault. If hosted registration from your origin is refused, the documented operator fallback is dkaf login memoryrouter --docker CONTAINER, or --fly APP.

Check the connection

With the model connected, send your bot a harmless test decision. In another client authorized to the same vault, ask MemoryRouter to search for that decision without repeating its value. Then ask the bot to retrieve a different test fact written by the other client.

What to expect

An owner-only setup status means the vault grant is configured. It does not prove a model turn saved a memory. Check the actual recall result before relying on the integration.