Menu

Agent infrastructure

HARK.

What should an agent remember?

An agent can follow the same instructions twice and learn nothing. HARK records what a run discovered so the next one can start further ahead.

Status
Hosted demonstration
Context
Independent hackathon project
Evidence reviewed
System diagramThe execution memory loop
  1. 01Search scoped memory
  2. 02Run a bounded skill
  3. 03Record run evidence
  4. 04Recall or invalidate

01 / Problem

What should an agent remember?

An Agent Skill describes a procedure. It rarely captures which recovery worked last time, in which environment, or which evidence made that recovery worth trusting. A chat transcript puts the burden of reconstructing all of that on the next run.

The insight

Remember the execution, not the conversation. Store what happened separately from the advice derived from it, and keep a reference back to the original run.

02 / Architecture

How the system works.

A Python service records run events and derived experience in CockroachDB. The query regression workflow retrieves experience by scope and fingerprint, invokes bounded tools, and records the decisions influenced by earlier runs. The memory can be invalidated when its assumptions stop holding.

Built with: Python · CockroachDB · AWS Bedrock

03 / Decisions

What I contributed.

I built the workflow around the distinction between raw evidence and reusable experience. The public code covers retrieval, provenance, invalidation, and the web surface that exposes the investigation trail.

The trade-off

A narrow memory scope reduces irrelevant recall, but also limits transfer between environments. An earlier success should be a lead to investigate, not permission to skip diagnosis.

04 / Evidence

What you can inspect.

Status and limits

The hosted entry page responded during this review. The public implementation focuses on CockroachDB query regression. No new remote model run or general reliability benchmark was performed for this portfolio.