You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bayesian-Agent is a standalone Bayesian self-evolving agent framework for turning agent failures into reusable, evidence-weighted Skills and SOPs.
13
+
Bayesian-Agent is a Bayesian self-evolving layer for turning agent failures into reusable, evidence-weighted Skills and SOPs across agent frameworks and execution harnesses.
14
+
15
+
It is designed to stand out from monolithic agent frameworks in three ways:
16
+
17
+
-**Run from scratch**: start with no prior traces and evolve Skills during full benchmark or production runs.
18
+
-**Repair incrementally**: attach to an existing agent, read its failed trajectories, and rerun only the tasks that need repair.
19
+
-**Adapt across harnesses**: integrate with GenericAgent today, and with other agent frameworks through a portable trajectory schema and adapter boundary.
14
20
15
21
> v0.4 is the first standalone release. It includes the core Bayesian Skill Evolution package, schemas, CLI utilities, experiment artifacts, and a clean GenericAgent integration boundary. GenericAgent itself is not copied, vendored, or forked.
16
22
17
23
## 📅 News
18
24
19
-
-**2026-05-09:** Released Bayesian-Agent v0.4 as a standalone package with core Bayesian Skill Evolution primitives, schemas, CLI utilities, and experiment artifacts.
25
+
-**2026-05-09:** Released Bayesian-Agent v0.4 as a standalone cross-harness Bayesian Skill Evolution package with schemas, CLI utilities, and experiment artifacts.
20
26
-**2026-05-09:** Added the optional GenericAgent adapter boundary without copying or vendoring GenericAgent.
21
27
-**2026-05-09:** Published bilingual project documentation and the Bayesian-Agent framework diagram.
22
28
@@ -38,12 +44,12 @@ In that setting, **Skills** and **SOPs** become first-class engineering assets.
38
44
- which failure modes to avoid
39
45
- when to stop, retry, or rewrite the procedure
40
46
41
-
Bayesian-Agent asks a simple question: if Skills are hypotheses about how to solve tasks, why should they evolve by anecdote instead of evidence?
47
+
Bayesian-Agent asks a simple question: if Skills are hypotheses about how to solve tasks, why should they evolve by anecdote instead of evidence? The answer is a framework-agnostic evolution layer that can bootstrap Skills from scratch, repair existing agents incrementally, and move across harnesses as long as they emit verified trajectories.
@@ -215,6 +222,16 @@ Base Agent -> Failure Traces -> Bayesian Skill Evolution -> Rerun Failures -> Hi
215
222
216
223
This is the recommended production path because it improves an existing agent without retraining the model or replacing the original harness.
217
224
225
+
### 🔌 Cross-Harness Adaptation Mode
226
+
227
+
Bayesian-Agent is not tied to a single agent runtime. Any agent framework can become a backend if it emits the common trajectory schema and accepts posterior-weighted Skill context through an adapter.
228
+
229
+
```text
230
+
Any Agent Harness -> Trajectory Schema -> Bayesian Skill Registry -> Adapter -> Next Harness Run
231
+
```
232
+
233
+
This makes Bayesian-Agent a portable Skill/SOP evolution layer rather than another closed agent framework.
234
+
218
235
## 📊 Experimental Results
219
236
220
237
The v0.4 prototype was validated with GenericAgent and `deepseek-v4-flash` on SOP-Bench and Lifelong AgentBench.
@@ -247,13 +264,13 @@ In incremental mode, Bayesian-Agent only reran failed GenericAgent tasks:
The result shows that Bayesian-Agent can work as a plug-in repair layer: it can take an existing agent below 100% accuracy and improve it with a small amount of incremental inference.
267
+
The result shows that Bayesian-Agent can work as a plug-in repair layer: it can take an existing agent below 100% accuracy and improve it with a small amount of incremental inference. This is the practical advantage over one-off benchmark agents: Bayesian-Agent can sit beside a harness, learn from its failures, and improve it without replacing it.
251
268
252
269
Experiment artifacts are stored under [`artifacts/`](artifacts/), and the method note is in [`docs/method.md`](docs/method.md).
253
270
254
-
## 🔌 Relationship to GenericAgent
271
+
## 🔌 GenericAgent and Cross-Harness Adaptation
255
272
256
-
The first prototype was validated inside GenericAgent, but Bayesian-Agent is not a GenericAgent fork.
273
+
The first prototype was validated inside GenericAgent, but Bayesian-Agent is not a GenericAgent fork and not just a GenericAgent add-on.
257
274
258
275
The open-source structure is:
259
276
@@ -263,7 +280,9 @@ The open-source structure is:
263
280
-`schemas/`: portable trajectory and Skill belief schemas
264
281
-`artifacts/`: reproducible benchmark result files
265
282
266
-
GenericAgent remains an optional backend. Users can integrate Bayesian-Agent with their own agent harness by emitting the common trajectory schema.
283
+
GenericAgent remains the current experimental backend. Users can integrate Bayesian-Agent with their own agent harness by emitting the common trajectory schema and implementing the adapter boundary.
284
+
285
+
The long-term direction is to make Bayesian-Agent the Bayesian Skill/SOP evolution layer for many agent runtimes: GenericAgent, our own upcoming Agent harness, and other external frameworks.
267
286
268
287
MinimalAgent adapter support is intentionally not included in v0.4.
269
288
@@ -293,6 +312,7 @@ tests/ # Standard-library unittest suite
293
312
-[ ] Add executable benchmark runners for external checkouts.
294
313
-[ ] Add richer rewrite policies and adapter examples.
295
314
-[ ] Add adapters for more agent harnesses after the GenericAgent boundary stabilizes.
315
+
-[ ] Release our own Agent harness for Bayesian-Agent; current experiments use GenericAgent as the backend harness.
296
316
297
317
298
318
## 📈 Star History
@@ -305,7 +325,7 @@ If you use Bayesian-Agent in your research or projects, please cite it as:
305
325
306
326
```bibtex
307
327
@software{bayesian_agent_2026,
308
-
title = {Bayesian-Agent: Bayesian Self-Evolving Agent Framework},
328
+
title = {Bayesian-Agent: A Bayesian Self-Evolving Agent Framework with Cross-Harness Adaptation},
Copy file name to clipboardExpand all lines: docs/adapters.md
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,20 @@
1
1
# Adapters
2
2
3
-
Bayesian-Agent is designed to integrate with external agent harnesses without copying their code.
3
+
Bayesian-Agent is designed to integrate with external agent harnesses without copying their code. This is one of the main reasons the project is not just another agent framework: the Bayesian layer can improve whichever harness emits verified trajectories.
4
+
5
+
## Adaptation Advantage
6
+
7
+
Bayesian-Agent separates Skill evolution from task execution:
- run a full benchmark from scratch with Bayesian Skill evolution enabled
16
+
- repair only the failed tasks from an existing agent run
17
+
- reuse the same Skill belief registry across compatible harnesses
4
18
5
19
## Adapter Contract
6
20
@@ -50,6 +64,10 @@ External systems should emit:
50
64
51
65
Bayesian-Agent can then update beliefs and render the next Skill context.
52
66
67
+
## Planned Bayesian-Agent Harness
68
+
69
+
Current experiments use GenericAgent as the backend harness. A dedicated Bayesian-Agent harness is planned so users can run the full loop without depending on GenericAgent, while still keeping GenericAgent and other frameworks as optional backends.
70
+
53
71
## MinimalAgent Status
54
72
55
73
MinimalAgent adapter support is intentionally not included in v0.4.
@@ -58,4 +76,5 @@ The recommended path is:
58
76
59
77
1. stabilize the GenericAgent boundary
60
78
2. keep the core trace schema portable
61
-
3. add more adapters only after the adapter contract has enough real usage
79
+
3. upload the dedicated Bayesian-Agent harness
80
+
4. add more adapters only after the adapter contract has enough real usage
0 commit comments