Self-Hosted Contextual Bandit in Rust: Syntra & Lycan for Adaptive Decision Systems

Two new open-source projects aim to bring contextual bandit functionality to production systems without a Python ML stack. Lycan is a small graph execution language where strategy nodes are a first-class primitive — you define multiple implementations of the same contract, and the runtime learns weights from outcome feedback. It compiles to a binary graph executed by a Rust runtime with no LLM in the hot path.
Syntra is a self-hosted Docker/API appliance that serves compiled Lycan capsules. Key features:
- Multi-tenant, shadow-mode-first design
- Contextual learning per
contextKey - Persistent filesystem store
- Separated audit, decision, and feedback logs
- MVP YAML authoring layer (no need to write underlying Lisp)
The stated use cases: repeated decisions where the best option depends on context and outcome arrives later — LLM model routing, retry/timeout policy, queue selection, threshold tuning.
Dogfooding against MoEFolio.ai (a public AI stock-debate panel with 30-day market-resolved outcomes) revealed the first surprise: the contextKey schema was collapsing all sectors into unknown because the sector lookup only resolved symbols from one of three input paths. The bandit was nominally 5-dimensional but effectively 2-dimensional, learning a cross-sector average. Fixing the data pipeline, not the algorithm, is most of the work in adaptive systems.
Licensed Apache-2.0, very early stage. The author invites eyes from anyone who's worked on bandits in production.
📖 Read the full source: r/ClaudeAI
👀 See Also

MoltNow.app: One-Click OpenClaw Deployment Platform Emerges
A new service promises to simplify OpenClaw deployment to just one click with custom UI and browser automation.

Measuring Off-Task Token Spend in Claude Code: The 'Undeclared-Intent' Metric
A developer built a metric to quantify compute spent on unintended execution paths in Claude Code sessions, finding that 22.8% of tokens went to off-task work.

MCP Server Connects Claude to Room EQ Wizard for Studio Acoustics Analysis
An open-source MCP server gives Claude AI control over Room EQ Wizard, enabling automated studio monitor calibration and room acoustics analysis. The tool includes 27 MCP tools for measurement control, signal generation, SPL metering, and EQ management.

Agent Image Skills: Simple Image Hosting for Claude Code Agents
A developer built a simple image hosting service at https://images.labnocturne.com to solve the problem of Claude Code agents generating images with nowhere to store them. The service provides instant test keys via curl, auto-deletes files after 7 days, and includes Claude Code MCP skills for upload, file listing, and deletion.