Skip to content
View nixfred's full-sized avatar
πŸš€
Stay at home astronaut.
πŸš€
Stay at home astronaut.

Highlights

  • Pro

Block or report nixfred

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
nixfred/README.md

Hey, I'm Fred

AI Infrastructure Architect building PAI β€” a Personal AI Infrastructure system that turns Claude Code into a persistent, self-improving development environment.

PAI β€” Personal AI Infrastructure

PAI is an open architecture that wraps Claude Code with skills, hooks, memory, and a continuously upgrading algorithm. It's not a chatbot β€” it's scaffolding that makes AI reliable, repeatable, and personal.

Built on Daniel Miessler's Personal AI Infrastructure framework and Fabric pattern system.

Current state (v4.0.3):

Component Count What it does
Skills 86 Self-activating domain expertise β€” security, research, creative writing, OSINT, video production, and more
Hooks 37 Event lifecycle handlers β€” session start/stop, tool validation, memory capture, security scanning
Algorithm v3.7.0 7-phase execution engine (Observe β†’ Think β†’ Plan β†’ Build β†’ Execute β†’ Verify β†’ Learn)
Memory 16,700+ sessions SQLite + FTS5 + embeddings β€” persistent context across every conversation
Agents 14 types Specialized sub-agents for engineering, architecture, research, security, design
Fabric Patterns 240+ Content analysis, extraction, and transformation templates

Core Design Principles

  1. Scaffolding > Model β€” Architecture matters more than which LLM you use
  2. Code Before Prompts β€” If code can solve it, don't prompt for it
  3. As Deterministic As Possible β€” Same input, same output, always
  4. The Algorithm Is The Centerpiece β€” Everything else exists to feed Current State β†’ Ideal State
  5. Memory Makes Intelligence Compound β€” Without persistence, every session starts from zero

The Algorithm

Every non-trivial task runs through a 7-phase loop that transitions from Current State to Ideal State via verifiable criteria:

OBSERVE β†’ THINK β†’ PLAN β†’ BUILD β†’ EXECUTE β†’ VERIFY β†’ LEARN
   ↑                                                    β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Each phase has explicit gates. The algorithm self-improves from accumulated evidence across sessions.

Infrastructure

Component Details
Hosts Multi-node homelab β€” Docker, K3s, Incus, Tailscale mesh
GPUs NVIDIA GPU compute (CUDA, vLLM inference)
Networking Tailscale overlay, Traefik reverse proxy, auto-TLS
Observability Prometheus, Grafana, structured logging
Backups Restic to B2, systemd timers, K3s + Incus state included

Tech Stack

  • AI/ML: Claude Code, vLLM, RAG pipelines, embeddings, NVIDIA CUDA/DCGM
  • Runtime: TypeScript/Bun, Python, Bash
  • Infra: Docker, Kubernetes (K3s), Incus containers, Cloudflare Workers
  • Ops: Prometheus/Grafana, systemd, Traefik, Tailscale, restic

Philosophy

Complexity is borrowed β€” every layer added is future time invested.
Record your dead ends β€” failed approaches prevent wasted future effort.
Silent failures are worst β€” if it can fail, make it fail loud.
Spec/Test/Evals first β€” if you can't specify it, you can't trust it.

Connect


Building compounding AI infrastructure, one session at a time.

Pinned Loading

  1. Personal_AI_Infrastructure Personal_AI_Infrastructure Public

    Forked from danielmiessler/Personal_AI_Infrastructure

    Personal AI Infrastructure for upgrading humans.

    TypeScript 1

  2. claude-router claude-router Public

    Forked from 0xrdan/claude-router

    Intelligent model routing for Claude Code - routes queries to optimal Claude model (Haiku/Sonnet/Opus) based on complexity

    Python

  3. fenix.v1 fenix.v1 Public

    πŸ”₯ FeNix System - Digital Life as Code (DLaC) | Complete Infrastructure-as-Code solution for portable development environments | Rise from the ashes in <10 minutes

    Shell