SOLUTIONSARCHITECTUREABOUTFAQSUPPORTPARTNERSBLOGDOWNLOADCONTACT
FREN
Documentation / User guide

Configure and use Mili

Shape your agent’s personality and limits, choose a Qwen model, set governance, connect your tools and open a support case.

Persona and guard rails

Under Settings, then General, you give the agent a name, a persona and guard rails. Together they define how Mili behaves and what it must never do.

Persona: describe the agent’s personality, tone and role. Who it is, how it should sound and what it is here to do. Keep it concrete (audience, preferred language, time zone, house style).

Guard rails: define boundaries, restrictions and safety rules in plain language. What to confirm first, what never to share, what to refuse.

Settings, General: agent name, workspace retention, search engine, persona and guard rails.
Settings, General: agent name, workspace retention, search engine, persona and guard rails.
Changes to persona and guard rails take effect on the next conversation turn; no restart needed. The same page also sets the workspace retention period and the default web search engine.
Managed fleets: when an agent is connected to a Management Server, your administrator can layer a read-only corporate persona / guard-rail block on top. This org-wide overlay requires the Management Server.

Model: which to pick, and why

Under Settings, LLM Settings, then General, the Default Model list shows the Qwen models discovered from the Mili GenAI gateway. The default is used whenever no model is chosen in the conversation; you can still switch models per conversation from the chat.

Settings, LLM Settings, General: default model, request settings and agent loop limits.
Settings, LLM Settings, General: default model, request settings and agent loop limits.

Which model?

  • Qwen3.5-397B-A17B: the flagship. Best when the agent must call tools and chain several steps: research, multi-step tasks, anything agentic. It reasons most reliably across a long loop.
  • Qwen3.8-27B: the shipped default. A balanced choice for everyday questions, lighter tasks and code, faster and cheaper.
  • Qwen3.5-9B: the fastest option, used for lightweight side tasks. It is conversation-only and does not drive tools, so pick it for quick chat, not for agentic work.

Vision (Qwen2.5-VL) and embedding (Qwen3-Embedding, used for document search) models are selected automatically when needed.

Request settings and agent loop

SettingWhat it controls
Timeout / Max Retries / Retry DelayHow long to wait for one model response, and how retries are paced on failure.
Max Tool Rounds / Max Total Tool CallsCaps on how many tool rounds and tool calls one turn may use. Raise for long agentic tasks, lower to contain cost.
Max Wall TimeThe longest a single turn may run before it is stopped.
Max Tool Result CharsTruncation limit for what a tool may return into the conversation.
Most changes apply immediately; the agent loop limits require a restart.

Governance

The Governance page follows the MCN agentic-AI guide. It holds the kill switch, the agent registry, the autonomy level, the human-in-the-loop gates and the cost caps.

Settings, Governance: agent state, registry, autonomy level, human-in-the-loop and costs.
Settings, Governance: agent state, registry, autonomy level, human-in-the-loop and costs.

Agent state: Suspend is the kill switch. It stops all activity at once, blocks every tool and is written to the audit trail; Resume restarts it.

Registry: agent owner, technology lead, operational supervision, purpose, deployment state (for example pilot or production), authorisation date and periodic review cadence. This is the accountability record the MCN guide asks for.

Human-in-the-Loop: turn on confirmation for any category a person must sign off:

  • Plugin write operations: send email, create a calendar event, post a message.
  • Destructive file actions: delete or overwrite files.
  • Business data mutations: create, update or delete CRM / project records.
  • Financial transactions: Stripe charges, QuickBooks entries, Xero invoices.

Costs: a period budget, a per-execution token cap and a per-execution cost cap in CAD, with alert thresholds. Pending escalations (steps the agent paused on) are listed at the bottom for a proceed or stop decision.

A single agent enforces its own governance locally. To set governance once and push it to every agent in your fleet (org-wide policies), use the Management Server.

Add an integration

Integrations (plugins) connect Mili to your tools: email, calendar, CRM, cloud and more. Open Settings, then Plugins, and click Add Integration to search the catalogue of more than a hundred services.

Settings, Plugins: active integrations and the Add Integration button.
Settings, Plugins: active integrations and the Add Integration button.

Each integration connects in one of two ways. Some use OAuth (you approve access in the provider’s own window); some use a credential (an API key or a password, stored in the Credential Vault). Each also has separate Read and Write permissions, so an integration can be limited to read-only.

Two advanced integration features require the Management Server: exposing this agent as an inbound MCP server with OAuth, and connecting team chat bots (Slack, Microsoft Teams, Telegram). Everyday integrations (email, calendar, CRM, cloud) work on a standalone agent.

OAuth integrations

For an OAuth integration such as Gmail or Microsoft 365, open the integration and click Connect. A sign-in window from the provider opens; approve access there. No password is stored: Mili keeps an encrypted token you can revoke at any time, and the authorization status turns to connected.

An OAuth integration: provider, permissions, operations and the Connect button.
An OAuth integration: provider, permissions, operations and the Connect button.

Credential integrations and the Vault

Integrations that are not OAuth (a generic IMAP/SMTP mailbox, an API token, a cloud secret) use a credential you provide. The non-secret settings (hosts, ports, login) are saved with the integration; the secret itself is a vault key and is referenced as {{{{vault:key}}}}.

A credential-based email integration: the password is a vault key.
A credential-based email integration: the password is a vault key.

Manage secrets under Settings, then Credential Vault. Each entry has a key (used in {{{{vault:key}}}}), a human-readable label and the secret value. Secrets are encrypted at rest with a master key (a local file by default; hardware and cloud key sources are supported), the agent never sees the raw value in chat, and every access is written to the audit log shown on the same page.

The Credential Vault: master key source, stored credentials and audit log.
The Credential Vault: master key source, stored credentials and audit log.
Removing an integration offers to delete its stored vault keys too; keys still used by another integration are kept.

Getting support: open a case

Support lives inside Mili, under Support in the sidebar. To open a case, Mili needs a verified email identity to file it under. It takes that identity from a connected Google Workspace or Microsoft 365 account (an OAuth integration), from an Apple iCloud mail integration, or from your SSO login.

  1. Connect an email identity

    Add the Gmail or Microsoft 365 integration and connect it with OAuth (see above). The connected address becomes your support email.

  2. Open Support and click New Case

    Pick the support email at the top of the page if you have more than one, then write a subject and a description of the problem.

  3. Attach context and submit

    Add files if useful, and switch on Include conversation logs to attach the current conversation (sensitive values are stripped automatically). Submit, then follow and reply to the case from the same page.

Support, New Case: subject, description, attachments and conversation logs.
Support, New Case: subject, description, attachments and conversation logs.
If Mili itself is unreachable, email support@mili.quebec. A real person on the team replies.