Quickstart

Getting Started with Decispher

Start with Context Engine for team decisions or Memory for personal working preferences. Save one real record, inspect it, then retrieve it in your coding tool. Each product works independently.

What is Decispher?

The decision layer between your team and every AI agent

Decispher is the system of record for engineering decisions. It automatically captures the decisions, conventions, constraints, and rationales your team produces every day from Slack, GitHub PRs, and docs, then serves that knowledge to both humans and AI agents the moment they need it.

Think of it as a senior engineer who has read every Slack message, every PR, and every architecture discussion your team has ever had, and is always available to answer "why did we do this?" with a cited, accurate answer in under a second.

📥
Capture

Automatically extracts structured context from Slack and GitHub. No tagging, no new workflow.

🧠
Store

Classifies into 7 context types and stores in a queryable knowledge graph with vector embeddings.

⚡
Serve

Surfaces to humans via dashboard and Slack, to AI agents via CLAUDE.md, .cursorrules, and MCP.

Why it exists

AI agents don't fail because they're stupid. They fail because they're new

Every new engineer and every new AI agent session starts with zero context. They will confidently suggest the library you banned six months ago, re-open the architecture debate your team settled in Q2, or miss the subtle constraint that caused three production incidents before you documented it.

This costs you tokens on every AI interaction, review cycles on every PR, and onboarding time on every new hire. The root cause is always the same: institutional knowledge lives in people's heads and scattered Slack threads, not somewhere an agent can read it.

Confidently wrong AI code

~40% of AI suggestions touch patterns your team has already ruled out. Each one costs a review cycle.

Token waste on re-discovery

Agents spend 30–60% of a context window re-establishing facts that exist in old Slack threads. You pay per token.

Onboarding decay

The median new engineer takes 3–6 months to reach full context. AI agents start from zero on every session.

What you get

Concrete, measurable outcomes from day one

~40%
fewer tokens per agent query

Because the agent loads pre-curated context instead of searching from scratch.

0
LLM calls at generation time

Context Map files are generated deterministically, with no LLM spend when files are written to your repo.

12
agent formats kept in sync

.cursorrules, CLAUDE.md, AGENTS.md, and 9 more, all generated from one source.

0
workflow changes for your team

Engineers keep writing Slack messages and PRs exactly as they always have.

Open-source CI setup

Decision Guardian in 5 minutes

Decision Guardian is free, open source, and live in one GitHub Actions step. It comments on every pull request that touches a file one of your decisions governs, and can fail the check when a critical decision is violated.

Step 1: write a decision file

Decisions live in .decispher/decisions.md. Each block carries a stable ID, a severity, and the files it governs.

<!-- DECISION-API-001 -->
## Decision: Public identifiers are UUIDs

**Status**: Active
**Date**: 2024-01-15
**Severity**: Critical

**Files**:
- `src/api/**/*.ts`

### Context

Public API responses must use UUIDs, never sequential integer IDs.
Sequential IDs leak row counts and invite enumeration attacks.

---

Step 2: add the workflow

# .github/workflows/decision-guardian.yml
name: Decision Guardian

on:
  pull_request:

permissions:
  pull-requests: write
  contents: read

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: DecispherHQ/decision-guardian@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          decision_file: '.decispher/decisions.md'
          fail_on_critical: true

Or run it from any CI

The CLI is the same engine without the GitHub dependency, so it also works in GitLab CI, Jenkins, CircleCI, or a pre-commit hook.

npm install -g decision-guardian

decision-guardian check .decispher/decisions.md
decision-guardian check .decispher/decisions.md --branch main
decision-guardian checkall --fail-on-critical

Context Engine setup

Context Engine is live

Ongoing capture removes the manual step entirely. Decispher listens to your Slack channels and GitHub activity, automatically extracts context units, and serves them to your agents. No ADR files to write, no manual tagging. Connect it after your first retrieved decision, not before.

Beta includes
  • 50 free credits on signup, no credit card required
  • Slack bot: connect any engineering channel
  • GitHub App: PR descriptions, commit messages, code review
  • Jira app: ticket capture, @decispher commands, and context injection
  • Branch Story: per-session briefings and recall, plus the VS Code extension
  • Dashboard: search, browse, and manage context units
  • AI Blocker: auto-generate .cursorrules, CLAUDE.md, AGENTS.md
  • Decispher Lens: semantic PR diff analysis
  • MCP Server: serve live context to any MCP-compatible agent
Start with Context Engine

Your first capture

Connect ongoing sources after your first result

After signup, capture and retrieve one decision in the guided setup. Then connect ongoing sources. This is the sequence from Slack message to agent context file:

01
Connect Slack

Add @decispher to your #engineering channel. Takes 60 seconds. The bot listens silently and never posts unless you ask it to.

02
Decispher detects context

When someone says "we decided to use BullMQ because SQS cold-starts our worker fleet," the detector flags it. Detection is free; you only pay when context is extracted.

03
You approve (optional)

By default, high-confidence extractions are auto-approved. You can review pending captures in the dashboard and approve or discard them.

04
Context Map updates

Decispher opens a pull request to your repo adding the new decision to .decispher/. Merge it in 10 seconds.

05
Agents get smarter

Every agent that reads CLAUDE.md or .cursorrules, or calls the MCP server, now knows about this decision. Claude, Cursor, and Copilot will never suggest SQS again.

Quick win

Connect the MCP server and ask your first question

The fastest way to feel Decispher is to point an agent at it and ask. This walkthrough uses Claude Code; the same idea works in Cursor and VS Code.

1. Generate a project-scoped API key and name it

In the dashboard: Project → Integrations → MCP Server → Generate Key. Copy the key, which is shown once, then store it under a name on this machine:

npx decispher@latest link

The name is what your config carries. The key stays in ~/.decispher/links.json, so nothing you commit holds a secret.

2. Register Decispher with Claude Code

claude mcp add decispher \
  -e DECISPHER_LINK=acme \
  -- npx -y @decispher/mcp-server

# confirm it registered
claude mcp list

Skipping the CLI, or wiring CI or a container? Pass the key itself instead. That path is fully supported: a container is rebuilt every run, so an environment variable is the only thing that survives.

claude mcp add decispher \
  -e DECISPHER_API_KEY=dsk_your_key_here \
  -e DECISPHER_API_URL=https://api.decispher.com \
  -- npx -y @decispher/mcp-server

DECISPHER_COMPANY_ID is optional either way: the server resolves the company from the key when it is absent.

3. Ask, and get a cited answer

Open a session and ask a question your team has answered before:

> What did we decide about the worker queue, and why?

Decispher → ask_knowledge_base
We use BullMQ over SQS: SQS cold-starts add latency to the worker
fleet, so BullMQ + Redis keeps workers warm.
Captured from #engineering, approved 2026-06-18.  [decision:8f2c…]

The answer comes from your decision record, not a guess, and the retrieval is logged with the tokens it saved. Full tool reference and Cursor/VS Code configs are in the MCP Server guide.

What's next

Explore the full feature set