Skip to content

Instantly share code, notes, and snippets.

View 24601's full-sized avatar

Basit Mustafa 24601

View GitHub Profile
@rohitg00
rohitg00 / llm-wiki.md
Last active May 16, 2026 06:18 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 10K Stars ⭐️, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

Currently, Working on AKBP: Agent Knowledge Base Protocol based on my findings, a protocol for creating, updating, retrieving, and sharing durable knowledge across AI agents.

What the original gets right

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@kieranklaassen
kieranklaassen / SKILL.md
Last active May 12, 2026 20:49
Claude Code Swarm Orchestration Skill - Complete guide to multi-agent coordination with TeammateTool, Task system, and all patterns
name orchestrating-swarms
description Master multi-agent orchestration using Claude Code's TeammateTool and Task system. Use when coordinating multiple agents, running parallel code reviews, creating pipeline workflows with dependencies, building self-organizing task queues, or any task benefiting from divide-and-conquer patterns.

Claude Code Swarm Orchestration

Master multi-agent orchestration using Claude Code's TeammateTool and Task system.


@emschwartz
emschwartz / README.md
Last active May 15, 2026 14:15
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.

@yrashk
yrashk / inferal-workspace-architecture.md
Last active January 27, 2026 08:57
Inferal Workspace Architecture
@Dicklesworthstone
Dicklesworthstone / gist:107ab1767b188544819fb0c39d7ac3fd
Last active November 30, 2025 17:17
Session using BV to figure out best beads order

❯ cd /data/projects/coding_agent_session_search ❯ cc

▐▛███▜▌ Claude Code v2.0.54 ▝▜█████▛▘ Opus 4.5 · Claude Max ▘▘ ▝▝ /data/projects/coding_agent_session_search

read AGENTS.md and the README and explore the project deeply. Use ultrathink

● I'll start by reading the AGENTS.md and README files, then explore the project structure in depth.

@arianvp
arianvp / SSH_MACOS_SECURE_ENCLAVES.md
Last active May 15, 2026 12:59
Native Secure Enclaved backed ssh keys on MacOS

Native Secure Enclave backed ssh keys on MacOS

It turns out that MacOS Tahoe can generate and use secure-enclave backed SSH keys! This replaces projects like https://github.com/maxgoedjen/secretive

There is a shared library /usr/lib/ssh-keychain.dylib that traditionally has been used to add smartcard support to ssh by implementing PKCS11Provider interface. However since recently it also implements SecurityKeyProivder which supports loading keys directly from the secure enclave! SecurityKeyProvider is what is normally used to talk to FIDO2 devices (e.g. libfido2 can be used to talk to your Yubikey). However you can now use it to talk to your Secure Enclave instead!

@phhusson
phhusson / infer-qwen3-omni-rtx3090.py
Created September 23, 2025 11:04
Infer Qwen3 Omni 30b-a3b on RTX3090 with 4bits bitsandbytes
import os
os.environ['PYTORCH_CUDA_ALLOC_CONF']='expandable_segments:True'
import soundfile as sf
from transformers import Qwen3OmniMoeForConditionalGeneration, Qwen3OmniMoeProcessor, BitsAndBytesConfig
from qwen_omni_utils import process_mm_info
import torch
MODEL_PATH = "Qwen/Qwen3-Omni-30B-A3B-Instruct"
@RexYuan
RexYuan / strix-compare.md
Last active March 28, 2026 17:47
True-to-scale dimension comparison chart of every AMD Strix Halo Al Max+ 395 MiniPC

  1. Bosgame, Peladn, and XPlus use the exact same case just with different branding.
  2. Corsair, Nimo, Linglong, Colorful, MINIX, and SEAVIV are based on the same SIXUNITED XB35-H02/03-BQ case.
  3. GMKtec, FEVM FA-EX9, Bosgame, Peladn, XPlus, Corsair, Nimo, Linglong, Colorful, MINIX, and SEAVIV are based on the same SIXUNITED AXB35 motherboard.

Here are the exact dimensions placed horizontally measured in mm and volume in liters rounded to 2 decimals: