Architecture
Updated
RightNow Agent, the terminal coding agent, is paused. Its guides stay online as reference.
RightNow Agent is a local tool runner with remote model inference.
Startup
- At startup, the installed
rightnowcommand seeds and synchronizesconfig.tomlfrom its embedded template; see the synchronization rules. - The product home is
RIGHTNOW_HOMEwhen set, otherwise~/.rightnow; a legacy home and its variable are still honored. - Two commands dispatch before the main parser:
rightnow config sync --config <path> --template <path>andrightnow telemetry speed [--log <path>] [--since <RFC3339>] [--json]. Other arguments continue to the main binary parser.
Provider selection
The shipped model entry calls RunInfra:
- Endpoint
- https://
api.runinfra.ai/ v1 - Key
- RIGHTNOW_API_KEY
- Model
- qwen3-8-flash-next
User-defined provider entries use the same parser, and -m <model-entry> selects one for an invocation. No local inference process, model-weight download, GPU scheduler, or local embedding model is shipped.
Prompt and tool boundary
- Before each provider request, RightNow assembles the system prompt, configured rules, workspace context, and selected tool schemas. The source launchers do not inject a system prompt override.
- For a fresh session,
--rulesappends a<human_rules>block. Without an effective system prompt override, a resumed session retains its original rules. With an effective override, the resumed session uses that override and the currently supplied rules. - File and terminal tools run locally under the selected permission policy. Web tools make network requests when called. Configured MCP servers and hooks keep their own command, credential, and network behavior.
Process reuse
The shipped configuration enables the warm agent service. It reuses the lightweight client process and parsed runtime state, not model weights. A connection timeout can fall back to the embedded process path before a turn starts.
Service management
Manage it with rightnow leader: start, status, stop, list, info, and kill. daemon remains a compatibility alias for leader. Flags and PID targeting are in the CLI Reference.
With the service stopped, the status and stop commands answer:
Diagnostics
Local JSONL diagnostics are written to logs/unified.jsonl under the resolved product home. Named events include:
The speed-shadow record includes model-call and tool-round counts, narration-only and narration-with-tool counts, narration size and estimated savings, one-call transaction outcomes, and tool-profile fields. rightnow telemetry speed summarizes it.
See Measured Evidence for recorded process-reuse observations. If startup or terminal checks fail, continue with Troubleshooting.