Kitsune guide

How Kitsune works

The model decides what to try. Kitsune runs the tools, keeps the results and shows you what happened.

From a request to a result

  1. You describe a task in the desktop or terminal interface.
  2. Kitsune sends your instructions, relevant conversation and tool descriptions to the selected model.
  3. The model asks for tools, such as reading a file or querying a database.
  4. Kitsune checks the arguments, asks for approval where required, and runs the calls.
  5. The model receives each result and decides what to do next.

A message saying “I will edit the file” is a plan. A completed edit-tool result is evidence that an edit occurred. Tests or a browser check provide separate evidence that the change works.

Tools and skills

A tool performs an action: read a file, search text, run an approved command or inspect a database. A plugin adds one of these capabilities. A skill supplies reusable instructions for a workflow.

Kitsune shows common tools first. Additional installed plugins can be discovered when needed. Discovery helps keep requests smaller; each call still goes through argument and permission checks.

Three places with different purposes

PlaceWhat belongs there
Kitsune installationThe application, bundled tools, templates and documentation.
Kitsune project folderYour project.ini, service connections, optional secret store and saved conversation.
Source workspacesThe application or documents you ask Kitsune to work on.

Changing projects changes settings and conversation. It does not move your source files. You can update the Kitsune installation while keeping project data separately.

Saved history and working context

Saved history is the complete conversation on disk. Working context is the smaller set of information sent to the model for the next response.

As a task grows, Kitsune replaces older exchanges in working context with continuation notes. Original messages remain saved. The model can retrieve an old result when necessary, but current files may have changed since that result was recorded.

Large file results may be represented by consecutive source lines with a note identifying what was omitted. Those excerpts do not change the saved original or the file on disk.

What Kitsune can verify

Kitsune can report whether a tool completed, whether a command returned an error, and which files were changed. The model can still misunderstand a task or draw the wrong conclusion from a result.

Use a version-control checkout, review edits, and ask for checks appropriate to the task. A text fetch can inspect a page’s HTML; checking its visual layout requires a rendered browser view.

For developers

The implementation is organized into Tcl/NX services. Start with the repository instructions and the reference for the area you want to change:

These references contain the lifecycle, storage and protocol details that are not needed for everyday use.