HBarefoot /
engram
🧠 Persistent memory for AI agents. SQLite for agent state. Zero cloud dependencies. Local embeddings. MCP-native integration with Claude Desktop/Code, Cursor, Windsurf & more.
64/100 healthLoading repository data…
edwin-hao-ai / repository
Local-first AI agent memory — one command, 13+ IDEs, works offline. Persistent memory for Claude Code, Cursor, Windsurf, OpenClaw. Zero-code interceptors for OpenAI/Anthropic. Python & TypeScript SDKs.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Awareness SDK is a local-first memory layer for AI agents and AI coding workflows. It provides persistent memory, cross-session recall, hybrid retrieval, and easy integration through MCP, Python, and TypeScript SDKs.
Yes. Local mode runs fully on your machine.
No. Cloud features are optional.
Use AwarenessInterceptor.wrap_openai() / wrap_anthropic() (Python) or wrapOpenAI() / wrapAnthropic() (TypeScript).
AI agents forget everything when a session ends. Your agent spent hours making architectural decisions, fixing bugs, and planning next steps — and the next session starts from zero.
Awareness gives your AI agent persistent memory — it remembers what it built, what it decided, what's still pending, and why.
Session 1: Agent makes decisions, fixes bugs, creates TODOs
→ awareness_record() saves everything as structured knowledge
Session 2: Agent starts fresh
→ awareness_init() loads context: "Last time you were working on JWT auth..."
→ awareness_recall() finds relevant past decisions
→ Agent picks up where it left off — no re-explaining needed
Works with Claude Code, Cursor, Windsurf, Cline, GitHub Copilot, Codex, and 7 more IDEs.
npx @awareness-sdk/setup
That's it. Your AI agent now has persistent memory. No account needed. Works offline.
Want cloud features later? npx @awareness-sdk/setup --cloud
The fastest way to add memory to existing AI apps. One line — zero code changes.
AwarenessInterceptor.wrap_openai() / Selected from shared topics, language and repository description—not editorial ratings.
HBarefoot /
🧠 Persistent memory for AI agents. SQLite for agent state. Zero cloud dependencies. Local embeddings. MCP-native integration with Claude Desktop/Code, Cursor, Windsurf & more.
64/100 healthExceptionRegret /
Shared persistent memory for AI coding agents. Give Claude Code, Cursor, Codex & Windsurf a shared brain — memories persist across sessions, sync in real-time, and stay fresh automatically. Built with Next.js, Neon Postgres, PowerSync & MCP.
70/100 health.wrap_anthropic()pip install awareness-memory-cloud
from openai import OpenAI
from memory_cloud import AwarenessInterceptor
client = OpenAI()
# Local mode (no API key needed — data stays on your machine)
interceptor = AwarenessInterceptor(mode="local")
# Cloud mode (team collaboration, semantic search, multi-device sync)
interceptor = AwarenessInterceptor(api_key="aw_...", memory_id="...")
# One line — all conversations automatically remembered
interceptor.wrap_openai(client)
# Use OpenAI as normal — memory happens in the background
response = client.chat.completions.create(
model="gpt-4",
messages=[{"role": "user", "content": "Refactor the auth module"}]
)
AwarenessInterceptor.wrapOpenAI() / .wrapAnthropic()npm install @awareness-sdk/memory-cloud
import OpenAI from "openai";
import { AwarenessInterceptor } from "@awareness-sdk/memory-cloud";
const openai = new OpenAI();
// Local mode (no API key needed — data stays on your machine)
const interceptor = new AwarenessInterceptor({ mode: "local" });
// Cloud mode (team collaboration, semantic search, multi-device sync)
const interceptor = new AwarenessInterceptor({ apiKey: "aw_...", memoryId: "..." });
// One line — all conversations automatically remembered
interceptor.wrapOpenAI(openai);
// Use as normal — memory happens in the background
const response = await openai.chat.completions.create({
model: "gpt-4",
messages: [{ role: "user", content: "What did we decide about the database?" }],
});
/plugin marketplace add edwin-hao-ai/Awareness-SDK
/plugin install awareness-memory@awareness
Skills: /awareness-memory:session-start · /awareness-memory:recall · /awareness-memory:save · /awareness-memory:done
# Plugin (full integration):
openclaw plugins install @awareness-sdk/openclaw-memory
# Or Skill (via ClawHub):
npx clawhub@latest install awareness-memory
Auto-recall on session start. Auto-capture on session end. Zero configuration.
| Feature | Local | + Cloud |
|---|---|---|
| Persistent memory across sessions | ✅ | ✅ |
| 13+ IDE support (Claude Code, Cursor, Windsurf...) | ✅ | ✅ |
Zero-code interceptor (wrap_openai / wrap_anthropic) | — | ✅ |
| Knowledge card extraction (decisions, solutions, risks) | ✅ | ✅ + LLM |
| Workflow rules injection (agent auto-recalls) | ✅ | ✅ |
| Full-text + semantic search | ✅ | ✅ |
| Progressive disclosure (summary → full) | ✅ | ✅ |
| Cross-device sync | Git | Real-time |
| Semantic vector search (100+ languages) | — | ✅ |
| Multi-agent collaboration | ✅ | ✅ |
| Memory marketplace | — | ✅ |
| Team collaboration | — | ✅ |
Your machine Cloud (optional)
┌─────────────────────┐ ┌─────────────────┐
│ .awareness/ │ sync → │ Awareness Cloud │
│ ├── memories/*.md │ ← sync │ (semantic search│
│ ├── knowledge/ │ │ team sync, │
│ └── index.db │ │ marketplace) │
│ │ └─────────────────┘
│ Daemon :37800 │
│ ├── FTS5 search │
│ ├── MCP server │
│ └── Web dashboard │
└─────────────────────┘
| Package | Description | Install |
|---|---|---|
@awareness-sdk/local | Local daemon + MCP server | npx @awareness-sdk/local start |
@awareness-sdk/setup | CLI setup for all 13+ IDEs | npx @awareness-sdk/setup |
awareness-memory-cloud | Python SDK with interceptors | pip install awareness-memory-cloud |
@awareness-sdk/memory-cloud | TypeScript SDK with interceptors | npm i @awareness-sdk/memory-cloud |
@awareness-sdk/openclaw-memory | OpenClaw plugin | openclaw plugins install @awareness-sdk/openclaw-memory |
claudecode/ | Claude Code plugin | /plugin marketplace add edwin-hao-ai/Awareness-SDK then /plugin install awareness-memory@awareness |
Works with any AI framework:
| Variable | Description | Default |
|---|---|---|
AWARENESS_MCP_URL | MCP endpoint | http://localhost:37800/mcp |
AWARENESS_API_KEY | Cloud API key (aw_...) | — (local mode: not needed) |
AWARENESS_MEMORY_ID | Cloud memory ID | — (local mode: auto) |
AWARENESS_AGENT_ROLE | Agent role filter | builder_agent |
Contributions welcome! Please open an issue or pull request.
Apache 2.0
xFurti /
Local memory firewall that stops AI agents from acting on stale decisions.