Quick Start
Get Awareness running with your IDE agent in 5 minutes.
Prerequisites
- An Awareness account (sign up at your instance URL)
- An IDE with MCP support (Cursor, Claude Code, Windsurf, Cline, VS Code GitHub Copilot, or OpenCode)
Step 1: Create a Memory
A Memory is a container that stores all knowledge for a project or workspace.
Option A: Dashboard UI
- Log in to Awareness
- Click Memories in the sidebar
- Click Create Memory
- Enter a name (e.g.,
my-project) and click Create
Option B: Python SDK
from memory_cloud import MemoryCloudClient
client = MemoryCloudClient(api_key="$AWARENESS_API_KEY", base_url="$AWARENESS_API_BASE")
memory = client.create_memory(name="my-project")
print(memory["id"]) # Save this ID
Save the returned id — you will need it in the next steps.
Step 2: Get Your API Key
- Go to Settings in the sidebar
- Under API Keys, click Generate New Key
- Copy the key (starts with
aw_) - Store it securely — you will not see it again
Step 3: Connect Your IDE
Add the following MCP server configuration to your IDE:
Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"awareness-memory": {
"url": "$AWARENESS_MCP_URL",
"headers": {
"Authorization": "Bearer $AWARENESS_API_KEY",
"X-Awareness-Memory-Id": "$YOUR_MEMORY_ID",
"X-Awareness-Agent-Role": "builder_agent"
}
}
}
}
Claude Code
Add to ~/.claude/settings.json or your project-level .claude/settings.json:
{
"mcpServers": {
"awareness-memory": {
"url": "$AWARENESS_MCP_URL",
"headers": {
"Authorization": "Bearer $AWARENESS_API_KEY",
"X-Awareness-Memory-Id": "$YOUR_MEMORY_ID",
"X-Awareness-Agent-Role": "builder_agent"
}
}
}
}
Windsurf
Add to .windsurf/mcp.json:
{
"mcpServers": {
"awareness-memory": {
"url": "$AWARENESS_MCP_URL",
"headers": {
"Authorization": "Bearer $AWARENESS_API_KEY",
"X-Awareness-Memory-Id": "$YOUR_MEMORY_ID",
"X-Awareness-Agent-Role": "builder_agent"
}
}
}
}
VS Code GitHub Copilot
Add to .vscode/mcp.json:
{
"mcpServers": {
"awareness-memory": {
"url": "$AWARENESS_MCP_URL",
"headers": {
"Authorization": "Bearer $AWARENESS_API_KEY",
"X-Awareness-Memory-Id": "$YOUR_MEMORY_ID",
"X-Awareness-Agent-Role": "builder_agent"
}
}
}
}
Replace the placeholder variables:
$AWARENESS_MCP_URL— Your MCP server URL (e.g.,https://mcp.your-domain.com/mcp)$AWARENESS_API_KEY— The API key from Step 2$YOUR_MEMORY_ID— The memory ID from Step 1
Tip: Use the MCP Server page in the dashboard to auto-generate this config with your actual values filled in.
Recommended fastest path
Choose the shortest path based on your tool:
| Tool | Fastest path | Notes |
|---|---|---|
| Claude Code | One-click install prompt | Best for public docs readers who want zero manual JSON edits |
| Claude Code Plugin | claude plugin install awareness-memory | Adds slash-command workflow on top of MCP |
| OpenClaw | One-click install prompt | Installs plugin and patches ~/.openclaw/openclaw.json |
| Antigravity | Universal MCP config or setup prompt | Use the same MCP config shape if your workspace exposes MCP settings |
| Augment | Universal MCP config or setup prompt | Start with MCP if available, otherwise use the project rule-file path |
| Devin | SDK / rule-file bootstrap | Best when you want Awareness in long-running cloud workspaces and PR loops |
| Cursor / Windsurf / Cline / Copilot | Universal MCP config or npx @awareness-sdk/setup | Use MCP first, then optional managed rule files |
| Python / TypeScript SDK | SDK install + session helpers | Best for app code, workers, and framework integrations |
Faster setup options
- Claude Code: open the Claude Code page in Awareness and copy the one-click install prompt. It merges
awareness-memoryinto your Claude config and verifies the setup withclaude mcp list. - OpenClaw: open the OpenClaw page in Awareness and copy the generated install prompt. It downloads the plugin, installs it, patches
~/.openclaw/openclaw.json, and verifies the plugin. - Antigravity / Augment: use the same setup prompt pattern as Cursor or Windsurf. If the product build exposes MCP settings, paste the universal MCP config there. If not, keep the Awareness workflow in the repo rule file and use the SDK / REST path for explicit writes.
- Devin: bootstrap Awareness at the workspace or repo level. Keep the workflow visible in
AGENTS.mdor the repo instructions, and use the SDK / HTTP path for explicit writes when native MCP is unavailable. - Claude Code plugin: if you want a higher-level Claude workflow, install:
claude plugin install awareness-memory
What the one-click prompts do
Claude Code one-click prompt
The Claude Code prompt will:
- Read your current
~/.claude/settings.json - Add or update the
awareness-memoryMCP server - Ask for missing
API KeyandMemory ID - Run
claude mcp list - Test the setup with
awareness_init(source="claude-code")
OpenClaw one-click prompt
The OpenClaw prompt will:
- Download
@awareness-sdk/openclaw-memory - Install the plugin into OpenClaw
- Update
~/.openclaw/openclaw.json - Apply
apiKey,memoryId,baseUrl, andagentRole - Run
openclaw plugins listto verify the plugin is loaded
Plugin overview
Claude Code plugin
claude plugin install awareness-memory
Available slash commands:
| Skill | Command | Use it when |
|---|---|---|
session-start | /awareness-memory:session-start | Start a new coding session |
recall | /awareness-memory:recall <query> | Check prior work before coding |
save | /awareness-memory:save | Persist an important intermediate step |
done | /awareness-memory:done | End a session with a summary |
OpenClaw plugin
openclaw plugins install @awareness-sdk/openclaw-memory
Current public tool set:
__awareness_workflow__awareness_initawareness_recallawareness_lookupawareness_record
Optional: Inject IDE Workflow Rules
Run this in your project root to sync Awareness workflow rules into your IDE config:
npx @awareness-sdk/setup
This auto-detects your IDE and syncs the managed rules file (e.g. CLAUDE.md for Claude Code, .cursor/rules/awareness.mdc for Cursor, .github/copilot-instructions.md for VS Code Copilot). Re-running the command upgrades existing managed rules in place. You can also specify the IDE explicitly:
npx @awareness-sdk/setup --configure-mcp --ide copilot
npx @awareness-sdk/setup --ide cursor
npx @awareness-sdk/setup --ide copilot
npx @awareness-sdk/setup --ide copilot --mcp-url https://awareness.market/mcp --api-key aw_xxx --memory-id mem_xxx
npx @awareness-sdk/setup --dry-run
npx @awareness-sdk/setup --force
Use --configure-mcp if you want the CLI to prompt for missing MCP values interactively instead of passing them all on the command line.
Step 4: Write Your First Memory
Once your IDE is connected via MCP, the agent will automatically write memories during your sessions. You can also write programmatically using the SDK:
Python SDK
from memory_cloud import MemoryCloudClient
client = MemoryCloudClient(
api_key="$AWARENESS_API_KEY",
base_url="$AWARENESS_API_BASE",
)
client.write(
memory_id="$YOUR_MEMORY_ID",
content="We decided to use JWT with refresh tokens, stored in httpOnly cookies.",
agent_role="builder_agent",
)
TypeScript SDK
import { MemoryCloudClient } from "@awareness-sdk/memory-cloud";
const client = new MemoryCloudClient({
apiKey: "$AWARENESS_API_KEY",
baseUrl: "$AWARENESS_API_BASE",
});
await client.write({
memoryId: "$YOUR_MEMORY_ID",
content: "We decided to use JWT with refresh tokens, stored in httpOnly cookies.",
agentRole: "builder_agent",
});
Step 5: Recall Your Memory
Your IDE agent will automatically recall relevant context via MCP. You can also query programmatically:
Python SDK
results = client.retrieve(
memory_id="$YOUR_MEMORY_ID",
query="authentication approach",
limit=5,
)
for item in results:
print(item["content"][:200])
TypeScript SDK
const results = await client.retrieve({
memoryId: "$YOUR_MEMORY_ID",
query: "authentication approach",
limit: 5,
});
results.forEach((item) => console.log(item.content.slice(0, 200)));
What Happens Next?
Once connected, your IDE agent will automatically:
- Initialize — Call
awareness_initat session start to load context - Recall — Search past knowledge before making decisions
- Record — Save important steps, decisions, and outcomes
- Extract insights — Client-side LLM extracts structured knowledge cards
For OpenClaw specifically, the current tool set is:
__awareness_workflow__awareness_initawareness_recallawareness_lookupawareness_record
See Core Concepts to understand the full architecture, or browse the MCP Tools Reference for all available tools.
Troubleshooting
"Unauthorized" error?
- Check that your API key is correct and not expired
- Ensure the
Authorization: Bearerheader is set
No results from recall?
- Make sure you wrote at least one event to the memory
- Try a broader query term
- Check that the
memory_idmatches
MCP not connecting?
- Verify the MCP URL is reachable from your machine
- Check IDE logs for connection errors
- Try the MCP Server page to test your config