agents

Instructions for creating and inspecting Mendix AI agent documents, which define AI models, knowledge sources, connected tool services, and agents that coordinate them. Mendix is a platform for building business software with visual models.

In plain words
What is it for?
Use it to add GenAI models, knowledge bases, tool connections, or agents, or to list and describe those documents.
Why use it?
It provides a structured way to add AI features and understand the configuration of existing agents in a Mendix app.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mendixlabs/mxcli/agents
Any agent
npx skills add mendixlabs/mxcli --skill agents
Clone the repo
git clone --depth 1 https://github.com/mendixlabs/mxcli

Made for: Claude Code, Codex.

Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00074 $0.02041
Opus 5 $0.00037 $0.01020
Sonnet 5 $0.00015 $0.00408
Haiku 4.5 $0.00007 $0.00204

Measured yesterday against content hash bb84b55197db, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agents scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/mendix/agents/SKILL.md · 228 lines

How it starts

The opening of the file, as written. The whole thing — 228 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agents

Overview

Four AI agent document types stored as JSON inside Mendix MPR files:

Type CREATE keyword Notes
Model create model GenAI model configuration; required by Agent
Knowledge Base create knowledge base KB source; referenced by Agent body
Consumed MCP Service create consumed mcp service MCP tool server; referenced by Agent body
Agent create agent Orchestrates model + tools + prompts

Requires: Mendix 11.9+ and the full agent-editor marketplace stack (7 modules) — AgentEditorCommons depends transitively on the other six, so all must be installed:

Module Role
GenAICommons Core AI types (Request/Response, DeployedModel, Tool, KnowledgeBase)
MxGenAIConnector Mendix Cloud AI backend, model config, embeddings
AgentCommons Agent management (versioned agents, tools, KBs, MCP)
AgentEditorCommons Bridge to the Studio Pro Agent Editor extension
MCPClient MCP server connections, tool discovery/execution
ConversationalUI Chat widgets, tool-approval UI, trace monitoring
Encryption Provides the 32-char key models/KBs reference

Install them with mxcli marketplace install <id> -p app.mpr (or via Studio Pro). Also register ASU_AgentEditor as an after-startup microflow.

Syntax

Model

create model Module.MyModel (
  Provider: MxCloudGenAI,   -- default, can omit
  key: Module.ApiKeyConst   -- must be a String constant
);

Provider is free-form, and nothing validates it. MDL passes the value straight through; MxCloudGenAI is only the default applied when you omit the property, not the only accepted value. Provider: OpenAI parses, writes, and round-trips through describe model — as does Provider: TotallyMadeUp.

That means a typo is caught by nothing in the headless path. Agent Editor documents are stored as custom blobs, and mxbuild contains no agent-editor strings at all, so mx check and the build both stay green and the fault surfaces only when Studio Pro opens the document.

Read the full file on GitHub · 228 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 228 lines · 74 tokens per session scan A bb84b55197db

Subscribe to this mod's changes

agents is a skill published in the GitHub repository mendixlabs/mxcli (115 stars, last pushed 2d ago), licensed Apache-2.0. It adds 74 tokens to every session and 2,041 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.