Fistron docs

fistron.io

Your licences

You may hold more than one licence: your own (Individual, for your own projects) and your organisation’s (Team and above, for its code). Fistron keeps them side by side on your machine and uses the right one in each repository. You can always see which one applies, and choose another.

Get your organisation’s licence: sign in

When your organisation runs Fistron’s control plane (on its own servers, or Fistron’s hosted one), sign your command line in to it:

fistron licence login --control-plane https://fistron.example.com
Open https://fistron.example.com/device?code=BCDF-GHJK
and confirm the code BCDF-GHJK (it expires in 10 minutes).
  1. Open the address it shows. Sign in as you do to the control plane’s GUI if you are not signed in yet.
  2. Check that the page Sign in a command line shows your machine and the same code, and click Sign this command line in. Only confirm a code you started yourself.
  3. The command line goes on by itself: it gets your organisation’s licence (named after your organisation) and its settings, among them which repositories are your organisation’s code.

It needs only your organisation’s network, not the internet. --ca-file <file> trusts a private certificate authority the control plane uses.

Fistron refreshes the licence and its settings when they are a day old, before a command, and fistron licence refresh does it now. When it cannot reach the control plane, the licence is still used for the days your organisation set (7 by default) from the last refresh, then not; fistron licence status says until when. Your sign-in lasts as long as your organisation set (30 days by default); then sign in again.

Get your own licence: sign in

When you bought Individual (on https://account.fistron.io/buy, signed in with the GitHub or GitLab account whose repositories it covers), sign your command line in with the same account:

fistron licence login
Open https://account.fistron.io/device?code=BCDF-GHJK
and confirm the code BCDF-GHJK (it expires in 10 minutes).
  1. Open the address it shows, and sign in with GitHub or GitLab if you are not signed in yet.
  2. Check that the page Sign in a command line shows your machine and the same code, and click Confirm. Only confirm a code you started yourself.
  3. The command line goes on by itself: it gets your licence, named after its plan and your account (for example individual-jana-github).

Fistron fetches it again when it is a day old, before a command, and fistron licence refresh does it now: each renewal reaches you without the e-mail. When it cannot fetch it (offline, or after a refund), the licence you have is used until it expires. Your sign-in lasts a year after it was last used; the account’s page (https://account.fistron.io) signs every command line out at once, and fistron licence logout <name> signs this one out.

Invite your team

With Individual, your team can start Fistron with you, and what you paid counts:

  1. Open https://account.fistron.io/invite (or, in the local UI, Settings, Your licences, Your code) and copy your code, for example INV-BCDF-GHJK. Its link opens the website’s Pilot form with the code filled in.
  2. Your team asks for its Pilot with it. When its admin buys Team, the code is filled in on Buy Team, and the months of Individual you paid and were not refunded, at most 3, come off the first invoice, once.
  3. In your team’s Fistron, bring your history from this machine into your own private space there (My growth): fistron growth --bring.

Get a licence from a file

From a file you were given (your purchase’s e-mail, or your admin):

fistron licence install ~/Downloads/licence.paseto
fistron licence install ~/Downloads/acme.paseto --name acme   # a name of your choice

Without --name, the licence is named after its plan and licensee, for example individual-alice or enterprise-acme-corp.

The licence of a purchase of Individual or Team lasts 16 days at first: the 14 days in which you can ask for a refund, and two more. On day 15 it is renewed to the end of the period you paid for (a month or a year, and a week of grace for the next payment): the e-mail “renewed until” carries the new licence; install it the same way, under the same name. After a refund the licence is not renewed and ends on day 16 (ADR 0198). The licence the installer installed (curl -fsSL https://get.fistron.io | sh -s -- --licence ...) is held too, named installed.

The licences are kept in ~/.config/fistron/licences/ (or $XDG_CONFIG_HOME/fistron/licences/), readable only by you. Nothing is sent anywhere: the closed core verifies a licence on your machine.

See which licence applies, and why

In a working copy:

fistron licence status
Licences held:
  acme: enterprise, Acme Corp, until 2027-06-30T00:00:00Z (verified)
    installed from a file
  individual-alice: individual, alice, until 2027-11-11T00:00:00Z (verified)
    installed from a file
In /home/alice/src/server: acme, chosen for this repository (fistron licence use).
  The organisation's code (acme): its models and policy apply, whichever licence is chosen.
  Models: gateway: acme-large as reasoner, explainer, through its control plane
  Settings: the organisation's for acme/server: change-policy, review-rules.
  Data flow: the stricter of yours and project platform's data-flow policy.
  Runs: to acme's control plane as your work, in its project platform (fistron licence runs off acme to keep them here).

Outside your organisation’s code the last lines say Models and policy: your own configuration ([llm], FISTRON_LLM_*).

--json prints the same as JSON, and the local UI’s Settings shows it under Your licences for the working copy it was started in. fistron licence (no action) shows the licence in force as the closed core sees it: its plan, features, limits and expiry, and with --config <fistron.toml> whether it covers that configuration’s scope.

How Fistron chooses

For each command, in a working copy, the first that applies:

  1. A licence in the environment: FISTRON_LICENCE_TOKEN (the token itself) or FISTRON_LICENCE (a file). This is how CI gives a licence; it is used as it is.
  2. Your choice for this command: fistron --licence <name> <command>.
  3. Your choice for this repository: fistron licence use <name>.
  4. Your organisation’s licence, when this is its code: a repository whose root commit is one of the organisation’s repositories, its forks and mirrors too. An organisation’s licence past its days without a refresh is not used. When two organisations’ licences cover it, the first you signed in to is used, and fistron licence status says so.
  5. Your own licence (Individual) for everything else; without one, the first licence you hold; without any, open Fistron with the core’s free licence.

Fistron knows which repositories are your organisation’s when you sign in to its control plane. An organisation’s licence installed from a file applies where you choose it with fistron licence use, or everywhere when it is the only licence you hold.

On your organisation’s code, its models, its settings and its policy apply whichever licence you choose: your own model configuration and keys are not used there (below).

Choose a licence yourself

For a repository, from now on (run it in the working copy):

fistron licence use acme
fistron licence use --clear      # back to Fistron's choice

For one command:

fistron --licence individual-alice ready

The choice is kept by the repository’s identity (its root commit), so it holds in every clone of it on your machine.

Remove a licence

fistron licence logout acme

The licence goes, with its settings and your choices of it; for a licence from your organisation’s control plane, the control plane also ends your command line’s sign-in. fistron licence logout installed removes the one the installer installed.

In CI

Give the licence’s token as a masked secret in FISTRON_LICENCE_TOKEN, as in Install on a machine, a virtual machine or in CI. Your own (Individual) licence runs in CI only in repositories you own.

Your organisation’s models on its code

On your organisation’s code (and its forks), Fistron uses only the models your organisation allows for its members’ command lines, called through its control plane with your sign-in: never your own model configuration ([llm], FISTRON_LLM_*), your own key or your own licence’s model credit, whichever licence you choose. When you have a configuration of your own, the command says once that it is not used there. When your organisation allows no model, Fistron Sovereign Rules — Deterministic runs. fistron licence status names the models in force:

In /home/alice/src/server: acme, the organisation's licence: its repositories include this one (3f1c09a2b7e4).
  The organisation's code (acme): its models and policy apply, whichever licence is chosen.
  Models: gateway: acme-large as reasoner, explainer, through its control plane

The local UI and fistron mcp take the working copy they are started in.

Your organisation’s settings and policy on its code

On your organisation’s code (and its forks) Fistron also reads:

They come with the licence when it is refreshed (a day old, or fistron licence refresh). fistron licence status shows them in the lines Settings and Data flow.

Your runs on your organisation’s code

When your organisation takes its members’ local runs, the documents a command writes in a working copy of its code (with --output: a log’s analysis, a review, a CI history) go to its control plane after the command, as your work, into the project of that repository. The command says how many went; it never fails for them. What stays yours is never sent: Fištrónek’s conversations, a problem report, Fistron Memory’s records and your personal history (Become a developer, the learning path).

To keep them on your machine:

fistron licence runs off        # in a working copy of the organisation's code
fistron licence runs off acme   # or name the organisation's licence
fistron licence runs on acme    # send them again

fistron licence status says where they go, in the line Runs; in the local UI, Settings, Your licences has the switch Keep my runs on this organisation’s code on this machine. They stay on your machine, too, when your organisation does not take them, when your role in the project uploads no documents (the control plane refuses them and the command says so), and everywhere outside its code.