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 / Implementation.md
Last active February 23, 2025 16:22
Training and Optimizing ONNX Models with DSPy

A complete set of requirements—covering UX, CLI, and code—that builds on the previous pipeline for training and optimizing ONNX models with test‑time compute methods using DSPy. This document specifies user stories, command‐line interface arguments, and sample code snippets to guide implementation.


1. Overview

The goal is to build a unified tool (or pipeline application) that:

  • Trains a model using DSPy (with integrated or hybrid PyTorch training).
  • Exports the optimized model to ONNX format.
@ruvnet
ruvnet / notebook.ipynb
Last active February 23, 2025 03:09
MLflow_H2O_AutoML_DSPy_Pipeline.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ruvnet
ruvnet / readme.md
Last active February 22, 2025 00:40
Single File ReAct Agent Template (Deno)

Single File Agent Template for Deno

File Name: agent.ts


Installation & Setup

  1. Install Deno (if not already installed)
    curl -fsSL https://deno.land/install.sh | sh
@ruvnet
ruvnet / notebook.ipynb
Last active May 27, 2025 09:50
BioForge_Evo2_Synthetic_Biology_Tutorial.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ruvnet
ruvnet / Dark-Enlightenment.md
Created February 19, 2025 18:59
Dark Enlightenment: A Gonzo Chronicle

Dark Enlightenment: A Gonzo Chronicle (2025–2030)

Foreword by rUv

We stand at the brink of a new political age. In the shadows of Silicon Valley boardrooms and Washington backrooms, an unlikely alliance has taken shape. The Dark Enlightenment – an obscure neo-monarchist ideology born on internet forums – has crept from fringe blogs into the corridors of power. When I first heard whispers about tech CEOs and White House aides reading the same forbidden tracts, I knew something extraordinary was unfolding. This chronicle that follows is a firsthand journey into that unfolding drama, written in the heat of events by an intrepid observer who witnessed the transformation up close. It reads like a political thriller because, in many ways, it is one – except every bit of it is based on real people and real ideas shaping our world.

To set the stage, let me sketch the key players and ideas at work, so you can follow the wild narrative that ensues:

  • Curtis Yarvin (Mencius Moldbug) – Ex-programmer turn
@ruvnet
ruvnet / cline.prompt.txt
Created February 19, 2025 17:10
Custom Agentic Development Instructions
use wsl for all local terminal when running in windows.
never hardcode .env variables in dockerfiles or code.
User query: {base_task} --keep it simple
Context from Previous Research (if available):
Key Facts:
{key_facts}
@ruvnet
ruvnet / MLFlow.ipynb
Last active June 20, 2025 19:48
MLflow and DSPy Tutorial for Beginners
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ruvnet
ruvnet / MOBA.ipynb
Created February 19, 2025 13:07
MoBA: Mixture of Block Attention - Implementation & Integration
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ruvnet
ruvnet / 1-quantum-agent-manager.md
Last active February 18, 2025 11:16
Quantum Agent Manager is a quantum-inspired task scheduling system

Quantum Agent Manager

Introduction

What if you could instantly see all the best solutions to a complex reasoning problem all at once? That’s the problem I’m trying to solve with Quantum Task Manager. Traditional AI approaches like reinforcement learning struggle with interconnected decision-making because they evaluate actions sequentially, step by step. But quantum computing can consider all possibilities simultaneously, making it an ideal tool for agent-based task allocation.

Using Azure Quantum, this system leverages pure mathematical optimization and quantum principles to find the best way to distribute tasks among autonomous agents. Most people don’t fully understand how quantum computing works, but in simple terms, it can represent and evaluate every possible task assignment at the same time, using superposition and interference to amplify the best solutions and discard bad ones. This makes it fundamentally different from other scheduling or learning-based approaches.

What makes

@ruvnet
ruvnet / notebook.ipynb
Last active February 18, 2025 17:59
433b24a201979e25051a4e772f883b21
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.