Skip to content

XML-native multi-agent framework for LLMs (Claude, GPT-4): reasoning-first kernel, workflows, agents, Cursor/AGENTS.md.

Notifications You must be signed in to change notification settings

scscodes/mide-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mide-Lite

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.

Project Structure

/
├── 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)

Quickstart

  1. Add this directory to your Cursor/LLM workspace.
  2. Start a chat. The framework loads via AGENTS.mdsrc/system_prompt.xml.
  3. Engage an agent or workflow:

Direct Agent Invocation

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.

Workflow-Based Orchestration

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.

Key References

  • 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

Key Features

  • 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.xml allows agents to track state across multiple turns/sessions.

About

XML-native multi-agent framework for LLMs (Claude, GPT-4): reasoning-first kernel, workflows, agents, Cursor/AGENTS.md.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •