OpenCognitOpenCognitDOCS

Editor, search & Git

Edit files — next to the terminals or on their own, with before/after —, search the project, review changes and commit.

Editor

The built-in editor (CodeMirror) with file tree and tabs. Ctrl+S saves. If an agent changes the file while it is open, the editor warns you instead of overwriting.

You can also edit files right in the side panel (tab Editor): a dot marks unsaved changes, Ctrl+S or Save writes, ↻ reloads. Images are shown; very large files open externally.

Editor next to the terminals

Top right you choose the view per workspace: terminals only, terminals + editor or editor only (with the file tree). Drag the divider to resize, double-click for half and half. Every workspace has its own tabs — switch projects and you see that project's files; come back and everything is as you left it. The terminals keep running.

Ctrl+P opens Open file: a few letters are enough (“wcart” finds WebCart.tsx). Files from changes, search and the graph open next to the terminals instead of on a separate page.

The editor follows the agents

When an agent edits a file, it opens as a tab — with the agent's logo (click it to jump to its terminal). The changed lines light up briefly and keep a marker in the margin; at the bottom it says “Kimi is editing …”.

  • The Off · Focus · All switch in the editor decides whose files open: none, only the focused agent's, or everyone's. Open tabs always update.
  • The editor never steals your focus: if you're typing, the tab opens in the background.
  • Your unsaved changes are never overwritten — instead you get “Reload / Save my version”.
  • At most eight automatically opened tabs; older unchanged ones make room.

This works with CLIs that report their file access (Claude Code, Kimi Code).

Before/after

From a card in the orchestrator chat (see Conductor) you open a file as before/after: the state before the task against now, side by side or stacked, unchanged parts collapsed. Keep or revert each change on its own, jump between changes with ‹ ›; at the bottom Accept all or Revert all.

Ctrl+Shift+F searches every file — with match case, whole words and regular expressions. Clicking a hit opens the spot in the editor.

Changes & review

The Changes view shows every changed file with its diff.

  • Comment lines and send the comments to an agent in one go (review loop).
  • Select and commit files, or discard them.

Git

Switch or create branches, pull (fast-forward only), push after confirmation, ahead/behind the remote, the latest commits. Nothing happens without your click.

Pull requests and merge requests

When an agent works in its own worktree and has committed, its tile shows Create pull request — title and target branch prefilled, optionally as a draft. A badge then shows the CI state (running, green, failed); if it fails, OpenCognit tells you.

  • GitHub: through the GitHub CLI gh (once gh auth login).
  • GitLab: through the GitLab CLI glab (once glab auth login, for your own servers with --hostname git.company.com). The button then reads Create merge request and the badge shows the pipeline. OpenCognit recognizes self-hosted GitLab servers by the glab login, by “gitlab” in the server name, and supports nested groups (company/team/project).