Skip to content

About

Production infrastructure for AI-powered trading, voice processing, and developer tooling

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Vibe Dev Diary

What I built, when, and why — solo, with Claude Code as the engineering partner.


Repos

Repo What
ai-trader-station PySide6 + MT5 trading workstation. Bill Williams system (Phases 2-3-6-7), risk%-based lot sizing, live execution
oracle-cloud-ai-agent Voice AI assistant on Oracle Cloud. Two-box architecture: Herald (voice+bots) + OpenClaude (browser automation). Memory system integration, RunPod browser pods, zero cost
viral-git-agent-memory Brain-inspired memory system for AI agents. Git-native, human-readable, zero dependencies. Pinned memory tier for safety-critical facts
mempalace The best-benchmarked open-source AI memory system
claude-telegram-bridge Session-pinned Claude ↔ Telegram bridge. Allowlist-secured, tmux + Tailscale portable
voice-pipeline STT (faster-whisper) + TTS (edge-tts). 398 MB, 12.2s end-to-end

Architecture

┌──────────────────────────────────────────┐
│  Trading Workstation (ai-trader-station)  │
│  PySide6 + MetaTrader 5                   │
│  Bill Williams system (Phases 2-3-6-7)    │
│  Risk%-based lot sizing, live execution   │
└──────────────┬────────────────────────────┘
               │ HTTP (localhost:7600)
               ▼
┌──────────────┐
│  Kronos       │  102M-param signal model
│  CPU only     │  Lot-sizing advisor (not gatekeeper)
│  systemd      │  Agrees → 1.5x, disagrees → 0.5x
└──────────────┘

┌──────────────────────────────────────────────────────────┐
│  Oracle Cloud — Two-Box Architecture (zero monthly cost)  │
│                                                           │
│  Herald Box (158.x)          OpenClaude Box (158.x)       │
│  ┌─────────────────────┐    ┌──────────────────────────┐  │
│  │ Herald Agent Bot     │    │ browser-use + Playwright  │  │
│  │ Herald Ops Bot       │    │ noVNC + Xvfb + x11vnc    │  │
│  │ Sherpa-onnx STT      │    │ Headed Chrome + CDP      │  │
│  │ Piper TTS            │    │                          │  │
│  └─────────────────────┘    └──────────────────────────┘  │
│         │                            ▲                     │
│         │ /browse command            │ MCP (Playwright)    │
│         └────────────────────────────┘                     │
│         │                                                  │
│         ▼ HTTP (consolidation trigger)                     │
│  ┌─────────────────────────────────────┐                   │
│  │ viral-git-agent-memory              │                   │
│  │ A.U.D.N. cycle → .md files → git   │                   │
│  │ Pinned tier for safety-critical     │                   │
│  └─────────────────────────────────────┘                   │
└──────────────────────────────────────────────────────────┘

┌──────────────────────────────────────────┐
│  RunPod (on-demand)                       │
│  Docker: radu372/browser-pod:latest       │
│  Chromium + Playwright + noVNC            │
│  Spun up/down via RunPod API v1           │
│  MCP config auto-injected on launch       │
└──────────────────────────────────────────┘

┌──────────────────────────────────────────┐
│  Voice Pipeline (voice-pipeline)          │
│  STT: faster-whisper (base, float16)      │
│  TTS: edge-tts (zero-dep, streamed)       │
└──────────────────────────────────────────┘

┌──────────────────────────────────────────┐
│  Telegram Bridge (claude-telegram-bridge) │
│  Session-pinned, allowlist-secured        │
│  tmux + Tailscale = portable from mobile  │
└──────────────────────────────────────────┘

Engineering Decisions

Git-native memory over vector databases

Built viral-git-agent-memory — AI agent memories stored as markdown files in git repos instead of vector embeddings. You get git log, git diff, git blame, git revert on everything the agent learned. Human-readable, vendor-independent, zero dependencies.

Safety-critical facts (allergies, medical conditions, credentials) are auto-pinned using keyword detection — they always rank above use-count-based memories, so they never sink to the bottom and get forgotten.

Docker for browser automation

Custom Docker image (radu372/browser-pod:latest) with Chromium + Playwright + noVNC. Deployed on-demand to RunPod via API — the ops bot creates a pod, writes MCP config for Playwright tools, and restarts the agent bot to pick it up. Browser pod dies when not needed; no idle cost.

Two-box Oracle architecture

Separated concerns across two free-tier instances: Herald box runs voice + bots (always on), OpenClaude box runs browser automation (headless Chrome + noVNC). The ops bot bridges them — /browse spins up a RunPod browser pod and configures MCP tools.

uv over conda

Migrated the entire workflow from conda to uv. Measured on the voice stack:

conda uv
Environment size 1.4 GB 398 MB
Transcription time 13.7s 12.2s
Output byte-identical byte-identical

Speed gain is from newer numpy/onnxruntime, not uv itself. Real wins: disk and reproducibility.

Numbers never go through a model

Credits, prices, dates, position sizes — all computed in code, never generated by an LLM. The Kronos advisor outputs a multiplier; the lot-sizing formula is pure Python.

Session-pinned design

The Telegram bridge dies with the session by design. No background daemon. tmux + Tailscale SSH = live when needed, dead when not.


Build Timeline

When What
Apr 2026 Knowledge management vault (Obsidian, PARA structure)
May 2026 Local TTS pipeline, full system design
Jul 2026 Kronos signal model (102M params, custom-trained); Bill Williams trading system
Aug 2026 Voice pipeline migrated conda → uv (1.4 GB → 398 MB, 11% faster)
Aug 2026 Kronos local server deployed (systemd, port 7600)
Aug 2026 Telegram bridge shipped (tmux pin design, allowlist security)
Aug 2026 Oracle Cloud AI Agent — voice assistant, one-script installer, zero cost
Aug 2026 trade_app shipped to GitHub
Sep 2026 viral-git-agent-memory — git-native AI memory system, pinned memory tier, 63-assertion test suite
Sep 2026 Oracle agent expanded — two-box architecture, browser automation, memory integration (+1016 lines)
Sep 2026 Docker image for browser pods, deployed via RunPod API

Stack

Python · PySide6 · MetaTrader 5 · RunPod · Docker · Claude Code · faster-whisper · edge-tts · Oracle Cloud · Git


Contact

Built and operated solo.

About

Production infrastructure for AI-powered trading, voice processing, and developer tooling

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors