sshh12

Agents On Modal — AI skill for Claude Code

AI community

Run Claude Code and Codex agents (solo or in 100-agent sandboxed swarms) against self-hosted open-weight and abliterated models (DeepSeek, GLM, Qwen, GPT-OSS) served on Modal GPUs.

How to install Agents On Modal

This entry records only its repository, not the path inside it, so there is no exact command to give. Open sshh12/agents-on-modal and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agents On Modal does

Run Claude Code and Codex agents (solo or in 100-agent sandboxed swarms) against self-hosted open-weight and abliterated models (DeepSeek, GLM, Qwen, GPT-OSS) served on Modal GPUs.

Alternatives in AI

  • Generative Media Skills — Multi-modal Generative Media Skills for AI Agents (Claude Code, Cursor, Gemini CLI) 3k ★
  • Kibitz — Real-time decoded feed of AI agent actions — monitor multiple Claude Code & Codex sessions, see exactly what e 521 ★
  • Devo — Model-neutral agent desktop/runtime for private, enterprise, and OpenAI-compatible / Anthropic-compatible mode 316 ★

README

agents-on-modal

Run agent coding CLIs — **Claude Code**, **Codex**, and more to come — inside a sandbox of your choice, against **open-weight models you serve on [Modal](https://modal.com)** GPUs. Three independent axes you mix freely:

  • model — any entry in the model catalog (Qwen3, GPT-OSS, DeepSeek-V4, GLM-5.3, …), served by SGLang or llama.cpp on a Modal GPU that scales to zero when idle.
  • harness — the agent CLI: claude (Claude Code) or codex (Codex CLI).
  • sandbox — where the harness runs: local (directly on your machine, no container), docker (a throwaway local container with full internet but no access to your LAN or host), or modal (a Modal Sandbox, batteries-included, massively parallel).

Every harness reaches every model through one in-container **gateway** that translates the harness's native protocol (Anthropic Messages for Claude Code, OpenAI Responses for Codex) to the engine's chat-completions API — so any harness works with any model, with reasoning effort and context limits mapped per model.

import agents_on_modal as aom

model = aom.models.get("qwen3.8-27b")
endpoint = aom.models.ensure_deployed(model, max_containers=1)  # deploys if needed; weights on CPU first

box = aom.sandbox.create("docker")                  # batteries-included container
run = box.start("claude", endpoint, "add a /health route and test it", goal=True, timeout=1800)
for event in run.events(follow=True):
    print(event.kind, event.data)

Install

pip install git+https://github.com/sshh12/agents-on-modal
aom setup            # logs into Modal and stores a workspace proxy token

Requires Python 3.10+ and a Modal account. For the `docker` sandbox you also need Docker Desktop; the `local` sandbox additionally needs the harness CLI (`claude` / `codex`) installed on your PATH.

Choose and deploy a model

Every servable model is one entry in **[`agents_on_modal/catalog.json`](agents