curl -fsSL https://dominic.computer/nanna-install.sh | bashVery little of a coding agent's work is pure code generation. They research, implement, run tests, iterate on CI, review, deploy, and respond to incidents.
Commercial agents are interfaces for complex systems made of many different agents. These different agents have different capabilities, often running in different environments, and they use different models.
Nanna allows agents to defer certain kinds of work to more specialized, less expensive models that can run locally in isolated containers. By assigning work to cheaper models, nanna makes agentic systems more efficient. Nanna also allows users to set granular capabilities for the agents it exposes, providing the guardrails of isolation, role-based access control, and auditability.
Nanna exposes a small interface (CLI and MCP) so that other agents can delegate work to it. The orchestrator gets six MCP tools: assign_task, poll_task, get_result, list_tasks, cancel_task, onboard_repo. The API is designed to be token-efficient and unambiguous.
Nanna drains backlogs through a hybrid FIFO/LIFO scheduler: half the capacity works on the latest tasks while half is reserved for the longest-running work. This approach avoids the estimation problem and systemic bias against large-scale tasks as seen in the shortest remaining time strategy while preserving reactivity to new tasks.
The orchestrator above Nanna keeps responsibility for global task completion. If the device Nanna runs on fails, its calls fail, and the orchestrator falls back to its own subagents. Nanna can therefore exploit unreliable resources without compromising the reliability of the orchestrator: grid surplus, idle personal devices, a spare machine.
From 2022 to 2024, the size of models able to perform well on general intelligence benchmarks dropped by two orders of magnitude. Small language models (SLMs) generally consume 10x to 100x less electricity than frontier LLMs. The overhead for token metering is 1-2 orders of magnitude the cost of electricity.
Since 2024, the focus has been on model specialization. Specialization refers to the ability of small models to perform tasks in specific, constrained domains, like natural language translation or proof generation. Small models can easily perform better on specific tasks than general models with 100x their resource footprint.
Optimization via deferring work to SLMs is a core environmental and economic concern for software generation, both for model providers and their customers. But, model providers have many customers with different specialization needs, and progress on generally intelligent SLMs has been fairly slow over the last several years. Model providers are poorly positioned to do this kind of optimization, especially frontier labs that don't sell SLMs.
SLM usage can also reduce the need for new datacenters and reduce electronics waste. New datacenters, which are difficult to integrate into existing grids, and for US-based intelligence providers, require significant natural gas usage, also require significant and highly variable water usage. Distributing marginal load over the existing grid, using existing computers, without requiring any additional water usage, significantly reduces the ecological impact of agentic software development.