Skip to main content

Agent Runtime Tools

Use these tools to separate source evidence, automated contract evidence, and live-client observations. A source read or passing test is not a substitute for observing a revision-sensitive flow in RuneLite.

Current Offline Tools

ToolUseNotes
CodeGraphFind source symbols, callers, and file structure before editingTreat index output as navigation, then verify changed files after edits
rgSearch docs and source textUse targeted patterns; avoid broad scans after the symbol is known
Gradle focused suitesCompile and test narrow areasStart focused, then broaden when shared code changes
git diffReview exact edits before final notesCheck docs and prompt changes for stale paths
docs-site/sidebars.jsConfirm published navigationCanonical pages belong in the sidebar or need an intentional inbound link

Current Runtime Inspection Surfaces

SurfacePackageUse
SuiteRuntimeStatusInteractionApi.debugSnapshot revision, bootstrap, pacer, walker, and health status
WidgetExplorerInteractionApi.debugInspect widgets by visibility, text, and action
PacketTraceInteractionApi.debugCapture bounded packet trace events when enabled
RevisionHealthCheckInteractionApi.debugProbe revision-sensitive packet reflection surfaces
Plugin overlays and panelsplugin packages and com.n3plugins.uiRead live plugin status and user-facing state
RuneLite logslocal RuneLite runtimeCorrelate plugin errors with live client state
API Testercom.n3plugins.apitesterRun curated, user-visible SDK/API probes inside RuneLite
Agent Servercom.n3plugins.agentserverExpose allowlisted runtime reads and diagnostics to a local client

Use these as evidence helpers. They do not replace source review or live observation.

Offline Agent Loop Available Now

  1. Read AGENTS.md, SOT, and relevant docs.
  2. Map the requested workflow to existing SDK/actions.
  3. Inspect live source with CodeGraph or rg.
  4. Patch only scoped files.
  5. Run focused compile/tests.
  6. Inspect git diff.
  7. Update docs, SOT, and sidebar/cross-links when public behavior changes.
  8. Report commands, results, and live verification gaps.

Runtime Evidence Guardrails

  • Local-only by default. No network listener beyond localhost.
  • No account credentials, session tokens, or personal paths in artifacts.
  • No hidden screenshots or logs. State output paths before writing.
  • Prefer read-only probes. Do not use a diagnostics endpoint for risky, destructive, costly, or account-specific gameplay actions.
  • No generated artifacts committed unless the user requests them.
  • Record client revision, setup, action or probe, expected result, observed result, and an evidence reference for every required live scenario.

Runtime Tool Review Checklist

  • Does the tool read or write files? State paths before running it.
  • Does it rely on the live client? Record client revision and account state.
  • Does it expose screenshots or logs? Redact sensitive content.
  • Does it only inspect state? Keep diagnostics separate from action dispatch.
  • Does it prove live behavior? If not, mark live verification pending.