# Stackly - Gracjan Kolary

- **Event:** [Meta Global AI Developer Hackathon](https://cerebralvalley.ai/e/meta-ai-developer-hackathon)
- **When:** Oct 26, 12:00 PM – Nov 4, 9:00 PM (EST)
- **Where:** Online
- **Team:** [Gracjan Kolary](https://cerebralvalley.ai/u/korary_)
- **GitHub:** https://github.com/ArgeTheGamer/PsycheEngine
- **Demo video:** https://youtu.be/0RhQB11wbJA
- **Gallery:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1223

PsycheEngine keeps a company's documents in agreement with each other.

I used to work in a warehouse. The same rule there lived in four places at once: the operations manual, the health and safety rules, the job descriptions and the client contract. When something changed, someone updated one of them and forgot the others. Nobody noticed until an audit, or an accident.

PsycheEngine keeps one canon of facts (speed limits, pallet weights, who signs off a damaged load) and writes all four documents from it. When a manager writes what changed in plain words, a change agent maps it to facts in the canon, code recalculates the numbers that depend on them, and only the sections that use those facts get rewritten. Every rewrite is checked by a critic and scanned by code for old values. Then it drafts a notice for clients and a memo for the floor.

I tested it on a fictional 3PL, Harborwick, over a year of 12 changes. Muse Spark on its own, with every document in its context, ended the year with 10 out-of-date values. PsycheEngine ended with 0. With every agent on Muse Spark Open it was 0 again, against 7 and 43 for the baselines. A change costs well under a dollar.

It can also take over documents a company already has: it builds the canon from them and asks the manager about every conflict it finds. On my test set that was 6 questions and 0 conflicts afterwards.

Everything behind these numbers (every model call, verdict and before/after text) is in the public repository.

## More from Meta Global AI Developer Hackathon

- [ScoreSnap](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1220)
- [THE NEMESIS](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1221)
- [Gevalinho Labs](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1222)
- [Flatline](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1224)
- [Volshi](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1225)
- [Aleksandr Nariadchikov](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1226)

---

Markdown version of https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1223. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
