Custom chatbot integration
A custom chatbot backend can call MeMorae directly without an IDE hook or an MCP client.
#How do I integrate my own chatbot?
For a chatbot you control, whether local or hosted, integrate recall before response generation and source submission in the message handler. Users do not need to install a hook. Call MeMorae from the chatbot’s trusted backend using the integration REST API or the Python package. Keep the API key on the server, derive subject_id from the authenticated application user, submit selected source messages, and search with the same subject and namespace. Your application owns its short-term transcript and decides when returned context is useful.
#Handle asynchronous results
Do not assume a submitted message is immediately searchable. Handle empty results and service unavailability while preserving your normal chat behavior.