A conversation you can inspect
Start the console after configuring a model:
mini-a
Type a goal, then ask a follow-up. Commands starting with / control the session rather than becoming a new model prompt:
/help
/show model
/stats
/save answer.md
/exit
/save writes the last answer to the path you provide. /clear clears the current conversation and metrics; /reset restores parameter defaults. These are different operations.
Use usehistory=true to keep histories for later sessions. For long conversations, inspect /context before choosing compaction or History VM. The command reference lists all built-in commands; Toolkit commands are reusable additions.
Chatbot Mode
Not every use case needs tools. Chatbot mode turns mini-a into a pure conversational assistant — no shell access, no file operations, no MCP tools. Just the LLM.
mini-a chatbotmode=true
This is useful for:
- Q&A — Answer questions using the model’s training data
- Education — Explain concepts, tutor on topics
- Brainstorming — Generate ideas, explore possibilities
- Drafting — Write text, emails, documentation
All other features (streaming, conversation management, dual-model) still work in chatbot mode.
Conversation Management
mini-a provides several commands for managing conversation context during a session.
| Command | Description |
|---|---|
/compact [n] |
Compress older history while preserving up to the latest n exchanges (default 6) |
/summarize [n] |
Replace older history with a narrative summary and keep up to the latest n exchanges (default 6) |
/last [md] |
Reprint the most recent final answer (md for raw markdown) |
/save <path> |
Save the most recent final answer to a file |
These commands are especially useful in long sessions where context accumulates and token costs increase. Compacting a conversation can reduce context size by 40-60% while preserving the essential information the agent needs. When enough history exists, mini-a keeps at least one older entry eligible for summarization instead of preserving the entire tail.
Conversation History Persistence
Enable historykeep=true to automatically save console conversations to ~/.openaf-mini-a/history so they can be resumed in future sessions.
# Save all console sessions for later resumption
mini-a historykeep=true
Use historykeepperiod and historykeepcount to control how many saved sessions are retained:
# Delete history files older than 60 minutes, keep at most 10
mini-a historykeep=true historykeepperiod=60 historykeepcount=10
To resume a saved session, pass the history file path as the conversation input at startup. History files are stored as JSON in ~/.openaf-mini-a/history/.
Conversation Carryover Context
When using conversation history (conversation=<path>, usehistory=true, or resume=true), mini-a automatically extracts up to two recent goal/answer pairs and injects them into the runtime context at the start of each new goal. This keeps multi-turn sessions coherent without manual context management — no configuration required.