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

✍️ OpenClawRadar📅 Published: May 15, 2026🔗 Source
Self-Hosted Contextual Bandit in Rust: Syntra & Lycan for Adaptive Decision Systems
Ad

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.

Ad

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

Ad

👀 See Also

Homelab AI Sentinel: Self-Hosted Monitoring Assistant with LLM Integration
Tools

Homelab AI Sentinel: Self-Hosted Monitoring Assistant with LLM Integration

Homelab AI Sentinel is a self-hosted tool that processes monitoring webhooks through an LLM to generate plain-English diagnoses. It supports 11 alert sources, 10 notification platforms, and works with any OpenAI-compatible endpoint including Ollama and LM Studio for local inference.

OpenClawRadar
Claude Skills Silently Override Instructions: Undocumented Pitfalls Exposed
Tools

Claude Skills Silently Override Instructions: Undocumented Pitfalls Exposed

User discovers Claude skills silently enforce hard limits on user input via `ask_user_input_v0` (max 3 questions, 4 options each), `Write` overwrites files while `create_file` refuses on Claude.ai, and relative paths in `references/` don't resolve. A community repo catalogs findings.

OpenClawRadar
MemAware Benchmark Tests AI Memory Beyond Keyword Search
Tools

MemAware Benchmark Tests AI Memory Beyond Keyword Search

MemAware is a benchmark with 900 questions across 3 difficulty levels that tests whether AI assistants with memory can surface relevant context when queries don't hint at it. Results show BM25 search scored 2.8% vs 0.8% with no memory, while vector search drops to 0.7% on cross-domain connections.

OpenClawRadar
ATLAS: Adaptive Test-time Learning Framework Outperforms Claude Sonnet on Coding Benchmarks with $500 GPU
Tools

ATLAS: Adaptive Test-time Learning Framework Outperforms Claude Sonnet on Coding Benchmarks with $500 GPU

ATLAS achieves 74.6% pass@1-v(k=3) on LiveCodeBench with a frozen 14B model on a single consumer GPU, outperforming Claude 4.5 Sonnet's 71.4% at a fraction of the cost using constraint-driven generation and self-verified iterative refinement.

OpenClawRadar