Prerequisites
- A Thrindex account and organization at app.thrindex.com.
- An API key with Write (
memory:write) and Read (memory:read) scopes. Copy it when shown — it cannot be retrieved again.
Store and search a memory
- Python
- TypeScript
- REST (curl)
InstallStore a memoryThe call returns immediately with
202 Accepted. The memory is processed in the background and available for search within a few seconds.Search memoriesresults is a list of SearchHit objects ordered by relevance score. Inject the top results into your system prompt.Typical agent loop
This is the recommended pattern for using Thrindex in a conversational agent:Always call the API from your backend. Never put API keys in browser code or mobile clients.
Next steps
How it works
Understand memory levels, processing pipeline, and the search ranking model.
Python SDK
Full method reference, async client, batch operations, and error handling.
TypeScript SDK
Complete TypeScript reference with type definitions for every response.
LLM Integrations
Drop-in wrappers for OpenAI, Anthropic, LangChain, and LlamaIndex.