Mide-Lite (Gen 2) is an XML-native multi-agent framework designed for modern LLMs (Claude 3.5 Sonnet, GPT-4o).
It succeeds the Gen 1 implementation by shifting from rigid Markdown templates to reasoning-first XML definitions.
/
├── AGENTS.md # Entry point: thin router to all framework components
├── README.md
├── src/
│ ├── system_prompt.xml # Kernel: reasoning process, memory protocol
│ ├── memory.xml # Project state
│ ├── agents/ # Agent personas (XML). Read directly for roles/capabilities.
│ ├── workflows/ # Workflow definitions. See index.xml for catalog.
│ ├── rules/ # Coding standards. See base_rules.md for rules index.
│ ├── contracts/ # Artifact schema + content conventions
│ └── artifacts/ # Temporal outputs (gitignored)
- Add this directory to your Cursor/LLM workspace.
- Start a chat. The framework loads via
AGENTS.md→src/system_prompt.xml. - Engage an agent or workflow:
Act as the Architect agent. Design a REST API for user authentication
with JWT tokens. Consider security boundaries and data flow.
Act as the Builder agent. Implement the login endpoint based on the
design above. Follow the rules in src/rules/typescript.md.
Act as the Critic agent with a security focus. Review the authentication
implementation for OWASP vulnerabilities.
Act as the Supervisor agent. Run the "feature-dev" workflow to add
a password reset feature to the user service.
Supervisor: Execute the "bug-fix" workflow on src/auth/login.ts -
users are getting 401 errors on valid credentials.
Supervisor: Run "parallel-review" on the payment processing module.
- Framework entry point:
AGENTS.md(routes to all components) - Workflow catalog:
src/workflows/index.xml - Agent definitions:
src/agents/*.xml - Coding rules index:
src/rules/base_rules.md - Artifact contracts:
src/contracts/Artifact.schema.json+src/contracts/content_conventions.xml
- Cognition-First: Agents must perform a
<reasoning>block to plan strategies before generating code. - XML-Native: Prompts are structured in XML to reduce "instruction bleeding" and improve adherence in modern models.
- Persistent Context:
src/memory.xmlallows agents to track state across multiple turns/sessions.