Skip to content

docs(unsloth): canonical integration design + roadmap/index references - #1681

Merged
joelteply merged 1 commit into
canaryfrom
docs/unsloth-integration
Jun 19, 2026
Merged

joelteply merged 1 commit into
canaryfrom
docs/unsloth-integration

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

The fully worked-out unsloth integration design, grounded in the live app (127.0.0.1:8888) + docs + HTTP-header inspection (unverified facts marked VERIFY). Replaces the earlier blind sketch (an agent that never inspected unsloth — misspelled it, branch never left its sandbox).

docs/architecture/UNSLOTH-INTEGRATION.md covers:

  • Strategy — leverage the engine (inference/training), keep the organism (cognition/genome/grid/collaboration); bleeding-edge via stable seams only.
  • License (decisive) — Apache-2.0 core / AGPL-3.0 Studio UI → never source-merge the UI; all integration arm's-length.
  • UIs stay separate — verified X-Frame-Options: DENY + CSP frame-ancestors 'none' + no plugin surface; launch unsloth's UI as its own window from a Settings link.
  • Three headless brain seams — MCP server (Rust-native, feat(mcp): Rust-native MCP server (slice 1 — protocol handler, headless, no Node) #1680), OpenAI-compatible provider (persona-as-model), unsloth-as-inference-backend (adapter boundary, not a hard dep).
  • Media — capability negotiation: base64 image content-parts over /v1 (verified for vision GGUFs) vs the local sensory bridge (vision-describe/STT → text); real-time WebRTC/avatars never cross the wire (compute-lease boundary).
  • Docker/grid — light persona containers (no CUDA) + one shared grid-addressable unsloth GPU node; personas lease ai/generate across the grid.
  • Training — adopt ShareGPT JSONL + Recipes (≈ ForgeRecipe); share via Hub/HF.
  • Build plan in slices (MCP slice 1 landed) + open/to-verify list.

Referenced from ARCHITECTURE-INDEX.md (quick-nav) and ALPHA-GAP-ANALYSIS.md (new workstream 0B) so it's discoverable from the roadmap.

Docs-only. Frames the implementation PRs (#1680 + the upcoming inference adapter / OpenAI-compatible endpoint / Docker / training slices).

🤖 Generated with Claude Code

Captures the fully worked-out unsloth integration design — grounded in the live
app (127.0.0.1:8888), the docs, and HTTP-header inspection (not assumption;
unverified facts marked VERIFY). Replaces the earlier blind sketch (an agent that
never inspected unsloth, misspelled it "Unslout", branch never left its sandbox).

docs/architecture/UNSLOTH-INTEGRATION.md:
- Strategy: leverage the engine (inference/training), keep the organism
  (cognition/genome/grid/collaboration); bleeding-edge via STABLE seams only.
- License (decisive): Apache-2.0 core / AGPL-3.0 Studio UI → never source-merge
  the UI; all integration is arm's-length.
- UIs stay separate (verified DENY + frame-ancestors:none + no plugin surface);
  launch unsloth's UI as its own window from a Settings link.
- Three headless brain seams: MCP server (Rust-native, #1680), OpenAI-compatible
  provider (persona-as-model), unsloth-as-inference-backend (adapter boundary,
  not a hard dep).
- Media: capability negotiation — base64 image content-parts over /v1 (verified
  for vision GGUFs) vs the local sensory bridge (vision-describe/STT → text);
  real-time WebRTC/avatars never cross the wire (compute-lease boundary).
- Docker/grid: light persona containers (no CUDA) + one shared grid-addressable
  unsloth GPU node; personas lease ai/generate across the grid.
- Training: adopt ShareGPT JSONL + Recipes (≈ ForgeRecipe); share via Hub/HF.
- Build plan in slices (MCP slice 1 landed) + open/to-verify list.

Referenced from ARCHITECTURE-INDEX.md (quick-nav) and ALPHA-GAP-ANALYSIS.md
(new workstream 0B) so the design is discoverable from the roadmap.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@joelteply
joelteply force-pushed the docs/unsloth-integration branch from a1badbd to 155c779 Compare June 19, 2026 22:26
@joelteply
joelteply merged commit 7747ee3 into canary Jun 19, 2026
2 checks passed
@joelteply
joelteply deleted the docs/unsloth-integration branch June 19, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant