User Guide
A complete, hands-on guide to building software with DeepCerebra Coder β€” web, desktop, and CLI

πŸ“– Table of Contents

  1. Introduction & Editions
  2. Getting Started & Account
  3. The Workspace at a Glance
  4. Opening a Project
  5. Working with Files
  6. Chatting with the Agent
  7. The Four Chat Modes
  8. Reviewing & Applying Changes
  9. Integrated Terminal
  10. Plan Mode & Execution
  11. Choosing Models & Auto
  12. Bring Your Own Key (BYOK)
  13. Local Machine: GPU Models & Console (DCC Bridge)
  14. Git Collaboration Workflow
  15. MCP Servers
  16. Customizing the Agent: Rules, Skills, Hooks, Subagents & Plugins
  17. Agentic Workflow Studio & Event-Driven Agents
  18. Predictive Tab Completion
  19. Usage, Credits & Billing
  20. Getting Your Gateway API Key
  21. Security & Privacy
  22. Troubleshooting
  23. DeepCerebra Discovery β€” Ask Your Data & Documents

1 Introduction & Editions

DeepCerebra Coder is an agentic coding assistant. Unlike a plain autocomplete copilot, it plans, writes, refactors, runs commands, calls tools, and iterates across your whole project β€” with you reviewing and approving the changes it proposes.

Three ways to use it

EditionBest forFile access
Web appZero-install, work from any machineConfidential in-browser storage (and Git repos)
Desktop (Windows / Linux / macOS)Local-first development, local modelsDirect local file system
CLI & APIScripting, CI/CD, automationLocal files / programmatic

This guide focuses on the web app at deepcerebra.ai; the desktop app mirrors the same panels and workflows.

2 Getting Started & Account

Supported browsers

Use a current version of Chrome, Edge, or Brave for the full experience β€” opening a local folder relies on the Chromium File System Access API. Firefox and Safari work for chat and for Git-backed projects, but cannot open a local folder directly.

Create an account

  1. Click Get Started on the landing page.
  2. Fill in your optional display name, email, country, and date of birth (you must be at least 18).
  3. Pick your interface language and a password of at least 12 characters.
  4. Read the agreement notice and confirm. Creating an account means you agree to the Terms of Service, Privacy Statement, Services Description, and Global DPA.
  5. Click Create account, then verify your email if prompted, and sign in.
πŸ’‘ Tip: You can choose a plan during sign-up by visiting /register?plan=basic (or pro / ultimate), or start now and pick a plan later in Billing.

Reset your password

  1. On the login page, click Forgot password?
  2. Enter your email and open the reset link sent to your inbox.
  3. Set a new password (minimum 12 characters).

3 The Workspace at a Glance

After signing in you land in the workbench, which puts every pane in one screen:

Drag the splitter between the editor and chat to rebalance the layout, and drag the horizontal splitter to resize the terminal. The left sidebar also navigates to Workspace, Extensions, API Keys, Billing, and Feedback.

4 Opening a Project

4.1 Open a local folder

  1. In the Explorer, click Open project folder.
  2. Pick a folder and grant the browser permission to read it.
  3. Files are read into your browser's encrypted in-browser workspace β€” nothing is uploaded. You'll see a live count and a final summary (file count Β· size, plus any skipped or truncated files).
⚠️ Browser support: If you see a note that folder loading needs a Chromium browser, switch to Chrome/Edge/Brave, or use Open from Git instead.

4.2 Open from Git (GitHub / GitLab)

  1. Click Open from Git in the Explorer.
  2. Choose the GitHub or GitLab tab and paste a personal access token. For GitHub use the repo scope (classic) or a fine-grained token with Contents + Pull requests; for GitLab use the api scope. Your token is stored on the server β€” only file contents are pulled into the browser.
  3. Type the repository as owner/name (filter the list to find yours), then pick a branch.
  4. Optionally tick Create a new working branch (e.g. dcc/my-feature) to keep your work isolated from the default branch.
  5. Optionally enable the push webhook so the Explorer refreshes instantly when teammates push (needs a public gateway URL).
  6. Click Open repository.

4.3 Refresh, switch, and close

4.4 Folder-scoped chat sessions

Chat history is tied to the open project. Switching folders automatically starts a new session and loads that folder's previous sessions, reopening the most recent so you can resume where you left off.

4.5 Operational folders

Folders DeepCerebra uses internally β€” .deepcerebra, .sessions β€” appear in the tree but are collapsed by default so they don't clutter your source.

5 Working with Files

6 Chatting with the Agent

Write a request

Describe what you want in plain language β€” ask a question, request a feature, or point at a bug. Be specific about files, frameworks, and constraints to get the best result. Attach relevant files by dragging them into the prompt.

Read responses, Cursor-style

Responses are organized like Cursor: the agent's reasoning is separated from the deliverable. Each response block has a copy icon in its upper-right corner so you can copy a finished report, document, or a command you're meant to run.

Steer or stop a run

πŸ’‘ Tip (desktop): In the desktop app you invoke the agent in chat with @deepcerebra, and prefixes like [deep] request deeper reasoning.

7 The Four Chat Modes

Pick a mode from the mode selector next to the prompt. Each tunes how much the agent plans and how freely it edits:

ModeWhat it doesUse when…
AgentPlans and edits across your project autonomouslyYou want the assistant to implement a change end-to-end
AskAnswers questions about your code without editingYou want to understand the codebase
PlanDrafts an approach before any editingThe task is large or has trade-offs to settle first
EditMakes focused edits in the current contextYou want a small, targeted change

8 Reviewing & Applying Changes

When the agent proposes file changes, a Proposed Changes panel appears above the chat input, listing each touched file with added (+) and removed (βˆ’) line counts.

⚠️ Always review: AI-generated code can contain mistakes or insecure patterns. Review the diff and test before relying on or deploying it.

9 Integrated Terminal

Toggle the terminal beneath the editor to run builds, tests, and scripts. With your authorization, the agent can execute commands and read their output to verify its work; long-running commands stream output so you can watch progress. Close the terminal from its header when you don't need it.

10 Plan Mode & Execution

For larger goals, use Plan mode (or ask the agent to plan first). The planner scans your project, decomposes the goal into dependency-aware tasks, and assigns each to the right specialist (architect, coder, tester, docs).

11 Choosing Models & Auto

Open the model picker next to the prompt. Options are grouped as:

How Auto selection works

On Auto, DeepCerebra uses tiered, adaptive routing: simple tasks go to a fast, economical model, while complex or planning-heavy work (for example, Plan mode) is routed to a stronger model. This balances cost and quality automatically, so you rarely need to choose manually.

12 Bring Your Own Key (BYOK)

You can route requests through your own provider account instead of metered platform usage.

  1. Open API Keys from the sidebar.
  2. Under Bring Your Own Key, choose a provider (e.g. ANTHROPIC_API_KEY, GOOGLE_API_KEY, OPENAI_API_KEY).
  3. Paste the key value and click Save. Keys are encrypted at rest and never returned to the browser β€” only a masked preview is shown.

Platform (DeepCerebra) models need no key. Remove a key any time with Remove.

13 Local Machine: GPU Models & Console (DCC Bridge)

The DCC Bridge connects your own computer to the web app through a small dcc-bridge connector, unlocking two capabilities at once:

The connector dials out over an authenticated WebSocket β€” no inbound ports needed, and it works behind NAT and firewalls. It runs on Windows, macOS, and Linux (Python 3.10+).

13.1 Pair your computer

  1. Click the laptop icon in the left activity rail β€” Local Machine (GPU + Console). (The same panel opens from the model picker footer via Manage local GPU….)
  2. Make sure the Local execution toggle is enabled, name the device, and click Add this computer. Copy the one-time pairing token (dcc_brg_…) and the ready-to-paste connector command β€” the token is shown exactly once.

13.2 Install & run the connector

pip install git+https://github.com/mohammadkhair7/DeepCerebra-connector

# then run the command copied from the pairing card, e.g.:
python -m dcc_bridge --gateway wss://deepcerebra.ai --token dcc_brg_xxxxx

13.3 Use your console from the web app

By default, commands are confined to a dedicated workspace folder (~/DeepCerebra). To work in your real project folders with your pre-configured CLIs, grant them explicitly when starting the connector:

# grant one or more real folders (repeatable)
python -m dcc_bridge --gateway wss://deepcerebra.ai --token dcc_brg_xxxxx --host-dir "F:\MyProjects"

# or the whole machine (prints a warning; prefer --host-dir)
python -m dcc_bridge ... --allow-any-dir

Then open the Terminal panel, click the Execution target popover (laptop icon), choose My computer, and pick a working directory. Both your typed commands and the agent's build/test commands are then executed on your machine.

⚠️ Security: host access never exceeds the folders you listed on the connector command line; tokens are hashed at rest and revocable anytime; --no-exec makes a device inference-only (GPU models, no commands).
πŸ’‘ Tip: The desktop app can use local models directly without the connector. Full connector reference: github.com/mohammadkhair7/DeepCerebra-connector.

14 Git Collaboration Workflow

With a Git-backed project open, a branch bar appears in the Explorer showing your current branch and two actions:

If the push webhook is enabled, the Explorer auto-refreshes when teammates push, keeping everyone in sync β€” the foundation for collaborative team development through DeepCerebra.

15 MCP Servers

Extend the agent with external tools and data via the Model Context Protocol. Configure servers in a .deepcerebra/mcp.json file, for example:

{
  "mcpServers": {
    "my-tools": {
      "url": "https://example.com/mcp",
      "disabled": false,
      "allowlist": ["search_issues", "get_pr"],
      "autoApprove": ["create_issue"],
      "auth": { "type": "bearer", "tokenEnv": "MY_TOKEN" }
    }
  }
}

Enabled MCP tools become available to the agent automatically when they're relevant to your request. Local (stdio) and remote (http/sse) servers are both supported.

Built-in safety

Resources & prompts

If a server exposes MCP resources or prompt templates, the agent automatically gains tools to use them (mcp_list_resources, mcp_read_resource, mcp_list_prompts, mcp_get_prompt).

Authentication for remote servers

Add an auth block to a remote server. Secrets support ${ENV_VAR} interpolation:

// Static bearer token (literal or from env)
"auth": { "type": "bearer", "token": "${GITHUB_TOKEN}" }
"auth": { "type": "bearer", "tokenEnv": "GITHUB_TOKEN" }

// Custom header (e.g. API key)
"auth": { "type": "header", "header": "x-api-key", "value": "${MY_KEY}" }

// OAuth 2.0 client-credentials
"auth": {
  "type": "oauth", "grant": "client_credentials",
  "tokenUrl": "https://auth.example.com/oauth/token",
  "clientId": "${MCP_CLIENT_ID}", "clientSecret": "${MCP_CLIENT_SECRET}",
  "scope": "mcp.read mcp.write"
}

16 Customizing the Agent: Rules, Skills, Hooks, Subagents & Plugins

You can shape how the agent thinks and acts with a single, file-based convention β€” the .deepcerebra/ directory β€” that works identically in the desktop app, the web app, and the API. In the web app, manage all of these under the Agent view; on desktop and via the API they are plain files you commit with your project.

Scopes & precedence

Configuration is discovered from several scopes; when the same item exists in more than one, the higher-precedence one wins:

team/org  <  global (~/.deepcerebra)  <  workspace (<repo>/.deepcerebra)
(lowest)                                              (highest)

Rules (steering)

Rules are persistent instructions β€” coding standards, architecture conventions, domain context β€” injected into the agent's system prompt. They live as Markdown files under .deepcerebra/steering/, plus the always-on AGENTS.md standard. Frontmatter controls when a rule loads:

---
inclusion: fileMatch          # always | fileMatch | auto | manual
globs: "src/**/*.ts"          # or fileMatchPattern
name: api-design
description: REST conventions
---
# API design
- Use REST resource nouns, plural.

A root AGENTS.md applies repo-wide; a nested AGENTS.md (e.g. services/api/AGENTS.md) applies only to files under that folder. In the web app, the Agent β†’ Steering view gives each rule a Scope picker (Global / Project / Team).

Skills

Skills are reusable playbooks the agent loads on demand. Each skill is a folder with a SKILL.md under .deepcerebra/skills/:

---
name: deploy-release
description: How to cut and publish a versioned release.
disable-model-invocation: false   # true => manual-only (/skill)
---
# Deploy a release
1. Bump the version, build, and test.
2. Tag and publish.

The agent sees a lightweight catalog (name + description) and pulls in the full body with the load_skill tool when relevant. You can also invoke one explicitly with /skill <name>. Set disable-model-invocation: true to make a skill manual-only.

Hooks

Hooks run automation on lifecycle events. Define them as .deepcerebra/hooks/*.hook.json:

{
  "title": "Format on save",
  "event": "fileSave",
  "filePattern": ["**/*.ts"],
  "action": { "type": "shell", "command": "npm run lint:fix -- $FILE" },
  "enabled": true
}

Events include promptSubmit, preToolUse, postToolUse, fileCreate, fileSave, fileDelete, preTask, postTask, sessionStart, preCompact, and agentStop (Cursor/Claude spellings are also accepted). An action is either shell (run a command) or agentPrompt (ask the agent). A preToolUse hook can allow, deny, or ask for the tool call it intercepts.

Subagents

Subagents are specialist agents you define and delegate to. Each is a Markdown file under .deepcerebra/agents/ with frontmatter plus a body (its system prompt):

---
name: security-reviewer
description: Audits a diff for security issues; read-only.
model: gpt-5
readonly: true
tools: [read_file, grep_files, list_directory]
background: false
---
You are a meticulous security reviewer…

The main agent delegates with task (blocking), task_async + task_status / task_result (background), or task_parallel (fan-out).

Plugins

A plugin bundles rules, skills, hooks, subagents, and MCP servers into one installable package under .deepcerebra/plugins/<name>/, described by a plugin.json manifest:

{
  "name": "Acme Standards",
  "version": "1.2.0",
  "description": "Acme rules + skills + review agents.",
  "enabled": true
}

Plugin contents are merged at the lowest precedence, so your own rules and skills always override a plugin's. Disable a plugin with "enabled": false or a .disabled marker file.

πŸ’‘ Tip: A team can publish shared defaults by pointing DCC_ORG_CONFIG_DIR at a shared .deepcerebra directory, or by setting rules to the Team scope in the web app.

17 Agentic Workflow Studio & Event-Driven Agents

The Workflow Studio is a visual designer for multi-agent automation. You compose stages β€” each an agent, a specialist step, or a control primitive β€” into a graph, connect them with dependencies, and run the whole orchestration on the engine with live per-stage progress, budgets, and human-approval gates. Workflows are saved as a portable YAML/JSON definition you can export, import, version in Git, and run from the API or CLI.

17.1 Building a workflow

17.2 The stage library

Stage kindWhat it does
agentOne agent turn with the skills and tools you attach.
spec.requirements / spec.design / spec.execute Spec-first delivery: draft requirements, design, then break into tasks and execute β€” each gateable.
documents.generateProduce a polished document from prior stage outputs.
fan_outParallel wide-research across many subtopics with synthesis.
map / loop / switch Control primitives: run a body per item, repeat until a condition, or branch across cases.
verify / browser_verify Run tests or commands in the sandbox; verify a running UI with browser automation.
orchestrateDynamic routing: an orchestrator agent reads the request and dispatches it to the best downstream agent(s) over events.
external.agentCall a registered third-party agent over HTTP (A2A) as if it were a native stage.
evalScore an upstream output against checks (contains / regex / length / LLM-judge); fail below a threshold.
db.provisionGenerate an owned data layer: docker-compose for the database, versioned SQL migrations, seed data, .env template, and a Mermaid ERD; optional auth scaffold; can apply migrations to SQLite immediately.
ci.generateGenerate a ready-to-commit CI/CD pipeline (GitHub Actions, GitLab CI, or Azure Pipelines) with lint β†’ test β†’ scan β†’ build β†’ deploy and environment promotion.
deploy.packageGenerate production deployment assets: multi-stage Dockerfile, docker-compose, Kubernetes manifests, or a Helm chart β€” files you own and commit.
test.generateGenerate unit / API / E2E suites for the built app plus a requirement-to-test traceability matrix.
test.verifyExecute a test suite (pytest, vitest, jest, Playwright) and gate the run on its pass rate.
security.auditScan dependencies for known vulnerabilities and the tree for hard-coded secrets; publishes alert events and writes a findings report.
previewStart the generated app locally and surface its live URL in the run panel (link + inline frame) via a preview.ready event.
design.importTurn a UI design image (screenshot, mockup, Figma export) into a structured implementation spec for downstream stages.

17.3 Event-driven agents (the agent mesh)

Every stage β€” regardless of kind β€” can publish and subscribe to typed events on the workspace event bus, so agents coordinate like services on a message fabric rather than only through the DAG:

17.3.1 Event queueing for agents

Agents that react to events can declare a durable named queue so matching events are never lost while the agent is busy or before a run is listening. On a trigger subscription, set queue: <name> β€” the engine binds that topic to a FIFO queue on the workspace event bus (persisted under .deepcerebra/workflows/events/queues/). Every matching event published from that point on is captured into the queue; when the stage becomes runnable, the engine pops events in oldest-first order and consumes them one at a time.

events:
  subscribe:
    - topic: ticket.created
      mode: trigger
      queue: triage-inbox        # durable FIFO β€” events wait here for this agent
      map:
        payload.ticket_id: ticket_id

17.3.2 Semaphore orchestration (shared-resource protection)

A semaphore limits how many tasks may simultaneously operate on a shared (protected) resource: a database being written, a global variable store, a file, or a rate-limited external agent. Attach one to any stage with semaphore: β€” before the stage's work runs, the engine acquires one permit of the named workspace semaphore; the permit is always released afterwards, even if the stage fails. permits: 1 makes it a mutex: only one task at a time (across all parallel runs in the workspace) executes the critical step; every other task waits until the holder finishes.

semaphore:
  name: emr-db-writer
  permits: 1          # mutex β€” one writer at a time
  timeout_s: 300      # fail if still waiting after 5 minutes
  ttl_s: 900          # auto-release crashed holders after 15 minutes

17.3.3 Rendezvous orchestration (wait for all conditions)

Rendezvous waits until multiple event conditions are all met before the next step proceeds β€” the opposite of "first event wins." Set join: all on the stage's events: block: every trigger subscription must be satisfied before the stage runs. Combine with per-subscription count: N when several agents (or several reports from one agent) must all check in β€” for example, design sign-off, test completion, and security approval before a release stage executes.

events:
  join: all                    # rendezvous β€” wait for EVERY subscription below
  subscribe:
    - topic: design.approved
      mode: trigger
    - topic: tests.passed
      mode: trigger
    - topic: security.cleared
      mode: trigger
      count: 1

17.4 The agent tools library

Stages pick tools from the same registry the chat agent uses:

17.5 Running, gates, and outputs

πŸ’‘ Tip: Start with the Ship-It Pipeline template: it chains design β†’ db.provision β†’ implementation β†’ generated tests β†’ security audit β†’ deploy packaging β†’ CI generation, with a human gate before packaging β€” a complete brief-to-production path you can adapt in minutes.

18 Predictive Tab Completion

Predictive Tab completion offers inline, fill-in-the-middle code suggestions as you type in the editor β€” accept a suggestion with Tab. It is opt-in on both the engine and the web editor.

Enable it

How it behaves

19 Usage, Credits & Billing

Open Billing from the sidebar to manage your plan and usage. AI usage is metered in U.S.-dollar credits based on the tokens consumed by the underlying models.

PlanMonthly priceIncluded monthly AI usage
Basic$20$10
Pro$75$30
Ultimate$200$150
πŸ’‘ Save on usage: Use Auto model selection, bring your own key (BYOK), or run local models to reduce or avoid metered usage.

20 Getting Your Gateway API Key

A gateway API key (a personal access token) lets you use the DeepCerebra public API and CLI programmatically.

  1. Sign in and open API Keys from the sidebar.
  2. Scroll to DeepCerebra API Keys.
  3. Enter a label (e.g. "CI pipeline" or "laptop CLI").
  4. Select scopes β€” read, chat, code, agent β€” and an optional expiry in days (blank = never).
  5. Click Generate. The full key is shown only once β€” click Copy and store it securely.

Use it with the CLI or the API at deepcerebra.ai:

dcc config set endpoint https://deepcerebra.ai
dcc config set api-key <your-key>

# or as a Bearer token
curl -H "Authorization: Bearer <your-key>" https://deepcerebra.ai/v1/...

You can rename or delete (revoke) a key any time; each key shows its prefix, scopes, created/expiry, and last-used date.

⚠️ Keep it secret. Anyone with your key can use your account and incur usage. Revoke and regenerate it immediately if it is ever exposed.

21 Security & Privacy

22 Troubleshooting

"Folder loading needs a Chromium browser"

Switch to Chrome, Edge, or Brave, or use Open from Git instead.

The agent loops on the same error

Click Stop, then rephrase with a concrete hint or constraint.

Model or request errors / "budget exhausted"

Local models don't appear

Connector: "server rejected WebSocket connection: HTTP 401"

My changes didn't take effect

Git: "You are on the default branch"

Open or create a working branch before using Integrate to open a pull request.

Still stuck? Contact support@deepcerebra.ai.

23 DeepCerebra Discovery β€” Ask Your Data & Documents

Discovery is an investigative chatbot for your databases and documents. Instead of answering with a single query, it works like an analyst: it forms hypotheses, runs a series of guarded probes (SQL, graph, document search, schema checks, web corroboration), prunes the explanations the evidence refutes, and synthesizes a grounded answer β€” with charts and a transparent cost receipt. Open it from the compass icon in the activity rail (/app/discovery).

23.1 Spaces β€” your curated scope

A Space bundles everything one line of questioning needs: database connections, document collections, instructions for the analyst, and budgets. Create one with + New space, then use the setup panel on the right to:

23.2 Asking a question

Type a question the way you would ask a colleague β€” for example "Why did MRI scan volume dip in March?". The investigation board streams the whole process live:

Follow-up questions continue the same thread, so the analyst keeps its context.

23.3 Charts, reports & exports

Charts render inline on the investigation board. Use Export to download the full ask β€” the answer, hypotheses, evidence, and charts β€” as a self-contained HTML report or a print-quality PDF, styled with the neon design system.

23.4 Budgets & cost control

Each space carries per-ask budgets: a maximum number of probes, investigation rounds, seconds, and USD. The engine stops cleanly at the cap and reports what it found so far. Every probe's cost is itemized on the receipt, so you always know where the spend went.

23.5 Automation: API, SDK, Workflow Studio & MCP