[Paper Review] ALARA for Agents: Least-Privilege Context Engineering Through Portable Composable Multi-Agent Teams
The paper introduces a declarative CAT data layer (context-files, NPCs, and Jinxes) and npcsh shell to enforce least-privilege, portable multi-agent tool use, and provides a 115-task benchmark tested on 22 locally-hosted models.
Industry practitioners and academic researchers regularly use multi-agent systems to accelerate their work, yet the frameworks through which these systems operate do not provide a simple, unified mechanism for scalably managing the critical aspects of the agent harness, impacting both the quality of individual human-agent interactions and the capacity for practitioners to coordinate toward common goals through shared agent infrastructure. Agent frameworks have enabled increasingly sophisticated multi-agent systems, but the behavioral specifications that define what these agents can do remain fragmented across prose instruction files, framework-internal configuration, and mechanisms like MCP servers that operate separately from individual agent definitions, making these specifications difficult to share, version, or collaboratively maintain across teams and projects. Applying the ALARA principle from radiation safety (exposures kept as low as reasonably achievable) to agent context, we introduce a declarative context-agent-tool (CAT) data layer expressed through interrelated files that scope each agent's tool access and context to the minimum its role requires, and exttt{npcsh}, a command-line shell for executing it. Because the system parses and enforces these files structurally, modifying an agent's tool list produces a guaranteed behavioral change rather than a suggestion the model may or may not follow. We evaluate 22 locally-hosted models from 0.6B to 35B parameters across 115 practical tasks spanning file operations, web search, multi-step scripting, tool chaining, and multi-agent delegation, characterizing which model families succeed at which task categories and where they break down across $\sim$2500 total executions.
Motivation & Objective
- Motivate the fragmentation in current agent harnesses (prose files, framework code, MCPs) as a risk to reliability and security.
- Propose a declarative data layer (CAT) to specify and enforce tool access and context structurally.
- Introduce NPC files and Jinxes to define agents, tools, and workflows with deterministic execution graphs.
- Provide an open-source implementation and a 115-task benchmark to evaluate tool-use across models and families.
Proposed method
- Define the CAT data layer consisting of context files, NPC files, and Jinxes to represent teams, agents, and tool catalogs as interrelated YAML artifacts.
- Use Jinxes as executable YAML definitions that specify a sequence of steps and engine types, enabling DAG-like composition of tools.
- Bind NPC tool catalogs and permissions via the NPC list to enforce least-privilege tool access irrespective of prompt content.
- Organize agents and teams to support sub-teams, orchestrators, and delegation workflows to manage context and history efficiently.
- Implement a command-line shell (npcsh) and multiple interfaces to execute the declarative specification consistently across environments.

Experimental results
Research questions
- RQ1Can a declarative, file-based CAT data layer enforce least-privilege tool access for LLM agents across varied model families?
- RQ2How does structural scoping of tools and contexts affect reliability, security, and delegation in multi-agent workflows?
- RQ3What is the impact of catalog size and model family on agentic performance and task success rates across a diverse benchmark?
- RQ4How do different task categories (web search, delegation, multi-step scripting, etc.) influence retry value and tool-use effectiveness?
- RQ5What is the relationship between general linguistic capabilities (e.g., MMLU) and agentic performance across tool-use tasks?
Key findings
- Tool-use reliability is a distinct trained capability with large between-family variance that can dominate within-family scaling.
- Models trained for tool use can reach 4B parameters achieving scores that non-tool-trained models only reach at 27B, indicating training for tool use matters more than scale in some ranges.
- There is a strong positive correlation between general capability (MMLU) and agentic performance, with notable outliers where transfer to tool-use is particularly strong or weak.
- Mean tool calls per task strongly predict agentic performance (approximately r = 0.7), more so than task duration or retry count.
- About 80% of successful task completions occur on the first attempt; retry value varies by category, from ~20 points for web search to ~3 for delegation.
- Delegation is the hardest category across model families, and higher retry gains are limited for delegation, suggesting context accumulation may hinder convergence.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.