Stop your AI coding agent from overwriting files that changed since the agent last read them.
Coordinate multiple agents editing the same files by alerting each one to external changes.
Give a chatbot the ability to recognize time gaps and greet users naturally after absences.
Build safer long-running coding tasks where formatters or teammates modify files mid-task.
| lnshrivas/since | 0xustaz/streamgate | a-bissell/unleash-lite | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | Python | Python | Python |
| Setup difficulty | easy | hard | hard |
| Complexity | 2/5 | 4/5 | 4/5 |
| Audience | developer | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Install with pip install pysince (not 'since') and add it to your MCP client config, requires Python 3.10+ with zero other dependencies.
Coding agents like Claude Code, Cursor, and Copilot read a file, reason about it across many steps, then write changes back. But the file may have changed on disk in the meantime: a formatter ran, a teammate pushed code, another agent edited the same file. The agent never notices and overwrites the newer version with full confidence. This is called the stale world model problem, and it accounts for a significant share of agent failures on long tasks. since is a lightweight Python package that solves this. It fingerprints every file the agent reads by recording the file's modification time and a content hash. On every subsequent tool call, it compares those stored fingerprints against the current state of the file on disk. If something changed, since reports it before the agent acts, so the agent re-reads the file instead of writing from a stale copy. There is no background process or polling. It just checks disk at the next turn. The package runs as a local MCP server, which is a standard way for agent tools to communicate. You add it to your client's configuration and add one line to your agent's instructions telling it when to call the provided tools. The main tool is check_staleness, which reports not just the file you asked about but every tracked file that has drifted. This means the agent cannot stay blind to a change it did not think to check. The package has zero dependencies and requires Python 3.10 or later. Beyond file checking, since also offers temporal context for chat applications. You wrap your chat function with a decorator, and the model receives a small time block before each turn showing when the conversation started, how long the gaps were between messages, and whether context has gone stale. This lets the model say "welcome back, it has been about six hours since we last spoke" instead of claiming it has no memory of previous interactions. The package is installed with pip install pysince. The PyPI name is pysince because the name since was already taken on the package index.
A lightweight Python tool that helps AI coding agents detect when files have changed on disk since the agent last read them, preventing stale overwrites and giving chat agents time-awareness between messages.
Mainly Python. The stack also includes Python, MCP.
No license information was provided in the repository explanation.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.