Using Kitsune

Configuration, structure and Find in projects

What a project needs to deploy, its services, modules, owners and code map, read from your project folder, and one search across projects.

Kitsune reads a project linked on your computer and shows what an architect, a DevOps engineer or an agent needs to know about it. It reads everything from the files in the project folder, and values and file contents stay on your computer. In an organization project, Kitsune adds the names it finds to the organization index so your teammates can search them (see Organization search). A personal project sends nothing.

Configuration#

The Configuration tab on the project page lists every variable the application needs. Kitsune reads them from:

  • .env.example and its variants (.env.sample, .env.template, .env.dist, .env.prod.example);
  • docker-compose files: environment and ${VAR}, ${VAR:-default} and ${VAR:?message};
  • Spring application*.yml, .yaml and .properties placeholders, ${VAR} and ${VAR:default};
  • Helm values*.yaml: env lists, including valueFrom.secretKeyRef;
  • Terraform variable blocks and *.tfvars;
  • variable reads in source code: process.env.X, System.getenv("X"), os.getenv("X"), os.environ["X"], os.Getenv("X") and env::var("X").

Each row shows:

  • the name and the value in the environment you pick;
  • whether it is Required or Secret;
  • its description (a comment above it in .env.example, a Terraform description or a ?message);
  • every file and line that reads it.

Kitsune takes environments from file names such as application-prod.yml, values-prod.yaml or prod.tfvars. A value set for an environment overrides the default. You can search by name or description, and filter by Required, Secret or Not set in the picked environment.

The Configuration tab for prod: What to set to deploy, and the variables with values, Required and Secret badges and where each is read

Secrets are never read#

Kitsune never opens real environment files (.env, .env.local, .env.production and any .env.* that is not an example), keys (*.pem, *.key, id_rsa*) or .npmrc.

Some variables show "value hidden": a name that contains PASSWORD, SECRET, TOKEN, API_KEY, PRIVATE_KEY or CREDENTIAL, a variable Terraform marks sensitive or Helm takes from secretKeyRef, and a value that is a URL with a password (postgres://user:password@host/db). Kitsune doesn't keep, copy or export those values.

What to set to deploy#

Above the table, What to set to deploy <env> lists every secret and every required variable that has no value in that environment or by default, with where each is read. With Solo Pro or the Team plan you can save the list with Export Markdown or Export CSV. The CSV is UTF-8 with a byte order mark, so spreadsheets show accents correctly. On Free you still see the list, and Export tells you which plan it needs.

Structure#

The Structure tab shows:

The Structure tab: calls with their targets, Kafka topics consumed and produced, and dictionaries with their source files

  • Services: docker-compose services with image, ports and depends on; Helm charts from Chart.yaml; Dockerfiles with their EXPOSE ports and command.
  • Modules and dependencies: each package.json, pom.xml, Gradle build, go.mod, pyproject.toml or requirements*.txt and Cargo.toml, with its direct dependencies. Kitsune skips lock files. It reads Gradle builds by patterns and marks them approximate.
  • Owners from the first CODEOWNERS in .github/, the project root or docs/.
  • Code map: languages, entry points, test folders, the number of API operations, and folders down to three levels with their file counts. Kitsune doesn't read code symbols.

Kitsune stops after 5000 files and tells you. Files over 1 MB are listed as too large. Both tabs reuse what they read until a file changes; Refresh reads everything again.

Calls, messages and dictionaries#

Below Services, the Structure tab lists how the project talks to other services. Kitsune finds these by line patterns while it reads the code, and skips test code (src/test, *.spec.ts, *Test.java and similar).

  • Calls:

    • Spring: @FeignClient names and URLs; WebClient, RestClient and RestTemplateBuilder base URLs; RestTemplate calls with a literal URL.
    • Keys in application*.yml and .properties whose value is a URL or whose name ends in url, uri, base-url or host. Keys for databases, brokers, caches, logging, the server itself, service registries, config servers and sign-in providers don't count as calls.
    • Angular: URLs in environment*.ts, HttpClient calls on them with their path, and proxy.conf.json targets.

    A ${NAME} placeholder takes the variable's value from the Configuration tab. For a secret variable you see only its name. A target built at run time is marked "not resolved", a localhost or example host "local", and a public host "External".

  • Messages: Kafka topics from @KafkaListener and KafkaTemplate.send, Spring Cloud Stream destinations, RabbitMQ queues from @RabbitListener, exchanges and routing keys from convertAndSend, and declared queues. If a topic name sits in a constant that the project defines once, Kitsune resolves it.

  • Dictionaries: enums whose name or folder says dictionary (for example CountryDictionary, slowniki/), lookup tables that a Liquibase or Flyway changelog creates and seeds, and endpoints such as GET /dictionaries/countries or GET /slowniki/kraje. Lookup tables show their columns and the number of seeded rows, never a row value.

Each list keeps the first 500 rows and tells you when it cuts the rest. Hide removes a wrong row from the tab, from matching and from search on this computer. Show hidden brings it back.

Called by lists the calls in your other projects that reach this one, with the file and line of each. A call reaches a project when its target matches one of the project's names: its Kitsune name, repository, spring.application.name, compose service, Helm chart, Dockerfile or package name. If only a shortened name matches (customers-api against customers), the link says "likely". Messages show the project on the other side of each topic or queue.

Called by and the projects a call reaches read your other projects, so like Find in projects they need Solo Pro or the Team plan. The project's own calls, messages and dictionaries are free.

Find in projects#

Find in projects in the sidebar searches every project in view, either your organization's or your personal ones. It covers services, variables, API endpoints, modules and dependencies, CODEOWNERS rules, calls and messages, and dictionaries. Projects linked on this computer are read from their folders. Find in projects needs Solo Pro or the Team plan; it skips a project without the plan and names it. A personal project that isn't on this computer is listed with Link.

  • Filter by kind and by project.
  • A module or service shows Used by: the other projects whose manifests depend on it or whose docker-compose uses its image. A service also shows Called by.
  • Search for a project's name, such as billing-service, and the calls that reach it come first, under "Who calls billing-service". Search for "country" with only Dictionaries on, and you see where a country dictionary is defined and served.
  • Open a result to go to its project's Configuration, Structure or API tab.
  • Select results and choose Copy as Markdown to paste one table per kind into any document. Secret values are never copied.

In an organization, Find in projects also searches the organization's projects that are not on this computer, using the organization index. This needs the organization's Team plan.

  • Each time Kitsune syncs an organization project's index, it adds a summary of names. It builds the summary from the same commit as the index, never from uncommitted changes. The summary holds:
    • services and their image names without tags;
    • modules and dependency version ranges;
    • API endpoints (method, path, summary) and CODEOWNERS rules;
    • variable names with their descriptions and the files that read them;
    • the names of the services the project calls, its Kafka topics and RabbitMQ queues, and its dictionaries;
    • the names the project answers to (such as spring.application.name);
    • document titles and headings (levels 1 to 3).
  • The summary never holds a variable value, a default, a port, an environment entry or an image tag. It never holds a call's URL, path or public host (an outside call is only counted as External), enum values, table columns, seed counts, document text, or anything from .env files or keys. Only members of the organization can read it.
  • Results from the index are marked Indexed with the time and the branch they came from, for example "Indexed · 2 hr. ago · main". An index older than 7 days is marked "Index from 8 Nov". Projects that were never indexed say "Not indexed yet".
  • Choosing such a result opens the project page with Link. Copied rows say "(indexed)" in the source column.
  • Offline, or when the server can't be reached, the page shows the projects on this computer and offers Retry.
  • A summary with more than 2 000 entries of one kind, or over 1 MB, is cut, and the page tells you which project and kind.

The first time Kitsune adds names to an organization's index, it shows a one-time notice with a link to the privacy policy. It shows the notice again when a version adds new kinds of names. The version that added calls, topics, queues and dictionaries did that.

For your agent#

The Kitsune MCP server adds two tools (see Working with your AI agent):

  • kitsune_code_map gives the agent the project's modules, folders, entry points, services, owners, variable names, calls, messages and dictionary names at the start of a task, so it reuses what already exists. It returns no values and no file contents, and works on every plan.
  • kitsune_find_facts searches the same facts as Find in projects, including who calls a service. It needs Solo Pro or the Team plan. In an assistant conversation in an organization it also covers the organization's projects that aren't on this computer, using the organization index (remote: true, names only). An agent you start yourself, outside Kitsune, searches only the projects on this computer.