Chronicle
v0.3.0Local 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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
id * | integer | |
path * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
format | string | Default md, which uses fewer tokens. |
id | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
max_nodes | integer | Graph nodes to include (4-80, default 24). |
minutes | integer | Only consider the last N minutes. |
preset | string | The 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_id | integer | Recording session id. Omit to use all history. |
task | string | What 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
app_name | string | |
content_type | string | |
end_time | string | |
limit | integer | 1-50, default 10. |
start_time | string | ISO 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.
| Parameter | Type | Description |
|---|---|---|
kind | string | |
limit | integer | 1-100, default 20. |
query | string | Words to match against entity labels. |
session_id | integer | Recording 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
session_id | integer | Recording 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.
| Parameter | Type | Description |
|---|---|---|
session_id | integer | Recording 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.
| Parameter | Type | Description |
|---|---|---|
session_id | integer | Recording session id. Omit to use all history. |
since | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
frame_id * | integer | |
include_image | boolean | Attach 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).
| Parameter | Type | Description |
|---|---|---|
end_time | string | |
start_time | string |
list_sessions List recordings
Recording sessions with status, duration, frame and event counts, and top apps.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
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.
| Parameter | Type | Description |
|---|---|---|
duration | string | How long to record, e.g. '10m', '1h30m'. Omit for until stopped. |
interval_secs | integer | Seconds between samples (1-600, default 5). |
label | string | What 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.
| Parameter | Type | Description |
|---|---|---|
session_id | integer | Recording 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.
| Parameter | Type | Description |
|---|---|---|
session_id | integer | Recording 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.
| Parameter | Type | Description |
|---|---|---|
batch | integer | Batch to read, from 0. The reply says how many there are. |
session_id | integer | Recording 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.
| Parameter | Type | Description |
|---|---|---|
ops * | array | Ops as {name, arguments}, using the schemas graph_review returns. |
session_id | integer | Recording 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.
| Parameter | Type | Description |
|---|---|---|
force | boolean | Ignore the response cache and the up-to-date check. |
reset | boolean | Remove all LLM patches for the scope instead of tuning. |
rounds | integer | Review passes (1-5, default 2). |
session_id | integer | Recording session id. Omit to use all history. |
list_meetings List meetings
Meetings with speakers and transcript segments.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
search Search (connector)
Search Chronicle history and the knowledge graph. Returns ids to pass to fetch.
| Parameter | Type | Description |
|---|---|---|
query * | string |
fetch Fetch (connector)
Fetch the full record for an id returned by search (frame:N, audio:N, event:N, memory:N, node:<id>).
| Parameter | Type | Description |
|---|---|---|
id * | string |