New
Apps 6,419Makers 6,403This week 7
Promote your app−30%
ipsupport-code screenshot 1
2views in
the last 30 days

ipsupport-code

A small self-learning coding agent for your own model — any OpenAI-compatible server

Built with Claude Code

by ipsupport-llc · Unclaimed · added Nov 3, 2026
no ratings0 comments

ipsupport-code — analyze, fix, test, report

Website: ipsupport-llc.github.io/ipsupport-code

A small, lightweight self-learning coding agent for your own model — any OpenAI-compatible server, local or cloud — in a single static binary, with a built-in risk model that stops a dangerous tool call for you. It drives that model through a reason → act → observe loop over a handful of fat tools (file, run, git, web, calc), recovers from tool errors using lessons it learned on past runs, and — after each task — reflects and writes new lessons to disk so it actually gets better over time.

Local by default, but the same loop runs any OpenAI-compatible provider (OpenAI, Anthropic, Grok, Groq, OpenRouter, Z.ai) — switch in one command — and it can delegate a task to a sub-agent on a different model, so a local agent can hand a review to a frontier one and compare. See Providers and Sub-agents.

The interactive UI is a Claude-Code-style TUI (Bubble Tea): live-streamed tool calls and observations, markdown answers, syntax-highlighted diffs, a plan / auto mode toggle, non-stealing approval prompts, and a status bar showing the model, context usage, and tokens. Piped/non-interactive runs fall back to a plain line REPL.

It will not match a frontier model. It's built for micro-tasks on your own machine, with your own model, under a permission policy you control.

Not affiliated with Anthropic's Claude Code; the name reflects a similar terminal-agent UX.

At a glance

  • 🧰 Fat tools — file · run · git · web · calc, behind a permission policy + workspace jail
  • 🧠 Self-learning — distils lessons from each run and recovers from repeat mistakes
  • 🎯 Goals — /goal pursues a multi-turn objective; a judge re-feeds it until it's actually met
  • 🌐 Any model — local first (LLMTray on a Mac, LM Studio, Ollama, vLLM — keyless local servers included), or any OpenAI-compatible provider
  • 🤝 Sub-agents — delegate/fan-out across other models or local CLI agents (codex/claude/…) and merge the results
  • 🛎️ Steer live — /steer <note> nudges a running task mid-flight (and /btw <question> asks a quick side question), without stopping it (esc still cancels)
  • 🛡️ Built-in risk guardrail — a local model inside the binary scores every tool call; a flagged one stops for you even when the policy allows it, and it learns from your y/n (Risk check)
  • 🪶 Lightweight — a ~2.7 KB system prompt and a ~5 KB tool catalog, about 2,000 tokens before your task; one ~20 MB binary, no runtime
  • 🔒 Read-only runs — -read-only answers a review or a question with nothing allowed to change
  • 💰 Guardrails — /budget spend cap per run · /diff to review what the agent changed
  • 🧩 Plan/auto modes · ⏪ /rewind · 🔌 MCP · 📦 skills · ♻️ self-updating

New here? Install below, then jump to Quick start.

Install

One-liner (macOS/Linux) — auto-detects your platform, verifies the SHA-256, installs to ~/.local/bin, and prints how to run it (and how to add it to PATH if needed):

curl -fsSL https://raw.githubusercontent.com/ipsupport-llc/ipsupport-code/main/scripts/install.sh | sh

That installs the latest nightly; append -s -- latest for the newest stable release, -s -- v0.22.0 for a specific tag, or a second arg for a custom path.

Windows (PowerShell) — installs to %LOCALAPPDATA%\Programs\ipsupport-code, verifies the SHA-256, and adds it to your user PATH:

iex (irm https://ipsupport-llc.github.io/ipsupport-code/install.ps1)

That's the nightly; for a channel/tag use the scriptblock form (so it can take an arg): & ([scriptblock]::Create((irm https://ipsupport-llc.github.io/ipsupport-code/install.ps1))) latest.

Both installers also add the short name ipco beside it (a symlink; on Windows a one-line ipco.cmd), unless something else already owns that name.

Homebrew (macOS/Linux) — the latest stable release, with ipco beside it:

brew install ipsupport-llc/tap/ipco

Homebrew then owns the install: update points you at brew upgrade ipsupport-code instead of replacing the binary.

Or download the archive for your platform from the latest release (or the rolling nightly): darwin-arm64 (Apple Silicon), darwin-amd64 (Intel Mac), linux-amd64, linux-arm64, windows-amd64, windows-arm64. Each release also ships checksums.txt (SHA-256).

tar -xzf ipsupport-code_*_darwin-arm64.tar.gz   # .zip on Windows
chmod +x ipsupport-code
# macOS may quarantine a downloaded binary:
xattr -d com.apple.quarantine ./ipsupport-code
./ipsupport-code -version

Or build from source (pure Go, CGO_ENABLED=0, cross-compiles from any host):

make build     # host binary at dist/ipsupport-code
make release   # every target into dist/
go install github.com/ipsupport-llc/ipsupport-code/cmd/agent@latest  # installs as `agent`

Providers — local or external

The agent and tools are model-agnostic, so you can point them at any OpenAI-compatible API and switch in one command — run a strong cloud model for a hard task, then drop back to your local one:

/ai                       pick a provider from a list (built-ins: openai, anthropic, grok, groq, openrouter, zai)
/ai key openai sk-…       add an API key for a built-in provider (one command)
/ai add mylab https://api.lab.co/v1 llama-3.1 key=sk-…   add a CUSTOM provider + key in one step
/ai openai                switch to it   ·   /ai local   back to your local server
/model                    pick from the server's models (↑↓, type to filter)   ·   /model gpt-4o   switch directly

Pasting a key on Linux? A middle-click paste is swallowed by the mouse-wheel scroll tracking — use Ctrl+Shift+V (bracketed paste), which always works.

Add a provider by hand. Any OpenAI-compatible endpoint works as a first-class provider straight from the config — no command needed, and no API key required for a keyless local server (Ollama, vLLM, a second LM Studio). Add it under providers and point provider at it:

{ "provider": "ollama",
  "providers": { "ollama": { "base_url": "http://localhost:11434/v1", "model": "qwen2.5-coder:7b" } } }

It's then active at launch and switchable via /ai ollama and /config.

Switching keeps your session, tokens, and mode. Keys live in ~/.config/ipsupport-code/config.json (written chmod 600) or fall back to the env var (OPENAI_API_KEY, ANTHROPIC_API_KEY, XAI_API_KEY, GROQ_API_KEY, OPENROUTER_API_KEY, ZAI_API_KEY). /config opens an interactive settings panel: ↑↓ to move, Enter to change the selected row, esc to close — changes apply and save as you make them, no hand-editing JSON.

  • Connection edits the provider in use, the local server included: the provider and model are picked from a list (↑↓ to scroll, type to filter; a model the server doesn't list can be typed), its address (host, port, path), API key (typed masked; empty keeps it, ctrl+d removes it), server type (LM Studio or plain OpenAI-compatible) and context window (any size; 0 = auto-detect). A built-in provider's address can point at a proxy or your own gateway; empty puts it back.
  • Providers adds or edits an OpenAI-compatible endpoint, and removes one picked from the saved ones (confirmed with a second Enter; the one in use falls back to local).
  • Tuning values — temperature, top_p, output cap, idle timeout, retries, and the goal judge's output cap — are typed; the rest cycle in place. Values are edited like a shell line: ←/→, home/end, ctrl+u.
  • While a task runs, reasoning (also /reasoning <level>), temperature, top_p, the output caps, retries and loop detection take effect from the model's next reply and are saved when the task ends; other changes are staged until then.
  • A setting this project's .agent/config.json also sets is marked: that file wins at the next start.

Sub-agents

Define a profile — a named model — and the agent gains an agent tool: it can delegate a self-contained task to a sub-agent on that model and use the answer. A second opinion, another model's strength, or the same code reviewed across 2–3 models at once. Run your main loop on a local model, then have it fan a review out to a couple of frontier models and merge the findings.

A profile is the only way to delegate (and so the curated list of what the assistant may spawn). Build one interactively — provider → model list → name — from /config, or on the command line:

/agents add grok   openrouter x-ai/grok-4.3     # omit the model to list them
/agents add architect openai gpt-4o
/agents                                          # list profiles
/agents rm grok                                  # remove one

Then just ask — e.g. "review internal/tool across grok and architect, then merge." The assistant calls agent(profile, task, dir): dir (optional, ~ expanded) points a sub-agent at another project — it gets its own jail there, so it can work on ~/other-repo without leaving the rest of your disk exposed. A pure fan-out of several profiles runs in parallel, each on its own live status line; the main model then merges the results into one answer.

Safety: every spawn asks for approval (even local ones cost compute) until you relax it with /permissions agents on. Sub-agents read/write files and use git but only run shell commands if you enable it with /agents exec on. They inherit the current mode, can't spawn their own sub-agents (depth 1), and their tokens are recorded in /usage like any other.

External CLI agents

Locally installed CLI coding agents (Codex, Claude Code, Muse, aider…) can be sub-agents too — registered as external profiles:

/agents add-tool                # scan PATH: which known CLI agents are installed
/agents add-tool codex          # one word — codex/claude/gemini/qwen/aider/goose/opencode/muse
/agents add-tool mytool mytool --headless {task}   # any other tool ({task} = where the task goes)

The assistant delegates through the same agent tool; the CLI runs in the target dir, and the assistant gets back the tail of its output plus a git diff --stat summary (review the full patch with /diff). Use the CLI's non-interactive mode (exec / -p / --message) — an interactive launch just hangs until the timeout (15 min default, timeout per profile in config.json). Muse (Meta's Muse Code) runs as muse exec {task} and keeps its own approval and sandbox on in that mode; to launch it with other flags, use the full form (/agents add-tool muse muse exec <flags> {task}).

⚠ External agents run outside the sandbox: their own tools, their own permissions, no policy jail, and /rewind can't see their edits. That's why every launch asks its own approval (external CLI agents category) — even when ordinary spawns are set to allow; a on the prompt relaxes it for the session.

Background jobs (fire-and-forget)

Any sub-agent — LLM or external CLI — can run as a detached background job: the assistant adds background=true, the call returns at once, and it keeps working while the job runs. When the job finishes you see a ✓ job #N notice, and the result is folded into the assistant's next step — even mid-task, via the same between-steps seam as /steer, so a job that lands while the assistant is working doesn't wait for the next task to be noticed. /jobs lists them (each running one shows ⚙ running <elapsed> plus ↳ <its latest output line> (<age> ago) for an external agent — a long gap hints it's stuck, not working), /jobs result <id> prints one in full, /jobs kill <id> cancels. Jobs survive their parent task (and esc) — perfect for a long codex review running while you continue in the main loop.

Steering a running task (/steer) and asking on the side (/btw)

esc cancels a task. Two lighter touches don't stop it:

  • /steer <note> folds a note into the running task — it lands on the very next step to redirect the work ("/steer the loader is in internal/config, not cmd"), without waiting for the task to finish or queuing as a follow-up. The note stays pinned above the input until it lands, then the log says so: ↪ steer delivered (step 7): …. One typed while the model writes its final answer still reaches this task — it goes on with your note instead of finishing. If the task ends before the note lands (esc, a stop), the note comes back into the input rather than opening your next task. While a goal stands, a delivered note amends it: the judge checks the work against your corrections too, and they survive a /goal go after a restart. Typed while idle, /steer steers the next task you start.
  • /btw <question> asks a quick side question while the task keeps going — it's answered in one turn, no tools, from the live conversation, then work resumes ("/btw what test framework is this repo using?"). The answer doesn't steer the task; it's just for you.

Prompt templates (/snip)

Save a prompt you reuse and pull it back when you need it. /snip save <name> stores your last prompt under a name (or /snip save <name> <text> to store text directly); /snip <name> drops that template into the input box so you can tweak it and hit Enter — not auto-sent. /snip list shows them, /snip rm <name> deletes. Templates are stored globally (~/.config/ipsupport-code/snippets.json), so they follow you across projects, and Tab completes both the subcommands and your snippet names.

Updating

The binary updates itself in place from GitHub Releases:

ipsupport-code update            # update on the current channel
ipsupport-code update nightly    # switch to the nightly channel (saved) and update
ipsupport-code update stable     # switch back to stable

/update does the same from inside the REPL. On startup it does a quick, best-effort check and prints a one-line notice if a newer build is out on your channel (stable by default — set "channel": "nightly" in ~/.config/ipsupport-code/config.json, or switch with update nightly). Local dev builds are never nagged. To silence the startup check on a pinned or package-managed install without going fully offline, set ipsupport-code config set update_check false.

Working directory. Launched from a parent dir (or ~)? /cd <subdir> points the session at your project — relative file/run/git paths resolve there, and sub-agents inherit it as their default dir, so you set the path once instead of repeating it. It stays inside the workspace jail.

Offline? /offline on cuts the agent's OWN internet use — the web tool refuses with a clear "no internet" message and the startup update check is skipped. Your configured model connection is untouched either way — if it's a local server on localhost it needs no network anyway; if you pointed it at a remote endpoint, that traffic still goes out. /offline off re-enables it.

Usage statistics and rating

Anonymous usage statistics help decide what to work on. They are on by default for a new install — first-run setup says so — and an update never turns them on for an install that existed before: it is written off.

  • What is sent: one report per day, at the first launch after that day ends (nothing runs on a timer). It holds the version, OS and its version, CPU architecture, Apple chip (Apple silicon only), memory size, language, how many times each feature was used (tasks, tool_calls, goals, subagents, external_agents, mcp, skills, plan_mode, local_model, cloud_model), the coarse family of models used (qwen, nemotron, claude…) and a random install ID.
  • Never sent: code, prompts, commands, tool arguments or output, file names or paths, model names, API keys, provider URLs.
  • /telemetry shows how the last send went (accepted, refused and why, or failed), the days waiting and exactly the reports they will send. /telemetry off (or ipsupport-code config set telemetry false) turns it off and deletes the install ID and every unsent counter; /telemetry reset makes a new ID.
  • Nothing is recorded under DO_NOT_TRACK=1 or in /offline mode, from a piped first run that never saw setup, or by a development build. A workspace's .agent/config.json can't turn it on.
  • The first report goes only after the first day ends, so it can be turned off before anything leaves the machine. The server's side — what it keeps and for how long — is ipsupport-api's telemetry spec.

Rate it from inside the agent: /rate 5 works great with my local model (add --name <you> to sign it). Ratings are moderated, then shown on the website. After the first day a single dim line may suggest it — at most once every two weeks; /rate never stops that.

Quick start

  1. Start a local server with a tool-calling model loaded (e.g. qwen2.5-7b-instruct). On a Mac we recommend LLMTray — a menu-bar app running mlx-lm natively on Apple Silicon; LM Studio, Ollama and vLLM do the same job anywhere. No local model? Skip this — the next step asks.

  2. First interactive run asks whether you have a local model server running. If yes, it looks for a running LLMTray (:8765) or LM Studio (:1234) and offers the one it finds as the server URL, then asks for the API key (blank for a local server) and model, and confirms the connection. If no, it asks for a provider name — a built-in (openai, anthropic, grok, groq, openrouter, zai) uses that vendor's real endpoint with just a key; any other name is treated as your own OpenAI-compatible endpoint (a self-hosted gateway, LiteLLM, a proxy…) and additionally asks for its Base URL — so a custom endpoint is never silently pinned to the wrong vendor's URL. Either way it saves to ~/.config/ipsupport-code/config.json (re-run with -init).

  3. Run a one-shot task, or open the REPL:

    ./ipsupport-code "use calc to compute (1234*9)+sqrt(2)"
    ./ipsupport-code                      # interactive TUI
    ./ipsupport-code -C ~/proj "summarize what main.go does"
    

Which session? Memory is saved per workspace (the -C dir, default the current one) and per agent name (default ipsupport-code). A one-shot or piped run silently continues the saved thread; the interactive TUI opens a navigable chooser (↑↓ to pick a saved session, enter to open, d to delete, esc for the newest) when any exist. To start clean or pick a thread from the CLI:

Flags go before the task text — anything after it is part of the task, not a flag, and the agent says so rather than quietly sending it to the model:

$ ipsupport-code "do the thing" -override provider=openai
error: -override provider=openai must come BEFORE the task text — written there it was read as part of the task, not as a flag

To point a single run at a different provider or model without touching config.json (the provider must already be configured):

./ipsupport-code -overri

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#coding-agent · #self-learning · #local-llm