How peacebitcreativestudio/form works
FORM is a structured reasoning framework with a small local conversational runtime. A user turn is formatted with the framework rules and preserved cycle memory, sent to a local Ollama model, then its response is returned and any JSON memory block is appended for later turns. The README also describes broader reasoning principles, but the available source shows only this runtime loop. Notably, runtime.py loads form_v0_1.json, which is absent from the tree, so no link to the present JSON files is asserted.
Main entry points: runtime.py Turn runtime
Components 6
Local runtime
- Turn runtime
runtime.py - Prompt builder
runtime.py - Cycle memory
runtime.py
FORM framework
- FORM specification
FORMUPDATE.json
Other components
- User
- Ollama model
Connections 7
- User → Turn runtime: submits turn
runtime.py - Turn runtime → Prompt builder: builds prompt
runtime.py - Prompt builder → Cycle memory: includes state
runtime.py - Turn runtime → Ollama model: sends messages
runtime.py - Ollama model → Turn runtime: returns response
runtime.py - Turn runtime → Cycle memory: extracts JSON
runtime.py - Turn runtime → User: returns output
runtime.py