Who it is forA contributor or engineer who wants to modify the engine, add a model, or test changes to the Metal kernels.
The problemThe precompiled Homebrew package does not cover local changes, so the developer needs a source build with the native runtime compiled.
The outcomeAn editable install of Lithos Metal that reports its version from the local source tree.
What you need first
- An Apple silicon Mac running macOS 26 or later
- Enough unified memory for the target model, draft model, and context (the README tests Qwen models on a 40-core M5 Max with 48 GB)
- Homebrew, or Xcode Command Line Tools and Python 3.12 for a source build
- Client tools such as opencode, claude, codex, or hermes installed separately, if you use the launchers
Steps
- Install Xcode Command Line Tools and Python 3.12, then run
git clone https://github.com/lithos-ai/lithos-metal.gitandcd lithos-metal. - Create and activate a virtual environment with
python3.12 -m venv .venvandsource .venv/bin/activate. - Install the editable development build with
pip install -e '.[serve,dev]'. - Check the build with
lithos-metal --version, then read CONTRIBUTING.md and docs/design/extensions.md before adding a model or operation.
Prompt for your agent
Using the lithos-metal repo at https://github.com/lithos-ai/lithos-metal, clone it, create a Python 3.12 virtual environment, and run `pip install -e '.[serve,dev]'`. Expected output is a successful install and a version string from `lithos-metal --version`. Verify the command prints a version before reporting success.
Caveat. The README says the Python import namespace remains monolith for compatibility, so code imports will not use the lithos_metal name.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for lithos-ai/lithos-metal and "Build Lithos Metal from source for development"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer