REDNODE / DOCS

Ask mod

Example apps / ask-mod / v0.1.0

Node modIn the downloadagent permission

Ask REDagent, the in-game assistant powered by Claude, a question from your own mod, and stream the answer into a window.

Simulated game starting
Mod log

    On this page a fixed text streams back. In the game, REDagent answers.

    How it works

    agent.ask sends a question with context only your mod knows, here V's position. The answer streams through onText, and signal stops it.

    The agent permission needs the player's OK in the Mod Manager, because each answer costs the player a little.

    What it uses

    agent.ask onText AbortController "agent" permission

    Use it

    Copy the files into red4ext/plugins/REDnode/apps/ask-mod/ in the game folder, or start your own package from them: change id and name in the manifest first. The whole folder is on GitHub.