Repository navigation
The first tagged release of factor-q, and the first run of its release machinery.
factor-q is pre-alpha. This release makes no compatibility promise: the stores, the events, the configuration and the command line can all change in a later release without a migration path. Use it to try factor-q, not to depend on it.
What's in it
One bundle per platform, each holding three binaries, with a .sha256 beside it:
fq: the command-line client;fqd: the daemon that runs agents;fq-cas: the content store's command-line tool.
Built for Linux on x86_64 and aarch64 (static, musl) and for macOS on Apple Silicon. Intel macOS has no pre-built binary.
All three are built with --locked, from the lockfile CI tested, at commit bba392cd.
Install
curl -fsSL https://raw.githubusercontent.com/bricef/factor-q/main/install.sh | FQ_VERSION=0.0.1 shThe installer checks the bundle's checksum and refuses to install anything it cannot verify. It installs to ~/.local/bin (set FQ_INSTALL_DIR to change that).
You also need a NATS server with JetStream, and a model provider's API key. fq init writes a project directory with a docker-compose.yml that runs a local, token-protected NATS broker. QUICKSTART.md walks through the rest.
Checked before publishing: on a fresh Debian container that never had the source, install.sh installed this release's x86_64 Linux bundle (checksum verified), fq, fqd and fq-cas reported 0.0.1, and this tag's smoke suite passed 5 of 5 against the installed binaries, with real model calls: a single-turn response, tool loops, the projection with its query and cost commands, and NATS-triggered dispatch. The aarch64 Linux and macOS bundles were built and checksummed by the release workflow but not run.
What works
fqdruns agents defined in Markdown files, against a model provider, with built-in tools and MCP servers, inside a sandbox that limits what a tool can read, write and run.- Every step of a run is an event on NATS JetStream, and every event is kept in a local SQLite projection that
fq eventsandfq costsread. - A run's record is trustworthy: an outcome that was decided is not lost, a trigger starts its work once, a run that stopped mid-step is resumed or reported, and a failure is named.
- Budgets and bounds: each run has a cost budget, checked before a model call; tool results, tool calls and MCP requests are bounded.
STATUS.md says in detail what runs today.
Known gaps
- Edge tokens never expire and cannot be revoked (#404). The daemon mints an admin token the first time it starts. Anyone holding it has full control of that daemon for as long as the daemon's state lasts. Keep it as you would a root password.
- No upgrade or downgrade procedure. A newer
fqdupgrades its stores when it starts. An olderfqdthen refuses to open them, so going back to an earlier release means restoring a backup. fq-cas gcdeletes content stored with a plainfq-cas putwhile reporting that every invariant holds (#174). Store content as named objects (fq-cas object put), or do not rungc.- Cost reports can miss a call's spend in rare cases: a call whose cost event cannot be published and is then dropped by an operator (#1169); a failed sampling or elicitation call whose failure event is lost (#1167); a kept event the next build cannot read (#1176); a response too large to publish (#1017). In each case the figure is still on the run's own record.
- Not in the bundle: the dashboard, the container image and the adapters (
fq-cron, the GitHub watcher). They build from source. - Release hardening is not done yet: the release workflow's actions are pinned by tag, not by commit, and the release has no provenance attestation. These come with
v0.1.0.
The full list of known bugs is the repository's open issues labelled bug.