memic.
Install
Authenticate
The SDK reads your API key from theMEMIC_API_KEY environment variable:
First call
What’s in the SDK
TheMemic client exposes these resources:
client.me()— return the context resolved from your API keyclient.projects— list projectsclient.files— upload, list, delete, statusclient.search(query)— semantic searchclient.chat(messages)— grounded chat with citationsclient.prompts— fetch managed prompts
Configuration
TheMemic constructor accepts optional parameters:
Error handling
The SDK raises typed exceptions for common failures:Related
Quickstart
5-minute walkthrough.
Full reference
Every method and parameter.