Reference for managing runtime resources and memory settings
The client.config namespace provides programmatic access to the system’s underlying resources and memory behavior. Use this to manage model providers, vector stores, and the specific toggles for Episodic and Semantic subsystems.
System Configuration
get_full_config
Retrieves the entire current configuration of the MemMachine server, including active resources and default settings.
Registers a new LLM provider for summarization and semantic extraction.
Parameter
Type
Description
name
str
Unique identifier for this resource.
provider
str
Provider type (e.g., "openai", "bedrock").
config
dict
Provider-specific credentials and settings.
Resource Health & Recovery
retry_reranker
Attempts to re-initialize a reranker resource that has moved into a FAILED state.
response = client.config.retry_reranker(name="cohere-v3")if response.success: print("Reranker is now READY")
retry_language_model
Attempts to re-initialize a failed LLM provider.
Parameter
Type
Description
name
str
The name of the language model to retry.
Before updating a memory subsystem to use a new resource (like a new Embedder), ensure the resource has been added via add_embedder and is in a READY state.