Mstar
Description
mstar: Optimizing memory architecture for every LLM task as executable Python code.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
M★: Every Task Deserves Its Own Memory Harness
**Automatically discovering a task-optimized memory harness for each LLM task via reflective code evolution.**
[Wenbo Pan](https://www.wenbo.io) et al.
[](https://mstar.wenbo.io) [](https://www.python.org/downloads/) [](LICENSE) [](#quick-start) [](https://arxiv.org/abs/2604.11811)
LLM agents need memory to store what they have seen and retrieve it when needed. Everyone hand-designs these systems: pick a vector store, write some retrieval logic, tune the prompts, ship it. This project automates the design process. You provide a benchmark; it evolves a task-specific memory system as executable Python code. The memory it discovers for conversational QA looks nothing like what it discovers for a household robot. Both emerge from the same three simple seeds.
The idea
A memory system is expressed as a *memory program* — a Python module with three jointly-optimized dimensions: Schema (dataclasses defining what to store and how to query), Logic (`write()`/`read()` backend), and Instruction (prompt constants that steer the task agent). In the code, this is the `KBProgram` (defining `KnowledgeItem`, `Query`, and `KnowledgeBase`); in the paper it is called the *memory program* or *memory harness* — they are the same thing. The evolution loop starts from 3 seeds, evaluates programs on a benchmark (scoring against a static validation set and using a rotating set for
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI