- Elpis
An agent harness built on Codex, with a desktop app and a terminal app, where you choose what each agent sees.
- Context Ledger: see and choose what each agent receives.
- Workflows: agent teams run in waves ordered by Kahn's algorithm.
- One engine: GPT, Claude, Gemini and OpenRouter models in one thread.
- LLM Safety
LLM safety research on tool-result ordering, framing and reasoning leakage, and agent hierarchies.
- ChronosAttack: authentic tool results, adversarial ordering.
- Eyes Wide Shut: framing, tool use, and reasoning leakage.
- Order from the Top: loyalty and self-interest in agent hierarchies.
- rag-mcp
An MCP server that finds relevant passages in local files and code without loading the whole workspace.
- Hybrid search: keywords plus embeddings.
- Ranking: fuse results, then rerank.
- Code corpus: full answers for 30/33 queries.
- Financial Market Analysis
EUR/USD research comparing a dual-tower Transformer with tree models in backtests.
- Labels: profit, loss, and time barriers.
- Models: dual-tower GTN versus boosted trees.
- Execution: next-bar entries in MT5.
- ChronosAttack
Research into how the timing of authentic tool results can steer an LLM agent's decisions.
- Threat model: change arrival order without changing payloads.
- Extension: new scenarios, models, defenses and ablations.
- Evaluation: measure security and task utility separately.
- Order from the Top
Do loyalty, sacrifice and self-interest apply to LLM agents in a hierarchy, and what moves them if not?
- Testbed: agent families under a threat of mutual destruction.
- Experiments: framing, a selfish or compromised leader, size, networks.
- Evidence: pre-registered tests against twin worlds.
- SVG Studio
Generate a good image, trace it into an editable SVG, then animate it or use it as an icon.
- Generate: a high-quality image from a careful prompt.
- Trace: the Studio or the MCP turns it into editable SVG.
- Use: animate it or ship it as an icon.
- Skills
Versioned procedures that let coding agents reuse your working methods instead of relearning them.
- Triggers: load the relevant workflow.
- Guardrails: explicit steps and checks.
- Portable files: inspectable SKILL.md text.
- WhisperType
Local dictation for Linux/NVIDIA: speak, transcribe, and paste directly into the active app.
- Capture: start and stop with a hotkey.
- Transcription: Whisper or Parakeet on GPU.
- Cleanup: optional Gemini text refinement.
- After Three Years: Rebuilding a Disaster Tweet Classifier
Rebuilt a tweet classifier to measure how each modeling choice changes validation performance.
- Baseline: verified by overfitting one batch.
- Custom Transformer: 78.07% validation.
- DistilBERT: 83.32% peak validation.
- Rustidian
Obsidian but fast. A native Rust Markdown editor with local vaults, linked notes and graphs. Early Linux alpha.
- Native Rust: familiar Markdown editing.
- Local files: portable vaults and note links.
- Open source: contributors welcome; parity work continues.
Projects
Projects by Masih Moafi spanning AI coding agents, context engineering, LLM safety and red-teaming, retrieval, developer tools, and applied machine learning.