@indra.ai/deva 1.64.36 → 1.64.41
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/_config.yml +6 -1
- package/_includes/head.html +1 -1
- package/_layouts/home.html +49 -0
- package/assets/main.scss +149 -0
- package/index.md +24 -23
- package/package.json +1 -1
package/_config.yml
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# Owner Signature Required For Lawful Use.
|
|
4
4
|
# Distributed under VLA:31711622713594414221 LICENSE.md
|
|
5
5
|
# Sunday, November 1, 2026 - 10:04:59 PM PST
|
|
6
|
+
url: "https://deva.world"
|
|
6
7
|
title: Deva Core
|
|
7
8
|
tagline: Event-based AI agents with stamped, verifiable data
|
|
8
9
|
description: A Vedic-inspired, event-based Node.js framework for building integrated AI agents, with stamped, verifiable data on every step.
|
|
@@ -10,6 +11,7 @@ lang: en_US
|
|
|
10
11
|
logo: /assets/icon.png
|
|
11
12
|
author:
|
|
12
13
|
name: Quinn Michaels
|
|
14
|
+
twitter: quinnmichaels
|
|
13
15
|
email: "quinn@indra.ai"
|
|
14
16
|
url: "https://indra.ai"
|
|
15
17
|
twitter:
|
|
@@ -26,4 +28,7 @@ social:
|
|
|
26
28
|
plugins:
|
|
27
29
|
- jekyll-seo-tag
|
|
28
30
|
- jekyll-feed
|
|
29
|
-
- jekyll-sitemap
|
|
31
|
+
- jekyll-sitemap
|
|
32
|
+
google_analytics: G-JWHX0M91FE
|
|
33
|
+
theme: minima
|
|
34
|
+
|
package/_includes/head.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<meta property="og:image:height" content="630">
|
|
9
9
|
<meta property="og:image:alt" content="{{ page.title | default: site.title }}: {{ site.tagline }}">
|
|
10
10
|
<meta name="twitter:image:alt" content="{{ page.title | default: site.title }}: {{ site.tagline }}">
|
|
11
|
-
<meta name="theme-color" content="#
|
|
11
|
+
<meta name="theme-color" content="#0d0f17">
|
|
12
12
|
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
|
|
13
13
|
|
|
14
14
|
{%- feed_meta -%}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
{%- assign tests = site.data.tests.DATA -%}
|
|
5
|
+
{%- assign total = 0 -%}
|
|
6
|
+
{%- for suite in tests.suites -%}{%- assign total = total | plus: suite.count -%}{%- endfor -%}
|
|
7
|
+
<div class="home">
|
|
8
|
+
<section class="hero">
|
|
9
|
+
<img class="hero-logo" src="{{ '/assets/deva.png' | relative_url }}" alt="Deva Core" width="180" height="180">
|
|
10
|
+
<div class="hero-text">
|
|
11
|
+
<p class="hero-eyebrow">{{ site.tagline }}</p>
|
|
12
|
+
<h1 class="hero-title">{{ page.headline | default: page.title }}</h1>
|
|
13
|
+
<p class="hero-lead">{{ page.description }}</p>
|
|
14
|
+
<div class="hero-actions">
|
|
15
|
+
<a class="btn btn-primary" href="{{ '/docs/#quick-start' | relative_url }}">Quick start</a>
|
|
16
|
+
<a class="btn" href="https://github.com/indraai/deva">View on GitHub</a>
|
|
17
|
+
<a class="btn btn-ghost" href="{{ '/vla/' | relative_url }}">Licensing</a>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="hero-install"><code>npm install @indra.ai/deva</code></div>
|
|
20
|
+
<p class="hero-badges">
|
|
21
|
+
<a href="https://www.npmjs.com/package/@indra.ai/deva"><img src="https://img.shields.io/npm/v/@indra.ai/deva?color=ff5c8a" alt="npm version"></a>
|
|
22
|
+
<a href="https://github.com/indraai/deva/actions/workflows/test.yml"><img src="https://github.com/indraai/deva/actions/workflows/test.yml/badge.svg" alt="Tests"></a>
|
|
23
|
+
</p>
|
|
24
|
+
</div>
|
|
25
|
+
</section>
|
|
26
|
+
|
|
27
|
+
<section class="stats" aria-label="At a glance">
|
|
28
|
+
<div class="stat"><span class="stat-num">{{ total }}</span><span class="stat-label">tests in {{ tests.suites | size }} suites</span></div>
|
|
29
|
+
<div class="stat"><span class="stat-num">0</span><span class="stat-label">runtime dependencies</span></div>
|
|
30
|
+
<div class="stat"><span class="stat-num">3</span><span class="stat-label">hash tiers per packet</span></div>
|
|
31
|
+
<div class="stat"><span class="stat-num">{{ site.data.events.DATA | size }}</span><span class="stat-label">lifecycle events</span></div>
|
|
32
|
+
</section>
|
|
33
|
+
|
|
34
|
+
{%- if page.features %}
|
|
35
|
+
<section class="cards">
|
|
36
|
+
{%- for card in page.features %}
|
|
37
|
+
<a class="card" href="{{ card.url | relative_url }}">
|
|
38
|
+
<h3>{{ card.title }}</h3>
|
|
39
|
+
<p>{{ card.text }}</p>
|
|
40
|
+
<span class="card-more">{{ card.link | default: "Read more" }} →</span>
|
|
41
|
+
</a>
|
|
42
|
+
{%- endfor %}
|
|
43
|
+
</section>
|
|
44
|
+
{%- endif %}
|
|
45
|
+
|
|
46
|
+
<div class="home-content">
|
|
47
|
+
{{ content }}
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
package/assets/main.scss
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
---
|
|
2
|
+
# Deva Core site styles. Overrides minima 2.5.1 (the version GitHub Pages pins).
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
// minima variables, set before the import so minima builds with them.
|
|
6
|
+
$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
7
|
+
$base-font-size: 17px;
|
|
8
|
+
$base-line-height: 1.6;
|
|
9
|
+
$text-color: #e6e8ef;
|
|
10
|
+
$background-color: #0d0f17;
|
|
11
|
+
$brand-color: #ff7aa2;
|
|
12
|
+
$grey-color: #8a90a6;
|
|
13
|
+
$content-width: 1000px;
|
|
14
|
+
|
|
15
|
+
@import "minima";
|
|
16
|
+
|
|
17
|
+
/* ---- Deva Core overrides (plain CSS below so it previews without Sass) ---- */
|
|
18
|
+
|
|
19
|
+
:root {
|
|
20
|
+
--bg: #0d0f17;
|
|
21
|
+
--bg-raised: #151826;
|
|
22
|
+
--bg-code: #10131f;
|
|
23
|
+
--line: #262a3b;
|
|
24
|
+
--text: #e6e8ef;
|
|
25
|
+
--muted: #9aa0b5;
|
|
26
|
+
--pink: #ff5c8a;
|
|
27
|
+
--orange: #ff8a3d;
|
|
28
|
+
--purple: #8b5cf6;
|
|
29
|
+
--link: #ff7aa2;
|
|
30
|
+
--mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
html { color-scheme: dark; }
|
|
34
|
+
body { background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
|
|
35
|
+
a { color: var(--link); text-decoration: none; }
|
|
36
|
+
a:visited { color: var(--link); }
|
|
37
|
+
a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
|
|
38
|
+
::selection { background: rgba(255, 92, 138, .35); }
|
|
39
|
+
|
|
40
|
+
h1, h2, h3, h4 { color: #fff; letter-spacing: -0.01em; font-weight: 650; }
|
|
41
|
+
.post-content h2 { font-size: 1.75rem; margin-top: 2.5rem; padding-top: .5rem; border-top: 1px solid var(--line); }
|
|
42
|
+
.post-content h3 { font-size: 1.25rem; margin-top: 1.75rem; }
|
|
43
|
+
.post-title, .page-heading { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.02em; }
|
|
44
|
+
.post-header { margin-bottom: 1.5rem; }
|
|
45
|
+
hr { border: 0; border-top: 1px solid var(--line); }
|
|
46
|
+
blockquote { color: var(--muted); border-left: 4px solid var(--purple); font-style: normal; font-size: 1rem; letter-spacing: 0; background: var(--bg-raised); padding: .75rem 1rem; border-radius: 0 8px 8px 0; }
|
|
47
|
+
|
|
48
|
+
/* Header */
|
|
49
|
+
.site-header {
|
|
50
|
+
border-top: 3px solid transparent;
|
|
51
|
+
border-image: linear-gradient(90deg, var(--purple), var(--pink), var(--orange)) 1;
|
|
52
|
+
border-bottom: 1px solid var(--line);
|
|
53
|
+
background: rgba(13, 15, 23, .85);
|
|
54
|
+
backdrop-filter: saturate(140%) blur(10px);
|
|
55
|
+
position: sticky; top: 0; z-index: 10;
|
|
56
|
+
min-height: 60px;
|
|
57
|
+
}
|
|
58
|
+
.site-title, .site-title:visited { color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: 0; line-height: 60px; display: inline-flex; align-items: center; gap: .5rem; }
|
|
59
|
+
.site-title:hover { text-decoration: none; }
|
|
60
|
+
.site-logo { width: 28px; height: 28px; border-radius: 6px; }
|
|
61
|
+
.site-nav { line-height: 60px; }
|
|
62
|
+
.site-nav .page-link, .site-nav .page-link:visited { color: var(--muted); font-size: .95rem; }
|
|
63
|
+
.site-nav .page-link:hover, .site-nav .page-link.active { color: #fff; text-decoration: none; }
|
|
64
|
+
.site-nav .page-link.active { box-shadow: inset 0 -2px 0 var(--pink); }
|
|
65
|
+
.site-nav .nav-cta { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; }
|
|
66
|
+
.site-nav .menu-icon > svg path { fill: var(--text); }
|
|
67
|
+
@media screen and (max-width: 600px) {
|
|
68
|
+
.site-nav { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 10px; top: 10px; line-height: 1.4; }
|
|
69
|
+
.site-nav .page-link { padding: .6rem 0; }
|
|
70
|
+
.site-nav .page-link.active { box-shadow: none; color: var(--pink); }
|
|
71
|
+
.site-nav .nav-cta { border: 0; padding: .6rem 0; }
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Code */
|
|
75
|
+
code, pre { font-family: var(--mono); font-size: .88em; background: var(--bg-code); border: 1px solid var(--line); border-radius: 6px; color: #f3d7e1; }
|
|
76
|
+
code { padding: .1em .35em; }
|
|
77
|
+
pre { padding: 1rem 1.1rem; overflow-x: auto; line-height: 1.5; }
|
|
78
|
+
pre > code { border: 0; padding: 0; color: var(--text); font-size: .9rem; }
|
|
79
|
+
.highlight, .highlighter-rouge .highlight, .highlight pre, .highlight code { background: var(--bg-code); }
|
|
80
|
+
.highlighter-rouge .highlight { border-radius: 8px; }
|
|
81
|
+
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs { color: #6b7290; font-style: italic; }
|
|
82
|
+
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kr, .highlight .kc { color: #c49bff; font-weight: normal; }
|
|
83
|
+
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sx { color: #9be8a6; }
|
|
84
|
+
.highlight .nx, .highlight .nf, .highlight .na { color: #8ecbff; }
|
|
85
|
+
.highlight .mi, .highlight .mf, .highlight .m, .highlight .kt { color: #ffb37a; }
|
|
86
|
+
.highlight .o, .highlight .p { color: #c7cbe0; font-weight: normal; }
|
|
87
|
+
.highlight .nb, .highlight .bp, .highlight .nc, .highlight .no { color: #ff8fb1; }
|
|
88
|
+
.highlight .err { color: #ff6b6b; background: none; }
|
|
89
|
+
|
|
90
|
+
/* Tables: scroll instead of squeezing on phones */
|
|
91
|
+
table { display: block; overflow-x: auto; width: 100%; border: 1px solid var(--line); border-radius: 8px; border-collapse: separate; border-spacing: 0; color: var(--text); font-size: .95rem; }
|
|
92
|
+
table th, table td { border: 0; border-bottom: 1px solid var(--line); padding: .6rem .8rem; vertical-align: top; }
|
|
93
|
+
table th { background: var(--bg-raised); color: #fff; text-align: left; }
|
|
94
|
+
table tr, table tr:nth-child(even) { background: transparent; }
|
|
95
|
+
table tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }
|
|
96
|
+
@media screen and (max-width: 600px) { table td:last-child { min-width: 15rem; } }
|
|
97
|
+
table tr:last-child td { border-bottom: 0; }
|
|
98
|
+
table td code { white-space: nowrap; }
|
|
99
|
+
|
|
100
|
+
/* Home */
|
|
101
|
+
.home .hero { display: flex; align-items: center; gap: 2.5rem; padding: 3rem 0 2rem; }
|
|
102
|
+
.hero-logo { flex: 0 0 auto; width: 180px; height: 180px; filter: drop-shadow(0 10px 40px rgba(255, 92, 138, .35)); }
|
|
103
|
+
.hero-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--orange); margin: 0 0 .5rem; font-weight: 600; }
|
|
104
|
+
.hero-title { font-size: 2.9rem; line-height: 1.1; margin: 0 0 1rem; background: linear-gradient(90deg, #fff 30%, #ffb3c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
105
|
+
.hero-lead { color: var(--muted); font-size: 1.15rem; max-width: 40rem; }
|
|
106
|
+
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
|
|
107
|
+
.btn, .btn:visited { display: inline-block; padding: .65rem 1.2rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-raised); color: #fff; font-weight: 600; font-size: .95rem; }
|
|
108
|
+
.btn:hover { text-decoration: none; border-color: var(--pink); color: #fff; }
|
|
109
|
+
.btn-primary, .btn-primary:visited { background: linear-gradient(90deg, var(--pink), var(--orange)); border-color: transparent; color: #140a10; }
|
|
110
|
+
.btn-primary:hover { color: #140a10; filter: brightness(1.08); }
|
|
111
|
+
.btn-ghost, .btn-ghost:visited { background: transparent; color: var(--muted); }
|
|
112
|
+
.hero-install code { display: inline-block; padding: .55rem .9rem; font-size: .95rem; color: #fff; }
|
|
113
|
+
.hero-install code::before { content: "$ "; color: var(--pink); }
|
|
114
|
+
.hero-badges { margin-top: .75rem; }
|
|
115
|
+
.hero-badges img { vertical-align: middle; margin-right: .35rem; }
|
|
116
|
+
|
|
117
|
+
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1rem 0 2rem; }
|
|
118
|
+
.stat { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
|
|
119
|
+
.stat-num { display: block; font-size: 2rem; font-weight: 700; color: #fff; line-height: 1.1; }
|
|
120
|
+
.stat-label { color: var(--muted); font-size: .9rem; }
|
|
121
|
+
|
|
122
|
+
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
|
|
123
|
+
.card, .card:visited { display: block; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.35rem; color: var(--text); transition: border-color .15s, transform .15s; }
|
|
124
|
+
.card:hover { border-color: var(--pink); transform: translateY(-2px); text-decoration: none; color: var(--text); }
|
|
125
|
+
.card h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
|
|
126
|
+
.card p { color: var(--muted); margin: 0 0 .75rem; font-size: .97rem; }
|
|
127
|
+
.card-more { color: var(--link); font-size: .9rem; font-weight: 600; }
|
|
128
|
+
|
|
129
|
+
@media screen and (max-width: 800px) {
|
|
130
|
+
.home .hero { flex-direction: column; text-align: center; padding-top: 2rem; }
|
|
131
|
+
.hero-logo { width: 130px; height: 130px; }
|
|
132
|
+
.hero-title { font-size: 2.1rem; }
|
|
133
|
+
.hero-actions { justify-content: center; }
|
|
134
|
+
.stats { grid-template-columns: repeat(2, 1fr); }
|
|
135
|
+
.cards { grid-template-columns: 1fr; }
|
|
136
|
+
.post-title, .page-heading { font-size: 2rem; }
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* Footer */
|
|
140
|
+
.site-footer { border-top: 1px solid var(--line); background: #0a0c13; color: var(--muted); padding: 2.5rem 0 1.5rem; margin-top: 3rem; font-size: .92rem; }
|
|
141
|
+
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
|
|
142
|
+
.footer-title { color: #fff; font-weight: 700; margin-bottom: .5rem; }
|
|
143
|
+
.site-footer ul { list-style: none; margin: 0; }
|
|
144
|
+
.site-footer li { margin-bottom: .3rem; }
|
|
145
|
+
.site-footer a, .site-footer a:visited { color: var(--muted); }
|
|
146
|
+
.site-footer a:hover { color: #fff; }
|
|
147
|
+
.footer-small { font-size: .85rem; }
|
|
148
|
+
.footer-copy { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
|
|
149
|
+
@media screen and (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; } }
|
package/index.md
CHANGED
|
@@ -1,23 +1,31 @@
|
|
|
1
1
|
---
|
|
2
|
-
layout:
|
|
2
|
+
layout: home
|
|
3
3
|
title: Deva Core
|
|
4
|
-
|
|
4
|
+
headline: Agents that keep a verifiable record of every step.
|
|
5
|
+
description: A Vedic-inspired, event-based Node.js framework for building integrated AI agents, with stamped, verifiable data on every step.
|
|
5
6
|
image: /assets/banner.png
|
|
7
|
+
features:
|
|
8
|
+
- title: A shared event bus
|
|
9
|
+
text: Devas talk with question, answer, ask, talk and listen. Asks time out instead of hanging.
|
|
10
|
+
url: /docs/#messaging
|
|
11
|
+
link: Messaging
|
|
12
|
+
- title: A named workflow
|
|
13
|
+
text: Features, zones, actions, states, intents, beliefs and contexts are first-class data you can read back stamped.
|
|
14
|
+
url: /core/
|
|
15
|
+
link: Core reference
|
|
16
|
+
- title: Stamped packets
|
|
17
|
+
text: Cumulative md5, sha256 and sha512 tiers on every packet, so you can verify what happened and in what order.
|
|
18
|
+
url: /docs/#stamping-and-the-hash-tiers
|
|
19
|
+
link: Hash tiers
|
|
20
|
+
- title: Tested in the open
|
|
21
|
+
text: Node's built-in test runner, no extra dependencies, run on Node 22 and 24 on every push.
|
|
22
|
+
url: /tests/
|
|
23
|
+
link: Test suites
|
|
6
24
|
---
|
|
7
25
|
|
|
8
|
-
|
|
9
|
-
<img src="/assets/deva.png" alt="Deva Core">
|
|
10
|
-
</center>
|
|
26
|
+
## How it works
|
|
11
27
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
[](https://www.npmjs.com/package/@indra.ai/deva) [](https://github.com/indraai/deva/actions/workflows/test.yml)
|
|
15
|
-
|
|
16
|
-
Deva Core is the base of every Deva. Each agent is one `Deva` class instance on a shared event bus. As it works, it moves through named features, zones, actions, states, intents, beliefs and contexts, and it announces every step as an event. Every data packet it builds is stamped with cumulative md5, sha256 and sha512 hashes, so you can verify what happened and in what order.
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
npm install @indra.ai/deva
|
|
20
|
-
```
|
|
28
|
+
Each agent is one `Deva` class instance on a shared event bus. As it works, it moves through named features, zones, actions, states, intents, beliefs and contexts, and it announces every step as an event. Every data packet it builds is stamped with cumulative md5, sha256 and sha512 hashes.
|
|
21
29
|
|
|
22
30
|
Node.js 22 or later. ES modules only.
|
|
23
31
|
|
|
@@ -27,15 +35,8 @@ Node.js 22 or later. ES modules only.
|
|
|
27
35
|
- [Deva Core on GitHub](https://github.com/indraai/deva), where the code, the issues and the examples live.
|
|
28
36
|
- [`@indra.ai/deva` on npm](https://www.npmjs.com/package/@indra.ai/deva), for the published package.
|
|
29
37
|
|
|
30
|
-
##
|
|
31
|
-
|
|
32
|
-
- **A shared event bus.** Devas talk to each other with `question`, `answer`, `ask`, `talk` and `listen`. Asks time out instead of hanging.
|
|
33
|
-
- **A named workflow.** Features, zones, actions, states, intents, beliefs and contexts are first-class data, and you can read each one back stamped.
|
|
34
|
-
- **Stamped packets.** The md5, sha256 and sha512 tiers build on each other, in order, on every packet.
|
|
35
|
-
- **Your own methods.** Add agent methods, listeners and extra workflow names through the constructor, and the Core merges them with its own.
|
|
36
|
-
|
|
37
|
-
## License
|
|
38
|
+
## Working with a team
|
|
38
39
|
|
|
39
|
-
|
|
40
|
+
Building a multi-agent system and want help with the design, the audit trail or a commercial license? Email [quinn@indra.ai](mailto:quinn@indra.ai). Read the [VLA](/vla/) first.
|
|
40
41
|
|
|
41
42
|
Created by Quinn Michaels. [indra.ai](https://indra.ai)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "31711622713594414221",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.64.
|
|
4
|
+
"version": "1.64.41",
|
|
5
5
|
"description": "Deva Core a Vedic-inspired Event Based Context Aware Feature, Zone, Action, and State Machine integrated Artificial Intelligence Framework",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"license": "VLA:31711622713594414221 LICENSE.md",
|