Implementation:ARCANGEL0 EVA intel page
| Knowledge Sources | |
|---|---|
| Domains | Security_Automation, Knowledge_Management |
| Last Updated | 2026-10-29 14:00 GMT |
Overview
Concrete tool for paginated, bounded JSON views of session Intel sections for TUI panel display and LLM consumption, provided by the Mitsu workspace Intel module.
Description
The intel_page function returns a bounded JSON view of a specific Intel section (assets, targets, services, findings, exploits, observations, domains, ips, accounts, manhunt, or summary). It supports pagination via `offset` and `limit` parameters (max 8 records per page) so large Intel sets remain readable in the TUI and by the LLM.
The `summary` section returns aggregate counts and statistics without individual records.
Usage
- TUI Intel panels: Called by the session screen to render paginated Intel tabs.
- LLM Intel queries: Called when the agent requests to inspect a specific Intel section.
Code Reference
Source Location
- Repository: Mitsu
- File: workspace/intel.py
Signature
def intel_page(intel: dict[str, Any], section: str, offset: int = 0, limit: int = 8) -> str:
Import
from mitsu.workspace.intel import intel_page
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| intel | dict[str, Any] | Yes | Session Intel dict |
| section | str | Yes | One of: summary, assets, targets, services, findings, exploits, observations, domains, ips, accounts, manhunt |
| offset | int | No | Pagination offset (default: 0) |
| limit | int | No | Max records per page (1-8, default: 8) |
Outputs
| Name | Type | Description |
|---|---|---|
| returns | str | JSON string with section, total, offset, records, next_offset |
Usage Examples
Get Summary
from mitsu.workspace.intel import intel_page
summary = intel_page(session_intel, "summary")
print(summary)
# {"schema_version": 1, "asset_count": 15, "finding_count": 3, ...}
Paginate Assets
# Get first page of assets
page1 = intel_page(session_intel, "assets", offset=0, limit=8)
# Get next page
page2 = intel_page(session_intel, "assets", offset=8, limit=8)