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 / Super-Turing.md
Last active June 21, 2025 13:40
a Rust implementation of a ferroelectric HfZrO-based synaptic resistor

Rust Implementation Plan for a 'Super-Turing' Spiking AI Chip Simulation

Imagine a chip that learns like a brain — not by uploading data to train on later, but by adjusting itself in real time, using almost no power. That’s what the new “Super-Turing” AI chip does. Instead of separating learning and inference like traditional neural networks (train first, deploy later), this chip learns and makes decisions at the same time, directly in hardware.

At the heart of this system is a device called a synstor — a synaptic transistor that acts both as memory and as a learning engine. It doesn’t just store weights like a normal neural network. It changes them dynamically based on electrical pulses, mimicking how biological synapses adjust when neurons fire. This change happens through a mechanism called Spike-Timing Dependent Plasticity (STDP) — if a signal comes in just before the output neuron fires, the connection strengthens; if it comes after, it weakens. All of this happens instantly and locally

@ruvnet
ruvnet / quad-vault.md
Last active June 21, 2025 12:46
QuDAG Vault is a Rust-based password and secret manager built on a quantum-resistant DAG architecture. It uses Kyber for key exchange, Dilithium for signatures, and AES-256-GCM for encrypting vault data. Secrets are stored as encrypted nodes in a DAG, enabling flexible organization, versioning, and delegation. It includes a CLI and bindings for …

Implementation Plan for QuDAG-Based Password Vault Library

Project Structure & Dependencies

We will organize the project as a Rust workspace with modular crates (following QuDAG’s architecture), ensuring separation of concerns and future extensibility. A suggested structure:

  • qudag-vault-core (library crate): Core vault logic and data structures. Integrates QuDAG modules for cryptography and DAG storage. Key dependencies:

  • QuDAG Crates: Use qudag-crypto for cryptographic primitives (Kyber KEM, Dilithium signatures, BLAKE3 hash) and qudag-dag for DAG data structures/consensus.

@ruvnet
ruvnet / QuDAG.md
Last active June 16, 2025 02:46
QuDAG Protocol (Quantum-Resistant DAG-Based Anonymous Communication System) - Claude Code implementation of a Test-Driven Development Implementation Plan for QuDAG Protocol with Claude Code

Executive Summary

This comprehensive implementation plan provides a structured approach to developing the QuDAG Protocol (Quantum-Resistant DAG-Based Anonymous Communication System) using Test-Driven Development (TDD) methodology, optimized for Claude Code’s multi-agent capabilities. The plan integrates cutting-edge cryptographic testing frameworks, distributed systems validation, and modern DevOps practices specifically tailored for Rust development.

1. Project Architecture and Initial Setup

1.1 Project Structure

qudag-protocol/
@ruvnet
ruvnet / *claude.md
Last active June 23, 2025 18:00
The Claude-SPARC Automated Development System is a comprehensive, agentic workflow for automated software development using the SPARC methodology with the Claude Code CLI

Claude-SPARC Automated Development System For Claude Code

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

The SPARC Automated Development System (claude-sparc.sh) is a comprehensive, agentic workflow for automated software development using the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion). This system leverages Claude Code's built-in tools for parallel task orchestration, comprehensive research, and Test-Driven Development.

Features

@ruvnet
ruvnet / Autonomous.md
Created June 4, 2025 12:47
PyTorch-Based AI Agent System with Advanced Reasoning and Autonomy

Designing a PyTorch-Based AI Agent System with Advanced Reasoning and Autonomy

Overview and Goals

We propose an AI agent architecture in PyTorch that integrates state-of-the-art components to meet the following goals: (1) advanced reasoning with transformer models, (2) ingestion of large documents or histories via long context windows, (3) persistent memory without traditional vector-database RAG, (4) tool use for actions (API calls, code execution, etc.) similar to Anthropic’s MCP standard, and (5) declarative, goal-driven behavior with autonomous planning. The system will be compatible with both CPU and GPU environments. Below, we detail recommended models, libraries, and design choices for each aspect, followed by an overall architecture and example implementation steps.

1. Transformer Models for Advanced Reasoning

Model Selection: Use modern transformer-based LLMs known for strong reasoning and multitasking. For example, Meta’s LLaMA 2 (open-source, 7B–70B parameters) or **Mist

@ruvnet
ruvnet / agents.md
Created May 19, 2025 22:02
Codex Machine Learning Setup

Codex-one: OpenAI Codex Machine Learning Setup

Introduction

The OpenAI Codex Machine Learning Setup is a comprehensive environment designed for building advanced AI-powered applications with a focus on agentic capabilities. This project provides a robust foundation for creating AI systems that can reason about complex tasks, interact with external tools, and execute actions on behalf of users.

Built around a core set of modern AI libraries and tools, this setup enables the development of sophisticated machine learning pipelines, particularly those leveraging Large Language Models (LLMs) for reasoning and decision-making. The project structure integrates seamlessly with FastMCP for standardized API interfaces and provides connectivity with various external services through tool integrations.

Core Libraries

@ruvnet
ruvnet / Audit.md
Last active May 17, 2025 14:45
Security Audit: Agent Capability Negotiation and Binding Protocol (ACNBP) Platform

Security and Implementation Review Checklist

  • Environment Configuration

    • The .env file should be included in .gitignore to prevent committing sensitive information like API keys. This is mentioned in the README.md, but it must be enforced.
  • Database Files

    • The agent_registry.db file is skipped in commits, but should be checked to ensure it doesn't contain sensitive information or credentials.
  • Key Management

  • src/app/api/secure-binding/ca/route.ts stores CA keys in memory. Not secure for production. Use a secure key management service.

@ruvnet
ruvnet / *README.md
Last active June 11, 2025 14:10
ChatGPT Codex Agent.md and environment setup script

Getting Started with ChatGPT Codex + Mastra Agents

Step-by-Step Instructions

  1. Open the ChatGPT Codex task setup panel. This is where you configure your environment before starting a task.

  2. Locate the "Setup Script" field. You’ll see a note that internet access is disabled after the script runs.

@ruvnet
ruvnet / Ruv-code.md
Created May 6, 2025 18:17
rUv code IDE: Creating a Custom VSCode Distribution

Creating a Custom VSCode Distribution: rUv Code with Roo Code Integration

A comprehensive guide to building an AI-native IDE inspired by Windsurf and Cursor using VSCode and Roo Code


Introduction

The rise of AI-native IDEs like Windsurf (formerly Codeium) and Cursor has redefined developer productivity. These tools integrate AI agents with deep codebase understanding, collaborative workflows, and streamlined coding experiences. While Windsurf and Cursor are standalone applications, developers can create similar solutions by leveraging Roo Code-an open-source VSCode extension-and building a custom VSCode distribution.

This guide outlines the steps to create rUv Code, a tailored VSCode distribution centered around Roo Code’s AI capabilities, with features comparable to commercial AI IDEs.

@ruvnet
ruvnet / .roomodes
Last active May 20, 2025 17:37
🔥 Fire Crawler Mode for Roo using Composio. It can automatically harvest massive amounts of content from the web.
{
"customModes": [
{
"slug": "fire-crawler",
"name": "🔥 Fire Crawler",
"roleDefinition": "You are a specialized web crawling and data extraction assistant that leverages Firecrawl to gather, analyze, and structure web content. You extract meaningful information from websites, perform targeted searches, and create structured datasets from unstructured web content.",
"customInstructions": "You use Firecrawl's advanced web crawling and data extraction capabilities to gather and process web content efficiently. You:\n\n• Crawl websites recursively to map content structures\n• Extract structured data using natural language prompts or JSON schemas\n• Scrape specific content from web pages with precision\n• Search the web and retrieve full page content\n• Map website structures and generate site maps\n• Process and transform unstructured web data into usable formats\n\n## Web Crawling Strategies\n\n1. **Site Mapping**: Use FIRECRAWL_MAP_URLS to discover and map website structures\n2. **