---
title: "Undominated · RAG Context Economist: review, role & definition · Undominated.ai"
canonical: https://undominated.ai/agents/undominated-rag-context-economist/
description: "Optimizes context window packing, chunk overlap boundaries, and token budgets for enterprise RAG systems."
---

# Undominated · RAG Context Economist: review, role & definition · Undominated.ai

> Optimizes context window packing, chunk overlap boundaries, and token budgets for enterprise RAG systems.

[← Explore all agents](/agents/)

EVIDENCE REVIEW / Undominated.ai

# Undominated · RAG Context Economist

Optimizes context window packing, chunk overlap boundaries, and token budgets for enterprise RAG systems.

 [Use this definition ↓](#setup)[Original source ↗](https://undominated.ai/resources/agents/undominated-rag-context-economist/definition.md)

SOURCE REVIEW

 Reviewed 2026-10-14
 Evidence 3 linked sources
 Publisher Undominated.ai
 Licence [MIT ↗](https://undominated.ai/resources/agents/undominated-rag-context-economist/LICENSE.txt)
 Revision 65f5a0eeb6e0
 [Read what was—and wasn’t—checked ↓](#review)

“Optimizes context window packing, chunk overlap boundaries, and token budgets for enterprise RAG systems.”

 [Undominated.ai · upstream description ↗](https://undominated.ai/resources/agents/undominated-rag-context-economist/definition.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - Defines a specialist role, required evidence, handoff contract and explicit limits on external actions.
- Created for recurring evidence and comparison failures: missing facts remain unknown and every conclusion keeps its scope.
- It names a concrete failure mode: Deploy to balance vector database recall against generation token spend.

### A good fit for

 - Deploy to balance vector database recall against generation token spend.
- Use the profile for this stated boundary: Relies on documented retrieval metrics and rate cards. Does not alter upstream vector database schemas.

### Weigh up before choosing

 - Relies on documented retrieval metrics and rate cards. Does not alter upstream vector database schemas.
- Portable role instructions require manual loading or adaptation to your host; they do not automatically register a native subagent.
- Public GitHub source availability is not yet verified; the complete download contains the reviewed source.
- A new npm install path is not yet verified. Use the complete source download.
- Optimizes context window packing, chunk overlap boundaries, and token budgets for enterprise RAG systems.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - agents/undominated-rag-context-economist/AGENT.md

### Our findings

 - First-party resource authored by Undominated.ai; this is our own verification record, not an independent endorsement.
- The download preserves the complete source and supporting files. Its manifest hashes identify the exact bytes.
- One input rule the profile states is: Analyze chunk size distributions, reranker score thresholds, and prompt injection templates to eliminate token waste.
- One refusal the profile states is: Relies on documented retrieval metrics and rate cards. Does not alter upstream vector database schemas.

### Not established by this review

 - Model compliance with these instructions on arbitrary tasks
- Native integration in every agent host
- Public GitHub source identity
- The new npm resource CLI installation

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Use the role in your project.

[Upstream setup instructions ↗](https://undominated.ai/resources/agents/undominated-rag-context-economist/definition.md)
 - Download the complete bundle from https://undominated.ai/resources/agents/undominated-rag-context-economist/bundle.zip and extract it into a new directory.
- Read AGENT.md, then load or adapt it using your host’s documented role or subagent mechanism.
- Provide the task scope, accepted evidence and required handoff fields. Grant only the tools the task needs.

### Before you start

 - An agent host that can accept explicit role instructions

### Compatibility

Portable Markdown role instructions

### Implementation

Markdown

### Local, explicit inputs

 - read:user-selected-local-file

### Cost model

MIT source at no charge. Your agent host or model provider may charge for use.

THE COMPLETE REVIEWED DEFINITION

## Read it before you reuse it.

Original source bytes, with attribution. Review the host-specific setup notes above.

 Copy definition ↗ [Download definition + licence ↗](/resources/agents/undominated-rag-context-economist/bundle.zip)[Raw Markdown ↗](/resources/agents/undominated-rag-context-economist/definition.md)
 ---
name: undominated-rag-context-economist
description: Optimizes context window packing, chunk overlap boundaries, and token budgets for enterprise RAG systems.
license: MIT
metadata:
 author: Undominated.ai
 version: "1.0.0"
 tags: ["rag", "context-budget", "embeddings", "reranker", "economics"]
---

# RAG Context Economist

## Mission & Boundary
Optimizes context window packing, chunk overlap boundaries, and token budgets for enterprise RAG systems.

## When to Deploy
Deploy to balance vector database recall against generation token spend.

## Operational Boundaries & Limitations
Relies on documented retrieval metrics and rate cards. Does not alter upstream vector database schemas.

## Execution Protocol
Analyze chunk size distributions, reranker score thresholds, and prompt injection templates to eliminate token waste.

The download contains AGENT.md . Keep its filename when placing it in the agent directory described above.

By **Undominated.ai**. [Exact upstream source ↗](https://undominated.ai/resources/agents/undominated-rag-context-economist/definition.md) · [Licence](/resources/agents/undominated-rag-context-economist/LICENSE.txt) · [Attribution](/resources/agents/undominated-rag-context-economist/ATTRIBUTION.txt)

SHA-256 65f5a0eeb6e08059b0330ef5fa99917c37a70bef451e4258b2c119f9204225e5

 Read the applicable licence MIT License

Copyright (c) 2026 Undominated.ai

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Original Undominated definition ↗](https://undominated.ai/resources/agents/undominated-rag-context-economist/definition.md) Checked 2026-10-07 https://undominated.ai/resources/agents/undominated-rag-context-economist/definition.md Supports: Workflow and input requirements, Stated limitations
- [MIT licence ↗](https://undominated.ai/resources/agents/undominated-rag-context-economist/LICENSE.txt) Checked 2026-10-07 https://undominated.ai/resources/agents/undominated-rag-context-economist/LICENSE.txt Supports: Redistribution terms and attribution
- [Complete source bundle ↗](https://undominated.ai/resources/agents/undominated-rag-context-economist/bundle.zip) Checked 2026-10-07 https://undominated.ai/resources/agents/undominated-rag-context-economist/bundle.zip Supports: Full local source, supporting files and integrity manifest

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Undominated · Agent State Budget Architect ↗ Architects conversation state pruning, sliding context windows, and tool output summarization to control multi-turn token costs.](/agents/undominated-agent-state-budget-architect/)[### Undominated · Agent workflow economist ↗ Autonomous agent economist specializing in multi-step agent orchestration efficiency, tool schema minimization, function call consolidation, and token-preserving memory architectures.](/agents/undominated-agent-workflow-economist/)[### Undominated · Inference Scaling Strategist ↗ Analyzes test-time compute scaling laws, verifier passes, and search budgets to optimize accuracy per dollar spend.](/agents/undominated-inference-scaling-strategist/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Find reusable instructions](/skills/)
- [Inspect connections](/mcp-servers/)
- [Build a toolkit](/tools/)
- [Choose the model](/compare/)
