What is Safran
Safran is a local toolkit that gives coding agents the context of one company (its tickets, its
code across repositories, who owns what, the words people use, and the work that was done
before), all driven by a single profile file, safran.yaml.
This page says what you get, what you do not get, and which page to read next.
The problem it solves
A coding agent opened in one repository knows that repository. It does not know that a ticket
written in Turkish about "iade" is about the code that says refund, that the fix probably
spans payments-api and ledger, that the Payments team owns both, or that a similar ticket
was closed three months ago by a pull request touching src/refund/policy.ts.
Teams usually solve this by wiring tracker tools, a code index and prompts together for their own company. Project keys, repository names and team names then end up inside code and prompts, and the result cannot be moved to another company without a rewrite.
Safran keeps everything company-specific in one file. The index, the MCP server, the skills and the evaluation all read that file. A second company needs a second profile, not a second codebase.
version: 1
company: acme
languages:
tickets: tr
code: en
trackers:
- id: jira
type: jira
url: https://acme.atlassian.net
email_env: JIRA_EMAIL
token_env: JIRA_TOKEN
projects: [PAY, MOB, WEB]
code:
hosts:
- id: azure
type: azure-repos
organization: acme
project: Platform
token_env: AZURE_DEVOPS_PAT
groups:
backend: [payments-api, ledger]
teams:
- name: Payments
projects: [PAY]
repos: [payments-api, ledger]
glossary:
- term: İade
code: [refund, chargeback]What you get
| Capability | What it does | Where it comes from |
|---|---|---|
| Tickets | Reads a ticket, its comments, attachments, links and history; searches tickets by text | A tracker connector: Jira, Azure Boards, Linear or GitHub Issues |
| Code across repositories | Clones or reads every repository the profile names and searches all of them at once, by meaning and by words; exact grep and file reads over the same set | A code host connector (Azure Repos, GitHub, GitLab, a local directory) and a local index |
| Ownership | Answers "which team owns this repository or this project" | teams in the profile, or inferred from merged pull requests when the profile does not say |
| Vocabulary | Expands ticket words into the words the code uses before searching | glossary in the profile |
| Past work | Which merged pull requests belonged to which ticket and which files they changed | A local store filled from the code hosts' pull requests |
| Linked documents | Fetches a wiki page a ticket links to | A doc source connector (Confluence) |
| Evaluation | Builds a question → files set from your own merged pull requests and measures search against it | safran eval |
All of it is delivered three ways, over the same core:
- A CLI.
safran sync,safran search,safran ticketand the rest. See the CLI reference. - An MCP server for Claude Code, with thirteen read-only tools and four skills that use them: technical analysis of a ticket, finding things in code, a test plan, and a ticket readiness check. See the Claude Code plugin and the MCP reference.
- A TypeScript SDK.
createSafran()returns the same object the CLI and the server use. See the SDK guide.
There is also a local dashboard, safran dashboard, that shows the same instance in a browser.
What it is not
These are limits by design. They are stated here so you do not find them later.
- Not an agent framework. Safran does not run a model or a tool loop. It feeds an agent that already exists (Claude Code first) with tools and skills.
- Not hosted, not multi-tenant. One install serves one company and runs on your machine. Source code and tickets are read from your trackers and code hosts directly; nothing passes through a Safran service, because there is none. With the default embedder (Ollama) the embeddings are computed locally too. If you configure a remote embedding endpoint instead, code chunks are sent to that endpoint.
- Read-only on trackers. No connector creates or changes a ticket, and the MCP server has no write tool. Skills draft text for you to paste.
- Not published to a package registry. You clone the repository and run it with Bun. There
is no
npm installfor it. - Not a sandbox. The replay evaluation runs agent commands as ordinary processes; see Status and limitations.
Who it is for
- An engineer who wants Claude Code to answer "where is this done, and who owns it" across every repository of the company instead of the one that is open.
- A team that receives tickets in one language and writes code in another.
- Someone building their own tooling on company context who wants a typed API instead of a pile of scripts: the SDK is the same code the CLI runs.
It is less useful when all your code is one small repository and your tickets already name the files: the agent can read that on its own.
Where to go next
| You want to | Read |
|---|---|
| Run it now | Quickstart |
| Understand the moving parts first | Concepts |
| Check what must be installed | Requirements |
| Write or review the profile | The profile and its reference |
| Connect a tracker, a code host or an embedder | Connectors |
| Use it from Claude Code | Plugin, MCP server |
| Call it from your own code | SDK guide, API reference |
| Set it up for a company from scratch | A new company |
| Know what is unfinished | Status and limitations |