Catalog PyPI
PACKAGE EXPLORERView in registry

agentic-sigma-reveal

PyPI

Task-conditioned, budgeted initial workspace observation for CLI agent harnesses

agent-harnesscli-agentcontext-selectionsigma-reveal
Versions collected1
Direct dependencies2From release 0.2.0
Last observed20 Oct, 22:21 UTC

README

Version 0.2.0 documentation

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}
}

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.010 Sept 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
hoyant-su/agentic-sigma-reveal

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:21 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6ae0a3e910d9dde76d68f463447f1b4bcea36b895b24a172913ab460dea8d51c