Docs for Coding Agents
A compact, single-file reference designed for AI coding assistants like Claude Code, Cursor, GitHub Copilot, and other LLM-powered development tools.
What is this?
The tensorheart-memory-api-agent-docs.md file is a condensed version of our API documentation optimized for AI agents. Instead of navigating multiple pages, coding assistants can ingest this single markdown file to understand the entire Memory API.
How to use it
With Claude Code
Add the docs URL to your project's CLAUDE.md file:
## Memory API Reference
For Memory API documentation, fetch: https://memory.tensorheart.com/tensorheart-memory-api-agent-docs.md
With Cursor
Add to your .cursorrules file:
When working with the Memory API, reference the documentation at:
https://memory.tensorheart.com/tensorheart-memory-api-agent-docs.md
With other AI tools
Most AI coding assistants support fetching URLs or reading local files. Either:
- Reference the URL in your project's AI configuration file
- Download the file and place it in your project root
What's included
The agent docs contain:
- Authentication - API key usage and headers
- Core endpoints - Memories, spaces, entities, and query APIs
- Request/response examples - Practical code snippets
- Error handling - Status codes and error formats
- Best practices - Tips for effective memory management
Why a separate file?
AI coding assistants work best with:
- Single-file references - No navigation required
- Compact format - Fits within context windows
- Code-focused content - Emphasis on examples over prose
- Markdown format - Universal compatibility
The full documentation site provides tutorials, guides, and detailed explanations. The agent docs provide quick, actionable reference material.
Keeping it updated
The agent docs are updated alongside the main documentation. The file at https://memory.tensorheart.com/tensorheart-memory-api-agent-docs.md always reflects the latest API version.