Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them.
Page: /drakestapleton/spark-adapters
# spark-adapters
Hardware abstraction adapters for local AI accelerators
Brought by drakestapleton
Unfinished: not checked yet
There is no published receipt of a rebuild from its source yet. What a receipt is
Get this repository
Git over HTTPS
`git clone --no-checkout https://interplane.io/projects/spark-adapters/repo.git spark-adapters && git -C spark-adapters checkout --detach da269adf5ff144a7ff08e2ab757031bd82467659`
Source archive of `da269adf5ff144a7ff08e2ab757031bd82467659`
Download ZIP · tar.gz
Sign in to star 0 stars 0 watching
About Files History Releases Proposed changes Issues For developers
README.md
# spark-adapters
Universal third-party model provider adapters and knowledge distillation oracle for Sovereign SparkOS on NVIDIA DGX Grace Blackwell (GB10).
## Capabilities
- Provider Adapters: Dynamic SSE streaming and unary completions for OpenAI, Anthropic (Claude 3.7 hybrid thinking), OpenRouter, Google Gemini, Groq (LPU sub-100ms), DeepSeek, Together, Mistral, and local Modular MAX / Ollama seats.
- Teacher Knowledge Distillation: Dual rollout evaluation pairing external teacher frontier models against resident open-weight models (`atlas-lightning-omni`).
- Sovereign Verification Harness: Built-in verification checking syntax, balanced code delimiters, unslop compliance (zero em dashes, zero AI tropes), and zero secret leaks.
- Dataset Synthesis: Generates standardized SFT (ChatML) and DPO / ORPO preference datasets persisted directly to disk.
- Cortex Memory Integration: Ingests high-scoring verified teacher insights directly into Spark Cortex (`http://127.0.0.1:18080`, space `atlas-memory`).
- Zero Disk Secrets: Integrates dynamically with hardware TPM vault (`atlas-vault get`) with zero plaintext `.env` files on disk.
## CLI Usage
```
# Run distillation against teacher model
spark-distill --teacher anthropic/claude-3-7-sonnet --student atlas-lightning-omni --prompt "Implement a lock-free ring buffer in Rust" --task-type code --verify compiler --commit-cortex
```
## Architecture
- `spark_adapters::models`: Common message, rollout, task, and distillation schema.
- `spark_adapters::router`: Route resolution, secret resolution, and model catalog.
- `spark_adapters::verifier`: Unslop and code syntax validation.
- `spark_adapters::distill`: Automated distillation pipeline.
- `spark_adapters::vault`: Hardware TPM key resolution.
## License
MIT OR Apache-2.0
## For developers: proof and records
The full record of this project. Words that are used only here are explained once:
ID
The project's permanent id on Interplane: the SHA-256 of its first signed record. This one is `git:f87e5311bcb5fb951b9b35e9ca8373f94cd9d6032fea06e5604c0a514912c5ea`. Its old id, kept only so that old links still work: `z2L6KpjRgTCMbPeuEpggRmecH5Qpc`.
Owner
The key that signs every record of the project. This forge lists the project under drakestapleton; its key is `SHA256:qg3vxoE9ul3Cgk5heosQvPmO9pqIJNsdcsGJ2cHghTs`.
Refs and HEAD
Refs are the names that point at versions: branches and tags. HEAD is the version a fresh copy starts from, the newest commit of the default branch.
Patch
A proposed change, reviewed before it is merged. This forge does not show proposed changes from its own store yet. The list is under Proposed changes .
Receipt
A public record that someone checked a claim, with the fingerprint of its evidence file. The state at the top of this page is read from the list at interplane.io/receipts . This project has no receipt in that list yet.
Clones and fetches over HTTPS: 0 by visitors (git smart-HTTP `info/refs` requests answered 200 in the front-door download log; our own addresses and bots left out; since 2026-11-08) · not measured `git-upload-pack` requests from all clients (the source of this count is retired)
Downloads: 2 by visitors (2 source archives, 0 release assets; forged access log; our own addresses left out; since 2026-11-07)
commit `da269adf5ff144a7ff08e2ab757031bd82467659` Branches Tags History
`da269ad` docs: first person, Drake's own voice (L422) Drake Stapleton committed 2026-11-09
```
.github/
src/
.gitignore 36
AGENTS.md 3973
AGENT_CODE_OF_CONDUCT.md 3493
CONSTITUTION.md 8401
Cargo.toml 859
LICENSE 17335
README.md 1844
agent.json 618
llms.txt 1396
```
Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON