PiyAPI by Negentro is the memory layer for AI agents. It remembers every user across sessions and sends your model only what each answer needs.
84.1% on BEAM-1M · 93.6% on LongMemEval-S · 99.4% recall@10 · 96.0% on LoCoMo · 97% fewer tokens than the full history, each under the competitor's own protocol, with every answer published.
Start for free · Docs · Benchmark results · negentro.tech
npm install @piyapi/sdk # TypeScript
pip install piyapi-memory # Python
npx -y @piyapi/mcp-server install cursor --api-key YOUR_KEY # Cursor, Claude Code, Codex and other MCP clientsFramework integrations: @piyapi/ai-sdk (Vercel AI SDK), piyapi-langchain, piyapi-langgraph, piyapi-llamaindex.
The MCP server is in the official MCP registry
as io.github.Negentro-ai/piyapi.
| Repository | What it holds |
|---|---|
| piyapi-sdks | TypeScript and Python SDKs, the MCP server, and the Vercel AI SDK, LangChain, LangGraph and LlamaIndex integrations |
| piyapi-benchmarks | Every question, answer and verdict behind our benchmark results, with scripts that recompute each score |
| Piyapi | PiyAPI overview and full benchmark results |
| Negentro-Main | negentro.tech and docs.negentro.tech |