memic-sdk
Memic — Context Engineering SDK
What is Memic?
Memic is a managed context engineering platform. Instead of stuffing raw documents into your LLM's context window (expensive, slow, hits token limits), Memic handles the entire pipeline — document ingestion, chunking, embedding, vector storage — and gives you a single search API that returns only the relevant pieces. It also supports Text2SQL for structured databases, so one API covers both documents and databases.
The problem it solves: AI agents and LLM apps need grounded context from real data. Without Memic, you'd build and maintain your own chunking pipeline, embedding infrastructure, vector database, and query routing. Memic does all of this as a service — upload files, search with one API call, get back ranked chunks with source attribution.
Key capabilities:
- Document search (RAG) — Upload PDFs, DOCX, PPTX, TXT, etc. Memic chunks, embeds, and indexes them. Search returns ranked content with file name, page number, and relevance score.
- Database search (Text2SQL) — Connect PostgreSQL/MySQL. Ask natural language questions, get SQL-generated results back.
- Hybrid search — Single API auto-routes queries to the right source (documents, database, or both).
- Multi-tenant isolation — Each API key is scoped to an org/project/environment. No data leaks between tenants.
- Metadata filters — Filter by reference ID, page range, category, document type.
Your API key auto-resolves all context (org, project, environment) — no IDs needed in API calls.