Choose theme
AI Resources
llama-swap
llama-swap routes requests to local AI model servers and starts or stops them as different models are needed. An application connects to the proxy while its configuration defines the servers behind it.
It works with compatible servers such as llama.cpp and vLLM. The repository includes source, release binaries, container routes and a browser interface for trying models and viewing activity. Use this as a first read, not a recommendation. Open the original project before trusting details like terms, limits, privacy, cost, setup, or safety.
What it is
One connection to several model servers
A proxy and process manager for local AI servers with supported OpenAI- or Anthropic-style API endpoints. The selected model determines where a request goes.
Why it stands out
Choose what stays loaded
Its default is one model at a time. Groups or a matrix of allowed combinations can describe which models may run together when the machine has capacity.
Availability
Source and release binaries
The project publishes binaries for Linux, macOS, Windows and FreeBSD, alongside container and source-build routes. It declares MIT; see the repository for current terms.
Why it matters
What makes it useful
Someone using several local models may want each available to an application without leaving every server running. llama-swap can load the requested server and unload another according to the configured rules. The application can keep one proxy address while choosing among model IDs. The model files and the engines that run them remain part of the local setup.
What to know
Where it fits
llama-swap sits between an API client and the inference servers. Its YAML configuration identifies model commands and proxy destinations; those engines perform generation. The web interface adds a playground, load and unload controls, request inspection and logs. A compatible request format still needs a backend that supports the requested task.
Notable points
What stands out
There are two ways to describe coexistence. Groups express rules such as large models swapping while smaller services remain resident. The matrix router instead lists allowed combinations and chooses which running models to evict when a new one is requested. Its eviction costs can favour keeping a slow-loading server resident. These are configured capacity rules, so the operator still needs to establish which combinations fit the machine.
Before using
What to review
The selected model files, inference engine and hardware must work together. The configuration needs real executable commands and paths; a proxy installation alone does not supply that setup.
The unloading guide distinguishes idle time from shutdown time. A positive TTL unloads after inactivity; a later request needs the model to load again. Docker-backed commands also need the documented stop command so unloading stops the container rather than only its local client.
The configuration reference says an empty API-key list disables authorization checks on inference endpoints. It also documents request and response capture controls. Review access settings and capture behaviour when deciding who can reach the service and which prompts to send through it.
Reader fit
Who may find it relevant
Relevant to practical builders and local AI users comfortable configuring model servers. The routing and unloading guides are useful starting points if the question is which models should share memory, which should swap, and how long an idle server should remain loaded.
Editorial note
Why LifeHubber lists it
LifeHubber lists llama-swap because a collection of local models creates an operating question as well as a model-choice question. Its explicit coexistence and eviction rules connect the models an application can request with the servers the machine keeps running. For a builder combining generation with smaller supporting services, that makes the intended memory-sharing arrangement something they can describe and inspect in configuration. It gives that reader a concrete management layer to explore after choosing the individual models.
Source links
Source materials
Reader note
Before relying on this entry
LifeHubber lists entries to help readers inspect AI projects, not to endorse them or prove they are safe, suitable, accurate, maintained, or right for a specific use. We do not verify every entry in depth. Before relying on anything listed, review the original materials, terms, privacy practices, limits, and risks that matter for your situation.
More in AI Agents
Keep browsing this category
Explore more AI agent projects.
Paperclip
paperclipai/paperclip
A self-hosted server and dashboard for coordinating agent teams through companies, goals, roles, issues, heartbeats, budgets, approvals, and persistent activity records.
ai-memory
akitaonrails/ai-memory
A self-hosted Rust memory service for coding agents, with a Git-backed Markdown wiki, a derived SQLite search index, client-specific capture hooks, MCP access and cross-agent handoffs.
Open Computer Use
iFurySt/open-codex-computer-use
A computer-use MCP service for AI agents and MCP clients, with macOS, Linux, and Windows paths, Codex, Claude Code, Gemini CLI, opencode setup commands, a Codex skill path, command-call examples, and local validation commands.
For project maintainers
Listed here? You can use the badge.
If you maintain a project with a current LifeHubber listing, you may add the optional “Listed on LifeHubber AI Resources” badge to its README, docs, or website. No introduction or permission request is needed.