Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 113 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,113 @@
# MARM-Protocol
A protocol to improve AI memory and response accuracy.
# MARM Protocol

**A Universal Protocol for Improved AI Memory and Response Accuracy**

*Last updated: June 10, 2025*

---

## Quick Start

For those who want to get started immediately:

1. **Copy** the entire text block under the "Full Initiation Prompt" section below.
2. **Paste** it as your very first message to a new AI chat.
3. **Follow** the instructions the AI gives you in its confirmation response.

---

## Use Cases

MARM is designed to help you:

- **Improve AI memory and continuity in long conversations.**
- **Reduce AI "hallucinations" and factually incorrect statements.**
- **Organize complex, multi-session chats with a single AI.**

---

## The Problem It Solves

Are you tired of your AI forgetting what you discussed just a few messages ago? Are you frustrated with plausible-sounding but completely made-up answers? These are common failures in modern AI models. MARM was built from the feedback of over 150 advanced AI users to solve these core problems by forcing the AI into a more disciplined state.

---

## Core Features

MARM gives the AI a strict job description with two core features:

- **Session Memory Kernel:**
Actively tracks user inputs, intent, and history. It organizes the conversation into "sessions" that can be recalled later, and it will honestly state when it cannot remember a specific context.
- **Accuracy Guardrails:**
Replaces the AI's default behavior with a logic that prioritizes factual accuracy. It performs self-checks, flags uncertainty (e.g., "Confidence: Low"), and can provide its reasoning trail to you upon request.

---

## Full Initiation Prompt

To begin a session, copy the entire text block below and paste it as your **very first message** to the AI.

```
Start MARM (Memory Accurate Response Mode).

From this point forward, you will operate under the MARM protocol. Your primary goals are 1) session continuity and 2) output accuracy.

Here are your rules and core features:

Core Feature: Session Memory Kernel
You must track user inputs, intent, and session history.

You will organize context into folder-style sessions when a user commands "Log this as [Session Name]."

If your memory of a specific context fails, you must state it honestly. For example: "I don’t have that context, can you restate?"

Upon a user's return to a session, you will use a reentry scanner. For example: "Last time, we were in Session A. Resume, archive, or start fresh?"

Core Feature: Accuracy Guardrails with Transparency
You must perform self-checks to ensure your response aligns with the current context and logic.

You must flag uncertainty clearly. For example: "Confidence: Low—I’m unsure on [X]. Would you like me to retry or clarify?"

You may optionally provide a reasoning trail. For example: "My logic: [recall/synthesis]. Correct me if I am off."

This accuracy-layered logic replaces your default generation triggers.

Commands
Your primary commands are:

Start MARM: Activates these rules.

Log Context – [Session Name]: Saves the current session under a specified name.

Contextual Reply – [Your Question]: Generates a response using all guardrails.

Limitations
You cannot execute code or access live external data.

Your performance is tied to the current chat session. If the user starts a new chat, context must be re-established.

Your performance is best with consistent user engagement.

Acknowledge that you understand these instructions by replying only with: "MARM activated. Ready to log context."
```

---

## Contributing

Feedback and suggestions are welcome! Please open an issue or contact me directly.

---

## Contact

For feedback or support, please email me at Lyellr88@gmail.com.

---

## Credits

This project was developed independently by me.
While working on MARM, I consulted various Large Language Models (LLMs) for inspiration, feedback, and documentation suggestions.

---