The xysq Python SDK gives you direct API access to your memory and knowledge vaults — no MCP server required. Capture memories, surface relevant context, index knowledge sources, and build agents that remember across sessions.Documentation Index
Fetch the complete documentation index at: https://docs.xysq.ai/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Get an API key
Get your API key at app.xysq.ai/connect. It starts withxysq_.
Add it to a .env file in your project:
Your first memory
Core concepts
The SDK exposes two namespaces on every client:| Namespace | Purpose |
|---|---|
client.memory | Episodic memory — captures, recalls, and synthesis |
client.knowledge | Structural knowledge — indexed sources (links, code, quotes) |
| Method | What it does |
|---|---|
capture(content) | Store a memory permanently |
surface(query) | Retrieve the most relevant memories for a query |
synthesize(query) | Answer a natural language question from your memory bank |
memory.surface() and memory.synthesize() results.
Source code
The SDK is open source on GitHub: xysq-ai/sdk_python_xysq Includes examples, community contributions, and the full source. Issues and PRs welcome.What to explore next
Memory operations
Full reference for capture, surface, synthesize, list, delete, and status
Knowledge Base
Index links, code snippets, and quotes into your persistent knowledge base
Team Vaults
Share memory and knowledge across your entire team
XysqAgent & Integrations
Memory-aware agent wrapper with configurable context strategies and tool calling