Runnable Blueprints & Scaffolds
Root code-examples/

Production Code Scaffolds

11 tested, standalone engineering scaffolds and architectural blueprints demonstrating core AI engineering patterns — from multi-server MCP routing and LangGraph supervisors to Deep Agents composite backends and Docker GPU serving.

Total Blueprints11
Active Runnable7
Reference Designs4
Test Coverage100%
Active Runnable
Multi-Agent Systems
Python 3.10+ / Docker
DeerFlow 2.0 SuperAgent Reference Scaffold
Multi-agent supervisor, dynamic SKILL.md parsing, and Docker container sandbox harness

Clean Python reference scaffold demonstrating the core architectural patterns of ByteDance DeerFlow 2.0: LangGraph Pregel lead supervisor, declarative SKILL.md tool loader, Docker container isolation, and durable SQLite state checkpointer.

Architecture Layers:
SupervisorWorker ClusterSandbox IsolationState Checkpointer
Prerequisites:
  • •Python 3.10+
  • •Docker Engine running
  • •pip install -r requirements.txt
Terminal Run Command:click to select all
python -m pip install -r requirements.txt && python main.py
code-examples/deerflow-superagent-scaffold
Active Runnable
Autonomous Coding Agents
Python 3.10+ / Docker
Open-SWE Minimal Runner Scaffold
Autonomous SWE agent execution loop with Docker sandbox and file patch isolation

Autonomous software engineering agent runtime inspired by SWE-bench and OpenHands. Implements the core observe-think-act loop inside isolated containerized development environments with unified diff patching.

Architecture Layers:
Agent LoopExecution SandboxDiff Patch Engine
Prerequisites:
  • •Python 3.10+
  • •Docker Engine running
  • •Git installed
Terminal Run Command:click to select all
python src/main.py
code-examples/open-swe-minimal-runner
Active Runnable
Inference & Model Serving
Docker / NVIDIA GPU
Dockerizing Ollama for GPU Inference
Containerized local LLM serving with NVIDIA Container Toolkit passthrough and health checks

Turnkey Docker Compose orchestration for self-hosting open-weight models (Llama 3.2, DeepSeek-R1, Qwen 2.5) with full NVIDIA GPU passthrough, persistent volume storage, and automated health checks.

Architecture Layers:
Container OrchestrationGPU Hardware PassthroughInference Runtime
Prerequisites:
  • •Docker Engine 24+
  • •Docker Compose v2
  • •NVIDIA Container Toolkit (nvidia-smi)
Terminal Run Command:click to select all
docker compose up -d && docker compose exec ollama ollama run llama3.2
code-examples/docker-ollama