Skip to content

04 / 06ContextStream Code

AI coding with your project context already loaded.

ContextStream Code is the first-party coding experience for ContextStream. It uses your project memory, Knowledge Stream, Knowledge Atlas, lessons, decisions, guardrails and ContextCapsules natively, with no MCP setup.

contextstream code · session #438 · streambox/apiExample data
You · auth/session.ts

What should I know before editing this?

StreamPilot loaded 5 cited items

  • Decision

    Row-level security for tenant isolation.

  • Lesson

    Don’t hand-roll session expiry.

  • Guardrail

    Never log raw session tokens.

  • Doc

    auth/threat-model.md

  • Open task

    Rotate signing keys before launch.

› Proceed with the edit?

01Why first-party

MCP works across tools. Code is the native experience.

Universal

MCP server

Add ContextStream to Claude Code, Cursor, Codex, Cline, Windsurf and other MCP-compatible tools.

Native

ContextStream Code

StreamPilot guides setup, recall, Capsules and lessons inline. There is no tool configuration to maintain.

ContextStream Code does not replace MCP. They work together; use whichever fits your workflow.

02Context before action

Before you edit, the project tells you what it has learned.

StreamPilot surfaces the relevant decision, lesson, doc, code context and guardrail for the file you are about to touch, so you see the project’s memory before you commit to a change.

03The state ladder

From an empty workspace to a live session.

  1. No context

    An empty workspace. StreamPilot suggests a first source: point it at a folder.

  2. Source indexed

    It reads the shape of the project, not the contents. Capture your first decision.

  3. Knowledge captured

    One decision and one lesson are enough. Start a session.

  4. Session active

    Run a recall to check the project remembers what you taught it.

  5. Context live

    Create a Capsule for the next teammate, client or agent.

Start a context-aware session.

One decision, one lesson, one session. Your AI remembers all three.