Skip to main content

Tree-structured AI coding assistant with git worktree isolation

Project description

CodeFission

Tree-structured AI coding assistant. Each conversation node is an isolated git worktree — branch conversations to explore alternative approaches, and each branch gets its own filesystem sandbox.

Prerequisites

  • Python 3.12+install or via your package manager
  • Claude Code — AI backend (spawned as subprocess). Install: npm install -g @anthropic-ai/claude-code
  • git — worktree isolation. Usually pre-installed.

Authenticate Claude Code before first use:

claude login

Install

pip install codefission

Then run:

fission

Opens on http://localhost:8080. Use a different port: fission 3000.

Install from source

Requires uv and Node.js 20.19+ or 22.12+.

git clone https://github.com/codefission-ai/CodeFission.git
cd CodeFission
make install
fission

For development with auto frontend rebuild:

make dev

How it works

Create a tree in the sidebar, type a message, and CodeFission spawns a Claude Code session in an isolated git worktree. Branch any node to explore alternatives — each branch forks the conversation context and the filesystem state.

         [root]
        /      \
   [add auth]  [add auth]     <- same prompt, different approaches
      |            |
 [fix tests]  [add logging]   <- independent follow-ups

Every node tracks its git branch, commit, and Claude session. Child nodes fork from the parent's prompt cache so context carries over without re-sending history.

Authentication

Configurable in the Settings panel (gear icon in sidebar):

  • CLI (OAuth) — default. Uses your claude login session. No API key needed.
  • API Key — provide an Anthropic API key in settings. Useful for headless/remote setups.

Both modes require the Claude Code CLI binary to be installed.

Configuration

Open Settings (gear icon) to configure:

  • Global defaults — provider, model, max turns, auth mode. Applies to all trees.
  • Per-tree overrides — provider, model, max turns. Leave as "Default" to inherit global settings.

Settings persist in the backend database across sessions and devices.

Development

make dev          # install + build frontend + run server
make test         # run tests
make build        # build wheel for PyPI
make publish      # build + upload to PyPI
make clean        # remove build artifacts

Frontend dev server (hot reload):

cd frontend
npm run dev

Data is stored in ~/.codefission/ (SQLite database, git worktrees). Override with CODEFISSION_DATA_DIR env var.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codefission-0.1.1.tar.gz (804.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codefission-0.1.1-py3-none-any.whl (615.2 kB view details)

Uploaded Python 3

File details

Details for the file codefission-0.1.1.tar.gz.

File metadata

  • Download URL: codefission-0.1.1.tar.gz
  • Upload date:
  • Size: 804.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.12.0 HTTPX/0.28.1

File hashes

Hashes for codefission-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7a78c2d811c576bfe257b9893454d7390fef41c2287dda38c8f67def202c70aa
MD5 129afa74af7539a73885b34f80e13f83
BLAKE2b-256 e461880c36dface9560724eb1c76562ea7c8854beaa01d067c8332a153669689

See more details on using hashes here.

File details

Details for the file codefission-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: codefission-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 615.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.12.0 HTTPX/0.28.1

File hashes

Hashes for codefission-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f61c96389f22ca0adda686af54ffac68dafff41cb942a297aa54f71d64a90b5e
MD5 8251be56ca7a60334801ca2d3f1fd549
BLAKE2b-256 f7432dd223a4f8572986ab71ddf80f8ea786b9f29a4b152a972e713c41c15174

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page