No Memory of Decisions
You rejected an approach yesterday. Today, the agent suggests it again. It doesn't remember what you've already tried or why you chose a different path.
Agent Setup Guide
From basic cursorrules to dynamic product context. Give your AI assistant the information it needs to make good decisions.
Your AI assistant can write code, but it doesn't know your business. Without context, it makes technically correct decisions that are wrong for your product.
You rejected an approach yesterday. Today, the agent suggests it again. It doesn't remember what you've already tried or why you chose a different path.
The agent knows code, not customers. It builds generic solutions instead of features that match your users' needs and your product strategy.
Every new session starts from zero. You re-explain your tech stack, conventions, and constraints over and over.
The agent defaults to patterns it learned from training data, not your codebase. It suggests Jest when you use Vitest, or adds features you explicitly don't want.
Most teams start with basic rules files. As needs grow, they add skills and commands. The most effective teams connect their agents to live product context.
Static configuration files that load at session start.
Limitation: Static, manual updates, gets stale, no memory across sessions.
Reusable workflows and slash commands for common tasks.
Limitation: Still file-based. Decisions aren't searchable or connected.
Live product context via MCP. Your agent queries Brief for decisions, customers, and strategy.
Full solution: Code decisions with business context.
Choose your AI coding assistant to get started.
Create .cursorrules in your project root:
# Project Rules
## Tech Stack
- React 18 with TypeScript
- Tailwind CSS for styling
- Vitest for testing (not Jest)
## Conventions
- Use functional components with hooks
- Prefer composition over inheritance
- Always add error boundaries to new features
## What NOT to do
- Don't use class components
- Don't add new dependencies without asking
- Don't use any inline styles
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"brief": {
"type": "sse",
"url": "https://app.briefhq.ai/api/mcp/sse"
}
}
}
When Cursor connects, a browser window opens for authentication. Full setup guide →
Create CLAUDE.md in your project root:
# Project Context
## About This Project
B2B SaaS application for product teams.
## Tech Stack
- Next.js 14 with App Router
- Supabase for database and auth
- Drizzle ORM for queries
## Hard Rules
- NEVER use git commit --amend
- ALWAYS run tests before committing
- Use Brief MCP for product context
Run this command:
claude mcp add --transport http brief https://app.briefhq.ai/mcp
Then run /mcp inside Claude Code to authenticate. Full setup guide →
Create .windsurfrules in your project root with your conventions.
Go to Settings → Cascade → MCP Servers → Add custom server:
{
"mcpServers": {
"brief": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://app.briefhq.ai/api/mcp/sse"]
}
}
}
Create codex.md or AGENTS.md in your project root.
Run these commands:
codex mcp add brief --url https://app.briefhq.ai/mcp
codex mcp login brief
Ctrl/Cmd + P and search for MCP: Add Servernpx mcp-remote https://app.briefhq.ai/api/mcp/sseA .cursorrules file is a configuration file that tells Cursor about your coding preferences, tech stack, and project conventions. It's static text that loads at the start of each session. Useful for basic setup, but limited because it doesn't remember past decisions or understand your business context.
CLAUDE.md is the equivalent of cursorrules for Claude Code. It's a markdown file in your repository root that provides context and instructions to Claude about your project. Same benefits and limitations as cursorrules.
AI agents have no memory between sessions. They don't know you rejected an approach yesterday or why you chose a specific architecture. Brief solves this by giving agents access to your decision history via MCP.
MCP is an open standard by Anthropic that lets AI assistants connect to external data sources. Think of it like a USB port for AI. Brief uses MCP to give your coding agent access to product decisions, customer context, and strategic constraints. Learn more about MCP →
About 5 minutes. Add one line to your MCP config, authenticate in the browser, and you're connected. Brief starts pulling context from your existing tools (Linear, Notion, Slack) immediately.
Basic rules files get you 20% of the way. Brief gets you the rest. Give your AI coding agent access to your product decisions, customer context, and strategic constraints.