Skip to content

kompassdev/kompass

Repository files navigation

Kompass is under active development, so workflows, package APIs, and adapter support may keep evolving as the toolkit expands.

Kompass
Navigate your way - manual steering, steered autonomy, or autonomously.

Kompass keeps AI coding agents on course with token-efficient, composable workflows.

Docs

Bundled Surface

  • Commands cover direct work (/ask, /commit, /merge), orchestration (/dev, /ship, /todo), ticket planning/sync, and PR review/shipping flows.
  • Agents are intentionally narrow: worker is generic, planner is no-edit planning, navigator owns multi-step orchestration, and reviewer is a no-edit review specialist.
  • Structured tools keep workflows grounded in repo and GitHub state: changes_load, command_expansion (resolve a slash command and return the expanded prompt for immediate delegation), pr_load, pr_sync, ticket_load, ticket_sync.
  • Reusable command-template components live in packages/core/components/ and are documented in the components reference.

Prerequisites

  • GitHub CLI (gh) must be installed and authenticated. Kompass uses gh for all GitHub operations (PRs, issues, reviews). Install from cli.github.com and run gh auth login.

Installation

For OpenCode, add the adapter package to your config:

{
  "plugin": ["@kompassdev/opencode"]
}

Project config is optional. To start from the published base config:

curl -fsSL https://raw.githubusercontent.com/kompassdev/kompass/main/kompass.jsonc -o .opencode/kompass.jsonc

Kompass loads the bundled base config, then optional home-directory overrides, then optional project overrides. In each location it uses the first file that exists from:

  • .opencode/kompass.jsonc
  • .opencode/kompass.json
  • kompass.jsonc
  • kompass.json

The recommended project override path is .opencode/kompass.jsonc.

Workspace

This repository is the Kompass development workspace.

  • packages/core: shared workflows, prompts, components, config loading, and tool definitions
  • packages/opencode: the OpenCode adapter package, published as @kompassdev/opencode
  • packages/web: docs site and web content
  • packages/opencode/.opencode/: generated OpenCode output for review

When changing Kompass itself, keep runtime definitions, bundled config, schema, docs, and generated output in sync in the same change.

About

Navigate your way - manual steering, steered autonomy, or autonomously. Kompass keeps AI coding agents on course with token-efficient, composable workflows.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors