Quilzomanual

Get started with Quilzo in ten minutes

From nothing to a running admin, a published site and your first agent, in the order Quilzo needs them.

In the adminGet startedFindYou

Quilzo is the self-hosted AI agent platform: a control plane, an agent studio, a CMS and chatbots in one Go binary. Each agent has a declaration saying what it may do, and one gate enforces it on every action. A person decides on the actions that matter, and every run is recorded in a signed log. It has no third-party dependencies.

This guide takes about ten minutes. You need a terminal on Linux, macOS or Windows. A model is optional: an agent can walk its declaration without one, and you can connect a model at the end.

Install and sign in

  1. Get the program

    Build it from source with Go 1.27. There are no third-party modules to download, and no release is published yet.

    git clone https://github.com/Quilzo/Quilzo && cd Quilzo
    go build -o quilzo ./cmd/quilzo
    sudo install -m 0755 quilzo /usr/local/bin/quilzo

    Install and run it for real covers the container image and running it as a service.

  2. Create a store, with you as its administrator

    A store is a directory holding everything Quilzo keeps: content, history, access policy, credentials, agents and the audit log. Back up that one directory and you have backed up everything.

    quilzo init --admin you
    created .quilzo
      content is immutable and addressed by hash; publishing moves a pointer
    The first administrator is you. Start the admin (quilzo serve) and open this, once, to add their passkey:
    http://localhost:8080/enrol/qzenrol_…

    Keep that link for step 5: it adds your passkey, once, within a day, and does nothing else. Commands use .quilzo in the current directory. Pass --root DIR to use another.

  3. Get a token for the command line

    The admin takes a passkey; the command line takes a token, which proves you are the person the policy names.

    quilzo token issue you --principal you --role admin

    The token is printed once, and only its hash is stored. Save it to ~/.quilzo/token with mode 0600 and the command line uses it from then on; the command line also accepts --token or QUILZO_TOKEN. If you lose it, issue another and revoke the first with quilzo token revoke ID.

  4. Load something to work on (optional)

    quilzo demo installs Marginalia, a small paper shop: pages, a product catalogue as structured records, images, listings and forms. Every screenshot in this manual was taken from it.

    quilzo demo
    Marginalia is installed. A paper shop: products as structured records, a catalogue a machine can read, …
      11 page(s), 15 record(s), 12 image(s), 7 listing(s), 2 form(s)

    When you are done with it, quilzo demo remove lists what taking it out would remove, and quilzo demo remove --yes removes it and publishes the result. Anything you changed or added stays: an edited page, your own pages and records, enquiries the public sent, and whatever your content still uses. Publish your own changes first; it will not publish unfinished work along with the removal.

  5. Open the admin and sign in

    The admin listens on loopback by default. --open opens it in your browser.

    quilzo serve --open

    Open the link from step 2 and add your passkey; then sign in with it. Use localhost, not 127.0.0.1: a passkey belongs to a name, and a browser refuses an address. Every request a person makes to the admin carries two factors, and a passkey is two on its own (see two factors on every request). To bring in other people, grant them a role and give them a link of their own (see a link that adds somebody's passkey), or connect single sign-on (see Single sign-on).

    The page an enrolment link opens: it adds a passkey for you, once, until a time the next day, and asks for a name for the passkey
    The link from step 2. There is no password to store or reset.

Find your way around the admin

Signing in with your passkey opens Today: what is waiting for you to decide, and buttons to start something, such as Write a page (see Today). The checklist is on Reference › Get started, which signing in with a token opens instead until you dismiss it. It ticks each step when the store shows it is done, not when you click past it.

The Get started screen with a numbered checklist: write something, give it a shape, publish it
The checklist reads the store, so it stays accurate when you come back to it.

The menu on the left groups the screens: Content, Release, Assurance, Protection, Administration and Reference. To jump anywhere, press Ctrl K (⌘ K on a Mac) and type: Find covers every screen, page, setting and content type.

The Find palette open over the Pages screen, showing the Memory screen as a result for the word memory
Find, opened with Ctrl K. The same search is quilzo find WORDS on the command line.
  • The name in the bar goes to your start screen: Today, or Pages if you chose to start there.
  • A screen below another in the menu has a way up above its heading, such as ← Pages above a page's editor.
  • A message offers the way back to where you were, not to the list of pages.
  • Signing in by token, passkey, OIDC or SAML returns you to the screen you asked for.
  • Help with this screen in every footer, All documentation and every link that leaves the admin open in a new tab, marked with an icon, and read out as “(opens in a new tab)”, so a form you were filling in stays where it was.

Reference › You says what you hold and where, as your session holds it: What you may do, asked of the whole site and of each place you hold something, through the credential you signed in with, and Your sessions. How the admin looks to you is there too.

Run your first agent

  1. Declare one

    A retrieval agent answers questions from published content and cannot write anything. It is where most agents should start.

    quilzo agent new help-desk --kind retrieval
    declared help-desk (retrieval)
      Answer questions using published content only.
      capabilities  read_page, list_pages, search_pages, similar_pages
      autonomy      propose
  2. Run it without a model

    With no model, a run tries each capability once. It shows what the store answers and what the gate allows, which makes it a cheap first test.

    quilzo agent run help-desk
  3. Connect a model and ask it something

    Point Quilzo at any OpenAI-compatible endpoint, and name a model it serves. A local model through Ollama is enough; nothing leaves the machine.

    export QUILZO_MODEL_URL=http://127.0.0.1:11434/v1
    export QUILZO_MODEL=MODEL
    quilzo agent run --model help-desk "Can I return an opened bottle of ink?"

    The model picks each step from the agent's declared capabilities and cannot add to them. Every run is kept, and you can read it step by step:

    quilzo agent runs
    quilzo agent trace RUN
    help-desk  complete  Can I return an opened bottle of ink?
       1  search_pages   done   1 page(s) match, best first: returns
       2  read_page      done   body: Thirty days, unused, and we pay the postage back. Ink is the exception…
       3  finished       done   done

Publish the site

The public site is a second process with no editing surface, so the part facing the internet cannot change anything.

quilzo site --addr 127.0.0.1:8081
The Marginalia demo shop's home page as the public site serves it
The demo shop, served by quilzo site.

Three ways in, one set of rules

Everything is reachable from the admin, from the command line (quilzo help lists every command, and each one takes --json), and from the agent interface over MCP. A rule enforced in one of them is enforced in all three, because they share one code path.

Asking any command for help, with -h, -help or --help, one dash or two, with or without a value, prints its help and does nothing else: quilzo init --help makes no store.

Where to go next