kimi-agent-swarm-cli 0.7.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.
@@ -0,0 +1,58 @@
1
+ {
2
+ "sources": [
3
+ {
4
+ "id": "S001",
5
+ "url": "https://example.com/official-agent-report",
6
+ "title": "Official Agent Research Report",
7
+ "sourceClass": "official",
8
+ "publishedAt": "2026-05-20",
9
+ "discoveredBy": "fixture:agent research",
10
+ "scores": {
11
+ "relevance": 4,
12
+ "authority": 4,
13
+ "freshness": 4,
14
+ "diversity": 3,
15
+ "extractionValue": 4
16
+ },
17
+ "claims": [
18
+ "Evidence-backed research workflows need source and claim traceability."
19
+ ]
20
+ },
21
+ {
22
+ "id": "S002",
23
+ "url": "https://example.com/community-thread",
24
+ "title": "Community Thread",
25
+ "sourceClass": "community",
26
+ "publishedAt": "2026-05-15",
27
+ "discoveredBy": "fixture:agent research",
28
+ "scores": {
29
+ "relevance": 3,
30
+ "authority": 2,
31
+ "freshness": 3,
32
+ "diversity": 4,
33
+ "extractionValue": 3
34
+ },
35
+ "claims": [
36
+ "Users prefer readable synthesis before audit files."
37
+ ]
38
+ },
39
+ {
40
+ "id": "S003",
41
+ "url": "https://example.com/duplicate-summary",
42
+ "title": "Duplicate Summary",
43
+ "sourceClass": "secondary",
44
+ "publishedAt": "2025-01-10",
45
+ "discoveredBy": "fixture:agent research",
46
+ "scores": {
47
+ "relevance": 1,
48
+ "authority": 1,
49
+ "freshness": 1,
50
+ "diversity": 0,
51
+ "extractionValue": 1
52
+ },
53
+ "claims": [
54
+ "Weak duplicate source should not be accepted."
55
+ ]
56
+ }
57
+ ]
58
+ }
@@ -0,0 +1,308 @@
1
+ {
2
+ "sources": [
3
+ {
4
+ "id": "GH-001",
5
+ "url": "https://github.com/browser-use/browser-use",
6
+ "title": "browser-use/browser-use",
7
+ "sourceClass": "primary",
8
+ "publishedAt": "2026-01-01",
9
+ "discoveredBy": "github-repo-landscape",
10
+ "scores": { "relevance": 5, "authority": 5, "freshness": 5, "diversity": 3, "extractionValue": 5 },
11
+ "claims": [
12
+ "Browser-use connects AI agents directly to browser UI elements for task automation.",
13
+ "It is one of the most starred AI browser agent repositories."
14
+ ]
15
+ },
16
+ {
17
+ "id": "GH-002",
18
+ "url": "https://github.com/browserbase/stagehand",
19
+ "title": "browserbase/stagehand",
20
+ "sourceClass": "primary",
21
+ "publishedAt": "2026-01-01",
22
+ "discoveredBy": "github-repo-landscape",
23
+ "scores": { "relevance": 5, "authority": 4, "freshness": 5, "diversity": 3, "extractionValue": 5 },
24
+ "claims": [
25
+ "Stagehand provides an AI-driven browser automation framework with act/extract/observe primitives.",
26
+ "It is built on top of Playwright."
27
+ ]
28
+ },
29
+ {
30
+ "id": "GH-003",
31
+ "url": "https://github.com/antiwork/shortest",
32
+ "title": "antiwork/shortest",
33
+ "sourceClass": "primary",
34
+ "publishedAt": "2026-01-01",
35
+ "discoveredBy": "github-repo-landscape",
36
+ "scores": { "relevance": 5, "authority": 3, "freshness": 5, "diversity": 4, "extractionValue": 4 },
37
+ "claims": [
38
+ "Shortest is a natural-language AI testing framework that converts prompts into browser tests."
39
+ ]
40
+ },
41
+ {
42
+ "id": "GH-004",
43
+ "url": "https://github.com/nanobrowser/nanobrowser",
44
+ "title": "nanobrowser/nanobrowser",
45
+ "sourceClass": "primary",
46
+ "publishedAt": "2026-01-01",
47
+ "discoveredBy": "github-repo-landscape",
48
+ "scores": { "relevance": 5, "authority": 3, "freshness": 5, "diversity": 4, "extractionValue": 4 },
49
+ "claims": [
50
+ "Nanobrowser is an open-source AI web agent that runs directly in the browser as an extension."
51
+ ]
52
+ },
53
+ {
54
+ "id": "GH-005",
55
+ "url": "https://github.com/Significant-Gravitas/AutoGPT",
56
+ "title": "Significant-Gravitas/AutoGPT",
57
+ "sourceClass": "primary",
58
+ "publishedAt": "2026-01-01",
59
+ "discoveredBy": "github-repo-landscape",
60
+ "scores": { "relevance": 4, "authority": 5, "freshness": 4, "diversity": 4, "extractionValue": 4 },
61
+ "claims": [
62
+ "AutoGPT was one of the first open-source projects to popularize autonomous AI agents.",
63
+ "It focuses on goal-oriented autonomous task execution."
64
+ ]
65
+ },
66
+ {
67
+ "id": "GH-006",
68
+ "url": "https://github.com/langchain-ai/langchain",
69
+ "title": "langchain-ai/langchain",
70
+ "sourceClass": "primary",
71
+ "publishedAt": "2026-01-01",
72
+ "discoveredBy": "github-repo-landscape",
73
+ "scores": { "relevance": 4, "authority": 5, "freshness": 4, "diversity": 4, "extractionValue": 4 },
74
+ "claims": [
75
+ "LangChain provides abstractions for chaining LLM calls, tools, and memory.",
76
+ "It is widely used as a foundation for agent frameworks."
77
+ ]
78
+ },
79
+ {
80
+ "id": "GH-007",
81
+ "url": "https://github.com/crewAIInc/crewAI",
82
+ "title": "crewAIInc/crewAI",
83
+ "sourceClass": "primary",
84
+ "publishedAt": "2026-01-01",
85
+ "discoveredBy": "github-repo-landscape",
86
+ "scores": { "relevance": 4, "authority": 4, "freshness": 4, "diversity": 4, "extractionValue": 4 },
87
+ "claims": [
88
+ "CrewAI structures agents into role-based crews that collaborate on tasks."
89
+ ]
90
+ },
91
+ {
92
+ "id": "GH-008",
93
+ "url": "https://github.com/microsoft/autogen",
94
+ "title": "microsoft/autogen",
95
+ "sourceClass": "primary",
96
+ "publishedAt": "2026-01-01",
97
+ "discoveredBy": "github-repo-landscape",
98
+ "scores": { "relevance": 4, "authority": 5, "freshness": 4, "diversity": 4, "extractionValue": 4 },
99
+ "claims": [
100
+ "AutoGen from Microsoft enables multi-agent conversations and tool use."
101
+ ]
102
+ },
103
+ {
104
+ "id": "GH-009",
105
+ "url": "https://github.com/pydantic/pydantic-ai",
106
+ "title": "pydantic/pydantic-ai",
107
+ "sourceClass": "primary",
108
+ "publishedAt": "2026-01-01",
109
+ "discoveredBy": "github-repo-landscape",
110
+ "scores": { "relevance": 4, "authority": 4, "freshness": 5, "diversity": 4, "extractionValue": 4 },
111
+ "claims": [
112
+ "Pydantic AI is an agent framework built around type-safe structured outputs."
113
+ ]
114
+ },
115
+ {
116
+ "id": "GH-010",
117
+ "url": "https://github.com/huggingface/smolagents",
118
+ "title": "huggingface/smolagents",
119
+ "sourceClass": "primary",
120
+ "publishedAt": "2026-01-01",
121
+ "discoveredBy": "github-repo-landscape",
122
+ "scores": { "relevance": 4, "authority": 4, "freshness": 5, "diversity": 4, "extractionValue": 4 },
123
+ "claims": [
124
+ "Smolagents from Hugging Face emphasizes small, efficient agent code execution."
125
+ ]
126
+ },
127
+ {
128
+ "id": "GH-011",
129
+ "url": "https://github.com/run-llama/llama_index",
130
+ "title": "run-llama/llama_index",
131
+ "sourceClass": "primary",
132
+ "publishedAt": "2026-01-01",
133
+ "discoveredBy": "github-repo-landscape",
134
+ "scores": { "relevance": 3, "authority": 5, "freshness": 4, "diversity": 4, "extractionValue": 3 },
135
+ "claims": [
136
+ "LlamaIndex focuses on data ingestion and retrieval for LLM applications."
137
+ ]
138
+ },
139
+ {
140
+ "id": "GH-012",
141
+ "url": "https://github.com/deepset-ai/haystack",
142
+ "title": "deepset-ai/haystack",
143
+ "sourceClass": "primary",
144
+ "publishedAt": "2026-01-01",
145
+ "discoveredBy": "github-repo-landscape",
146
+ "scores": { "relevance": 3, "authority": 4, "freshness": 4, "diversity": 4, "extractionValue": 3 },
147
+ "claims": [
148
+ "Haystack is an end-to-end NLP framework for building search and question-answering systems."
149
+ ]
150
+ },
151
+ {
152
+ "id": "GH-013",
153
+ "url": "https://github.com/ScrapeGraphAI/Scrapegraph-ai",
154
+ "title": "ScrapeGraphAI/Scrapegraph-ai",
155
+ "sourceClass": "primary",
156
+ "publishedAt": "2026-01-01",
157
+ "discoveredBy": "github-repo-landscape",
158
+ "scores": { "relevance": 4, "authority": 3, "freshness": 5, "diversity": 4, "extractionValue": 4 },
159
+ "claims": [
160
+ "ScrapeGraphAI uses LLMs to generate scraping pipelines from natural language prompts."
161
+ ]
162
+ },
163
+ {
164
+ "id": "GH-014",
165
+ "url": "https://github.com/scrapy/scrapy",
166
+ "title": "scrapy/scrapy",
167
+ "sourceClass": "primary",
168
+ "publishedAt": "2026-01-01",
169
+ "discoveredBy": "github-repo-landscape",
170
+ "scores": { "relevance": 3, "authority": 5, "freshness": 4, "diversity": 4, "extractionValue": 3 },
171
+ "claims": [
172
+ "Scrapy is a mature Python framework for large-scale web scraping."
173
+ ]
174
+ },
175
+ {
176
+ "id": "GH-015",
177
+ "url": "https://github.com/microsoft/playwright",
178
+ "title": "microsoft/playwright",
179
+ "sourceClass": "primary",
180
+ "publishedAt": "2026-01-01",
181
+ "discoveredBy": "github-repo-landscape",
182
+ "scores": { "relevance": 4, "authority": 5, "freshness": 4, "diversity": 3, "extractionValue": 4 },
183
+ "claims": [
184
+ "Playwright is a cross-browser automation library widely used by AI agent projects."
185
+ ]
186
+ },
187
+ {
188
+ "id": "GH-016",
189
+ "url": "https://github.com/SeleniumHQ/selenium",
190
+ "title": "SeleniumHQ/selenium",
191
+ "sourceClass": "primary",
192
+ "publishedAt": "2026-01-01",
193
+ "discoveredBy": "github-repo-landscape",
194
+ "scores": { "relevance": 3, "authority": 5, "freshness": 4, "diversity": 3, "extractionValue": 3 },
195
+ "claims": [
196
+ "Selenium is the legacy standard for browser automation."
197
+ ]
198
+ },
199
+ {
200
+ "id": "GH-017",
201
+ "url": "https://github.com/OpenInterpreter/open-interpreter",
202
+ "title": "OpenInterpreter/open-interpreter",
203
+ "sourceClass": "primary",
204
+ "publishedAt": "2026-01-01",
205
+ "discoveredBy": "github-repo-landscape",
206
+ "scores": { "relevance": 3, "authority": 4, "freshness": 4, "diversity": 4, "extractionValue": 3 },
207
+ "claims": [
208
+ "Open Interpreter lets LLMs run code locally to accomplish tasks."
209
+ ]
210
+ },
211
+ {
212
+ "id": "GH-018",
213
+ "url": "https://github.com/OpenAI-Swarm/community",
214
+ "title": "OpenAI-Swarm/community",
215
+ "sourceClass": "primary",
216
+ "publishedAt": "2026-01-01",
217
+ "discoveredBy": "github-repo-landscape",
218
+ "scores": { "relevance": 3, "authority": 3, "freshness": 4, "diversity": 4, "extractionValue": 3 },
219
+ "claims": [
220
+ "OpenAI Swarm demonstrated lightweight multi-agent orchestration patterns."
221
+ ]
222
+ },
223
+ {
224
+ "id": "GH-019",
225
+ "url": "https://github.com/reworkd/AgentGPT",
226
+ "title": "reworkd/AgentGPT",
227
+ "sourceClass": "primary",
228
+ "publishedAt": "2026-01-01",
229
+ "discoveredBy": "github-repo-landscape",
230
+ "scores": { "relevance": 3, "authority": 3, "freshness": 3, "diversity": 4, "extractionValue": 3 },
231
+ "claims": [
232
+ "AgentGPT provided a browser-based interface for running autonomous agents."
233
+ ]
234
+ },
235
+ {
236
+ "id": "GH-020",
237
+ "url": "https://github.com/TransformerOptimus/SuperAGI",
238
+ "title": "TransformerOptimus/SuperAGI",
239
+ "sourceClass": "primary",
240
+ "publishedAt": "2026-01-01",
241
+ "discoveredBy": "github-repo-landscape",
242
+ "scores": { "relevance": 3, "authority": 3, "freshness": 3, "diversity": 4, "extractionValue": 3 },
243
+ "claims": [
244
+ "SuperAGI aimed to be a production-ready autonomous agent framework with tools and memory."
245
+ ]
246
+ },
247
+ {
248
+ "id": "GH-021",
249
+ "url": "https://github.com/langchain-ai/langgraph",
250
+ "title": "langchain-ai/langgraph",
251
+ "sourceClass": "primary",
252
+ "publishedAt": "2026-01-01",
253
+ "discoveredBy": "github-repo-landscape",
254
+ "scores": { "relevance": 4, "authority": 4, "freshness": 5, "diversity": 4, "extractionValue": 4 },
255
+ "claims": [
256
+ "LangGraph enables building stateful, multi-actor agent workflows as graphs."
257
+ ]
258
+ },
259
+ {
260
+ "id": "GH-022",
261
+ "url": "https://github.com/e2b-dev/E2B",
262
+ "title": "e2b-dev/E2B",
263
+ "sourceClass": "primary",
264
+ "publishedAt": "2026-01-01",
265
+ "discoveredBy": "github-repo-landscape",
266
+ "scores": { "relevance": 3, "authority": 4, "freshness": 5, "diversity": 4, "extractionValue": 3 },
267
+ "claims": [
268
+ "E2B provides sandboxed cloud environments for running AI-generated code."
269
+ ]
270
+ },
271
+ {
272
+ "id": "GH-023",
273
+ "url": "https://github.com/vectara/py-vectara",
274
+ "title": "vectara/py-vectara",
275
+ "sourceClass": "primary",
276
+ "publishedAt": "2026-01-01",
277
+ "discoveredBy": "github-repo-landscape",
278
+ "scores": { "relevance": 2, "authority": 3, "freshness": 4, "diversity": 4, "extractionValue": 2 },
279
+ "claims": [
280
+ "Vectara offers RAG-as-a-service with retrieval and summarization APIs."
281
+ ]
282
+ },
283
+ {
284
+ "id": "GH-024",
285
+ "url": "https://github.com/jina-ai/jina",
286
+ "title": "jina-ai/jina",
287
+ "sourceClass": "primary",
288
+ "publishedAt": "2026-01-01",
289
+ "discoveredBy": "github-repo-landscape",
290
+ "scores": { "relevance": 2, "authority": 4, "freshness": 4, "diversity": 4, "extractionValue": 2 },
291
+ "claims": [
292
+ "Jina is a neural search framework for building multimodal AI applications."
293
+ ]
294
+ },
295
+ {
296
+ "id": "GH-025",
297
+ "url": "https://github.com/weaviate/weaviate",
298
+ "title": "weaviate/weaviate",
299
+ "sourceClass": "primary",
300
+ "publishedAt": "2026-01-01",
301
+ "discoveredBy": "github-repo-landscape",
302
+ "scores": { "relevance": 2, "authority": 4, "freshness": 4, "diversity": 4, "extractionValue": 2 },
303
+ "claims": [
304
+ "Weaviate is an open-source vector database for AI-native applications."
305
+ ]
306
+ }
307
+ ]
308
+ }
@@ -0,0 +1,56 @@
1
+ import type { GoldenAnswer } from "../src/types";
2
+
3
+ export const goldenAnswers: Record<string, GoldenAnswer> = {
4
+ "fixture-paul-graham-corpus": {
5
+ expectedClaims: [
6
+ "Startups should initially do things that don't scale.",
7
+ "The maker's schedule requires long uninterrupted blocks of time.",
8
+ "The best startup ideas often come from the founders' own problems.",
9
+ "Wealth is created by doing what people want, not by moving it around.",
10
+ "Startups die more often from denial than from competition.",
11
+ "Mean people rarely win in the long run.",
12
+ ],
13
+ expectedSourceUrls: [
14
+ "http://www.paulgraham.com/ds.html",
15
+ "http://www.paulgraham.com/makersschedule.html",
16
+ "http://www.paulgraham.com/startupideas.html",
17
+ "http://www.paulgraham.com/wealth.html",
18
+ "http://www.paulgraham.com/really.html",
19
+ "http://www.paulgraham.com/mean.html",
20
+ ],
21
+ },
22
+ "fixture-github-repo-landscape": {
23
+ expectedClaims: [
24
+ "Browser-use connects AI agents directly to browser UI elements for task automation.",
25
+ "Stagehand provides an AI-driven browser automation framework with act/extract/observe primitives.",
26
+ "AutoGPT was one of the first open-source projects to popularize autonomous AI agents.",
27
+ "LangChain provides abstractions for chaining LLM calls, tools, and memory.",
28
+ "CrewAI structures agents into role-based crews that collaborate on tasks.",
29
+ "AutoGen from Microsoft enables multi-agent conversations and tool use.",
30
+ ],
31
+ expectedSourceUrls: [
32
+ "https://github.com/browser-use/browser-use",
33
+ "https://github.com/browserbase/stagehand",
34
+ "https://github.com/Significant-Gravitas/AutoGPT",
35
+ "https://github.com/langchain-ai/langchain",
36
+ "https://github.com/crewAIInc/crewAI",
37
+ "https://github.com/microsoft/autogen",
38
+ ],
39
+ },
40
+ "fixture-market-scan": {
41
+ expectedClaims: [
42
+ "GitHub Copilot is the most widely adopted AI coding assistant by installed base.",
43
+ "Cursor is an AI-first code editor built on top of VS Code.",
44
+ "Claude Code is a terminal-based agentic coding assistant.",
45
+ "Amazon Q Developer provides code generation, transformation, and operational assistance.",
46
+ "Enterprise adoption of AI coding assistants is accelerating in regulated industries.",
47
+ ],
48
+ expectedSourceUrls: [
49
+ "https://github.com/features/copilot",
50
+ "https://www.cursor.com/",
51
+ "https://www.anthropic.com/claude-code",
52
+ "https://aws.amazon.com/q/developer/",
53
+ "https://www.gartner.com/en/newsroom/example",
54
+ ],
55
+ },
56
+ };
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env bun
2
+ import type { Source } from "../src/types";
3
+
4
+ const sources: Source[] = [
5
+ {
6
+ id: "L001",
7
+ url: "https://example.com/local-command-primary",
8
+ title: "Local Command Primary Source",
9
+ sourceClass: "primary-data",
10
+ publishedAt: "2026-05-22",
11
+ discoveredBy: "local-command fixture",
12
+ scores: {
13
+ relevance: 4,
14
+ authority: 4,
15
+ freshness: 4,
16
+ diversity: 3,
17
+ extractionValue: 4,
18
+ },
19
+ claims: ["Local command providers can feed replayable source candidates into the runtime."],
20
+ },
21
+ {
22
+ id: "L002",
23
+ url: "https://example.com/local-command-low-quality",
24
+ title: "Local Command Low Quality Source",
25
+ sourceClass: "secondary",
26
+ publishedAt: "2024-01-01",
27
+ discoveredBy: "local-command fixture",
28
+ scores: {
29
+ relevance: 1,
30
+ authority: 1,
31
+ freshness: 1,
32
+ diversity: 1,
33
+ extractionValue: 1,
34
+ },
35
+ claims: ["Low quality command output should be rejected."],
36
+ },
37
+ ];
38
+
39
+ for (const source of sources) {
40
+ console.log(JSON.stringify({ type: "source_candidate", source }));
41
+ }