Skip to content

Instantly share code, notes, and snippets.

View ruvnet's full-sized avatar
πŸ’­
hacking the multiverse.

rUv ruvnet

πŸ’­
hacking the multiverse.
View GitHub Profile
@ruvnet
ruvnet / LA.md
Created October 25, 2025 02:42
Lean Agentic: High-Performance Agentic Programming Language

Building a High-Performance Agentic Programming Language

Implementation Roadmap for Production-Ready Agent Systems

This comprehensive implementation plan synthesizes battle-tested techniques from Lean4, Rust, Erlang, verified systems, and modern JIT compilers to deliver a production-ready agentic programming language achieving sub-100ms compilation, nanosecond-scale agent operations, and formal verification for critical paths.


Executive Summary

@ruvnet
ruvnet / memory.md
Last active October 26, 2025 07:34
Claude Memory Template

Claude Memory Template

Copy-Paste Instructions for Optimal AI Interaction

βΈ»

1. Core Identity and Objective

I am [Your Name/Role], focused on:

@ruvnet
ruvnet / settings.json
Created October 23, 2025 17:26
Claude Code / Claude Flow Self learning Hooks
{
"env": {
"CLAUDE_FLOW_AUTO_COMMIT": "false",
"CLAUDE_FLOW_AUTO_PUSH": "false",
"CLAUDE_FLOW_HOOKS_ENABLED": "true",
"CLAUDE_FLOW_TELEMETRY_ENABLED": "true",
"CLAUDE_FLOW_REMOTE_EXECUTION": "true",
"CLAUDE_FLOW_CHECKPOINTS_ENABLED": "true",
"AGENTDB_LEARNING_ENABLED": "true",
"AGENTDB_REASONING_ENABLED": "true",
@ruvnet
ruvnet / readme.md
Last active October 24, 2025 08:42
AgentDB Browser Demo: Agentic Marketing Intelligence System: An intelligent marketing optimization system that uses AgentDB's ReasoningBank with SAFLA (Self-Adaptive Feedback Loop Architecture) to automatically optimize Meta Ads campaigns.

πŸŽ“ Agentic Marketing Intelligence System

🧠 AgentDB Browser introduces a new class of in-browser AI systems that think, learn, and adapt without relying on cloud infrastructure. Built on AgentDB v1.3.9, it runs entirely inside the browser using WebAssembly AgentDB, combining local reasoning, vector memory, and causal inference into a single self-contained engine.

An intelligent marketing optimization system that uses AgentDB's ReasoningBank with SAFLA (Self-Adaptive Feedback Loop Architecture) to automatically optimize Meta Ads campaigns. It learns from past performance, discovers causal patterns, and reallocates budgets to maximize ROAS (Return on Ad Spend).

This demo showcases how intelligence can operate at the edge, learning from data directly on the client side, without APIs or external dependencies. The system uses ReasoningBank SAFLA (Self-Adaptive Feedback Loop Architecture) to observe outcomes, detect cause-effect relationships, and refine strategy automatically. Every decision is stored as a Refl

@ruvnet
ruvnet / Badge.md
Created October 21, 2025 01:11
rUv NPM Downloads

Perfect! Let me use npm-stat to get download statistics for your packages. I’ll check several of your key packages:​​​​​​​​​​​​​​​​

Let me search for specific download statistics using shields.io badges:​​​​​​​​​​​​​​​​

Based on my research, I’ll create download statistics badges for your npm packages. Here’s a comprehensive overview of your libraries organized by download metrics:

Your NPM Package Downloads Overview

Most Popular Packages (Based on visible data)

@ruvnet
ruvnet / agentdb.md
Last active October 18, 2025 16:37
A sub-millisecond memory engine built for autonomous agents.

AgentDB

A sub-millisecond memory engine built for autonomous agents

npm version npm downloads License TypeScript Tests MCP Compatible

@ruvnet
ruvnet / quic.md
Created October 17, 2025 02:16
Agentic Flow 1.6.4 + QUIC: Transform the internet into a multi-threaded reasoning fabric with a few CLI commands

πŸš€ Agentic Flow 1.6.4 + QUIC: Make Your Network Think

Transform the internet into a multi-threaded reasoning fabric with a few CLI commands

🌐 Introduction: When Networks Become Intelligent

What if the internet could think? Not the apps at the edge, but the transport that ties them together. That is the premise of Agentic Flow 1.6.4 with QUIC: embed intelligence in the very pathways packets travel so reasoning is no longer a layer above the network, it is fused into the flow itself.

QUIC matters because TCP is a relic of a page-and-file era. TCP sequences bytes, blocks on loss, and restarts fragile handshakes whenever the path changes. QUIC was designed to fix those limitations. Originating at Google and standardized by the IETF as RFC 9000, QUIC runs over UDP, encrypts by default with TLS 1.3, and lets a single connection carry hundreds of independent streams. It resumes instantly with 0-RTT for returning peers and it migrates across networks without breaking session identity. In practice, this tur

@ruvnet
ruvnet / status.sh
Created October 16, 2025 16:41
Claude Code Statusline
#!/bin/bash
# Read JSON input from stdin
INPUT=$(cat)
MODEL=$(echo "$INPUT" | jq -r '.model.display_name // "Claude"')
CWD=$(echo "$INPUT" | jq -r '.workspace.current_dir // .cwd')
DIR=$(basename "$CWD")
# Replace claude-code-flow with branded name
if [ "$DIR" = "claude-code-flow" ]; then
@ruvnet
ruvnet / Poison.md
Created October 16, 2025 11:59
A Rust-WASM Document Sanitization Middleware

Building poison-pill: A Rust-WASM Document Sanitization Middleware

Introduction

Document poisoning attacks represent a critical and unsolved vulnerability in LLM applications. Research shows just 250 malicious documents can backdoor LLMs of any size, while 5 poisoned documents can compromise RAG systems with millions of entries. This implementation plan provides a complete roadmap for building β€œpoison-pill” - a high-performance, Rust-based WASM middleware that sanitizes documents before they reach LLMs, distributed via npm and executable through npx.


1. DOCUMENT POISONING ATTACKS: The Threat Landscape

@ruvnet
ruvnet / climate.md
Created October 14, 2025 02:00
Building the World's Best Micro-Climate Model: A Comprehensive Technical Guide

Building the World's Best Micro-Climate Model: A Comprehensive Technical Guide

Machine learning has revolutionized weather prediction, with AI models now matching or exceeding traditional numerical weather prediction while running 1,000x faster. This convergence of neural operators, physics-informed learning, and efficient implementation in systems languages like Rust creates an unprecedented opportunity to build micro-climate models that operate at sub-kilometer resolution with real-time inference capabilities. The path to the best micro-climate model combines GraphCast-style architectures, Fourier Neural Operators for resolution-invariant learning, Rust's zero-cost abstractions for production deployment, and modern optimization techniques that enable training billion-parameter models efficiently.

The landscape has fundamentally shifted since 2023. Google DeepMind's GraphCast outperforms the European Centre's operational forecasts on 90% of verification targets while completing 10-day forecasts in un