Kitsune guide

Get Kitsune

Download a source snapshot or use Fossil to keep a local checkout up to date.

Download the source

These archives contain source code. You need a Tcl runtime to run them. The trunk snapshot follows current development; use a named tag when you need a fixed repository version.

What you need

  • Tcl 9 to run Kitsune, plus Tk 9 for the desktop interface.
  • A model connection: a local server or hosted service with a compatible Chat Completions API.
  • The Tcl packages required by your installation. Kitsune loads bundled libraries and installed packages automatically. Its package list is kept in one central file.

Optional tools have their own dependencies. Database access needs the relevant TDBC driver; Fossil and Sqitch plugins need their command-line programs. You do not need every optional program to start Kitsune.

Check the core Tcl packages
Run from the source directory
tclsh9.0 src/package_list.tcl

No output means the core package loader completed. A missing-package error names what still needs installing. The GUI loads its Tk and appearance packages separately at startup. The Thread package is needed when worker threads are enabled.

Launch the desktop or terminal

Extract the archive and open a terminal in the extracted Kitsune directory. Then choose an interface:

Desktop
tclsh9.0 gui.tcl
Terminal setup
tclsh9.0 main.tcl --setup

On Windows, use your installed Tcl executable, commonly tclsh9.0.exe. Follow Getting started to choose source folders and enter the model details.

Keep a Fossil checkout

If you prefer a checkout that can receive updates, install Fossil and run:

Clone and open
fossil clone https://code.cloudz.cv/kitsune/ kitsune.fossil
mkdir kitsune
cd kitsune
fossil open ../kitsune.fossil

The kitsune directory is the source checkout. The separate kitsune.fossil file contains repository history.

Update and keep your project data

Close Kitsune before updating its source checkout:

Review local edits before updating
fossil status
fossil update

Your project settings and conversations normally live in the operating system’s user-data folder, separate from this checkout. Existing project settings remain authoritative; new templates do not overwrite them.

Repository home · Source tree · Change history

If you are developing Kitsune

Read the development instructions, then run the automated checks before sharing code changes:

Regression suite
tclsh9.0 tests/all.tcl

The suite checks application behavior with controlled fixtures. It does not prove that every model, desktop or remote service works correctly; test the relevant real workflow too.