Chronicle

v0.3.0
io.github.aniketxdey/chronicle Checked 42 minutes ago Published 27 days ago

Local screen and activity knowledge graph, served as context to computer-use agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_harnesses List harnesses

The agent harnesses the user has built from their recordings, each for a line of work. Call this first.

get_harness Get harness

One harness: its AGENTS.md, which says how to use it, and the list of its files.

ParameterTypeDescription
id *integer

read_harness_file Read harness file

One file in a harness: AGENTS.md, a context file, or a workflow, with its small knowledge graph as text.

ParameterTypeDescription
id *integer
path *stringA path from get_harness, like contexts/researching-companies.md.

search_harness_graph Search harness graph

Search a harness's knowledge graph engine: entities across its recordings, and the low-level system events that mention the words.

ParameterTypeDescription
id *integer
query *string

get_context_file Get context file

One context file: standing instructions for this kind of work, the workflows it refers to, and its knowledge graph as text.

ParameterTypeDescription
id *integer

get_workflow Get workflow

One workflow: when to run it, its inputs, the steps in order, what to confirm with the person first, and its knowledge graph as text.

ParameterTypeDescription
id *integer

get_graph Get knowledge graph

The knowledge graph of a recording, context file, or workflow, as nodes and edges in JSON or readable text.

ParameterTypeDescription
kind *string
formatstringDefault md, which uses fewer tokens.
idintegerThe recording, context file, or workflow id. Omit with kind recording for all history.

get_context Get computer context

Context pack for a computer-use agent: what is on screen now, recent activity, habitual app/window transitions, the knowledge-graph entities relevant to the task, and cited evidence. Call this before acting.

ParameterTypeDescription
max_nodesintegerGraph nodes to include (4-80, default 24).
minutesintegerOnly consider the last N minutes.
presetstringThe kind of work, when one fits: general (General), data-analysis (Data analysis), job-applications (Applying to jobs), coding (Software development), research (Research), writing (Writing), meeting-f…
session_idintegerRecording session id. Omit to use all history.
taskstringWhat you are about to do, in plain words. Focuses the graph and evidence.

search_history Search history

Full-text search over captured screen text, system events, transcripts, and memories.

ParameterTypeDescription
query *string
app_namestring
content_typestring
end_timestring
limitinteger1-50, default 10.
start_timestringISO timestamp or relative like '2h ago'.

query_graph Query knowledge graph

Find knowledge-graph entities by text and/or kind, ranked by time spent and frequency.

ParameterTypeDescription
kindstring
limitinteger1-100, default 20.
querystringWords to match against entity labels.
session_idintegerRecording session id. Omit to use all history.

get_entity Get graph entity

One knowledge-graph entity with its neighbors, relations, and evidence frames. Accepts an id like 'ticket:bill-142' or a label.

ParameterTypeDescription
id *string
session_idintegerRecording session id. Omit to use all history.

graph_summary Graph summary

Counts by entity kind, the top entities of each kind, and the most common transitions.

ParameterTypeDescription
session_idintegerRecording session id. Omit to use all history.

list_tasks List tasks

What the user was doing, as a timeline of tasks (e.g. 'researching Forbes AI 50 · Crusoe', 4m) segmented from screen activity by topic. Each task has start/end, a verb, top terms, a topic cluster shared with other stints on the same topic, the pages and entities involved, and evidence frame ids.

ParameterTypeDescription
session_idintegerRecording session id. Omit to use all history.
sincestringOnly tasks ending after this ISO timestamp or relative time like '2h ago'.

get_frame Get frame

One captured frame: app, window, URL, text, nearby events. With include_image=true, also the screenshot.

ParameterTypeDescription
frame_id *integer
include_imagebooleanAttach the screenshot (JPEG or PNG) when one exists.

activity_summary Activity summary

Time per app, top windows, meetings, and a short narrative for a time range (default today).

ParameterTypeDescription
end_timestring
start_timestring

list_sessions List recordings

Recording sessions with status, duration, frame and event counts, and top apps.

ParameterTypeDescription
limitinteger

start_recording Start recording

Record the screen and system events (app switches, window focus, URLs, clipboard, idle) for a preset duration such as '5m', '30m', or '2h'. The graph for the session is built when it ends.

ParameterTypeDescription
durationstringHow long to record, e.g. '10m', '1h30m'. Omit for until stopped.
interval_secsintegerSeconds between samples (1-600, default 5).
labelstringWhat is being recorded, e.g. 'filing an expense report'.

stop_recording Stop recording

Stop the running recording (or the given one) and build its knowledge graph.

ParameterTypeDescription
session_idintegerRecording session id. Omit to use all history.

rebuild_graph Rebuild graph

Rebuild the knowledge graph for all history or one session from the stored frames and events.

ParameterTypeDescription
session_idintegerRecording session id. Omit to use all history.

graph_review Review graph for curation

One batch of the knowledge graph with the rules and op schemas for curating it yourself. Use with graph_apply when the user wants their graph organized, including when Chronicle has no model of its own.

ParameterTypeDescription
batchintegerBatch to read, from 0. The reply says how many there are.
session_idintegerRecording session id. Omit to use all history.

graph_apply Apply graph curation

Apply curation ops from graph_review to the local graph. Each op is checked, rejected ops come back with the reason, and tune_graph with reset=true removes them all.

ParameterTypeDescription
ops *arrayOps as {name, arguments}, using the schemas graph_review returns.
session_idintegerRecording session id. Omit to use all history.

tune_graph Tune graph with an LLM

Have the configured LLM (see Settings > Model or CHRONICLE_LLM) review the heuristic graph and patch it: add real-world entities, typed relations, and activity summaries, merge duplicates, clean labels, drop noise. Patches survive rebuilds; reset=true removes them. Off unless an LLM provider is configured.

ParameterTypeDescription
forcebooleanIgnore the response cache and the up-to-date check.
resetbooleanRemove all LLM patches for the scope instead of tuning.
roundsintegerReview passes (1-5, default 2).
session_idintegerRecording session id. Omit to use all history.

list_meetings List meetings

Meetings with speakers and transcript segments.

ParameterTypeDescription
limitinteger

fetch Fetch (connector)

Fetch the full record for an id returned by search (frame:N, audio:N, event:N, memory:N, node:<id>).

ParameterTypeDescription
id *string