Using ActivityWatch to map out work processes to agentic workflows #1160
Replies: 2 comments
|
I fed my AW week's activity into chatgpt o3 and asked it to organize my attention better ended up with an updated schedule for next week not sure what you mean by how/what I would start with why, as per https://en.wikipedia.org/wiki/Start_with_Why then how, then what |
|
Hey jbird, ActivityWatch could be a strong data source, but it is not a complete process-mining system by itselfActivityWatch is good at answering:
Your example asks a deeper question:
ActivityWatch does not currently know that automatically. The missing concept is a case or task IDTraditional process mining usually expects events resembling:
ActivityWatch records timestamps and contextual metadata, but normally does not know that those three activities belong to the same work item. Without a case ID, an analyzer has to infer task boundaries from signals such as:
That inference can be useful, but it will always have some ambiguity. A practical architectureI would use ActivityWatch as the local event collection layer and build the process analysis separately. 1. Collect multiple signalsThe normal window, browser, AFK, and editor watchers provide a good foundation. Custom watchers could add:
I would avoid recording complete email bodies, document contents, commands, or clipboard values by default. Process metadata is often enough and carries much less risk. 2. Normalize events into activitiesRaw applications are not necessarily meaningful workflow steps. For example:
This translation could use rules first, with a local model only where the signal is ambiguous. 3. Segment the timeline into work sessionsPossible boundaries include:
A small optional hotkey such as “mark current task” would dramatically improve accuracy without becoming full manual time tracking. 4. Correlate events into casesThe analyzer could assign events to inferred cases using shared metadata. For example:
That is much stronger evidence of a workflow than application names alone. 5. Discover recurring patternsOnce events are grouped into cases, sequence analysis could reveal patterns such as:
From there, an LLM could explain the patterns, but I would calculate the event sequences and durations deterministically before asking the model to summarize them. Where ActivityWatch fits wellActivityWatch is particularly suitable because it is:
I would work from raw or lightly processed events rather than only the default Activity view. The canonical query is designed for time summaries, so it may remove or merge context that is useful for workflow discovery. Important limitationsPassive observation cannot reliably capture:
It can reconstruct probable behavior, not ground-truth intent. There is also a danger in converting observed behavior directly into an agent workflow. A human process may contain unnecessary steps caused by poor interfaces, missing integrations, organizational policy, or habit. The goal should be to understand the process first, then decide which steps should be automated, assisted, redesigned, or intentionally kept human. A good first experimentI would start with one narrowly defined workflow, such as responding to a support request. Collect:
Then manually label perhaps 20 completed cases and compare those labels against automatic segmentation. That will reveal which additional signals are actually required before building a larger system. So my answer is: yes, ActivityWatch could be an excellent foundation for task mining and agentic-workflow discovery, but it would need a correlation and process-analysis layer above it. The watchers observe activity; the additional layer must infer tasks, boundaries, relationships, and workflow meaning. References:
|
Uh oh!
There was an error while loading. Please reload this page.
I'm curious is anyone has used ActivityWatch to map out not just what they are looking at, but "how" they do something. E.g. I receive an email from a client that asks a question, I need to review another file before I respond, then I write a response. There are numerous micro-flows that we perform when working that are critical to understand as we try to automate or make agentic. Could ActivityWatch be a good platform for this mapping?
All reactions