Skip to content

Ask how Fito works

When you want to know how something in Fito works, ask from the pi session you are already in:

/fito-docs how do I hand in my work on a case?

A worker reads this guide, picks the pages your question turns on, and answers from them, with each page’s address so you can open it for more. You stay in the terminal, and you need no Fito login.

  • Fito and pi-subagents are installed, per Install and prerequisites. The answer comes from a worker persona, and pi-subagents is what runs it.
  • An LLM provider is configured in pi. The worker runs on your subscription, not on Fito’s.
  • Your machine can reach the guide at https://docs.fito.codes, or at the address you set instead.
/fito-docs [question]

Type your question after the command, in English or in Portuguese. The answer comes in the language you asked in, from that language’s pages:

/fito-docs como eu peço ajuda enquanto trabalho num caso?

Run /fito-docs with no question and it asks what you would like to know.

To check an answer, open an address it cites. The worker answers only from pages it has read in this conversation.

An answer from the guide. It cites each page it used by its address.

“The guide does not cover this.” No page answers the question, and the worker says so rather than guess. A plausible answer the guide does not hold looks exactly like a right one.

An answer from Fito’s own files. When the guide leaves open a question about the terminal half of Fito — its commands, skills and workers — the worker reads the installed package’s own files. The answer then opens with “The guide does not cover this. Fito’s own files say:” and names each command, skill or worker it drew on. When a file and a guide page disagree, the answer follows the guide and says that the two differ. The web app and the server are not in the package, so a question about them ends at “The guide does not cover this.”

A hand-back. Some questions are about something Fito holds rather than how Fito works, and each has its own place. The answer names that place and nothing more:

Your question is about Ask it here instead
A case you have open — its task, its code, a failing test /fito-tutor. See Ask the tutor
What a knowledge component says The web app’s /knowledge area. See Browse the knowledge area
Your own code, or a general programming question Your own pi session, with no Fito command

How to use /fito-tutor or /knowledge is a question about Fito, so /fito-docs answers it.

The first question opens a thread, and every later /fito-docs goes back to the same worker, which still holds everything said so far. A follow-up can be as short as you would make it with a person.

The thread lives as long as this pi session does, so a new session starts a fresh one. When a thread is lost before then, the command tells you in one line and puts your question to a fresh thread, which does not remember the earlier questions. If the fresh thread fails too, the command says what failed and stops.

A /fito-docs thread and a /fito-tutor thread are separate. A question to one never continues the other.

By default, this guide, at https://docs.fito.codes. To read another copy, set FITO_GUIDE_URL; see TUI configuration.

When the guide cannot be read, the answer says so in one line, with the address it tried. A question about the terminal half of Fito then goes straight to Fito’s own files, and any other question ends there.