Skip to main content
Glama

Cliquet

Cliquet lets your AI assistant build and deploy an app for your process and its data, and runs it securely. Your team works in the app from a phone or a browser, your agents through its tools, and a change that breaks a rule is refused, whoever makes it.

cliquet.dev · Docs · Try the hosted beta

How it works

  • Your assistant builds the app. Connect Claude, ChatGPT, Codex, Cursor or any MCP client to Cliquet, and say what you track and the rules it must follow. Cliquet's builder gives the assistant the tools to write the app, test it, look at its screens and publish it, with no shell.

  • An app is one short Python file: its data, the actions that change it, the queries that read it, the screens people use, and its invariants, the rules every change must keep.

  • Every change is checked, then kept in git. An action runs on a copy of the data, every invariant runs on the result, and the change is committed or refused with the reasons. History, undo and export come from git.

  • People and agents share the app. People use its screens in a browser, on a phone or inside their assistant, and agents call its tools over MCP. Each has a role, and the same rules hold for both.

  • App code never runs in the server. On the hosted service, it runs in a sandbox of its own for each owner, with no network, and the server checks everything a sandbox sends back.

Related MCP server: Spine

What an app looks like

A room booking app, cut down to one action, one rule and one query:

import json
from datetime import date, time
from pathlib import Path

from cliquet import ActionContext, App, BaseModel, InvariantContext, QueryContext

BOOKINGS = "bookings.json"
rooms = App("rooms", files=[BOOKINGS])


class Booking(BaseModel):
    room: str
    day: date
    start: time
    end: time
    by: str


def load() -> list[Booking]:
    path = Path(BOOKINGS)
    return [Booking(**b) for b in json.loads(path.read_text())] if path.exists() else []


@rooms.action
def book(ctx: ActionContext, room: str, day: date, start: time, end: time) -> None:
    """Book a room for a meeting."""
    booking = Booking(room=room, day=day, start=start, end=end, by=ctx.caller.id)
    rows = [b.model_dump(mode="json") for b in [*load(), booking]]
    Path(BOOKINGS).write_text(json.dumps(rows))


@rooms.invariant("A room is never booked twice at the same time")
def no_double_booking(ctx: InvariantContext) -> list[str]:
    bookings = load()
    return [
        f"{a.room} is already booked on {a.day} from {a.start} to {a.end}"
        for i, a in enumerate(bookings)
        for b in bookings[i + 1 :]
        if a.room == b.room and a.day == b.day and a.start < b.end and b.start < a.end
    ]


@rooms.query
def bookings_on(ctx: QueryContext, day: date) -> list[Booking]:
    """The bookings of one day."""
    return [b for b in load() if b.day == day]

An agent calls book over MCP, or a person from the app's screen once it has one. A booking that overlaps another is refused with the invariant's words, whoever made it, and nothing is written. The examples are whole apps, with their screens and tests: a meeting rooms plan, an environment register and a household ledger.

Get started

On the hosted service: sign up at app.cliquet.dev, free within a monthly limit on sandbox time, then connect your assistant, as the quickstart shows.

On your own machine, for a first try with Claude Code or Codex there, with uv and git, on macOS or Linux:

claude mcp add cliquet-local -- uvx --from "git+https://github.com/etiennecrb/cliquet#subdirectory=packages/server" cliquet-server mcp

For Codex, run the same with codex mcp add. Your agent then starts the server when it starts, and the server opens the console in your browser. It is a dev preview, not for production: app code runs as you, with your files and network. See Try it on your machine, which also runs the server in a terminal with cliquet-server start.

In a sandbox on your own machine, with Docker Engine 26 or later and Compose:

cd docker
cp .env.example .env    # on Linux, also set DOCKER_GID, as its comments say
docker compose build
docker compose up -d

Open http://127.0.0.1:8800/, signed in as sam, and connect your assistant to your own endpoint. In Claude Code:

claude mcp add --transport http cliquet-local http://127.0.0.1:8800/me/mcp \
  --header "Authorization: Bearer dev"

Under the development login, any token signs in as sam, who may build. A server on a public address takes more setup, such as HTTPS and a sign-in provider: see Self hosting.

Developing Cliquet

You need Python 3.14 or later and uv:

uv sync
uv run pytest
CLIQUET_DEV_LOGIN=sam uv run cliquet-server run

AGENTS.md has the rest: the commands, the conventions and the definition of done. ARCHITECTURE.md describes the main architectural decisions, each with its reason.

Contributing and security

Issues are welcome. Pull requests are closed for now: CONTRIBUTING.md says why. Report a vulnerability privately, never in an issue, as SECURITY.md says.

Licences

  • The server, in packages/server/, is under the GNU Affero General Public License v3.0 only.

  • Everything an app imports or copies is under the Apache License 2.0, so apps carry no conditions: the SDK in packages/sdk/, and the builder's examples and guides in packages/server/src/cliquet_server/builder/examples/ and guides/, though they sit inside the server's folder.

  • The rest of the repository, such as the scripts, the website and the docs, is under the Apache License 2.0 too.

  • Vendored files keep their own licences, kept next to them: daisyUI and Chart.js (MIT), htmx (0BSD) and Lucide (ISC), and so does Cliquet's fork of Oat (MIT), in packages/sdk/src/cliquet/renderer/oat/.

The name Cliquet, cliquet.dev and the logo are not licensed.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes a governed, provenance-grounded autonomous delivery pipeline as an MCP server, enabling AI coding assistants like Claude Code or Codex to initiate requirements-to-PR workflows with human approval gates and full audit.
      337 PyPI
      13
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides a local-first MCP server for AI-native software delivery, enabling structured specifications, human approval gates, controlled repository operations, verification evidence, review, and traceability.
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Turns any AI coding agent or MCP client into a governed DevOps engineer by exposing policy-enforced tools for Kubernetes, Docker, Jira, Git/PR, CI/CD, AWS, Terraform, and incident response, with approvals, audit logging, secret redaction, and rollback enforced outside the model.
      6
      Apache 2.0