interplane.Get Omega
Read in your language

agent-archive

aien-dev/agent-archive

Brought by drakestapleton

branch main Branches Tags History

agent-archive / AGENTS.md

61 lines · 4134 bytes Raw Blame History Source

agent-archive (central archive of AI agent chats on the DGX Spark)

A single Rust binary that collects every AI agent chat on the DGX Spark (OMP, Claude Code, Codex, OpenCode, Gemini/Antigravity on Spark and MacBook, Muse) into plain JSONL records plus a verbatim raw mirror of the source files. This repository holds the collector code and small test fixtures only; the archive data itself lives outside the repository. No network access except a read-only ssh/scp pull from the MacBook.

Shared rules: read https://www.aienos.com/agents/RULES.md first. This file adds what is specific to this repository; where the two differ, this file wins here.

Scope

Installation

git clone https://github.com/aien-dev/agent-archive.git
cd agent-archive
cargo build --release
cargo test --release

Requires a Rust toolchain. rusqlite is built with its bundled SQLite, so no system SQLite is needed. No Python.

Configuration

Usage

agent-archive collect                    # loop every 10 s (run detached)
agent-archive once [--no-mac]            # one pass, prints per-agent counts and duration
agent-archive status                     # per agent: last record, today/total, sources, preview
agent-archive query [--agent claude] --since 2026-10-04T00:00:00Z --grep 'regex' --limit 50 [--json]
agent-archive debug-pb FILE              # dump a raw protobuf blob (for Gemini format work)

These read real chat stores on the host and write the archive; run them only on the machine the archive belongs to. For code changes, cargo test --release is the check.

Conventions

Safety and approvals

Further reading