GrantAi Memory

AI 与智能体

by solonai-com

为 AI agents 提供持久化记忆,支持近乎无限上下文,并具备亚毫秒级检索能力。

什么是 GrantAi Memory

为 AI agents 提供持久化记忆,支持近乎无限上下文,并具备亚毫秒级检索能力。

README

<h1 align="center">GrantAi</h1> <p align="center"> <strong>Deterministic Memory for AI</strong><br> Local. Private. Secure. </p> <p align="center"> <a href="https://solonai.com/grantai">Website</a> • <a href="https://solonai.com/grantai/download">Download</a> • <a href="https://solonai.com/help/grantai">Documentation</a> </p> <p align="center"> <img src="assets/demo.gif" alt="GrantAi Demo" width="800"> </p>

The Problem

Every AI system today has the same flaw: it guesses instead of remembers.

RAG (Retrieval-Augmented Generation) converts your documents into vectors — numerical approximations of meaning. When you query, it returns content that is mathematically similar to your question. Similar is not the same as correct.

Ask for "HIPAA encryption penalties" and RAG returns chunks that look like compliance content. Maybe the right section. Maybe adjacent paragraphs. Maybe hallucinated ranges. You pay for every token retrieved, whether relevant or not.

This is the Retrieval Tax:

  • Re-retrieval — Same questions, same searches, same cost
  • Over-retrieval — 20 chunks when you need 3
  • Labor — Engineers tuning embeddings instead of building products
  • Risk — Approximate answers in domains that require precision

Enterprise AI spends 85% of compute on inference. Most of that is wasted on retrieving content that doesn't answer the question.

The Solution

GrantAi is deterministic memory for AI agents.

Instead of similarity search, GrantAi uses direct addressing. Every piece of knowledge has a unique identifier. Retrieval is a lookup, not a search. You get the exact content you indexed — verbatim, with attribution, in milliseconds.

RAGGrantAi
Returns similar contentReturns the exact content
10-20 chunks, hope one is right1-3 sentences, always right
Slows down as corpus growsMilliseconds regardless of size
No attributionFull audit trail
ApproximateDeterministic

Result: 97% reduction in tokens sent to the LLM. Faster responses. Lower cost. No hallucination from retrieval.

Why It Matters

  • Compliance — Exact citations, not paraphrased guesses
  • Multi-Agent — Shared memory across your AI workforce with speaker attribution
  • Cost — Pay for answers, not for searching
  • Security — 100% local, AES-256 encrypted, zero data egress

Quick Start

macOS / Linux (Native)

bash
# 1. Download from https://solonai.com/grantai/download
# 2. Extract and install
./install.sh

# 3. Restart your AI tool (Claude Code, Cursor, etc.)

Docker (All Platforms)

bash
docker pull ghcr.io/solonai-com/grantai-memory:1.8.6

Add to your Claude Desktop config (~/.config/Claude/claude_desktop_config.json):

json
{
  "mcpServers": {
    "grantai": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "--pull", "always",
               "-v", "grantai-data:/data",
               "ghcr.io/solonai-com/grantai-memory:1.8.6"]
    }
  }
}

Supported Platforms

PlatformMethodStatus
macOS (Apple Silicon)Native
Linux (x64)Native
WindowsNative
All PlatformsDocker

MCP Tools

GrantAi provides these tools to your AI:

ToolDescription
grantai_inferQuery memory for relevant context
grantai_teachStore content for future recall
grantai_learnImport files or directories
grantai_healthCheck server status
grantai_summarizeStore session summaries
grantai_projectTrack project state
grantai_snippetStore code patterns
grantai_gitImport git commit history
grantai_captureSave conversation turns for continuity

Multi-Agent Memory Sharing

Multiple agents can share knowledge through GrantAi's memory layer.

Basic shared memory (no setup required)

python
# Any agent stores
grantai_teach(
    content="API rate limit is 100 requests/minute.",
    source="api-notes"
)

# Any agent retrieves
grantai_infer(input="API rate limiting")

All agents read from and write to the same memory pool. No configuration needed.

With agent attribution (optional)

Use speaker to track which agent stored what, and from_agents to filter retrieval:

python
# Store with identity
grantai_teach(
    content="API uses Bearer token auth.",
    source="api-research",
    speaker="researcher"  # optional
)

# Retrieve from specific agent
grantai_infer(
    input="API authentication",
    from_agents=["researcher"]  # optional filter
)

When to use speaker

ScenarioUse speaker?Why
Shared knowledge baseNoAll contributions equal, no filtering needed
Session continuityNoSame context, just persist and retrieve
Research → Code handoffYesCoder filters for researcher's findings only
Role-based trustYesSecurity agent's input treated differently

Framework integration

GrantAi works with any MCP-compatible client. Point your agents at the same GrantAi instance:

json
{
  "mcpServers": {
    "grantai": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "--pull", "always",
               "-v", "grantai-data:/data",
               "ghcr.io/solonai-com/grantai-memory:1.8.6"]
    }
  }
}

All agents using this config share the same memory volume (grantai-data).

Built By

GrantAi is built by Lawrence Grant, founder of SolonAI.

Background: Harvard, IBM, AI architecture and security work for Blackstone, Goldman Sachs, and Vanguard. Author of Mergers and Acquisitions Cybersecurity: The Framework For Maximizing Value.

Why We Built This

Read the full case for deterministic memory: Your AI Has Amnesia. You're Paying. Blame the Architecture.

Documentation

Support

License

Free to try. Pricing & Terms


<p align="center"> <a href="https://solonai.com/grantai">Get Started →</a> </p>

常见问题

GrantAi Memory 是什么?

为 AI agents 提供持久化记忆,支持近乎无限上下文,并具备亚毫秒级检索能力。

相关 Skills

Claude接口

by anthropics

Universal
热门

面向接入 Claude API、Anthropic SDK 或 Agent SDK 的开发场景,自动识别项目语言并给出对应示例与默认配置,快速搭建 LLM 应用。

想把Claude能力接进应用或智能体,用claude-api上手快、兼容Anthropic与Agent SDK,集成路径清晰又省心

AI 与智能体
未扫描165.9k

RAG架构师

by alirezarezvani

Universal
热门

聚焦生产级RAG系统设计与优化,覆盖文档切块、检索链路、索引构建、召回评估等关键环节,适合搭建可扩展、高准确率的知识库问答与检索增强应用。

面向RAG落地,把知识库、向量检索和生成链路系统串联起来,做架构设计时更清晰,也更少踩坑。

AI 与智能体
未扫描23.7k

多智能体架构

by alirezarezvani

Universal
热门

聚焦多智能体系统架构设计,梳理 Supervisor、Swarm、分层和 Pipeline 等模式,覆盖角色定义、通信协作与性能评估,适合规划稳健可扩展的 AI agent 编排方案。

帮你系统解决多智能体应用的架构设计与协同编排难题,适合构建复杂 AI 工作流,成熟度高、社区认可也很亮眼。

AI 与智能体
未扫描23.7k

相关 MCP Server

顺序思维

编辑精选

by Anthropic

热门

Sequential Thinking 是让 AI 通过动态思维链解决复杂问题的参考服务器。

这个服务器展示了如何让 Claude 像人类一样逐步推理,适合开发者学习 MCP 的思维链实现。但注意它只是个参考示例,别指望直接用在生产环境里。

AI 与智能体
89.1k

知识图谱记忆

编辑精选

by Anthropic

热门

Memory 是一个基于本地知识图谱的持久化记忆系统,让 AI 记住长期上下文。

帮 AI 和智能体补上“记不住”的短板,用本地知识图谱沉淀长期上下文,连续对话更聪明,数据也更可控。

AI 与智能体
89.1k

by deusdata

热门

持久化的代码库知识图谱,可跨会话保留上下文,在 session 重启或上下文压缩后仍能继续使用。

专治 AI 编程助手“会话失忆”,把代码库沉淀为持久知识图谱,重启或压缩上下文后也能无缝续上开发状态。

AI 与智能体
36.7k

评论