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.
Memory Subsystem Updates
These methods allow you to modify how memory behaves without restarting the server. Only the fields you provide will be updated.
update_episodic
Configures the behavior of the episodic memory stream.
update_long_term
Updates the infrastructure used for long-term storage.
Resource Management
add_embedder
Registers a new embedding model provider.
add_language_model
Registers a new LLM provider for summarization and semantic extraction.
Resource Health & Recovery
retry_reranker
Attempts to re-initialize a reranker resource that has moved into a FAILED state.
retry_language_model
Attempts to re-initialize a failed LLM provider.
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.