@tangle-network/agent-knowledge 5.0.3 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +2 -2
- package/dist/benchmarks/index.js +1 -1
- package/dist/{chunk-LMR53POQ.js → chunk-46YPZHAX.js} +9 -3
- package/dist/chunk-46YPZHAX.js.map +1 -0
- package/dist/{chunk-EYIA5PLQ.js → chunk-PVCSESAF.js} +2 -2
- package/dist/{chunk-EYIA5PLQ.js.map → chunk-PVCSESAF.js.map} +1 -1
- package/dist/{index-Cf7txrYP.d.ts → index-C--N5wQV.d.ts} +8 -2
- package/dist/index.d.ts +3 -11
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/memory/index.d.ts +1 -1
- package/dist/memory/index.js +2 -2
- package/docs/results/investment-thesis.md +1 -1
- package/docs/results/research-driving.md +1 -1
- package/docs/{two-agent-research-ab.md → verified-research-ab.md} +2 -2
- package/package.json +3 -3
- package/dist/chunk-LMR53POQ.js.map +0 -1
package/dist/memory/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AgentMemoryActivation, b as AgentMemoryActivationDriver, c as AgentMemoryAttemptEvent, d as AgentMemoryBranch, e as AgentMemoryBranchLifetime, f as AgentMemoryBranchSnapshot, g as AgentMemoryDimensionComparison, h as AgentMemoryExecutionContext, i as AgentMemoryExecutionCostMeter, j as AgentMemoryExecutionCostReceipt, k as AgentMemoryExecutionPaidCallInput, l as AgentMemoryExecutionPaidCallResult, m as AgentMemoryExecutionStep, n as AgentMemoryExperimentCandidate, o as AgentMemoryExperimentRankingRow, p as AgentMemoryExperimentRunLease, q as AgentMemoryFinalEvaluation, r as AgentMemoryFinalPair, s as AgentMemoryHitSchema, t as AgentMemoryImprovementRunLease, u as AgentMemoryJournalEntry, v as AgentMemoryKindSchema, w as AgentMemoryLifecycleTimeoutError, x as AgentMemoryLifecycleUnsafeError, y as AgentMemoryPromotionDecision, z as AgentMemoryScopeSchema, B as AgentMemorySequence, C as AgentMemorySequenceArtifact, D as AgentMemorySequenceProbe, E as AgentMemorySequenceProbeResult, F as AgentMemorySequenceScenario, G as AgentMemorySequenceStep, H as AgentMemorySharingPolicy, I as AgentMemoryVisibility, J as AgentMemoryWriteInputSchema, K as BuildAgentMemorySequencesFromBenchmarkCasesOptions, L as CreateAgentMemoryBranchOptions, M as DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, N as ForkAgentMemoryBranchSnapshotOptions, O as GraphitiMcpClientLike, P as GraphitiMemoryAdapterOptions, Q as GraphitiToolNames, S as Mem0ClientLike, T as Mem0ClientMode, U as Mem0MemoryAdapterOptions, V as MemoryConfigScenario, W as Neo4jAgentMemoryAdapterOptions, X as RetrievalHoldoutOffPolicyOptions, Y as RetrievalHoldoutOffPolicyResult, Z as RetrievalHoldoutSessionSummary, _ as RunAgentMemoryExperimentOptions, $ as RunAgentMemoryExperimentResult, a0 as RunAgentMemoryImprovementOptions, a1 as RunAgentMemoryImprovementResult, a4 as agentMemorySequenceJudge, a5 as applyRetrievalHoldout, a6 as applySessionStickyRetrievalHoldout, a7 as buildAgentMemorySequenceScenarios, a8 as buildAgentMemorySequencesFromBenchmarkCases, a9 as createAgentMemoryBranch, aa as createGraphitiMemoryAdapter, ab as createMem0MemoryAdapter, ac as createMemoryExecutionPool, ad as createNeo4jAgentMemoryAdapter, ae as defaultGetMemoryContext, af as deterministicRng, ag as emitRetrievalHoldoutBypass, ah as forkAgentMemoryBranchSnapshot, ai as graphitiMemoryAdapterIdentity, al as mem0MemoryAdapterIdentity, am as memoryHitToSourceRecord, an as memoryRecoveryDelayMs, ao as memoryWriteResultToSourceRecord, ap as renderMemoryContext, aq as resetRetrievalHoldoutRegistry, ar as resolveMemoryCleanupTimeoutMs, as as retrievalHoldoutConfigHash, at as runAgentMemoryExperiment, au as runAgentMemoryImprovement, av as runBoundedMemoryLifecycle, ay as sleepForMemoryRecovery, az as toOffPolicyTrajectory } from '../index-
|
|
1
|
+
export { A as AgentMemoryActivation, b as AgentMemoryActivationDriver, c as AgentMemoryAttemptEvent, d as AgentMemoryBranch, e as AgentMemoryBranchLifetime, f as AgentMemoryBranchSnapshot, g as AgentMemoryDimensionComparison, h as AgentMemoryExecutionContext, i as AgentMemoryExecutionCostMeter, j as AgentMemoryExecutionCostReceipt, k as AgentMemoryExecutionPaidCallInput, l as AgentMemoryExecutionPaidCallResult, m as AgentMemoryExecutionStep, n as AgentMemoryExperimentCandidate, o as AgentMemoryExperimentRankingRow, p as AgentMemoryExperimentRunLease, q as AgentMemoryFinalEvaluation, r as AgentMemoryFinalPair, s as AgentMemoryHitSchema, t as AgentMemoryImprovementRunLease, u as AgentMemoryJournalEntry, v as AgentMemoryKindSchema, w as AgentMemoryLifecycleTimeoutError, x as AgentMemoryLifecycleUnsafeError, y as AgentMemoryPromotionDecision, z as AgentMemoryScopeSchema, B as AgentMemorySequence, C as AgentMemorySequenceArtifact, D as AgentMemorySequenceProbe, E as AgentMemorySequenceProbeResult, F as AgentMemorySequenceScenario, G as AgentMemorySequenceStep, H as AgentMemorySharingPolicy, I as AgentMemoryVisibility, J as AgentMemoryWriteInputSchema, K as BuildAgentMemorySequencesFromBenchmarkCasesOptions, L as CreateAgentMemoryBranchOptions, M as DEFAULT_MEMORY_CLEANUP_TIMEOUT_MS, N as ForkAgentMemoryBranchSnapshotOptions, O as GraphitiMcpClientLike, P as GraphitiMemoryAdapterOptions, Q as GraphitiToolNames, S as Mem0ClientLike, T as Mem0ClientMode, U as Mem0MemoryAdapterOptions, V as MemoryConfigScenario, W as Neo4jAgentMemoryAdapterOptions, X as RetrievalHoldoutOffPolicyOptions, Y as RetrievalHoldoutOffPolicyResult, Z as RetrievalHoldoutSessionSummary, _ as RunAgentMemoryExperimentOptions, $ as RunAgentMemoryExperimentResult, a0 as RunAgentMemoryImprovementOptions, a1 as RunAgentMemoryImprovementResult, a4 as agentMemorySequenceJudge, a5 as applyRetrievalHoldout, a6 as applySessionStickyRetrievalHoldout, a7 as buildAgentMemorySequenceScenarios, a8 as buildAgentMemorySequencesFromBenchmarkCases, a9 as createAgentMemoryBranch, aa as createGraphitiMemoryAdapter, ab as createMem0MemoryAdapter, ac as createMemoryExecutionPool, ad as createNeo4jAgentMemoryAdapter, ae as defaultGetMemoryContext, af as deterministicRng, ag as emitRetrievalHoldoutBypass, ah as forkAgentMemoryBranchSnapshot, ai as graphitiMemoryAdapterIdentity, al as mem0MemoryAdapterIdentity, am as memoryHitToSourceRecord, an as memoryRecoveryDelayMs, ao as memoryWriteResultToSourceRecord, ap as renderMemoryContext, aq as resetRetrievalHoldoutRegistry, ar as resolveMemoryCleanupTimeoutMs, as as retrievalHoldoutConfigHash, at as runAgentMemoryExperiment, au as runAgentMemoryImprovement, av as runBoundedMemoryLifecycle, ay as sleepForMemoryRecovery, az as toOffPolicyTrajectory } from '../index-C--N5wQV.js';
|
|
2
2
|
export { A as AgentMemoryAcquireRunLease, f as AgentMemoryAdapter, g as AgentMemoryBranchIsolation, h as AgentMemoryContext, i as AgentMemoryControllerMode, j as AgentMemoryHit, k as AgentMemoryKind, l as AgentMemoryRunLease, m as AgentMemoryScope, n as AgentMemorySearchOptions, o as AgentMemoryWriteInput, p as AgentMemoryWriteResult, U as OwnedAgentMemoryRunLease, Z as RetrievalHoldoutBypassReason, _ as RetrievalHoldoutCallContext, $ as RetrievalHoldoutConfig, a0 as RetrievalHoldoutEligibleItem, a1 as RetrievalHoldoutEvent, a2 as RetrievalHoldoutResult, a3 as RetrievalHoldoutSessionState, ac as acquireAgentMemoryRunLease } from '../types-BY-xLVw-.js';
|
|
3
3
|
import '@tangle-network/agent-eval/campaign';
|
|
4
4
|
import '@tangle-network/agent-eval';
|
package/dist/memory/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
runAgentMemoryExperiment,
|
|
25
25
|
runAgentMemoryImprovement,
|
|
26
26
|
toOffPolicyTrajectory
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-46YPZHAX.js";
|
|
28
28
|
import {
|
|
29
29
|
AgentMemoryLifecycleTimeoutError,
|
|
30
30
|
AgentMemoryLifecycleUnsafeError,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
resolveMemoryCleanupTimeoutMs,
|
|
38
38
|
runBoundedMemoryLifecycle,
|
|
39
39
|
sleepForMemoryRecovery
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-PVCSESAF.js";
|
|
41
41
|
import "../chunk-DQ3PDMDP.js";
|
|
42
42
|
import "../chunk-YMKHCTS2.js";
|
|
43
43
|
export {
|
|
@@ -37,7 +37,7 @@ glm-5.2 rates), so "driving cost 1.9× collection" is measured, not modelled.
|
|
|
37
37
|
|
|
38
38
|
## 1. The domain reframe: why we left ML-paper retrieval
|
|
39
39
|
|
|
40
|
-
The companion paper's depth eval (`docs/
|
|
40
|
+
The companion paper's depth eval (`docs/verified-research-ab.md` section 9) measures a
|
|
41
41
|
research loop on **20 deep questions across 5 ML topics**. That method is sound:
|
|
42
42
|
its grader scores 0/20 on a one-line topic definition and 20/20 on a mechanism-rich
|
|
43
43
|
paragraph, so it *can* tell depth from surface. But the topology A/B on top of it
|
|
@@ -44,7 +44,7 @@ This is a real negative result, and we report it as one.
|
|
|
44
44
|
## 1. Why a new metric
|
|
45
45
|
|
|
46
46
|
The prior A/B in this repo
|
|
47
|
-
([
|
|
47
|
+
([verified-research-ab.md](../verified-research-ab.md)) measured **cleanliness**
|
|
48
48
|
- how *few* sources a verifier admits at equal coverage. That is the right metric
|
|
49
49
|
for a verifier whose job is to filter. It is the **wrong** metric for the driving
|
|
50
50
|
driver, whose thesis is the opposite: it is not trying to admit fewer sources, it
|
|
@@ -63,7 +63,7 @@ bought for free.
|
|
|
63
63
|
|
|
64
64
|
### 2.1 The loop
|
|
65
65
|
|
|
66
|
-
The loop has two roles (`src/
|
|
66
|
+
The loop has two roles (`src/verified-research-loop.ts`, `runVerifiedResearchLoop`):
|
|
67
67
|
|
|
68
68
|
- **Worker**: primary research. Each round it reads the open gaps and proposes
|
|
69
69
|
sources to close them (`ResearchWorker: (ctx: { gaps, steer }) => proposals`).
|
|
@@ -523,7 +523,7 @@ AGENT_KNOWLEDGE_LIVE=1 RQ_PROBE=1 RQ_PROBE_ROUNDS=3 TANGLE_API_KEY=<…> \
|
|
|
523
523
|
topic list; the live arms run the loops on each at equal compute and report the paired
|
|
524
524
|
bootstrap and per-arm cost.
|
|
525
525
|
|
|
526
|
-
**Source:** the loop, [`src/
|
|
526
|
+
**Source:** the loop, [`src/verified-research-loop.ts`](../src/verified-research-loop.ts);
|
|
527
527
|
the live worker + verifier + cost instrumentation, [`src/web-research-worker.ts`](../src/web-research-worker.ts);
|
|
528
528
|
the misattribution check, [`src/claim-grounding.ts`](../src/claim-grounding.ts);
|
|
529
529
|
the adaptive driver, [`src/adaptive-driver.ts`](../src/adaptive-driver.ts);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-knowledge",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Build, search, evaluate, and improve source-backed knowledge bases.",
|
|
5
5
|
"homepage": "https://github.com/tangle-network/agent-knowledge#readme",
|
|
6
6
|
"repository": {
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"verify:official-optimizers": "node scripts/verify-official-optimizers.mjs"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@tangle-network/agent-eval": "0.
|
|
77
|
-
"@tangle-network/agent-interface": "
|
|
76
|
+
"@tangle-network/agent-eval": "0.129.0",
|
|
77
|
+
"@tangle-network/agent-interface": "0.34.0",
|
|
78
78
|
"proper-lockfile": "4.1.2",
|
|
79
79
|
"zod": "^4.4.3"
|
|
80
80
|
},
|