Teams

Organization AI

For admins: the AI policy, the optional AI gateway for members without an agent CLI, and weekly insights.

Admins decide how members use AI with Kitsune in Organization → AI. Everyone can read the policy. Only admins with Manage AI policy can change it, and the activity log records every change.

The page opens with a short summary: agents run on members' computers, whether local runs are allowed, which language agents write in, and whether the gateway is on.

The AI policy#

Setting Default
Local agent runs allowed on
Allowed CLIs all five
MCP connection allowed on
Agents may ask helpers and experts on, with at most 3 expert calls per change, 2 helpers per task and depth 3
Agent language Each person's language
AI gateway off
Allowed gateway models, monthly token cap per seat —
Weekly summary off
Record agent runs off

Kitsune applies the policy of the organization that owns the project. If the policy can't be fetched, it uses the last one it saw on this computer.

Record agent runs sends, after each local run or suggestion, only the CLI and version, mode, project, duration, rounds, number of files written, warnings left and result. It never sends paths, file content, prompts or agent output. The entries appear in the activity log.

Helpers and experts#

The switch Agents may ask helpers and experts, in the Local agents card, decides whether builds of the organization's projects can use helpers and experts: the agents of a build ask an expert, start read-only helpers and leave each other messages. Three maximums come with it: Most expert calls per change (0 to 10), Most helpers per task (0 to 5) and Deepest agent tree (2 to 4 levels). Members set their own values under Project settings → Agents and builds → Helpers and experts, where nothing above these maximums is offered. Turn the switch off and every build of the organization's projects runs without helpers and experts, and the switch under Customize in the build start dialogs says Turned off by <organization>. The AI in <organization> summary at the top of the page shows the limits in force. Messages between agents stay on members' computers; with Record agent runs on, Kitsune gets only the counts of helpers, expert calls, messages and tokens.

Agent language#

Agent language sets the language agents started by Kitsune use for everything people read: replies in the assistant panel, planning files, open questions, build summaries and review notes. It applies on members' computers and through the gateway. Choose English or Polski. With Each person's language, the default, each member's own User settings → Language decides.

Code, file names and commit messages stay as they are, and so do the parts of a document that tools read: OpenSpec's ### Requirement: and #### Scenario: headings and the words SHALL, WHEN and THEN. openspec validate keeps passing. Documents already written keep their language.

The AI gateway (optional)#

The gateway is for members without an agent CLI. It gives them the creator helpers (Ask agent for options and Suggest risks) and the Assistant panel, using a model the organization chooses and pays for. Set it up in four steps:

  1. Provider: an Ollama or OpenAI-compatible base URL (with an optional key), an API key for OpenAI, Anthropic or Azure OpenAI, or Google Cloud Vertex AI in your own project (see Vertex AI).
  2. Test: Test connection makes one small request.
  3. Models and limit: the models members may use, a monthly token cap per seat, and optionally the price of each model and a monthly budget for the organization (see Spend and budget).
  4. Turn on.

The gateway is part of the Team plan. While the organization's plan has ended or is unpaid, members are not offered the gateway, and any request is refused with "This needs the organization's Team plan" before it reaches your provider. The organization pays its provider directly. Kitsune never bills tokens.

The provider key is stored encrypted with a per-organization key, and no API ever returns it. Settings show only its last four characters.

Before a member's first gateway request, Kitsune shows them three things. First, what is sent: for a helper, the brief or canvas text of that request; for the assistant, the message, the page context, the open document, the documents mentioned with @ and the conversation so far. Second, where it goes: Kitsune's server, then your provider. Third, that Kitsune doesn't store it. Nothing is sent without the member's consent, and they can revoke it in User settings → Agents.

The server stores no request or answer text. It keeps only the user, kind, model, token counts, cost and time. Past the monthly cap, requests are refused with "Monthly AI limit reached". Admins see this month's use per member.

Vertex AI#

With Vertex AI, the gateway uses Gemini and Claude models from your organization's own Google Cloud project, and Google bills that project. Enter the project id and a location. With global, Google picks where each request runs; eu keeps processing in the EU and us in the US. Then choose how Kitsune signs in:

  • Kitsune's service account (recommended). Each organization gets its own Kitsune service account. You give it the Service Account Token Creator role on a service account in your project, and Kitsune gets one-hour tokens for it. No key is stored. If your organization only shares with its own domains, allow Kitsune's customer id, shown in the settings.
  • Service account key. Paste a JSON key. It is stored encrypted like the other provider keys, and the settings show only its account. Google Cloud organizations created since May 2024 block creating keys by default.

Settings → AI lists the steps with the values to copy: enable the Vertex AI API, give your service account the roles/aiplatform.user role, grant the Token Creator role, and enable each Claude model in Model Garden. Test connection checks a Gemini model and, when the allowed models include Claude, a Claude model too, and says which step is missing.

Google does not train on these prompts. What Vertex AI does keep:

  • It caches prompts for up to 24 hours, unless caching is turned off in the project.
  • It may keep Gemini prompts for up to 90 days for abuse monitoring, unless your Google Cloud contract excludes it.
  • It logs Claude Fable and Mythos prompts for up to 30 days and shares them with Anthropic.

The assistant through the gateway#

In an organization project with the gateway on, the agent picker of the Assistant panel lists "<organization> gateway · model" next to your connected CLIs. The panel uses it when no CLI can run here.

  • No tools. The model gets Kitsune's guide, the page you are on, the open document, what you mention with @ and the conversation so far. It cannot search or open files itself; the panel says so once per conversation and offers Add a document.
  • Whole answers. The answer arrives in one piece (up to 4,000 tokens, within 90 seconds) while the panel shows "Writing…". Stop drops the answer, but the provider may still finish the request, and its tokens and cost count.
  • Limits. A conversation through the gateway holds at most 40 messages and 400,000 characters. After that, start a new one.
  • Field proposals in the creators and test steps from the Tests tab need an agent CLI.

Spend and budget#

For each allowed model, an admin can enter what your provider charges per million input and output tokens. Once every model has a price, you can set a Monthly budget in US dollars for the whole organization.

  • Each gateway request, from the helpers or the assistant, records its cost at the prices of that moment. Changing a price later does not change past requests.
  • Settings → AI shows this month's spend against the budget and per member. Members see the spend in the summary.
  • At 80 % of the budget, members see a note in the panel and the helpers once a month, and the settings mark the spend "Near the budget".
  • At the budget, every gateway request is refused with "Your organization's monthly AI budget is used up" until the first day of the next month (UTC) or until an admin raises or removes the budget. A request that started below the budget may finish above it.
  • The per-seat token cap applies too.

Insights#

Admins see stalled work: documents that have been draft for more than 7 days, grouped by project. Kitsune finds them from the index metadata alone. With the gateway on and Weekly summary enabled, the gateway model also writes a weekly summary from that metadata, and admins get it as a notification.