DSH Plugins Marketplace

DSH Plugins

Plugins

/

Memory & Context

/

Proteus

P

Proteus

Identified★ 111

Self-evolution for any agent harness. Plug in. Evolve. Measure.

Proteus logo

Harness-agnostic agent self-improvement.

Bring your harness. Compose the method. Evaluate and visualize the evolution.

CI release smoke MIT License Python 3.10+ Source version 1.0.0

Agent Skills • Quick Start • Harnesses • Methods & Composition • Evaluators • Visualization • Experiments • Technical Report • Docs


Proteus is a modular framework for building and studying self-improving agents. Optimize prompts, memory, skills or harness source code while keeping the optimization method, agent runtime and evaluation protocol independently configurable.

Technical report (PDF): Proteus: A Modular Framework for Agent Self-Improvement.

  • Harness-agnostic: use Pi, DeepSeek Harness, Codex, an HTTP model adapter, or your own integration in supported roles. The agent proposing changes and the agent executing the candidate can use different harnesses and models.
  • Composable methods: reuse stages, search policies, parallel aggregation and worker infrastructure. Included combinations span Combee + ACE, Combee + GEPA, and explicit self-evaluation stages.
  • Flexible evaluation: combine task verifiers, model judges, visible feedback, hidden tests and agent self-assessment, with explicit control over which evidence can guide the next update.
  • Visual evolution: replay Native sweeps, compare trajectories, inspect candidate changes and evaluator scores, and export recipe results for further analysis.

The quick start installs Proteus 1.0 from main. See the release notes for the version scope and GitHub releases for published versions.

Watch a Native evolution replay.
Explore the interactive demo →

https://github.com/user-attachments/assets/63311c1e-1ad9-4821-81b4-044cf5bf4650

Use Proteus with your agent

Give your coding agent the goal; let it configure the harnesses, method and evaluators, run the experiment, then explain the evidence. Proteus includes two companion Agent Skills in this repository:

SkillUse it to
proteus-useChoose or compose a method, bind harness roles, configure evaluation, run/resume experiments, export results and visualize Native sweeps
proteus-contributeExtend methods, stages, harnesses, evaluators and other framework components through the public contracts; validate and prepare a contribution

The contribution skill is optional guidance, not a requirement for submitting a PR. Both skills use SKILL.md instructions, with optional Codex display metadata; the workflows are not tied to Codex as the experiment's harness.

Install and invoke a skill

In Codex, ask the built-in skill installer to install the usage skill from main:

$skill-installer install the skill at skills/proteus-use from
proteus-evolve/Proteus, ref main.

For framework development, install skills/proteus-contribute the same way. After installation, select the skill or invoke it by name. See the Codex skill documentation for local discovery and installation behavior.

With another agent, copy the selected skill folder into that agent's supported skills directory. An agent that can read files and run shell commands can also read skills/proteus-use/SKILL.md directly from a Proteus checkout. The skills are distributed through Git, separately from the Python wheel; use the same tag or commit as your Proteus checkout. Install the Python package using the quick start below, or ask your agent to do so.

Try this first:

Use $proteus-use to set up Proteus and run its offline candidate-comparison
example. Check recovery, export the results, then create a small Native demo
and open the visualization. Use no API calls or Docker.

For an experiment with your own agent:

Use $proteus-use to improve my harness on the attached tasks. Compare Native
self-evolution with a compatible method using a separate coding proposer.
Keep the same visible/hidden split and external evaluator, explain which
combinations are supported, and prepare a minimal pilot for each. Show me
the exact recipes and resource estimates before starting paid runs.

For a contribution:

Use $proteus-contribute to add a typed self-evaluation stage as an external
plugin. Demonstrate that a later stage consumes its output, keep the external
task score separate, and run the scaffold's offline checks.

Recipe quick start

Install Proteus 1.0 from main with Python 3.10 or newer:

git clone --branch main https://github.com/proteus-evolve/Proteus.git
cd Proteus
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e .
proteus recipe catalog

Run an offline candidate-comparison recipe. It needs no API key or Docker:

PROTEUS_EXAMPLE="$(mktemp -d)/comparison"
proteus recipe example candidate-comparison --out "$PROTEUS_EXAMPLE"
proteus recipe check "$PROTEUS_EXAMPLE/recipe.json"
proteus recipe lock "$PROTEUS_EXAMPLE/recipe.json" \
    --source "proteus=$PWD" --out "$PROTEUS_EXAMPLE/lock.json"
proteus recipe run "$PROTEUS_EXAMPLE/recipe.json" \
    --lock "$PROTEUS_EXAMPLE/lock.json" \
    --artifact-store "$PROTEUS_EXAMPLE/artifact-store" --out "$PROTEUS_EXAMPLE/run"
proteus recipe resume "$PROTEUS_EXAMPLE/recipe.json" \
    --lock "$PROTEUS_EXAMPLE/lock.json" --out "$PROTEUS_EXAMPLE/run"
proteus recipe export "$PROTEUS_EXAMPLE/run" --out "$PROTEUS_EXAMPLE/export"

This creates two immutable, fixed candidates, evaluates each and exports report.json plus eight CSV tables. The completed resume reuses settled work. Private test scores require an owner-side export with --include-private. This offline fixture demonstrates the pipeline; it is not a model improvement result. The separate search-policy example demonstrates candidate selection. See the catalog for method examples and benchmark preparation instructions.

To try the interactive viewer, generate a small Native sweep in the same environment:

PROTEUS_NATIVE="$(mktemp -d)/native-demo"
proteus run --harness minimal --arm neutral --arm review:notes \
    --episodes 8 --seeds 2 --evaluator tool-calls@observe \
    --eval-initial tool-calls --out "$PROTEUS_NATIVE"
proteus visualize --out "$PROTEUS_NATIVE"
# Open http://127.0.0.1:8301

The minimal harness is a deterministic offline policy. Its snapshots, evaluator records and visualized trajectories are real outputs of that fixture.

Harness-agnostic by design

A method defines how to improve. A harness supplies how an agent runs. A candidate is what changes: text components, a playbook, memory or source files. The subject runner executes that candidate on a task; the evaluator grades its output.

flowchart LR
    M["Method + reusable stages"] --> O["Optimizer / coding harness"]
    O --> C["Candidate<br/>prompts · memory · code"]
    C --> S["Subject harness<br/>runs the task"]
    S --> E["External evaluation"]
    E -->|Permitted feedback| M
    C --> R["Evidence + reports"]
    E -->|Recorded outcomes| R

Bind optimizer, subject and model-grader roles separately in a recipe. Native self-evolution can use the same harness integration to propose changes and run the evolving candidate. Another setup can use a coding harness to modify a candidate that a different subject executes.

IntegrationAvailable useSetup
PiAgent/coding roles and staged source evolutionPrepared Docker image + model credentials
DeepSeek HarnessAgent/coding roles and staged source evolutionPrepared Docker image + model credentials
CodexAgent/coding roles and staged source evolutionPinned Rust Docker image + Codex authentication
llmHTTP model actor, candidate execution and file evolutionCompatible model endpoint + credentials
minimalOffline Native demo and fixture actorNo API key or Docker
Your harnessRoles advertised by your adapter and integrationRegister an integration

Registration declares roles and capabilities once; methods use those contracts rather than a separate implementation for every harness pair. Candidate formats and method protocols still have to match. The role and evidence matrix documents supported combinations and 16 bounded live pilot cells; it is not a claim that every method × harness × role combination has been tested.

For source evolution, all phases execute the last-valid harness while editing a separate candidate. Proteus validates the candidate before activating it in the next episode, retaining a failed candidate for repair. See the Native evolution profile and adapter guide. The existing Native CLI, including the Aki research adapter, remains available through its compatibility path.

Method families

Proteus includes the following method profiles and their original-domain recipes. Each profile records the upstream source and its supported options.

MethodWhat it providesRecipe / implementationOriginal work
GEPAReflective evolution of text components and candidate selectionAIME · methodPaper · Code
ACEPlaybook updates through generator, reflector and curator roles; offline and online learningFormula · methodPaper · Code
Meta-HarnessCandidate-code proposals, historical evidence retrieval and memory learningMCE · methodPaper · Code
CombeeParallel learning and aggregation for ACE and GEPA, with fixed or dynamic batchesFormula · ACE / GEPAPaper · Code
CORALPersistent research workers, shared knowledge, formal submissions and event-driven interventionsCircle packing · methodPaper · Code
NativeHarness self-evolution with candidate validation and next-episode activationShared external evaluation · episode protocolNative Pi experiment and software credit

Compose the experiment

Composition is about reusing mechanisms as well as choosing a named method:

  • ACE + Combee: learn from samples in parallel, then aggregate their updates into a shared playbook. Compare sequential, naive parallel, fixed-batch and dynamic-batch settings in the Formula recipes.
  • GEPA + Combee: reuse parallel proposal aggregation within the GEPA profile; configure its batch policy and evaluation through the Combee–GEPA integration.
  • Proposal + self-evaluation: connect a typed proposal stage to a self-evaluator and specify how later stages consume its assessment. The offline stage example demonstrates the wiring; plugin templates show how to implement it.
  • Search-policy ablations: swap a supported parent, archive or final-selection policy while keeping candidates and evaluation fixed. The runnable selector example changes the selected candidate through configuration alone.

Methods retain their own control flow. Adding a stage does not silently change every algorithm: a composing method must invoke it. New update rules and loops use the versioned plugin API, with shared artifact, evaluation, budget and recovery services.

Evaluation as part of the experiment

Choose the evaluator independently of the optimization method and subject harness. Proteus supports deterministic task scoring, benchmark verifiers, private Harbor/Docker graders, managed model judges and custom evaluator plugins.

Evaluation rolePurposeHow the evidence is used
Visible external evaluationMeasure the candidate against declared tasksRelease permitted scores, feedback or traces to guide later updates
Hidden external evaluationAudit generalization on held-out tasksKeep private grades outside optimizer/subject feedback; owner-side reporting is explicit
Self-evaluation stageLet the agent assess its own proposal or candidateProduce separate stage evidence that the method can consume
Structural and behavioral measurementsTrack what changed in the candidate or action trajectoryDescribe evolution alongside task scores

An agent's self-assessment does not become the external benchmark score. Recipes bind task splits, evaluator identities and evidence permissions; model grading can use its own harness/model role and usage accounting. Native episodes also support H0 evaluation, cadence and explicit checkpoints, with visibility, selection eligibility and scheduling configured independently.

Start with benchmark and evaluator controls, independent model grading, or the custom evaluator template. Native additionally supports goal-free, single-goal and multi-goal conditions through GoalConfig.

Visualize the evolution

Proteus Visualize is a local workspace for inspecting Native sweeps as they run or replaying completed experiments. It ships with the Python package and opens without a frontend build or model call:

proteus visualize --out /path/to/native-sweep
  • Evolution: replay trajectories, compare recorded runs, and switch between evaluator scores, structural displacement and tool-frequency divergence.
  • Measurements: inspect surface changes, path length and behavioral distances; compare matched seeds when the measurement requirements are satisfied.
  • Configuration: inspect recorded goals, harness/model settings, budgets, phases and evaluator visibility; compose a new Native run configuration.
  • Snapshots: inspect valid checkpoints and proposed candidates, including rejected edits, without confusing a proposed change with an activated one.

The viewer is read-only by default. Run launching is an explicit opt-in, and hidden scores are available to the local owner without feeding them back to the agent. See the viewer guide for configuration and export controls.

For general method recipes, use JSON/CSV export and study comparisons to analyze task scores, candidate lineage, role/stage usage, failures and measured timing. Supported candidate formats also provide artifact and lineage measurements. The interactive sweep viewer and recipe exports are distinct interfaces today.

Reproducible runs and inspectable evidence

Recipes bind method options, actors, tasks, evaluators, budgets and source/dependency locks. Candidates and evidence retain immutable identities; completed managed work can be recovered without repeating it. Uncertain external calls require reconciliation. Local and Harbor/Docker backends have explicitly declared execution boundaries.

Saved records distinguish baseline, selected and last candidates, retain failures, and leave unavailable scores, costs or timing unknown. Native source histories can also be exported as Git repositories with proteus repo export. These records let you inspect both the task result and the changes that produced it.

The frozen experiment recipes contain launchers, reproduction instructions and results for 15 historical profiles: 14 adapted method studies and one Native mechanism study, across 16 recipes. They are separate from current integration pilots and generic benchmark builders. Adapted results do not imply matched paper reproduction, multi-seed significance or gains for every combination. Exact upstream pins and deviations are in method references.

Documentation

Start hereExtend or investigate
Agent usage skillOptional contribution skill
Architecture and method coveragePublic API and plugin templates
Recipe catalogHarness roles and adapters
Evaluators and benchmarksSearch policies
Visualize runsArtifact measurements
Result export and study comparisonRecovery and accounting
Native episodesPrepared environments
Experiment recipes and resultsAcceptance evidence

CI covers Python 3.10–3.14, installed wheel/sdist examples and pinned reference contracts. Harbor runs real Docker integration checks; the complete live smoke covers minimal, HTTP LLM, Pi, DSH and Codex. The release procedure keeps preparation, integration and final tag checks separate.

Contributing and citation

Add a method, stage, evaluator, subject, policy or harness integration through the extension templates. See CONTRIBUTING.md for setup and contribution guidelines. An agent can follow the optional proteus-contribute skill to choose an extension point, preserve framework contracts and validate the change.

Cite Proteus using CITATION.cff, and cite the original papers and software for the methods you use. Method references include official repositories, source pins and licenses; references.bib provides BibTeX entries.

License

MIT. Upstream software and datasets retain their own licenses and attribution.

Comments

Loading…

From the same category

hindsight

Hindsight, agent memory that learns: long-term project memory with auto recall and retain, knowledge pages, deep reflection, and per-repo memory banks.

Memory & Context

★ 53.1k

MIT

Python

Index only — not installable

by volcengine

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

Memory & ContextManifest valid

★ 33.1k

↓ 12.7k/wk

AGPL-3.0

Python

Aug 25, 2026

dsh plugin --profile agent add @openviking/dsh-memory-plugin

by Tencent

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

Memory & ContextManifest valid

★ 20.6k

↓ 3.5k/wk

NOASSERTION

Go

Aug 25, 2026

dsh plugin --profile web add @wxg-prc-cpg/dsh-weknora

by EverMind-AI

One portable memory layer for every AI agent: local-first, Markdown-native, user-owned, and self-evolving across apps, tools, and workflows.

Memory & Context

★ 13.8k

Apache-2.0

Python

Nov 6, 2026

Index only — not installable

by MemTensor

Self-evolving memory OS for LLM & AI Agents: ultra-persistent memory, hybrid-retrieval, and cross-task skill reuse, with 35.24% token savings and DeepSeek Harness support.

Memory & ContextManifest valid

★ 11k

↓ 3.1k/wk

Apache-2.0

TypeScript

Aug 25, 2026

dsh plugin --profile web add @memtensor/memos-local-plugin

by plastic-labs

Memory library for building stateful agents

Memory & Context

★ 8k

AGPL-3.0

Python

Nov 5, 2026

Index only — not installable