Kitsune guide

Using Kitsune

Keep projects separate, review what the agent does, and find the settings that matter.

Work with more than one project

Use File → New Project… for another codebase, or File → Open Project… to switch to an existing project. Stop an active task before switching.

A project can include several workspace folders. Relative paths begin in its default folder. Give an absolute path when you need to identify a file in another configured folder.

When creating a project, you can copy another project’s settings. This does not copy its conversation. Credentials are excluded unless you explicitly choose to copy them.

Find and change settings

File → Open Project Folder takes you to Kitsune’s settings for the active project. Avoid looking for these files inside your source workspace.

FileUse it for
project.iniModel connection, workspace folders, tool preferences and appearance.
databases.iniNamed database connections, if you use database tools.
http.iniNamed HTTP services with their own TLS settings or authentication.
secrets.encEncrypted values managed through Settings → Secrets…; do not edit this file by hand.

After editing project.ini, reload configuration while idle. Updating the default files in the Kitsune installation does not change existing projects.

Use Settings → Fonts… to adjust fonts. On Linux, pixelated text can also mean Tk was built without Xft font rendering; changing font names alone will not fix that build.

Conversations and context

Your conversation is saved as you work and resumes when you reopen the project. View → Conversation History lets you browse older messages.

The model cannot see unlimited history at once. Kitsune keeps recent work and continuation notes in its working context, while the complete saved messages remain available for retrieval.

Instructions, tool descriptions, file contents and the model’s answer all use context space. Keep the root AGENT.md concise; detailed guidance can live in instruction files closer to the relevant source folders.

Use New when you want a clean conversation. To back up a project, close Kitsune and copy the entire project folder, including its database and artifacts/ folder if present.

Approvals, Stop and changes

Review approval dialogs before allowing changes or external commands. File mutations and database writes have their own approval checks. The project’s [Execution] require_approval setting controls external-program confirmation.

Stop cancels the current task. Completed edits remain; stopping does not undo a database deployment, remote command or file change that already happened. Review the changes and tool results before continuing.

Installed plugins and programs run with your account’s operating-system access. Workspace checks help control file tools, but they are not a complete sandbox for programs or remote services.

Passwords and API keys

Open Settings → Secrets… to add or replace a named secret in the active project. For example, save a database password under database.local.password, then reference it in settings as secret:database.local.password.

Each project owns its store and password. The KITSUNE_MASTER_PASSWORD environment variable can unlock it automatically if Kitsune inherits that variable. A desktop launcher usually does not read your shell’s .bashrc; you may therefore be asked to unlock a store that opens automatically from your terminal.

Connect a database or development website

Database tools use connections in databases.ini. Install the matching TDBC driver, add a named connection, and use that profile when requesting database work. PostgreSQL, for example, uses tdbc::postgres.

Example: a read-only PostgreSQL connection

First save a secret named database.local.password through Settings → Secrets. Install tdbc::postgres, then add a connection in the project’s databases.ini:

databases.ini
[database]
default_profile = local

[local]
package = tdbc::postgres
options = -host localhost -port 5432 -user developer -database example
password = secret:database.local.password
allow_write = false

Replace the connection details with yours. Ask the model to list tables using profile local. The secret store must be enabled and unlocked. This example keeps write queries disabled.

Sqitch uses its own configuration and credentials. An optional [Sqitch] database setting selects the database. If a command works in a terminal but fails from a desktop launch, compare the inherited environment; project [Environment] settings can supply the variables its child programs need.

To fetch a public page, provide its URL. For a development service with a private certificate or authentication, add a profile in the project’s http.ini:

http.ini: trust your development CA
[dev]
base_url = https://dev.localhost
tls_ca_file = /path/to/development-ca.pem

For a deliberate development-only exception, use tls_verify = false instead of a CA file. A direct URL request does not inherit a saved profile’s credentials or TLS exception.

Use the saved profile
Use http_get with profile dev and path /webapps/example/.

If an anonymous request fails certificate verification, the tool can identify matching configured TLS profiles and suggest a retry. The model should not search your workspace for http.ini. http_get retrieves page content; it does not provide a rendered browser screenshot.

When something goes wrong

What you seeWhat to check
Model connection failedStart the model server, check its address and model name, and try Test Connection. Read the specific error before changing unrelated settings.
Certificate verification failedUse the named HTTP profile for that service, or configure its trusted CA. Do not treat a certificate error as proof that a page or container is missing.
Context limit reachedMatch the project’s context_window to the server, shorten large root instructions, or give a smaller task. Starting a new chat does not increase the model’s limit.
Repeated tool loop stoppedInspect the last tool calls. A source excerpt may identify missing line ranges; request those ranges rather than repeatedly rereading the entire file.
Tool missing or unavailableCheck the Tools window and ask the model to search for the capability. Some tools need an installed program or database driver.
A page still looks unchangedCheck that the edited CSS or template is actually loaded by the page. A successful file edit alone does not verify what the browser renders.

The Diagnostics and Logs views help distinguish a model response, a tool failure and a connection problem. When reporting an issue, include the error and recent tool activity, with credentials removed.

Useful terminal commands

Inside the terminal interface
/help
/projects
/project /path/to/project.ini
/folder
/reload
/tools
/new
/exit

Use /help for the full list. These are commands typed inside Kitsune, not shell commands.