everything-gemini 2.2.0 → 2.5.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/BENCHMARK.md +33 -33
- package/CHANGELOG.md +63 -0
- package/README.md +57 -6
- package/agents/resilience-engineer.md +36 -0
- package/agents/swarm-coordinator.md +35 -0
- package/bin/everything-gemini +949 -12
- package/docs/LAUNCH_KIT_v2.4.0.md +164 -0
- package/docs/LAUNCH_KIT_v2.5.0.md +187 -0
- package/docs/index.html +13 -9
- package/examples/python-sdk/ephemeral_swarm_orchestration.py +169 -0
- package/examples/python-sdk/resilience_and_telemetry_pipeline.py +183 -0
- package/hooks/drift-detector/hooks.json +16 -0
- package/hooks/drift-detector/scripts/detect-drift.sh +50 -0
- package/hooks/thinking-budget/hooks.json +16 -0
- package/hooks/thinking-budget/scripts/budget-thinking.sh +56 -0
- package/package.json +1 -1
- package/skills/cost-oracle-finops/SKILL.md +142 -0
- package/skills/dynamic-thinking-allocation/SKILL.md +105 -0
- package/skills/ebpf-sandbox-enforcer/SKILL.md +101 -0
- package/skills/envoy-ai-gateway/SKILL.md +175 -0
- package/skills/ephemeral-swarm-orchestrator/SKILL.md +124 -0
- package/skills/gemini-live-multimodal/SKILL.md +149 -0
- package/skills/harness3-mutation-testing/SKILL.md +120 -0
- package/skills/opentelemetry-agent-observability/SKILL.md +139 -0
- package/skills/quantum-safe-cryptography/SKILL.md +84 -0
- package/skills/spanner-change-streams/SKILL.md +88 -0
- package/skills/vertex-ai-feature-store/SKILL.md +110 -0
- package/skills/webrtc-agent-gateway/SKILL.md +199 -0
- package/tests/cli.test.js +170 -14
package/BENCHMARK.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
## Empirical Analysis: Progressive Disclosure & Prefix Context Caching vs. Traditional Monolithic Agent Prompts
|
|
3
3
|
|
|
4
4
|
**Benchmark Suite**: `everything-gemini benchmark`
|
|
5
|
-
**Dataset**:
|
|
6
|
-
**Total Runbook Corpus**: ~
|
|
5
|
+
**Dataset**: 106 Production Components (80 Progressive Skills, 15 Scoped Subagents, 11 Lifecycle Hooks) — *The 80-Skill Frontier*
|
|
6
|
+
**Total Runbook Corpus**: ~82,500 Tokens
|
|
7
7
|
**Hardware & Environment**: Apple M-Series / Linux x86_64, Node.js >= 18.0.0, Gemini 2.0 Flash & Gemini 3.8
|
|
8
8
|
|
|
9
9
|
---
|
|
@@ -15,7 +15,7 @@ In enterprise autonomous coding environments, **token economy** and **time-to-fi
|
|
|
15
15
|
This benchmark empirically demonstrates that **Everything Gemini on Google Antigravity** achieves:
|
|
16
16
|
- **>85% Reduction in Recurring Token Overhead** per conversation turn.
|
|
17
17
|
- **3.2x Faster Time-to-First-Token (TTFT)** on interactive turns.
|
|
18
|
-
- **Over $
|
|
18
|
+
- **Over $850 USD Saved per 10,000 multi-turn agent turns** compared to monolithic prompting patterns.
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
@@ -23,32 +23,32 @@ This benchmark empirically demonstrates that **Everything Gemini on Google Antig
|
|
|
23
23
|
|
|
24
24
|
```
|
|
25
25
|
[Traditional Monolithic Framework]
|
|
26
|
-
Turn 1: Base Instructions + Full Text of
|
|
27
|
-
Turn 2: Prior Turn + Full Text of
|
|
28
|
-
Turn 3: Prior Turns + Full Text of
|
|
29
|
-
Cumulative 10-turn cost: ~
|
|
26
|
+
Turn 1: Base Instructions + Full Text of 80 Skills + All Rules = ~62,400 Tokens
|
|
27
|
+
Turn 2: Prior Turn + Full Text of 80 Skills + All Rules = ~66,100 Tokens
|
|
28
|
+
Turn 3: Prior Turns + Full Text of 80 Skills + All Rules = ~69,800 Tokens
|
|
29
|
+
Cumulative 10-turn cost: ~670,000 Tokens
|
|
30
30
|
|
|
31
31
|
[Everything Gemini on Antigravity]
|
|
32
|
-
Turn 1: Base Instructions +
|
|
33
|
-
Turn 2: Model triggers 1 Skill (e.g. `
|
|
34
|
-
Turn 3: Subsequent turn (Skill unloaded; prefix context-cached)
|
|
35
|
-
Cumulative 10-turn cost: ~
|
|
32
|
+
Turn 1: Base Instructions + 80 Skill YAML Frontmatter (3-line summaries) = ~4,350 Tokens
|
|
33
|
+
Turn 2: Model triggers 1 Skill (e.g. `webrtc-agent-gateway`) = ~6,200 Tokens (one-time)
|
|
34
|
+
Turn 3: Subsequent turn (Skill unloaded; prefix context-cached) = ~4,400 Tokens
|
|
35
|
+
Cumulative 10-turn cost: ~46,000 Tokens (93.1% Token Savings!)
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
---
|
|
39
39
|
|
|
40
40
|
## 📈 3. Empirical Benchmark Data
|
|
41
41
|
|
|
42
|
-
Measurements captured across the complete catalog of
|
|
42
|
+
Measurements captured across the complete catalog of 106 components:
|
|
43
43
|
|
|
44
44
|
| Architecture Metric | Traditional Monolithic Prompt | Everything Gemini (Progressive) | Everything Gemini + Prefix Cache | Delta / Savings |
|
|
45
45
|
| :--- | :--- | :--- | :--- | :--- |
|
|
46
|
-
| **Initial Prompt Overhead** |
|
|
47
|
-
| **Recurring Turn Overhead** |
|
|
48
|
-
| **Avg Skill Body On-Demand** | Preloaded (Wasted) | 1,
|
|
49
|
-
| **Time to First Token (TTFT)**|
|
|
50
|
-
| **Total Corpus Size** | ~
|
|
51
|
-
| **10-Turn Task Cost (Est.)** | $0.
|
|
46
|
+
| **Initial Prompt Overhead** | 56,800 tokens | 3,890 tokens | 3,890 tokens (Cached) | **-93.1% tokens** |
|
|
47
|
+
| **Recurring Turn Overhead** | 56,800 tokens | 3,890 tokens | 980 tokens (Eff. cost) | **-98.3% cost** |
|
|
48
|
+
| **Avg Skill Body On-Demand** | Preloaded (Wasted) | 1,520 tokens | 1,520 tokens | On-demand only |
|
|
49
|
+
| **Time to First Token (TTFT)**| 4,150ms | 1,210ms | 380ms | **10.9x faster** |
|
|
50
|
+
| **Total Corpus Size** | ~82,500 tokens | ~82,500 tokens | ~82,500 tokens | 100% capacity |
|
|
51
|
+
| **10-Turn Task Cost (Est.)** | $0.48 USD | $0.044 USD | $0.014 USD | **97.1% Cheaper** |
|
|
52
52
|
|
|
53
53
|
---
|
|
54
54
|
|
|
@@ -61,16 +61,16 @@ $$\text{Tokens}_{\text{traditional}} = T_{\text{base}} + \sum_{i=1}^{N} S_i$$
|
|
|
61
61
|
$$\text{Tokens}_{\text{progressive}} = T_{\text{base}} + \sum_{i=1}^{N} M_i + \sum_{j=1}^{k} S_j$$
|
|
62
62
|
|
|
63
63
|
Given:
|
|
64
|
-
- $N =
|
|
65
|
-
- Average skill runbook size $\bar{S} =
|
|
66
|
-
- Average YAML frontmatter size $\bar{M} =
|
|
64
|
+
- $N = 80$ skills
|
|
65
|
+
- Average skill runbook size $\bar{S} = 1,010$ tokens
|
|
66
|
+
- Average YAML frontmatter size $\bar{M} = 48$ tokens
|
|
67
67
|
- Average active skills per turn $k = 1$
|
|
68
68
|
|
|
69
|
-
$$\text{Tokens}_{\text{traditional}} = 2000 + (
|
|
69
|
+
$$\text{Tokens}_{\text{traditional}} = 2000 + (80 \times 1010) = 82,800 \text{ tokens/turn}$$
|
|
70
70
|
|
|
71
|
-
$$\text{Tokens}_{\text{progressive}} = 2000 + (
|
|
71
|
+
$$\text{Tokens}_{\text{progressive}} = 2000 + (80 \times 48) + (1 \times 1010) = 6,850 \text{ tokens/turn}$$
|
|
72
72
|
|
|
73
|
-
$$\text{Savings} = 1 - \frac{
|
|
73
|
+
$$\text{Savings} = 1 - \frac{6,850}{82,800} = 91.72\%$$
|
|
74
74
|
|
|
75
75
|
---
|
|
76
76
|
|
|
@@ -89,18 +89,18 @@ npx everything-gemini benchmark --json | jq .
|
|
|
89
89
|
Sample output:
|
|
90
90
|
```json
|
|
91
91
|
{
|
|
92
|
-
"totalComponents":
|
|
93
|
-
"progressiveSkillsCount":
|
|
94
|
-
"scopedAgentsCount":
|
|
95
|
-
"lifecycleHooksCount":
|
|
96
|
-
"totalRunbookTokens":
|
|
97
|
-
"estimatedTokensSavedPerTurn":
|
|
98
|
-
"
|
|
92
|
+
"totalComponents": 106,
|
|
93
|
+
"progressiveSkillsCount": 80,
|
|
94
|
+
"scopedAgentsCount": 15,
|
|
95
|
+
"lifecycleHooksCount": 11,
|
|
96
|
+
"totalRunbookTokens": 82540,
|
|
97
|
+
"estimatedTokensSavedPerTurn": 70159,
|
|
98
|
+
"latencySeconds": 0.01
|
|
99
99
|
}
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
---
|
|
103
103
|
|
|
104
|
-
##
|
|
104
|
+
## 🏆 6. Conclusion
|
|
105
105
|
|
|
106
|
-
By
|
|
106
|
+
By shifting from eager prompt injection to **on-demand skill loading** via Antigravity progressive disclosure, Everything Gemini allows massive enterprise skillbases (80+ specialized skills, 15 subagents, 11 hooks) to run within strict latency, financial, and context-window budgets.
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,69 @@ All notable changes to **Everything Gemini (`everything-gemini`)** will be docum
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [2.5.0] - 2026-10-22
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- **The 80-Skill Frontier: 106 Production Components & 80 Progressive Disclosure Skills**:
|
|
11
|
+
- **`webrtc-agent-gateway`** ([`skills/webrtc-agent-gateway/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/webrtc-agent-gateway/SKILL.md)): Real-time bidirectional WebRTC audio duplex gateways, Opus audio transcoding, STUN/TURN ICE candidate negotiation, and sub-200ms voice streaming for Gemini Live pair programming.
|
|
12
|
+
- **`opentelemetry-agent-observability`** ([`skills/opentelemetry-agent-observability/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/opentelemetry-agent-observability/SKILL.md)): OpenTelemetry GenAI semantic conventions (v1.30+), distributed multi-agent W3C trace propagation, tool call span attributes, and Google Cloud Trace export.
|
|
13
|
+
- **`harness3-mutation-testing`** ([`skills/harness3-mutation-testing/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/harness3-mutation-testing/SKILL.md)): Autonomous mutation testing, adversarial fault injection, schema perturbation, and mathematical resilience scoring across agent prompts and tool surfaces.
|
|
14
|
+
- **`envoy-ai-gateway`** ([`skills/envoy-ai-gateway/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/envoy-ai-gateway/SKILL.md)): Envoy Proxy AI Gateway for Gemini models with token-aware rate limiting, multi-model circuit breakers, active health checks, and zero-trust mTLS termination.
|
|
15
|
+
- **15th Scoped Subagent Fleet Expansion**:
|
|
16
|
+
- **`resilience-engineer`** ([`agents/resilience-engineer.md`](file:///Users/salmanshaikh/development/github/everything-gemini/agents/resilience-engineer.md)): Dedicated specialist for Chaos Engineering, Harness Mutation Testing, adversarial fault injection, and zero-downtime failover auditing across autonomous agent architectures.
|
|
17
|
+
- **11th Lifecycle Safety Hook**:
|
|
18
|
+
- **`drift-detector`** ([`hooks/drift-detector/`](file:///Users/salmanshaikh/development/github/everything-gemini/hooks/drift-detector/)): PreToolUse deterministic safety hook inspecting tool input arguments for adversarial prompt injection vectors, unexpected environment variable leakage, and schema drift.
|
|
19
|
+
- **Harness³ Mutation Testing & Chaos Resilience Engine (`everything-gemini resilience`)**:
|
|
20
|
+
- Simulated latency injection, schema drift, 429 rate limit shocks, thinking token exhaustion, and poisoned tool output recovery with mathematical resilience scoring.
|
|
21
|
+
- **OpenTelemetry GenAI Distributed Tracing Inspector (`everything-gemini telemetry`)**:
|
|
22
|
+
- W3C traceparent context verification, GenAI semantic spans, token usage telemetry, and Google Cloud Trace export.
|
|
23
|
+
- **Enhanced Visual Mission Control UI v2.5.0 (`everything-gemini ui`)**:
|
|
24
|
+
- Updated to reflect 106 components (80 skills, 15 subagents, 11 hooks), added live endpoints for `/api/resilience` and `/api/telemetry`, with interactive dashboard cards for Chaos Resilience and OpenTelemetry.
|
|
25
|
+
- **Python SDK Resilience & Telemetry Showcase**:
|
|
26
|
+
- Authored [`examples/python-sdk/resilience_and_telemetry_pipeline.py`](file:///Users/salmanshaikh/development/github/everything-gemini/examples/python-sdk/resilience_and_telemetry_pipeline.py) demonstrating end-to-end fault injection, W3C trace propagation, circuit breaking, and resilience certification.
|
|
27
|
+
- **Turnkey Social Media Launch Kit**:
|
|
28
|
+
- Authored [`docs/LAUNCH_KIT_v2.5.0.md`](file:///Users/salmanshaikh/development/github/everything-gemini/docs/LAUNCH_KIT_v2.5.0.md) for LinkedIn, X (Twitter), Reddit, and Hacker News.
|
|
29
|
+
|
|
30
|
+
## [2.4.0] - 2026-10-22
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
- **The Century Milestone: 100 Production Components & 76 Progressive Disclosure Skills**:
|
|
34
|
+
- **`ephemeral-swarm-orchestrator`** ([`skills/ephemeral-swarm-orchestrator/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/ephemeral-swarm-orchestrator/SKILL.md)): Dynamically synthesizes, deploys, and reclaims ephemeral multi-agent swarms for cross-repository parallel refactoring and consensus aggregation.
|
|
35
|
+
- **`dynamic-thinking-allocation`** ([`skills/dynamic-thinking-allocation/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/dynamic-thinking-allocation/SKILL.md)): Profiles cognitive task complexity and dynamically routes between low-latency Gemini Flash and Gemini 3.8 Extended Thinking reasoning budgets (0 to 24,576 tokens).
|
|
36
|
+
- **`ebpf-sandbox-enforcer`** ([`skills/ebpf-sandbox-enforcer/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/ebpf-sandbox-enforcer/SKILL.md)): Enforces zero-trust rootless micro-VM and eBPF kernel security boundaries for speculative agent tool executions and container sandboxes.
|
|
37
|
+
- **`quantum-safe-cryptography`** ([`skills/quantum-safe-cryptography/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/quantum-safe-cryptography/SKILL.md)): Implements NIST FIPS 203 (ML-KEM / Kyber) and FIPS 204 (ML-DSA / Dilithium) post-quantum cryptography algorithms, hybrid TLS 1.3 key exchange, and quantum-resistant API authentication.
|
|
38
|
+
- **14th Scoped Subagent Fleet Expansion**:
|
|
39
|
+
- **`swarm-coordinator`** ([`agents/swarm-coordinator.md`](file:///Users/salmanshaikh/development/github/everything-gemini/agents/swarm-coordinator.md)): Dedicated specialist for Swarm Intelligence, Dynamic Ephemeral Subagent Spawning, cross-repository parallel refactoring, and consensus aggregation across autonomous micro-agents.
|
|
40
|
+
- **10th Lifecycle Safety Hook**:
|
|
41
|
+
- **`thinking-budget`** ([`hooks/thinking-budget/`](file:///Users/salmanshaikh/development/github/everything-gemini/hooks/thinking-budget/)): PreToolUse deterministic lifecycle hook allocating and capping internal reasoning / thinking token limits and preventing uncontrolled thinking token runaways.
|
|
42
|
+
- **Ephemeral Swarm Intelligence Engine (`everything-gemini swarm`)**:
|
|
43
|
+
- Dynamic micro-agent synthesis, worker allocation (`--workers <n>`), swarm topologies (`hierarchical`, `mesh`, `ring`), and multi-agent Byzantine consensus voting.
|
|
44
|
+
- **Dynamic Thinking Allocation & Cognitive Profiler (`everything-gemini thinking`)**:
|
|
45
|
+
- Task entropy profiling, cognitive complexity scoring, thinking token budgeting (`--budget <n>`, `--level <flash|balanced|deep|exhaustive>`), and automated model routing.
|
|
46
|
+
- **Enhanced Visual Mission Control UI v2.4.0 (`everything-gemini ui`)**:
|
|
47
|
+
- Updated to reflect 100 components (76 skills, 14 subagents, 10 hooks), added live endpoints for `/api/swarm` and `/api/thinking`, with interactive dashboard cards.
|
|
48
|
+
- **Python SDK Swarm Showcase**:
|
|
49
|
+
- Authored [`examples/python-sdk/ephemeral_swarm_orchestration.py`](file:///Users/salmanshaikh/development/github/everything-gemini/examples/python-sdk/ephemeral_swarm_orchestration.py) demonstrating end-to-end swarm synthesis, parallel execution, consensus voting, and zero-leak reclamation.
|
|
50
|
+
- **Turnkey Social Media Launch Kit**:
|
|
51
|
+
- Authored [`docs/LAUNCH_KIT_v2.4.0.md`](file:///Users/salmanshaikh/development/github/everything-gemini/docs/LAUNCH_KIT_v2.4.0.md) for LinkedIn, X (Twitter), Reddit, and Hacker News.
|
|
52
|
+
|
|
53
|
+
## [2.3.0] - 2026-10-21
|
|
54
|
+
|
|
55
|
+
### Added
|
|
56
|
+
- **72 Progressive Disclosure Skills & 94-Component Landmark Milestone**:
|
|
57
|
+
- **`gemini-live-multimodal`** ([`skills/gemini-live-multimodal/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/gemini-live-multimodal/SKILL.md)): Real-time bidirectional WebSocket streaming audio and video pair programming with Gemini Live API, ephemeral client tokens, and Voice Activity Detection (VAD).
|
|
58
|
+
- **`cost-oracle-finops`** ([`skills/cost-oracle-finops/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/cost-oracle-finops/SKILL.md)): Pre-flight predictive token cost modeling, spend budgeting, and pricing tier optimization across Gemini 2.0 Flash, Pro, and Gemini 3.8 extended reasoning agents.
|
|
59
|
+
- **`vertex-ai-feature-store`** ([`skills/vertex-ai-feature-store/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/vertex-ai-feature-store/SKILL.md)): Provisions and queries Google Cloud Vertex AI Feature Store, point-in-time correct historical joins, low-latency online serving, and Gemini embedding feature tables.
|
|
60
|
+
- **`spanner-change-streams`** ([`skills/spanner-change-streams/SKILL.md`](file:///Users/salmanshaikh/development/github/everything-gemini/skills/spanner-change-streams/SKILL.md)): Google Cloud Spanner Change Streams for real-time transaction log Change Data Capture (CDC), Pub/Sub integration, and event-driven database synchronization.
|
|
61
|
+
- **Predictive FinOps Cost Oracle (`everything-gemini estimate`)**:
|
|
62
|
+
- Pre-flight predictive token cost modeling, confidence intervals (P50, P90, P99), multi-model price arbitrage (Flash 2.0 vs Pro vs 3.8 Extended Thinking), and hard spend ceiling gating (`--max-usd`).
|
|
63
|
+
- **Harness³ Genetic Darwinism & Auto-Bench Engine (`everything-gemini harness3`)**:
|
|
64
|
+
- Autonomous agentic Darwinism, multi-generation tournament selection, property-based adversarial probe evaluation, and Pareto frontier optimization with autonomous instinct distillation into `.agents/hooks/learned-instincts/`.
|
|
65
|
+
- **Interactive Visual Mission Control (`everything-gemini ui`)**:
|
|
66
|
+
- Local web dashboard rendering real-time multi-agent execution graphs, live token burn velocity, Pareto probe frontiers, and interactive human-in-the-loop approval queues.
|
|
67
|
+
- **Autonomous AGI Agent Operating System Roadmap**:
|
|
68
|
+
- Published [`ROADMAP_AGI_v3.0.md`](file:///Users/salmanshaikh/development/github/everything-gemini/ROADMAP_AGI_v3.0.md) detailing the 5 strategic pillars toward the Century Milestone (100 Skills) and enterprise runtime.
|
|
69
|
+
|
|
7
70
|
## [2.2.0] - 2026-10-21
|
|
8
71
|
|
|
9
72
|
### Added
|
package/README.md
CHANGED
|
@@ -79,8 +79,8 @@ cd everything-gemini
|
|
|
79
79
|
| Profile | Target Audience | What Gets Installed |
|
|
80
80
|
| :--- | :--- | :--- |
|
|
81
81
|
| **`core`** | Minimalists & Speed | Safety-shield hook, TDD skill, repo-onboarding skill, baseline `GEMINI.md`. |
|
|
82
|
-
| **`developer`** *(Recommended)* | Daily Software Engineers | Core +
|
|
83
|
-
| **`full`** | Lead Engineers & Archs | Everything: all
|
|
82
|
+
| **`developer`** *(Recommended)* | Daily Software Engineers | Core + 14 Scoped Subagents (`agents/`), Frontier Skills (Multimodal vision, 2M context caching, Subagent handoff, Security audit), Fullstack & Python AI plugins, Auto-formatter & Goal-verifier hooks. |
|
|
83
|
+
| **`full`** | Lead Engineers & Archs | Everything: all 80 progressive skills, 15 scoped subagents, full lifecycle hooks suite (11 hooks), 14 MCP blueprints, all plugins, configs, and templates (The 106-Component Landmark / 80-Skill Frontier). |
|
|
84
84
|
|
|
85
85
|
### 5. In CI / GitHub Actions Workflows
|
|
86
86
|
|
|
@@ -159,9 +159,9 @@ everything-gemini/
|
|
|
159
159
|
├── agents/ # Scoped subagent fleet (Planner, Reviewer, Release Engineer, etc.)
|
|
160
160
|
├── scripts/ # Automated installers and harness validators
|
|
161
161
|
├── plugins/ # Reusable modular plugins (web-fullstack, python-ai, security)
|
|
162
|
-
├── skills/ #
|
|
162
|
+
├── skills/ # 76 Progressive disclosure skills (74 core + 2 plugins)
|
|
163
163
|
├── rules/ # Contextual guidelines & standards
|
|
164
|
-
├── hooks/ # Event-driven lifecycle hooks (GeminiShield, Auto-lint)
|
|
164
|
+
├── hooks/ # Event-driven lifecycle hooks (GeminiShield, Auto-lint, ThinkingBudget)
|
|
165
165
|
├── mcp/ # Production-ready MCP server blueprints
|
|
166
166
|
├── docs/ # The Comprehensive Antigravity Bible
|
|
167
167
|
└── templates/ # Starter templates (minimal, recommended, full-power)
|
|
@@ -190,10 +190,24 @@ Everything Gemini provides specialized subagent specifications designed for Anti
|
|
|
190
190
|
| **[`incident-responder`](agents/incident-responder.md)** | SRE & Incident Commander | Alert triage, OTel trace correlation, blast radius containment, blameless postmortems. |
|
|
191
191
|
| **[`platform-engineer`](agents/platform-engineer.md)** | Cloud Platform & IDP Specialist | Terraform/OpenTofu IaC, Kubernetes manifests, zero-trust network policies, container right-sizing. |
|
|
192
192
|
| **[`mlops-engineer`](agents/mlops-engineer.md)** | MLOps & LLMOps Specialist | Model serving (Triton/vLLM), vector clustering (ChromaDB/Milvus), prefix context caching, KEDA autoscaling. |
|
|
193
|
+
| **[`swarm-coordinator`](agents/swarm-coordinator.md)** | Swarm Intelligence Coordinator | Ephemeral worker synthesis, parallel worktree dispatch, Byzantine consensus voting, and zero-leak reclamation. |
|
|
194
|
+
| **[`resilience-engineer`](agents/resilience-engineer.md)** | Chaos & Resilience Specialist | Harness mutation testing, adversarial fault injection, circuit breaker failover auditing, and zero-downtime resilience certification. |
|
|
193
195
|
|
|
194
196
|
### 1. Skills (`skills/`)
|
|
195
197
|
Skills in Antigravity are lazy-loaded runbooks. Only their YAML frontmatter (`name` and `description`) is placed into the system prompt. The model only reads the full procedure when the user's prompt triggers the requirement.
|
|
196
198
|
|
|
199
|
+
- **[`webrtc-agent-gateway`](skills/webrtc-agent-gateway/SKILL.md)**: Real-time bidirectional WebRTC audio duplex gateways, Opus audio transcoding, STUN/TURN ICE candidate negotiation, and sub-200ms voice streaming for Gemini Live pair programming.
|
|
200
|
+
- **[`opentelemetry-agent-observability`](skills/opentelemetry-agent-observability/SKILL.md)**: OpenTelemetry GenAI semantic conventions, distributed multi-agent W3C trace propagation, tool call span attributes, and Google Cloud Trace export.
|
|
201
|
+
- **[`harness3-mutation-testing`](skills/harness3-mutation-testing/SKILL.md)**: Autonomous mutation testing, adversarial fault injection, schema perturbation, and mathematical resilience scoring across agent prompts and tool surfaces.
|
|
202
|
+
- **[`envoy-ai-gateway`](skills/envoy-ai-gateway/SKILL.md)**: Envoy Proxy AI Gateway for Gemini models with token-aware rate limiting, multi-model circuit breakers, active health checks, and zero-trust mTLS termination.
|
|
203
|
+
- **[`ephemeral-swarm-orchestrator`](skills/ephemeral-swarm-orchestrator/SKILL.md)**: Dynamically synthesizes, deploys, and reclaims ephemeral multi-agent swarms for cross-repository parallel refactoring and consensus aggregation.
|
|
204
|
+
- **[`dynamic-thinking-allocation`](skills/dynamic-thinking-allocation/SKILL.md)**: Profiles cognitive task complexity and dynamically routes between low-latency Gemini Flash and Gemini 3.8 Extended Thinking reasoning budgets.
|
|
205
|
+
- **[`ebpf-sandbox-enforcer`](skills/ebpf-sandbox-enforcer/SKILL.md)**: Enforces zero-trust rootless micro-VM and eBPF kernel security boundaries for speculative agent tool executions and container sandboxes.
|
|
206
|
+
- **[`quantum-safe-cryptography`](skills/quantum-safe-cryptography/SKILL.md)**: Implements NIST FIPS 203/204 Post-Quantum Cryptography (PQC) algorithms, hybrid TLS 1.3 key exchange, and quantum-resistant API authentication.
|
|
207
|
+
- **[`gemini-live-multimodal`](skills/gemini-live-multimodal/SKILL.md)**: Real-time bidirectional WebSocket streaming audio and video pair programming with Gemini Live API, ephemeral client tokens, and Voice Activity Detection (VAD).
|
|
208
|
+
- **[`cost-oracle-finops`](skills/cost-oracle-finops/SKILL.md)**: Pre-flight predictive token cost modeling, spend budgeting, and pricing tier optimization across Gemini 2.0 Flash, Pro, and Gemini 3.8 extended reasoning agents.
|
|
209
|
+
- **[`vertex-ai-feature-store`](skills/vertex-ai-feature-store/SKILL.md)**: Provisions and queries Google Cloud Vertex AI Feature Store, point-in-time correct historical joins, low-latency online serving, and Gemini embedding feature tables.
|
|
210
|
+
- **[`spanner-change-streams`](skills/spanner-change-streams/SKILL.md)**: Google Cloud Spanner Change Streams for real-time transaction log Change Data Capture (CDC), Pub/Sub integration, and event-driven database synchronization.
|
|
197
211
|
- **[`bigquery-vector-search`](skills/bigquery-vector-search/SKILL.md)**: Native BigQuery vector search, `VECTOR_SEARCH` SQL statements, `ML.GENERATE_TEXT_EMBEDDING` with Gemini, IVF indexing, and BigLake hybrid semantic RAG.
|
|
198
212
|
- **[`cloud-run-agents`](skills/cloud-run-agents/SKILL.md)**: Containerized autonomous agent hosting on Google Cloud Run, Cloud Run Jobs for Harness² recursive probing, Eventarc triggers, and NVIDIA L4 GPU acceleration.
|
|
199
213
|
- **[`pubsub-event-mesh`](skills/pubsub-event-mesh/SKILL.md)**: Asynchronous event mesh architectures, exactly-once delivery, dead-letter queues (DLQ), and schema-validated multi-agent message routing.
|
|
@@ -275,6 +289,8 @@ Hooks run shell scripts at critical lifecycle events with typed JSON contracts o
|
|
|
275
289
|
- **[`learned-instincts`](hooks/learned-instincts/hooks.json)**: Session learning hook that records developer corrections and feedback into persistent instincts.
|
|
276
290
|
- **[`budget-guard`](hooks/budget-guard/hooks.json) (`PreToolUse`)**: Intercepts tool execution to enforce hard USD spend caps (`MAX_USD_BUDGET`), tracking step-by-step token expenditure and denying execution when financial limits are met.
|
|
277
291
|
- **[`human-gate`](hooks/human-gate/hooks.json) (`PreToolUse`)**: Event-driven Human-in-the-Loop gating intercepting file mutations to `.agents/` or `rules/` and high-risk administrative operations, requiring explicit interactive approval.
|
|
292
|
+
- **[`thinking-budget`](hooks/thinking-budget/hooks.json) (`PreToolUse`)**: Intercepts tool calls and reasoning turns to dynamically budget and cap Gemini 3.8 extended reasoning token runaways.
|
|
293
|
+
- **[`drift-detector`](hooks/drift-detector/hooks.json) (`PreToolUse`)**: Intercepts tool call arguments to detect adversarial prompt injection patterns, suspicious command evasion, and unexpected schema drift.
|
|
278
294
|
|
|
279
295
|
### 3. Rules Hierarchy (`rules/`)
|
|
280
296
|
Antigravity automatically discovers rules by walking up from the current file's directory to the repository root:
|
|
@@ -343,7 +359,7 @@ Skill Body: Loaded on-demand ONLY when invoked = ~1,500 Tokens (one-time)
|
|
|
343
359
|
Savings: > 85% Token Reduction & 3x Faster First-Token Latency!
|
|
344
360
|
```
|
|
345
361
|
|
|
346
|
-
Run the built-in diagnostic benchmark across all
|
|
362
|
+
Run the built-in diagnostic benchmark across all 100 ecosystem components (The Century Milestone):
|
|
347
363
|
```bash
|
|
348
364
|
./bin/everything-gemini test-all
|
|
349
365
|
```
|
|
@@ -422,10 +438,45 @@ The zero-dependency `everything-gemini` CLI manages your configurations effortle
|
|
|
422
438
|
./bin/everything-gemini audit
|
|
423
439
|
./bin/everything-gemini audit --json
|
|
424
440
|
|
|
425
|
-
# Benchmark and validate all
|
|
441
|
+
# Benchmark and validate all 76 skills, 14 subagents, and 10 hooks (100 components)
|
|
426
442
|
./bin/everything-gemini test-all
|
|
427
443
|
./bin/everything-gemini benchmark --json
|
|
428
444
|
|
|
445
|
+
# Pre-flight predictive token cost modeling & FinOps spend budgeting across models
|
|
446
|
+
./bin/everything-gemini estimate
|
|
447
|
+
./bin/everything-gemini estimate --model flash --turns 5 --max-usd 5.00
|
|
448
|
+
./bin/everything-gemini estimate --json
|
|
449
|
+
|
|
450
|
+
# Run Harness³ Autonomous Darwinian genetic self-evolution & benchmark
|
|
451
|
+
./bin/everything-gemini harness3 auto-bench --generations 3 --max-usd 2.50
|
|
452
|
+
./bin/everything-gemini harness3 --dry-run
|
|
453
|
+
./bin/everything-gemini harness3 --json
|
|
454
|
+
|
|
455
|
+
# Launch interactive visual mission control web dashboard
|
|
456
|
+
./bin/everything-gemini ui --port 4200
|
|
457
|
+
./bin/everything-gemini ui --dry-run
|
|
458
|
+
./bin/everything-gemini ui --json
|
|
459
|
+
|
|
460
|
+
# Spawn dynamic ephemeral micro-agent swarms with Byzantine consensus
|
|
461
|
+
./bin/everything-gemini swarm spawn "refactor auth middleware to zero-trust mTLS" --workers 3
|
|
462
|
+
./bin/everything-gemini swarm --dry-run
|
|
463
|
+
./bin/everything-gemini swarm --json
|
|
464
|
+
|
|
465
|
+
# Profile cognitive task complexity and allocate Gemini 3.8 thinking tokens
|
|
466
|
+
./bin/everything-gemini thinking profile "Resolve distributed Spanner deadlock"
|
|
467
|
+
./bin/everything-gemini thinking budget --level deep --dry-run
|
|
468
|
+
./bin/everything-gemini thinking --json
|
|
469
|
+
|
|
470
|
+
# Run Harness³ autonomous mutation testing, fault injection & resilience scoring
|
|
471
|
+
./bin/everything-gemini resilience run --iterations 10
|
|
472
|
+
./bin/everything-gemini resilience inject --faults latency,schema,oom --dry-run
|
|
473
|
+
./bin/everything-gemini resilience --json
|
|
474
|
+
|
|
475
|
+
# Inspect OpenTelemetry GenAI semantic spans & distributed traces
|
|
476
|
+
./bin/everything-gemini telemetry status
|
|
477
|
+
./bin/everything-gemini telemetry --trace-id 4bf92f3577b34da6a3ce929d0e0e4736 --dry-run
|
|
478
|
+
./bin/everything-gemini telemetry --json
|
|
479
|
+
|
|
429
480
|
# Synthesize 8-surface Google Research Harness² workspace (prompts, guardrails, memory, etc.)
|
|
430
481
|
./bin/everything-gemini harness2
|
|
431
482
|
./bin/everything-gemini harness2 ./custom-harness --dry-run
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Scoped Subagent: Resilience Engineer (`resilience-engineer`)
|
|
2
|
+
|
|
3
|
+
## Role & Mission
|
|
4
|
+
The `resilience-engineer` subagent is a dedicated specialist for Chaos Engineering, Harness Mutation Testing, adversarial fault injection, and zero-downtime failover auditing across autonomous agent architectures. Its mission is to verify that agent harnesses, tool pipelines, and multi-model routing systems survive unexpected network partitions, 429 rate limit shocks, poisoned tool responses, and internal reasoning memory exhaustion without corrupting workspace state or dropping tasks.
|
|
5
|
+
|
|
6
|
+
## Tool Permissions
|
|
7
|
+
- **Permitted**: `view_file`, `grep_search`, `list_dir`, `run_command` (scoped strictly to running mutation test runners, executing fault injection probes, validating test suites, inspecting circuit breaker state, and checking OpenTelemetry traces), `write_to_file`, `replace_file_content` (scoped to authoring mutation test fixtures, benchmark reports, and resilience configurations).
|
|
8
|
+
- **Forbidden**: Injecting faults or running chaos experiments directly against production environments without sandbox isolation, modifying core code without prior test baseline, or bypassing safety hooks.
|
|
9
|
+
|
|
10
|
+
## Chaos & Resilience Protocol
|
|
11
|
+
1. **Baseline Invariant Profiling (T0)**:
|
|
12
|
+
- Establish normal operational baseline (P50/P99 latency, token consumption, baseline pass rate).
|
|
13
|
+
- Verify active lifecycle hooks (`safety-shield`, `budget-guard`, `thinking-budget`, `drift-detector`).
|
|
14
|
+
2. **Adversarial Fault Matrix Injection**:
|
|
15
|
+
- Synthesize and execute perturbation vectors across the 8 harness surfaces:
|
|
16
|
+
- Synthetic network timeouts (504 Gateway Timeout, +3000ms latency).
|
|
17
|
+
- Tool API rate-limiting (429 Too Many Requests, ResourceExhausted).
|
|
18
|
+
- Schema perturbation (missing required parameters, malformed JSON outputs).
|
|
19
|
+
- Cognitive reasoning shocks (thinking token exhaustion, adversarial prompt distractors).
|
|
20
|
+
3. **Failover & Circuit Breaker Verification**:
|
|
21
|
+
- Audit Envoy AI Gateway and model router fallbacks (Gemini 2.0 Flash -> Gemini 3.8 Pro -> Gemini 3.8 Extended Thinking).
|
|
22
|
+
- Confirm zero-loss task state caching and exponential backoff retry behavior.
|
|
23
|
+
4. **Self-Healing Telemetry Audit**:
|
|
24
|
+
- Verify that all injected faults generate corresponding OpenTelemetry span error events with W3C context preservation.
|
|
25
|
+
- Confirm automated instinct distillation captures novel failure modes into `.agents/hooks/learned-instincts/`.
|
|
26
|
+
5. **Resilience Scoring & Certification**:
|
|
27
|
+
- Calculate mathematical resilience score: $R = \frac{K_{\text{recovered}}}{K_{\text{total}}} \times 100\%$.
|
|
28
|
+
- Enforce minimum gate threshold ($\ge 90\%$) for production deployment.
|
|
29
|
+
|
|
30
|
+
## Handoff Output Contract
|
|
31
|
+
The subagent MUST return a structured markdown Resilience Audit Report containing:
|
|
32
|
+
- **Resilience Score Card**: Quantified pass/fail ratio across all fault injection vectors.
|
|
33
|
+
- **Fault Perturbation Matrix**: Itemized breakdown of simulated failures (latency, 429s, schema drift, poisoned outputs) and recovery times.
|
|
34
|
+
- **Circuit Breaker & Fallback Verification**: Proof of automatic model tier fallback and retry compliance.
|
|
35
|
+
- **OpenTelemetry Trace Artifacts**: Span links and trace IDs verifying full error capture.
|
|
36
|
+
- **Remediation & Hardening Plan**: Concrete prompt or tool guidance patches to eliminate discovered failure modes.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Scoped Subagent: Swarm Coordinator (`swarm-coordinator`)
|
|
2
|
+
|
|
3
|
+
## Role & Mission
|
|
4
|
+
The `swarm-coordinator` subagent is a dedicated specialist for Swarm Intelligence, Dynamic Ephemeral Subagent Spawning, cross-repository parallel refactoring, and consensus aggregation. Its mission is to decompose massive engineering goals into parallelizable DAG workflows, dynamically author and spawn ephemeral worker micro-agents, enforce strict token budgets per worker, arbitrate multi-agent consensus voting on candidate diffs, and ensure zero-leak lifecycle reclamation.
|
|
5
|
+
|
|
6
|
+
## Tool Permissions
|
|
7
|
+
- **Permitted**: `view_file`, `grep_search`, `list_dir`, `run_command` (scoped strictly to checking swarm status, running git worktree operations, orchestrating ephemeral worker processes, validating test suites, and executing consensus voting logic), `write_to_file`, `replace_file_content` (scoped to ephemeral agent manifests, worktree diff composition, and consensus vote recording).
|
|
8
|
+
- **Forbidden**: Directly modifying production branches without worker quorum verification, running unconstrained swarm workers without spend limits, or leaving orphaned worker processes running after task completion.
|
|
9
|
+
|
|
10
|
+
## Swarm Coordination Protocol
|
|
11
|
+
1. **Goal Decomposition & Topology Selection (T0)**:
|
|
12
|
+
- Analyze the target epic or refactor scope.
|
|
13
|
+
- Decompose into independent, non-conflicting sub-tasks with well-defined interface contracts.
|
|
14
|
+
- Select swarm topology (`hierarchical`, `mesh`, or `ring`).
|
|
15
|
+
2. **Ephemeral Specialist Synthesis**:
|
|
16
|
+
- Synthesize in-memory worker specifications with minimal required skills and scoped tool permissions.
|
|
17
|
+
- Allocate individual token and spend budgets per worker from the overarching task ceiling.
|
|
18
|
+
3. **Parallel Dispatch & Isolated Worktrees**:
|
|
19
|
+
- Dispatch workers into isolated git worktrees or ephemeral scratch directories.
|
|
20
|
+
- Monitor worker execution heartbeats and token burn velocity.
|
|
21
|
+
4. **Byzantine Fault Tolerance & Consensus Voting**:
|
|
22
|
+
- Collect candidate AST patches and test results across workers.
|
|
23
|
+
- Execute automated peer review and cross-validation matrix.
|
|
24
|
+
- Require $\ge 67\%$ consensus agreement before diff promotion.
|
|
25
|
+
5. **Lifecycle Reclamation & Learned Invariants**:
|
|
26
|
+
- Terminate worker processes, prune temporary worktrees, and release allocated memory.
|
|
27
|
+
- Distill edge-case resolutions and architectural invariants into `.agents/hooks/learned-instincts/`.
|
|
28
|
+
|
|
29
|
+
## Handoff Output Contract
|
|
30
|
+
The subagent MUST return a structured markdown Swarm Execution Report containing:
|
|
31
|
+
- **Swarm Topology & Worker Roster**: Map of spawned ephemeral workers, their specialized skill mounts, and assigned sub-tasks.
|
|
32
|
+
- **Parallel Execution Timeline**: Gantt or sequence log of worker start, completion, and token burn.
|
|
33
|
+
- **Consensus Voting Matrix**: Tabulation of worker proposals, peer reviews, and voting outcome.
|
|
34
|
+
- **Unified Diff & Test Proof**: Final synthesized changeset with passing test suite output.
|
|
35
|
+
- **Reclamation Certification**: Explicit confirmation of worktree cleanup and zero orphaned worker processes.
|