DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build Lithos Metal from source for development with Lithos Metal

Compile the native runtime from the repo and install an editable copy for changes.

Short answer: Install Xcode Command Line Tools and Python 3.12, then run git clone https://github.com/lithos-ai/lithos-metal.git and cd lithos-metal; then create and activate a virtual environment with python3.12 -m venv .venv and source .venv/bin/activate; install the editable development build with pip install -e '.[serve,dev]'. All steps.

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

  1. Install Xcode Command Line Tools and Python 3.12, then run git clone https://github.com/lithos-ai/lithos-metal.git and cd lithos-metal.
  2. Create and activate a virtual environment with python3.12 -m venv .venv and source .venv/bin/activate.
  3. Install the editable development build with pip install -e '.[serve,dev]'.
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer