Melis AI is the back-office to manage AI in the platform — connect Claude or Gemini, design agents and scenarios, wire tools (local or MCP), deploy them as instances, and track usage.

Package
Role
Providers
Agents
Tools
Tracks
Overview
A model is a provider model row (company + model + API key). An agent is a behaviour: an ordered, multi-step scenario plus an allow-list of tools. An instance is a named deployment of an agent under a stable id every UI references. A tool is a callable function the model may invoke — MCP-served or built-in.
In one sentence: an instance points at an agent, an agent points at a model, a model names a company → that picks the provider; a chat on the instance runs the agent’s scenario, calling its allowed tools.
Key features
Connect a provider, design agents, wire tools, deploy instances and watch the cost.
Switch on Claude or Gemini with an API key — a common key or one per platform.
A behaviour is an ordered, multi-step scenario plus an allow-list of tools.
Agents call built-in PHP functions or external MCP servers.
A named deployment of an agent under a stable id every UI references.
Queries and tokens per instance, so you see what’s used and what costs most.
A Main Chat Assistant in the header, plus an inspector for connected MCP servers.
See it in action
Track every AI feature’s queries, tokens and cost from one dashboard.

The usage dashboard charts queries and tokens per instance over time — spot which AI features are used and which burn the most tokens.
For developers
Runs on Melis AI Engine; add a provider by extending its model service.
Stored in the melis_ai_* tables; instances reference agents by a stable id.
Tools are MCP-served or built-in; the runtime dispatches them and loops until done.
// An instance → agent → model → company picks the provider. // A chat turn runs the agent's scenario, dispatching its // allowed tools (MCP or local) and looping until done, // logging usage to melis_ai_daily_usage.
Part of the AI layer
Melis AI orchestrates the engine and providers — here’s the wider ecosystem.
See Melis AI agents and usage in a live demo.