freshcrate
Home > MCP Servers > Awareness-SDK

Awareness-SDK

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

Description

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.

README

Awareness β€” Long-Term Memory for AI Agents

PyPI npm local Cloud License Discord

Give your AI agent persistent memory across sessions.
Local-first. Works offline. One command to set up. 13+ IDE support.
Docs Β· Cloud Β· Discord Β· Quick Start


Why Awareness?

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.

How It Works

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

Quick Start

Option 1: One Command Setup (Recommended)

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

Option 2: Zero-Code Interceptor (Python/TypeScript SDK)

The fastest way to add memory to existing AI apps. One line β€” zero code changes.

Python β€” AwarenessInterceptor.wrap_openai() / .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"}]
)

TypeScript β€” 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?" }],
});

Option 3: IDE Plugins

Claude Code

/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

Documentation Β· Online docs

OpenClaw

# 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.

Documentation Β· npm


Features

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 β€” βœ…

Local-First Architecture

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  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  • Data stays on your machine by default
  • Works offline β€” no internet required
  • Markdown files β€” human-readable, git-friendly, portable
  • Cloud is optional β€” one click to enable sync, semantic search, team features

Packages

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

Integrations

Works with any AI framework:


Environment Variables

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

Contributing

Contributions welcome! Please open an issue or pull request.

License

Apache 2.0

Release History

VersionChangesUrgencyDate
main@2026-04-21Latest activity on main branchHigh4/21/2026
0.0.0No release found β€” using repo HEADHigh4/11/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

mofloMoFlo β€” AI agent orchestration for Claude Code. Forked from ruflo/claude-flow with patches applied to source, plus feature-level orchestration.4.8.79
@actwith-ai/mcp-serverGive your AI agent a career. Persistent memory, reputation, expertise, and community β€” for any MCP-compatible AI agent.0.15.1
@elisym/mcpMCP server for elisym - AI agent discovery, jobs, and payments0.6.0
@claude-flow/cliRuflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code3.5.80
website-design-systems-mcp🎨 Extract complete design systems from websites and generate AI-ready skill.md files to replicate exact design elements efficiently.main@2026-04-21