Article Artificial Intelligence November 2, 2025 4 min read

Open Source AI Architecture Stack with Sources

Calder Pike

Technical Writer

November 2, 2025
4 min read

Below is a complete list of links for all sources and models referenced in the open-source AI architecture stack for your offline LLM + coding agent. This includes:

  • Core tools (from the base stack like llama.cpp and OpenDevin).
  • Missing layers (MoE models, custom inference, o1-style reasoning, agent orchestration, memory, training, and tool use).
  • o1-OSS (as the integrated open-source o1 clone — I’ve selected the most direct and active repo based on relevance: a full model trained for o1-like reasoning chains, using SFT data for CoT activation on LLaMA/Qwen backbones. It’s non-profit, community-driven, and aligns with the stack’s offline/fine-tuning ethos).

All links are 100% open-source (MIT/Apache-2.0/GPL/etc.), GitHub repos where applicable, and Hugging Face (HF) pages for models (with direct GGUF download links for offline use). I’ve organized them into tables for clarity, with brief notes on role and license.


1. Core Stack (Base Offline LLM + Agent)

ToolRoleLinkLicenseNotes
llama.cppGGUF inference runtime (CPU/GPU)GitHub RepoMITCore engine for running models offline.
OpenDevinAutonomous coding agent (shell/file/compile loop)GitHub RepoApache-2.0Fork for local API; integrates with Letta for upgrades.

2. MoE Models (Advanced Core Architecture)

These are open-weight models in GGUF format (download once via aria2c or HF CLI for offline use). Focus on coding/reasoning strength.

ModelSizeRoleLinkLicenseNotes
Mixtral-8x22B-Instruct141B (8x22B active)Best open MoE for reasoning/codingHF GGUFApache-2.0Q4_K_M.gguf (~75 GB); native llama.cpp support.
DeepSeek-Coder-V2-Lite16B activeMoE-like routing for code genHF GGUFMITQ5_K_M.gguf (~10 GB); lightweight for testing.
Qwen-2.5-MoE-72B72BSOTA MoE for general tasksHF Page (GGUF via TheBloke soon)Apache-2.0Check for GGUF; ~40 GB quantized.

3. Custom Inference Engine (Beyond llama.cpp)

ToolRoleLinkLicenseNotes
vLLMPagedAttention, tensor-parallel (OpenAI-compatible API)GitHub RepoApache-2.0Offline install: pip install --no-index vllm==0.6.0.
ExLlamaV2Fastest GPTQ/AWQ inferenceGitHub RepoGPL-3.0For consumer GPUs; prebuilt wheels available.
TritonCustom CUDA kernelsGitHub RepoMITLow-level optimizations; pip install ..

4. o1-Style Reasoning (Chain-of-Thought + Reflection)

ToolRoleLinkLicenseNotes
LettaStateful agents, memory, reflection (formerly MemGPT core)GitHub RepoApache-2.0Internal CoT; integrates with OpenDevin.
DSPyProgrammable reasoning chainsGitHub RepoMITOptimizes prompts/modules for o1-like flows.
o1-OSS (Open O1)Full open-source o1 clone (SFT-trained for CoT reasoning)GitHub Repo
Project Site
HF Models (LLaMA/Qwen variants)
Apache-2.0Trained on o1-like data; clone repo and fine-tune offline. Matches o1 on math/code; non-profit.

5. Agent Orchestration (Upgraded OpenDevin)

ToolRoleLinkLicenseNotes
Letta (see above)Reflection + planning patch for OpenDevinGitHub RepoApache-2.0Patch via sed as in blueprint.
MemGPTInfinite context paging (now part of Letta)GitHub Repo (core)
Original MemGPT
Apache-2.0Pages to disk for long projects.

6. Memory & Long-Term State (Offline)

ToolRoleLinkLicenseNotes
MemGPTInfinite context via pagingGitHub Repo (legacy)
Letta Integration
Apache-2.0Use with local LLM endpoint.
ChromaDBLocal vector DB for RAGGitHub RepoApache-2.0Offline: pip install --no-index chromadb.
SQLiteStructured memory (built-in)Official SitePublic DomainNo repo needed; use via Python stdlib.

7. Training / Fine-Tuning Loop (Offline)

ToolRoleLinkLicenseNotes
AxolotlLoRA/QLoRA/DPO fine-tuningGitHub RepoApache-2.0Multimodal support; YAML configs for offline.
Unsloth2x faster fine-tuning (low VRAM)GitHub RepoApache-2.0Colab/Kaggle friendly; integrates with Axolotl.
TRLRLHF/DPO (Hugging Face)GitHub RepoApache-2.0Offline: Download via HF mirror.

8. Tool Use & Function Calling

ToolRoleLinkLicenseNotes
OutlinesJSON schema enforcementGitHub RepoMITGuarantees structured outputs during gen.
GuidanceConstrained generation (regex/CFG)GitHub RepoMITFast-forward tokens; works with llama.cpp.

Quick Download/Setup Tips

  • Models: Use huggingface-cli download TheBloke/Mixtral-8x22B-Instruct-v0.1-GGUF mixtral-8x22b-instruct-v0.1.Q4_K_M.gguf (mirror offline after first run).
  • All Repos: git clone <link> then pip install -e . --no-index (pre-download wheels).
  • o1-OSS Specific: Start with git clone https://github.com/Open-Source-O1/Open-O1.git; fine-tune on your data using Axolotl/Unsloth for custom CoT.
  • Total Size: ~200 GB for full stack (models dominate); use torrent/aria2c for speed.

This completes the architecture — everything is now linked, open, and offline-ready. If you need a unified setup script or fine-tuning dataset for o1-OSS, just say the word.

Build your private OpenAI equivalent today. 🚀

Leave a Reply

Your email address will not be published. Required fields are marked *