Getting Started (Draft)
Doc status: Informative — links to normative specs. Last updated: 2025-11-02.
Prerequisites
- Debian/Ubuntu host (or container/VM) with Rust toolchain (
rustup,cargo,clippy,rustfmt). - Optional tooling:
just,sqlite3,cargo-deb,live-build,qemu-system-x86_64. rlpCLI (will be built from source once crates exist).
Repository layout refresher
See the tree in README.md for directories. Key docs:
docs/message-protocol.md— wire format spec (normative)docs/rmp-registry.md— schema IDsdocs/kb-schemas.md— ledger & materialized views (normative)docs/ops.md— operations, config precedence, trust policy (normative sections marked)docs/security-model.md— sandbox, secret store, threat model
First-run checklist
-
Clone repo and read
README.mdfront-to-back. -
Configure
~/.runloop/config.yaml(copy from.env.exampleguidance when available). -
Initialize secrets backend (optional):
rlp secrets init --backend=secret-service -
Initialize KB once binaries land:
rlp kb migrate # creates events.sqlite, pog.sqlite, vectors/ rlp kb verify -
Review trust policy (after Release key published):
cat ~/.runloop/trust-policy.toml -
Build the wasm agent bundles and run the smoke test:
just build-agents-wasm just test-agents-wasmThese helpers compile the wasm32-wasip1 binaries under
agents/*/bin/and exercisecompose_emailend-to-end viarlp --local.
Common operational commands
rlp kb migrate|verify|backup|vacuum
Secrets/trust CLIs are still planned:
rlp secrets put|get|list|deleteandrlp trust updateremain interface contracts until their implementations land with the packaging milestone.rlp agent installis available for local bundles (directory or .tar/.tar.gz) and performs digest/tools.json validation;rlp agent removeis still pending. Userlp agent listto inspect bundles already present in your search dirs.
Finer details appear in docs/ops.md. As implementation lands, these commands
gain real outputs; until then they serve as interface contracts.
Installing from the Debian package
-
Build the
.debfrom source (Debian 13/trixie host):just debInstall
cargo-debfirst (cargo install cargo-deb). Artifacts land under each crate’starget/debian/directory, e.g.crates/runloopd/target/debian/runloopd_<version>_<arch>.deb. -
Install and start the daemon:
sudo apt install crates/runloopd/target/debian/runloopd_0.1.0_amd64.deb sudo systemctl status runloopdInstall the CLI/TUI helpers separately if desired:
sudo apt install crates/rlp/target/debian/rlp_0.1.0_amd64.deb sudo apt install crates/agtop/target/debian/agtop_0.1.0_amd64.debThe daemon package writes the default config to
/etc/runloop/config.yaml, creates/var/lib/runloop, and enables (but does not automatically start) therunloopdsystemd unit so you can edit config before running it. -
Update
/etc/runloop/config.yamlas needed, then runsudo systemctl restart runloopd. Purging the package removes the config, state, and therunloopsystem user.
Authoring an agent on a Debian install
If you install Runloop from the packages and want to add your own agent without
cloning the source tree, follow docs/authoring-on-deb.md for the scaffold →
edit → build → run loop (Rust + wasm32-wasip1 target required).
Finding work items
TODO.md→ repo scaffolding checklistROADMAP.md→ milestone-level goals- Issues/Discussions (once public) will tag bugs/features/tasks
Contributing flow (preview)
- Fork/branch following
CONTRIBUTING.mdguidance (to be fleshed out). - For spec changes, open an ADR (
docs/adr/) and mark affected docs as Draft/Normative. - Ensure docs and fixtures stay in sync (e.g., schema registry, KB migrations).
Questions? Open an issue or reach out via channels in SUPPORT.md.