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
Copy file name to clipboardExpand all lines: docs/adapters.md
+37-7Lines changed: 37 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
# Adapters
2
2
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.
3
+
Bayesian-Agent now has a first-party native harness, and it still integrates with external agent harnesses without copying their code. This is one of the main reasons the project is not just another monolithic framework: the Bayesian layer can improve whichever harness emits verified trajectories.
4
4
5
5
## Adaptation Advantage
6
6
7
7
Bayesian-Agent separates Skill evolution from task execution:
The harness layer is intentionally simple and efficient. Most capability improvement is meant to come from Bayesian Skill/SOP evolution, where verified trajectories update reusable procedures instead of hiding behavior inside a large runtime.
40
+
19
41
## Adapter Contract
20
42
21
43
An external harness should satisfy the `AgentAdapter` protocol:
@@ -71,17 +93,25 @@ External systems should emit:
71
93
72
94
Bayesian-Agent can then update beliefs, keep posterior audit artifacts, and render the next model-facing Skill/SOP text.
73
95
74
-
## Planned Bayesian-Agent Harness
96
+
## Optional Compatibility Backends
97
+
98
+
External harnesses remain useful for comparison and transfer. Current optional backend names are:
99
+
100
+
```bash
101
+
--harness genericagent
102
+
--harness mini-swe-agent
103
+
--harness claude-code
104
+
```
75
105
76
-
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.
106
+
Each backend should emit enough trajectory evidence for Bayesian-Agent to update Skill beliefs: task identity, outcome, failure mode, token usage, tool/runtime metadata, and artifacts.
77
107
78
108
## MinimalAgent Status
79
109
80
-
MinimalAgent adapter support is intentionally not included in v0.4.
110
+
MinimalAgent adapter support is intentionally not included in v0.5.
81
111
82
112
The recommended path is:
83
113
84
-
1.stabilize the GenericAgent boundary
114
+
1.keep the native harness small and inspectable
85
115
2. keep the core trace schema portable
86
-
3.upload the dedicated Bayesian-Agent harness
116
+
3.use GA, mini-swe-agent, and Claude Code as compatibility backends
87
117
4. add more adapters only after the adapter contract has enough real usage
Copy file name to clipboardExpand all lines: docs/architecture.md
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Architecture
2
2
3
-
Bayesian-Agent is intentionally small. The framework core is independent from any specific agent harness, so the same Bayesian Skill/SOP evolution loop can support full runs, incremental repair, and cross-harness adaptation.
3
+
Bayesian-Agent is intentionally small. The framework core is independent from any specific external agent harness, so the same Bayesian Skill/SOP evolution loop can support first-party native runs, GenericAgent-backed runs, incremental repair, and cross-harness adaptation.
`bayesian_agent.core` is framework-agnostic. It knows nothing about GenericAgent, benchmark runners, browser tools, or model APIs.
55
65
56
-
`bayesian_agent.adapters` defines how external harnesses can connect. The GenericAgent adapter in v0.4 is intentionally a boundary placeholder, not a vendored copy of GenericAgent.
66
+
`bayesian_agent.harness` contains the first-party native harness. It runs the OpenAI-compatible LLM loop, dispatches workspace tools, captures trajectories, and bridges into the three-layer memory system.
67
+
68
+
`bayesian_agent.adapters` defines how external harnesses can connect. GenericAgent, mini-swe-agent, and Claude Code are optional compatibility backends, not vendored runtimes.
57
69
58
70
This separation is what prevents Bayesian-Agent from being swallowed by the agent framework category. It is a reusable Bayesian evolution layer that can sit beside multiple harnesses rather than competing with all of them as another monolithic runtime.
59
71
60
72
`schemas/` defines portable JSON shapes for trajectories and Skill beliefs.
61
73
62
-
`artifacts/` contains result files from the initial GenericAgent validation. GenericAgent is the current experimental harness; a dedicated Bayesian-Agent harness is planned.
74
+
`artifacts/` contains result files from the initial GenericAgent validation. `results/native_harness_deepseek_v4_flash_full/` and `results/native_harness_deepseek_v4_pro_full/` contain local full-sample results from the first-party native harness.
0 commit comments