Agentic Sigma-Reveal
Task-conditioned initial workspace observations for agent harnesses, with ancestor-closed tree selection under a character budget.
pip install git+https://github.com/Hoyant-Su/Agentic-Sigma-Reveal.git
sigma-reveal ./workspace --task "Analyze sales.csv with Python" --budget-chars 2400
from sigma_reveal import reveal
from sigma_reveal_reference import METHOD
context = reveal("./workspace", "Analyze sales.csv with Python", budget_chars=2400)
method_reference = METHOD
The selector preserves the released method's scoring and tree optimization. Line costs are rounded up to 16-character buckets. The default budget is 2400 characters. Only the initial observation is generated; the receiving harness supplies subsequent observations.
Local MCP
pip install 'agentic-sigma-reveal[mcp] @ git+https://github.com/Hoyant-Su/Agentic-Sigma-Reveal.git'
sigma-reveal-mcp --workspace ./workspace
The stdio server exposes select_workspace_context(task, budget_chars) and describe_method(). Selection returns the workspace view and original method reference, including BibTeX. The sigma-reveal://reference resource returns the BibTeX alone. Client configuration after installation:
{
"mcpServers": {
"sigma-reveal": {
"command": "sigma-reveal-mcp",
"args": ["--workspace", "/path/to/task-workspace"]
}
}
}
The server binds to the workspace supplied at startup. Use a prepared workspace whose files may be read by the model. The MCP interface rejects symbolic links and special files in the inspected tree. Direct Python and CLI selection retain the original traversal behavior, including following symlinks. Keep the workspace unchanged during selection. File previews are untrusted task data.
The selector inspects up to four levels and reads up to 160 bytes per file for an 80-character first-line preview. The view budget constrains rendered output; it does not bound the number of directory entries inspected. Dynamic programming scales with tree size and the square of the budget in buckets.
Harness integration
examples/deepagents_initial_context.py supplies a static selected view to Deep Agents before its first action. See examples/deepagents.md for invocation and scope.
Method reference
The reference identifies the original observation method (section 3.2). The paper formulates a token-budget objective; its released implementation uses character buckets, as exposed by this package.
@article{su2026structuredactioncredit,
title = {Learning CLI Agents with Structured Action Credit under Selective Observation},
author = {Su, Haoyang and Wen, Ying},
year = {2026},
journal = {arXiv preprint arXiv:2605.08013},
doi = {10.48550/arXiv.2605.08013},
url = {https://arxiv.org/abs/2605.08013}
}
Metadata
Release files for agentic-sigma-reveal 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agentic_sigma_reveal-0.2.0.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentic_sigma_reveal-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.4 kB
Release files / agentic_sigma_reveal-0.2.0.tar.gz
| Download URL | agentic_sigma_reveal-0.2.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d13db1f9478e8026a0aa7359a7e88141ba18e74ca53784ae6ca2f92c3b6df1b
|
|
BLAKE2b-256 checksum How to use checksums |
839c8ee05f83877192415ebf66e136589b469356191894172b604afab182d9f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / agentic_sigma_reveal-0.2.0-py3-none-any.whl
| Download URL | agentic_sigma_reveal-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35d21f206b6a53bca52bcf844cafe4bf5e0aaca3651dde1647fd53453d496cca
|
|
BLAKE2b-256 checksum How to use checksums |
d1f3f7e1c3e38cd44b59ecdb63697bb4814df518e5decc2d8acebfea12ce322f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|