Before you start

You need a terminal, OpenAF, and access to one language model. OpenAF is the runtime that runs mini-a. You can use a hosted provider with an API key or a local model through Ollama.

Prefer a container? Follow the Docker quickstart. Prefer a browser? Complete installation and model setup below, then open the Web interface.

Install mini-a

If OpenAF is not installed, use the official installation instructions. Then run:

opack install mini-a
opack exec mini-a -h

The second command should print help. opack is OpenAF’s package manager; exec mini-a starts this package.

For shorter commands in your current Bash or Zsh terminal:

alias mini-a='opack exec mini-a'

The examples below use that alias. You can always replace mini-a with opack exec mini-a. To keep the alias between sessions, add it to your shell configuration.

Connect one model

Set OAF_MODEL in the same terminal. For example, with a hosted OpenAI-compatible configuration:

export OAF_MODEL="(type: openai, model: gpt-5-mini, key: 'YOUR_API_KEY')"

Replace the placeholder key and choose a model available in your account. This configuration stays in your terminal environment; do not put real credentials in files you share.

For a local Ollama model, start Ollama, pull your chosen model, and use:

export OAF_MODEL="(type: ollama, model: 'llama3', url: 'http://localhost:11434')"

Use one of these configurations. See model configuration for other providers and the model manager. Extra model roles are optional.

Run your first task

mini-a goal="Explain what a Markdown file is in one sentence."

Expect a short answer followed by the command returning. If you get a connection, authentication, or model-not-found error, fix the model configuration before adding tools.

Summarize a file and save the answer

Download sample notes into your current directory as notes.md, or create the file with this content:

# Release notes
The documentation is ready for review.
Check installation instructions on a clean environment.
Publish only after the examples pass.

Now run:

mini-a knowledge=notes.md goal="Summarize the supplied notes in three bullets." \
  format=md outfile=summary.md

knowledge=notes.md loads the file as context before the model runs. In an interactive console prompt, you can also include files with @notes.md. outfile saves the final answer. Open summary.md: it should reflect the review, installation check, and publication condition in the sample. The exact wording will vary.

This task does not require shell execution or another MCP server. If the file is missing, check your working directory and spelling.

Ask a follow-up

mini-a

Type a goal at the prompt, then a follow-up question. Type /help for commands, /save answer.md to save the last answer, and /exit to leave. See console sessions for history and resuming work.

Use the browser instead

mini-a onport=8080 webadvanced=true usestream=true

Open the authenticated URL printed at startup. It may open automatically. You can chat in Simple mode and select Advanced when you need settings or diagnostic panels. The generated access token changes after restart; use the current URL. See the Web guide.

Choose your next step

Common issues

Problem What to do
opack is not found Finish OpenAF installation and check the terminal’s PATH
mini-a is not found Define the alias or use opack exec mini-a
Model configuration is missing Export OAF_MODEL in the same terminal
Invalid key or unavailable model Check the provider’s response and your model identifier
A file cannot be read Check the current directory and the file path

For more help, use Troubleshooting or the FAQ.