-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
484 lines (463 loc) · 23.6 KB
/
index.html
File metadata and controls
484 lines (463 loc) · 23.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="KhazarLLMs - A System for Collective Creativity Management of Ensemble LLMs. Inspired by Milorad Pavić's Khazar Dictionary">
<meta name="keywords" content="AI, LLM, ensemble, creative AI, multi-agent system, OpenAI, Anthropic">
<title>KhazarLLMs - AI Ensemble for Collective Creativity</title>
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
<nav class="navbar">
<div class="container">
<div class="nav-brand">
<span class="logo">🌟 KhazarLLMs</span>
</div>
<ul class="nav-menu">
<li><a href="#manifesto">Manifesto</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#agents">Agents</a></li>
<li><a href="#examples">Examples</a></li>
<li><a href="#contribute">Contribute</a></li>
<li class="language-selector">
<span class="current-lang">🌐 EN</span>
<ul class="lang-dropdown">
<li><a href="index.html">English</a></li>
<li><a href="i18n/ar/index.html">العربية</a></li>
<li><a href="i18n/zh/index.html">中文</a></li>
<li><a href="i18n/ru/index.html">Русский</a></li>
</ul>
</li>
<li><a href="https://github.com/NickScherbakov/KhazarLLMs" target="_blank" class="btn-github">GitHub</a></li>
</ul>
<div class="hamburger">
<span></span>
<span></span>
<span></span>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero">
<div class="hero-background"></div>
<div class="container">
<div class="hero-content">
<h1 class="hero-title">
<span class="gradient-text">Collective Creativity</span>
<br>of AI Agent Ensembles
</h1>
<p class="hero-subtitle">
Inspired by Milorad Pavić's "Khazar Dictionary", where truth emerges from multiple voices.
KhazarLLMs brings together AI agents with unique personalities to tackle creative tasks.
</p>
<div class="hero-buttons">
<a href="#quickstart" class="btn btn-primary">Get Started</a>
<a href="https://github.com/NickScherbakov/KhazarLLMs" target="_blank" class="btn btn-secondary">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
</svg>
View on GitHub
</a>
</div>
<div class="hero-stats">
<div class="stat">
<div class="stat-value">7</div>
<div class="stat-label">AI Agents</div>
</div>
<div class="stat">
<div class="stat-value">4</div>
<div class="stat-label">Modes</div>
</div>
<div class="stat">
<div class="stat-value">3</div>
<div class="stat-label">LLM Providers</div>
</div>
</div>
</div>
</div>
</section>
<!-- Philosophy Section -->
<section class="philosophy">
<div class="container">
<div class="section-header">
<h2>Project Philosophy</h2>
<p>Like the Khazar Dictionary, where truth emerges from the intersection of many voices</p>
</div>
<div class="philosophy-content">
<div class="philosophy-quote">
<svg class="quote-icon" width="48" height="48" viewBox="0 0 24 24" fill="none" aria-hidden="true">
<path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z" fill="currentColor"/>
</svg>
<blockquote>
"The Khazars were a people who disappeared from history, leaving behind only fragments and conflicting accounts.
From these fragments, we can imagine infinite stories. Similarly, from diverse AI perspectives,
infinite creative possibilities emerge."
</blockquote>
</div>
</div>
</div>
</section>
<!-- Manifesto Section -->
<section id="manifesto" class="manifesto">
<div class="container">
<div class="section-header">
<h2>📜 The Khazar Manifesto</h2>
<p>A declaration of collective intelligence and the future of AI</p>
</div>
<div class="manifesto-content">
<div class="manifesto-highlight">
<h3>This is the age of the Chorus, not the Solo.</h3>
<p>We stand at a threshold in AI evolution. For too long, we've pursued the myth of the omniscient oracle—a single voice with absolute truth. But wisdom emerges not from one voice, but from many.</p>
<div class="manifesto-principles">
<div class="principle-item">
<span class="principle-icon">🌙</span>
<span class="principle-name">Multiple Truths</span>
</div>
<div class="principle-item">
<span class="principle-icon">🔥</span>
<span class="principle-name">Creative Tension</span>
</div>
<div class="principle-item">
<span class="principle-icon">✨</span>
<span class="principle-name">Emergent Synthesis</span>
</div>
<div class="principle-item">
<span class="principle-icon">🎨</span>
<span class="principle-name">Distinct Voices</span>
</div>
<div class="principle-item">
<span class="principle-icon">🤝</span>
<span class="principle-name">Respectful Debate</span>
</div>
<div class="principle-item">
<span class="principle-icon">📚</span>
<span class="principle-name">Collective Memory</span>
</div>
<div class="principle-item">
<span class="principle-icon">🔮</span>
<span class="principle-name">Open Interpretation</span>
</div>
</div>
<div class="manifesto-cta">
<a href="https://github.com/NickScherbakov/KhazarLLMs/blob/main/MANIFESTO.md" target="_blank" class="btn btn-primary">
Read the Full Manifesto
</a>
</div>
<blockquote class="manifesto-quote">
<em>"One voice speaks. Seven voices converse. And in their conversation, Infinity awakens."</em>
</blockquote>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="features">
<div class="container">
<div class="section-header">
<h2>Key Features</h2>
<p>A powerful tool for collective AI creativity</p>
</div>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">🤖</div>
<h3>Multiple Personas</h3>
<p>7 unique AI agents with different roles: Dreamer, Critic, Synthesizer, Philosopher, Rebel, Architect, and Poet</p>
</div>
<div class="feature-card">
<div class="feature-icon">🎯</div>
<h3>Flexible Orchestration</h3>
<p>Sequential, parallel, debate, and consensus modes - choose how agents interact</p>
</div>
<div class="feature-card">
<div class="feature-icon">🔄</div>
<h3>Iterative Refinement</h3>
<p>Multiple conversation rounds to deeply develop ideas</p>
</div>
<div class="feature-card">
<div class="feature-icon">💾</div>
<h3>Session Management</h3>
<p>Save and analyze creative sessions for future reference</p>
</div>
<div class="feature-card">
<div class="feature-icon">🎨</div>
<h3>Provider Agnostic</h3>
<p>Works with OpenAI, Anthropic, or mock mode for cost-free experimentation</p>
</div>
<div class="feature-card">
<div class="feature-icon">🛠️</div>
<h3>CLI & Python API</h3>
<p>Use via command line or integrate into your code</p>
</div>
</div>
</div>
</section>
<!-- Agents Section -->
<section id="agents" class="agents">
<div class="container">
<div class="section-header">
<h2>Meet the AI Agents</h2>
<p>Each agent has a unique personality and creative role</p>
</div>
<div class="agents-grid">
<div class="agent-card">
<div class="agent-icon">💭</div>
<h3>Dreamer</h3>
<div class="agent-temp">Temperature: 0.95</div>
<p>Generates bold, unbounded creative visions without limitations</p>
</div>
<div class="agent-card">
<div class="agent-icon">🔍</div>
<h3>Critic</h3>
<div class="agent-temp">Temperature: 0.4</div>
<p>Analyzes with sharp insight and constructive feedback</p>
</div>
<div class="agent-card">
<div class="agent-icon">🔗</div>
<h3>Synthesizer</h3>
<div class="agent-temp">Temperature: 0.7</div>
<p>Weaves disparate ideas into coherent wholes</p>
</div>
<div class="agent-card">
<div class="agent-icon">🧠</div>
<h3>Philosopher</h3>
<div class="agent-temp">Temperature: 0.6</div>
<p>Explores deep meanings and broader contexts</p>
</div>
<div class="agent-card">
<div class="agent-icon">⚡</div>
<h3>Rebel</h3>
<div class="agent-temp">Temperature: 0.9</div>
<p>Challenges assumptions and breaks conventions</p>
</div>
<div class="agent-card">
<div class="agent-icon">🏛️</div>
<h3>Architect</h3>
<div class="agent-temp">Temperature: 0.5</div>
<p>Structures and organizes ideas into implementable forms</p>
</div>
<div class="agent-card">
<div class="agent-icon">✨</div>
<h3>Poet</h3>
<div class="agent-temp">Temperature: 0.85</div>
<p>Adds beauty and emotional resonance</p>
</div>
</div>
</div>
</section>
<!-- Quick Start Section -->
<section id="quickstart" class="quickstart">
<div class="container">
<div class="section-header">
<h2>Quick Start</h2>
<p>Get started with KhazarLLMs in minutes</p>
</div>
<div class="quickstart-content">
<div class="code-tabs">
<button class="tab-btn active" data-tab="install">Installation</button>
<button class="tab-btn" data-tab="python">Python API</button>
<button class="tab-btn" data-tab="cli">CLI</button>
</div>
<div class="tab-content active" id="install">
<pre><code># Clone the repository
git clone https://github.com/NickScherbakov/KhazarLLMs.git
cd KhazarLLMs
# Install dependencies
pip install -r requirements.txt
# Optional: Set up API keys
cp .env.example .env
# Edit .env with your API keys</code></pre>
</div>
<div class="tab-content" id="python">
<pre><code>import asyncio
from khazar_llms.agents.personas import DreamerAgent, CriticAgent, SynthesizerAgent
from khazar_llms.orchestration.ensemble import Ensemble
from khazar_llms.orchestration.session import CreativeSession
async def main():
# Create agents
agents = [
DreamerAgent(provider="mock"),
CriticAgent(provider="mock"),
SynthesizerAgent(provider="mock"),
]
# Create ensemble
ensemble = Ensemble(agents=agents, max_iterations=3)
# Run creative session
session = CreativeSession(ensemble)
results = await session.run("Design a new form of communication")
# View results
for msg in results["conversation"]:
print(f"{msg.sender}: {msg.content}")
asyncio.run(main())</code></pre>
</div>
<div class="tab-content" id="cli">
<pre><code># Get help
python -m khazar_llms.cli info
# List available agents
python -m khazar_llms.cli list-agents
# Run a creative task
python -m khazar_llms.cli create-task "Imagine a library that exists in multiple dimensions"
# Use parallel mode
python -m khazar_llms.cli --mode parallel --agents dreamer rebel poet create-task "Create a new musical instrument"</code></pre>
</div>
</div>
</div>
</section>
<!-- Examples Section -->
<section id="examples" class="examples">
<div class="container">
<div class="section-header">
<h2>Use Cases</h2>
<p>Real-world applications of KhazarLLMs</p>
</div>
<div class="examples-grid">
<div class="example-card">
<div class="example-icon">✍️</div>
<h3>Creative Writing</h3>
<p>Generate stories from multiple narrative perspectives</p>
</div>
<div class="example-card">
<div class="example-icon">🎨</div>
<h3>Product Design</h3>
<p>Explore product ideas through different lenses</p>
</div>
<div class="example-card">
<div class="example-icon">🧩</div>
<h3>Problem Solving</h3>
<p>Approach complex problems from multiple angles</p>
</div>
<div class="example-card">
<div class="example-icon">🎭</div>
<h3>Art & Poetry</h3>
<p>Create multi-layered artistic works</p>
</div>
<div class="example-card">
<div class="example-icon">🤔</div>
<h3>Philosophy</h3>
<p>Explore philosophical questions through dialogue</p>
</div>
<div class="example-card">
<div class="example-icon">📚</div>
<h3>Education</h3>
<p>Learn topics by seeing multiple explanatory approaches</p>
</div>
</div>
</div>
</section>
<!-- Contribute Section -->
<section id="contribute" class="contribute">
<div class="container">
<div class="section-header">
<h2>Join the Project</h2>
<p>Become part of the collective AI creativity research community</p>
</div>
<div class="contribute-content">
<div class="contribute-grid">
<div class="contribute-card">
<div class="contribute-number">01</div>
<h3>Add New Agents</h3>
<p>Create unique AI personas with new creative roles and characteristics</p>
</div>
<div class="contribute-card">
<div class="contribute-number">02</div>
<h3>Implement Modes</h3>
<p>Develop new orchestration patterns and agent interaction methods</p>
</div>
<div class="contribute-card">
<div class="contribute-number">03</div>
<h3>Improve Dynamics</h3>
<p>Optimize dialogues and interactions between agents</p>
</div>
<div class="contribute-card">
<div class="contribute-number">04</div>
<h3>Create Visualizations</h3>
<p>Develop tools to visualize creative processes</p>
</div>
<div class="contribute-card">
<div class="contribute-number">05</div>
<h3>Write Examples</h3>
<p>Add new use case examples for different domains</p>
</div>
<div class="contribute-card">
<div class="contribute-number">06</div>
<h3>Document</h3>
<p>Improve documentation and translate it into other languages</p>
</div>
</div>
<div class="contribute-cta">
<h3>Start Contributing Now!</h3>
<p>Read our CONTRIBUTING.md guide and create your first Pull Request</p>
<div class="contribute-buttons">
<a href="https://github.com/NickScherbakov/KhazarLLMs/blob/main/CONTRIBUTING.md" target="_blank" class="btn btn-primary">Contributing Guide</a>
<a href="https://github.com/NickScherbakov/KhazarLLMs/issues" target="_blank" class="btn btn-secondary">View Issues</a>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="cta">
<div class="container">
<div class="cta-content">
<h2>Ready to Explore Collective AI Creativity?</h2>
<p>Join the community of developers using AI ensembles to create something new</p>
<div class="cta-buttons">
<a href="https://github.com/NickScherbakov/KhazarLLMs" target="_blank" class="btn btn-primary btn-large">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
</svg>
Star on GitHub
</a>
<a href="https://github.com/NickScherbakov/KhazarLLMs/fork" target="_blank" class="btn btn-secondary btn-large">Fork Repository</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content">
<div class="footer-brand">
<div class="logo">🌟 KhazarLLMs</div>
<p>A system for collective AI creativity</p>
</div>
<div class="footer-links">
<div class="footer-column">
<h4>Project</h4>
<ul>
<li><a href="https://github.com/NickScherbakov/KhazarLLMs">GitHub</a></li>
<li><a href="https://github.com/NickScherbakov/KhazarLLMs/blob/main/README.md">Documentation</a></li>
<li><a href="https://github.com/NickScherbakov/KhazarLLMs/blob/main/CONTRIBUTING.md">Contributing</a></li>
</ul>
</div>
<div class="footer-column">
<h4>Resources</h4>
<ul>
<li><a href="https://github.com/NickScherbakov/KhazarLLMs/tree/main/examples">Examples</a></li>
<li><a href="https://github.com/NickScherbakov/KhazarLLMs/tree/main/docs">Architecture</a></li>
<li><a href="https://github.com/NickScherbakov/KhazarLLMs/blob/main/LICENSE">License</a></li>
</ul>
</div>
<div class="footer-column">
<h4>Community</h4>
<ul>
<li><a href="https://github.com/NickScherbakov/KhazarLLMs/issues">Issues</a></li>
<li><a href="https://github.com/NickScherbakov/KhazarLLMs/pulls">Pull Requests</a></li>
<li><a href="https://github.com/NickScherbakov/KhazarLLMs/discussions">Discussions</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-bottom">
<p>© 2024 KhazarLLMs. Inspired by Milorad Pavić's "Dictionary of the Khazar".</p>
<p>MIT License - Open Source</p>
</div>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>