Research NoteMay 20, 20253 min read
TypeScript for Non-Deterministic Heuristics
Embracing flexibility in the reasoning layer.
Problem
Writing complex LLM interaction logic, parsing fuzzy JSON, and managing API retries in a systems language like Rust leads to immense friction and slow iteration cycles.
Approach
In the TITAN architecture, the "Brain" is written in TypeScript. It is optimized for speed of thought, rich ecosystem libraries (like Zod for parsing LLM outputs), and dynamic typing where appropriate. Because the Brain cannot execute trades itself — but only propose them to the Rust Kernel — we can afford this flexibility.
Invariants
- The Brain possesses NO API keys for execution.
- The Brain communicates only via strongly typed IPC/RPC proposals to the Kernel.
Artifacts
References
- TITAN Architecture Rationale
Mindburn Labs Forschung • May 20, 2025