Skip to content

Chat commands

mikan supports text commands across platforms. Slash-command aliases are available where the platform supports them.

CommandPurpose
/login / /pi-loginOpen a 15-minute link to store API keys or run built-in OAuth flows. DM only.
session / /sessionOpen a web view of the current session. DM only.
new / /newReset the current session and start fresh. DM only.
model / /model / /pi-model provider/model[:thinking]Switch the LLM for the current conversation, e.g. /pi-model anthropic/claude-sonnet-4-6:off.
auto-reply / /pi-auto-reply on|off|statusControl group/channel auto-reply for the current conversation.
stop / /stopStop the current run. On Slack, use text commands so thread-local stop routing remains accurate.
/pi-sandboxShow or temporarily boost managed-container CPU/memory limits.

On Slack you can register native commands like /pi-login, /pi-session, /pi-model, /pi-auto-reply, and /pi-new.

The session viewer uses the same link server as login/vault and admin. The current session view can display the timeline and, when interactive portal wiring is enabled, send messages back into that session.

Terminal window
export LINK_URL="https://mikan.example.com" # public base URL
export LINK_PORT=8181 # optional, defaults to 8181

For local testing you can set just LINK_PORT; mikan will use http://localhost:<port>.

See Portal auth and capability model for how admin, login/vault, and session-view links differ.

Built-in OAuth docs: