Premise
Built on opencode

AI coding built for
structured development

Define what you're building, architect how it fits together, and track what has changed β€” before a single line of code is written.

Download All platforms View on GitHub
Premise app showing the Architecture tab with an interactive component diagram

Features

Think before you build

Premise adds three structured tabs to the AI coding workflow β€” each one writes a file you can commit alongside your code.

πŸ“‹

Requirements Tab

Generate a structured app summary and requirements document from your session conversation. Each requirement has a lifecycle you can track.

uncommitted β†’ committed β†’ planned β†’ implemented
.premise/requirements.md
πŸ—ΊοΈ

Architecture Tab

Generate and explore AI-produced architecture diagrams interactively. Three diagram views β€” component, deployment, and composite structure β€” built on React Flow.

.premise/architecture.json
.premise/architecture-deployment.json
.premise/architecture-composite.json
πŸ•

History Tab

Browse the full history of prompt executions in your session. See exactly which files changed for each prompt with addition and deletion stats.

Built-in Agents

Purpose-built for each task

Three specialized agents, each scoped to a specific job and the files it is allowed to write.

Agent Purpose Writes
requirements Reads the session and produces a summary and structured requirements document .premise/summary.md
.premise/requirements.md
requirement-plan Maps committed requirements to detailed implementation plans .premise/plans/*.md
architecture Analyses the codebase and produces the architecture graph .premise/architecture*.json

Get started

Run it locally

Premise is a desktop app. Download the latest release or build from source.

# Prerequisites: Bun 1.3.13+ and Node.js 22+
git clone https://github.com/mbenachour/premise
cd premise && bun install
bun run dev:desktop