@techwavedev/agi-agent-kit 1.1.7 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +82 -1
- package/README.md +190 -12
- package/bin/init.js +30 -2
- package/package.json +6 -3
- package/templates/base/AGENTS.md +54 -23
- package/templates/base/README.md +325 -0
- package/templates/base/directives/memory_integration.md +95 -0
- package/templates/base/execution/memory_manager.py +309 -0
- package/templates/base/execution/session_boot.py +218 -0
- package/templates/base/execution/session_init.py +320 -0
- package/templates/base/skill-creator/SKILL_skillcreator.md +23 -36
- package/templates/base/skill-creator/scripts/init_skill.py +18 -135
- package/templates/skills/ec/README.md +31 -0
- package/templates/skills/ec/aws/SKILL.md +1020 -0
- package/templates/skills/ec/aws/defaults.yaml +13 -0
- package/templates/skills/ec/aws/references/common_patterns.md +80 -0
- package/templates/skills/ec/aws/references/mcp_servers.md +98 -0
- package/templates/skills/ec/aws-terraform/SKILL.md +349 -0
- package/templates/skills/ec/aws-terraform/references/best_practices.md +394 -0
- package/templates/skills/ec/aws-terraform/references/checkov_reference.md +337 -0
- package/templates/skills/ec/aws-terraform/scripts/configure_mcp.py +150 -0
- package/templates/skills/ec/confluent-kafka/SKILL.md +655 -0
- package/templates/skills/ec/confluent-kafka/references/ansible_playbooks.md +792 -0
- package/templates/skills/ec/confluent-kafka/references/ec_deployment.md +579 -0
- package/templates/skills/ec/confluent-kafka/references/kraft_migration.md +490 -0
- package/templates/skills/ec/confluent-kafka/references/troubleshooting.md +778 -0
- package/templates/skills/ec/confluent-kafka/references/upgrade_7x_to_8x.md +488 -0
- package/templates/skills/ec/confluent-kafka/scripts/kafka_health_check.py +435 -0
- package/templates/skills/ec/confluent-kafka/scripts/upgrade_preflight.py +568 -0
- package/templates/skills/ec/confluent-kafka/scripts/validate_config.py +455 -0
- package/templates/skills/ec/consul/SKILL.md +427 -0
- package/templates/skills/ec/consul/references/acl_setup.md +168 -0
- package/templates/skills/ec/consul/references/ha_config.md +196 -0
- package/templates/skills/ec/consul/references/troubleshooting.md +267 -0
- package/templates/skills/ec/consul/references/upgrades.md +213 -0
- package/templates/skills/ec/consul/scripts/consul_health_report.py +530 -0
- package/templates/skills/ec/consul/scripts/consul_status.py +264 -0
- package/templates/skills/ec/consul/scripts/generate_values.py +170 -0
- package/templates/skills/ec/documentation/SKILL.md +351 -0
- package/templates/skills/ec/documentation/references/best_practices.md +201 -0
- package/templates/skills/ec/documentation/scripts/analyze_code.py +307 -0
- package/templates/skills/ec/documentation/scripts/detect_changes.py +460 -0
- package/templates/skills/ec/documentation/scripts/generate_changelog.py +312 -0
- package/templates/skills/ec/documentation/scripts/sync_docs.py +272 -0
- package/templates/skills/ec/documentation/scripts/update_skill_docs.py +366 -0
- package/templates/skills/ec/gitlab/SKILL.md +529 -0
- package/templates/skills/ec/gitlab/references/agent_installation.md +416 -0
- package/templates/skills/ec/gitlab/references/api_reference.md +508 -0
- package/templates/skills/ec/gitlab/references/gitops_flux.md +465 -0
- package/templates/skills/ec/gitlab/references/troubleshooting.md +518 -0
- package/templates/skills/ec/gitlab/scripts/generate_agent_values.py +329 -0
- package/templates/skills/ec/gitlab/scripts/gitlab_agent_status.py +414 -0
- package/templates/skills/ec/jira/SKILL.md +484 -0
- package/templates/skills/ec/jira/references/jql_reference.md +148 -0
- package/templates/skills/ec/jira/scripts/add_comment.py +91 -0
- package/templates/skills/ec/jira/scripts/bulk_log_work.py +124 -0
- package/templates/skills/ec/jira/scripts/create_ticket.py +162 -0
- package/templates/skills/ec/jira/scripts/get_ticket.py +191 -0
- package/templates/skills/ec/jira/scripts/jira_client.py +383 -0
- package/templates/skills/ec/jira/scripts/log_work.py +154 -0
- package/templates/skills/ec/jira/scripts/search_tickets.py +104 -0
- package/templates/skills/ec/jira/scripts/update_comment.py +67 -0
- package/templates/skills/ec/jira/scripts/update_ticket.py +161 -0
- package/templates/skills/ec/karpenter/SKILL.md +301 -0
- package/templates/skills/ec/karpenter/references/ec2nodeclasses.md +421 -0
- package/templates/skills/ec/karpenter/references/migration.md +396 -0
- package/templates/skills/ec/karpenter/references/nodepools.md +400 -0
- package/templates/skills/ec/karpenter/references/troubleshooting.md +359 -0
- package/templates/skills/ec/karpenter/scripts/generate_ec2nodeclass.py +187 -0
- package/templates/skills/ec/karpenter/scripts/generate_nodepool.py +245 -0
- package/templates/skills/ec/karpenter/scripts/karpenter_status.py +359 -0
- package/templates/skills/ec/opensearch/SKILL.md +720 -0
- package/templates/skills/ec/opensearch/references/ml_neural_search.md +576 -0
- package/templates/skills/ec/opensearch/references/operator.md +532 -0
- package/templates/skills/ec/opensearch/references/query_dsl.md +532 -0
- package/templates/skills/ec/opensearch/scripts/configure_mcp.py +148 -0
- package/templates/skills/ec/victoriametrics/SKILL.md +598 -0
- package/templates/skills/ec/victoriametrics/references/kubernetes.md +531 -0
- package/templates/skills/ec/victoriametrics/references/prometheus_migration.md +333 -0
- package/templates/skills/ec/victoriametrics/references/troubleshooting.md +442 -0
- package/templates/skills/knowledge/SKILLS_CATALOG.md +274 -4
- package/templates/skills/knowledge/intelligent-routing/SKILL.md +237 -164
- package/templates/skills/knowledge/parallel-agents/SKILL.md +345 -73
- package/templates/skills/knowledge/plugin-discovery/SKILL.md +582 -0
- package/templates/skills/knowledge/plugin-discovery/scripts/platform_setup.py +1083 -0
- package/templates/skills/knowledge/design-md/README.md +0 -34
- package/templates/skills/knowledge/design-md/SKILL.md +0 -193
- package/templates/skills/knowledge/design-md/examples/DESIGN.md +0 -154
- package/templates/skills/knowledge/notebooklm-mcp/SKILL.md +0 -71
- package/templates/skills/knowledge/notebooklm-mcp/assets/example_asset.txt +0 -24
- package/templates/skills/knowledge/notebooklm-mcp/references/api_reference.md +0 -34
- package/templates/skills/knowledge/notebooklm-mcp/scripts/example.py +0 -19
- package/templates/skills/knowledge/react-components/README.md +0 -36
- package/templates/skills/knowledge/react-components/SKILL.md +0 -53
- package/templates/skills/knowledge/react-components/examples/gold-standard-card.tsx +0 -80
- package/templates/skills/knowledge/react-components/package-lock.json +0 -231
- package/templates/skills/knowledge/react-components/package.json +0 -16
- package/templates/skills/knowledge/react-components/resources/architecture-checklist.md +0 -15
- package/templates/skills/knowledge/react-components/resources/component-template.tsx +0 -37
- package/templates/skills/knowledge/react-components/resources/stitch-api-reference.md +0 -14
- package/templates/skills/knowledge/react-components/resources/style-guide.json +0 -27
- package/templates/skills/knowledge/react-components/scripts/fetch-stitch.sh +0 -30
- package/templates/skills/knowledge/react-components/scripts/validate.js +0 -68
- package/templates/skills/knowledge/self-update/SKILL.md +0 -60
- package/templates/skills/knowledge/self-update/scripts/update_kit.py +0 -103
- package/templates/skills/knowledge/stitch-loop/README.md +0 -54
- package/templates/skills/knowledge/stitch-loop/SKILL.md +0 -235
- package/templates/skills/knowledge/stitch-loop/examples/SITE.md +0 -73
- package/templates/skills/knowledge/stitch-loop/examples/next-prompt.md +0 -25
- package/templates/skills/knowledge/stitch-loop/resources/baton-schema.md +0 -61
- package/templates/skills/knowledge/stitch-loop/resources/site-template.md +0 -104
package/CHANGELOG.md
CHANGED
|
@@ -5,10 +5,91 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.2.1] - 2026-02-09
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Platform-Adaptive Multi-Agent Orchestration** (`parallel-agents` v2.0):
|
|
13
|
+
- **Strategy A: Claude Code Agent Teams** — True parallel multi-agent orchestration via tmux/in-process sessions. Requires `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`.
|
|
14
|
+
- **Strategy B: Claude Code Subagents** — Background/foreground task orchestration via `Task()` tool with `context: fork`.
|
|
15
|
+
- **Strategy C: Sequential Personas** — Universal fallback for Gemini, Opencode, and other platforms using `@agent` persona switching.
|
|
16
|
+
- **Strategy D: Kiro Autonomous Agent** — Async parallel task execution in sandboxed environments with PR-based delivery and cross-repo coordination.
|
|
17
|
+
- Automatic platform detection and strategy selection.
|
|
18
|
+
- Subagent configuration reference (frontmatter, tools, permissions, model, memory).
|
|
19
|
+
- Full Claude Code subagent lifecycle documentation (create, configure, invoke, manage).
|
|
20
|
+
|
|
21
|
+
- **Kiro IDE Powers & Autonomous Agent Support**:
|
|
22
|
+
- Full Kiro Powers documentation: `POWER.md` anatomy, frontmatter keywords activation, onboarding sections, steering files, `mcp.json` configuration with auto-namespacing.
|
|
23
|
+
- Kiro Hooks system (`.kiro/hooks/`) with JSON structure and automated behaviors.
|
|
24
|
+
- Kiro Autonomous Agent: sandboxed execution, PR-based reviews, cross-repo coordination, learning from code reviews.
|
|
25
|
+
- 12 curated launch partner Powers documented (Figma, Supabase, Stripe, Neon, Netlify, Postman, Strands, Datadog, Dynatrace, AWS CDK, Terraform, Aurora).
|
|
26
|
+
- **Antigravity ↔ Kiro mapping guide**: Skill-to-Power conversion workflow, directory mapping, frontmatter translation.
|
|
27
|
+
|
|
28
|
+
- **Plugin & Extension Auto-Discovery** (`plugin-discovery` v1.1.0 — NEW SKILL):
|
|
29
|
+
- Cross-platform extension auto-discovery for Claude Code, Kiro IDE, Gemini, and Opencode.
|
|
30
|
+
- Claude Code: Plugin marketplace guide (official + custom), LSP plugins by language, service integrations, scopes, subagent/skill discovery.
|
|
31
|
+
- Kiro: Full Powers discovery, installation guide (IDE, kiro.dev, GitHub, local path), setup checklist.
|
|
32
|
+
- Gemini/Opencode: Skills catalog discovery, MCP server detection.
|
|
33
|
+
- Cross-platform compatibility map (11 features × 4 platforms).
|
|
34
|
+
|
|
35
|
+
- **One-Shot Platform Setup Wizard** (`platform_setup.py`):
|
|
36
|
+
- Auto-detects platform: Claude Code, Kiro IDE, Gemini, Opencode.
|
|
37
|
+
- Scans project tech stack: languages (JS/TS/Python/Go/Rust/Ruby), frameworks (Next.js/React/Vue/Express/Angular/Svelte/Astro/React Native), services (GitHub/GitLab/Docker/Vercel/Netlify/Stripe/Supabase/Firebase/Terraform).
|
|
38
|
+
- Generates prioritized recommendations with `🔴 High` / `🟡 Medium` / `🟢 Low` indicators.
|
|
39
|
+
- Auto-applies configurable settings (Agent Teams, directory creation, hook setup) with single `Y/n` confirmation.
|
|
40
|
+
- Shows manual instructions for platform-only actions (plugin installs, Power installs).
|
|
41
|
+
- 4 modes: interactive, `--auto`, `--dry-run`, `--json`.
|
|
42
|
+
- New `/setup` workflow with `// turbo` annotation for auto-run.
|
|
43
|
+
|
|
44
|
+
- **Intelligent Routing v2.0** (`intelligent-routing` v2.0):
|
|
45
|
+
- Platform detection at session start (Claude Code, Kiro IDE, Gemini, Opencode).
|
|
46
|
+
- Proactive capability announcements per platform.
|
|
47
|
+
- Team Leader mode for Claude Code with Agent Teams enabled.
|
|
48
|
+
- Powers-driven orchestration mode for Kiro IDE.
|
|
49
|
+
- Proactive feature recommendations: suggests Agent Teams, plugins, Powers, Autonomous Agent when not enabled.
|
|
50
|
+
- Multi-domain task routing adapts to best available parallelism strategy.
|
|
51
|
+
|
|
52
|
+
- **Memory System Integration** (`session_boot.py` — NEW SCRIPT):
|
|
53
|
+
- `execution/session_boot.py` — Single entry point for session initialization. Checks Qdrant, Ollama, embedding models, and collections in one command. `--auto-fix` flag auto-pulls missing models and creates collections.
|
|
54
|
+
- **Session Boot Protocol** added as the **first section** in `AGENTS.md` — agents run `python3 execution/session_boot.py --auto-fix` before any work begins.
|
|
55
|
+
- `AGENTS.md` Memory-First section rewritten with explicit CLI commands: `memory_manager.py auto`, `store`, `cache-store` with decision tree table.
|
|
56
|
+
- `platform_setup.py` now detects full memory system: Qdrant status, Ollama status, embedding model presence, collection existence, point counts.
|
|
57
|
+
- Memory recommendations engine: suggests starting Qdrant/Ollama, pulling embedding model, or initializing collections when issues are detected.
|
|
58
|
+
- Memory report section (🧠) in platform setup output shows live system status.
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
|
|
62
|
+
- **`parallel-agents`**: Rewritten from v1.0 to v2.0 — now platform-adaptive with 4 orchestration strategies instead of 1.
|
|
63
|
+
- **`intelligent-routing`**: Rewritten from v1.0 to v2.0 — now includes platform detection, proactive recommendations, and Kiro support.
|
|
64
|
+
- **Cross-Platform Compatibility Map**: Updated with 2 new rows (Dynamic MCP Loading, Cross-Repo Tasks) and accurate Kiro feature coverage.
|
|
65
|
+
- **`package.json`**: Added `kiro`, `opencode`, and `platform-adaptive` keywords for NPM discoverability.
|
|
66
|
+
- **Templates**: All modified skills (`parallel-agents`, `intelligent-routing`, `plugin-discovery`) and scripts (`platform_setup.py`) synced to `templates/skills/knowledge/` for NPX distribution.
|
|
67
|
+
- **SKILLS_CATALOG.md**: Regenerated with 56 skills, including the new `plugin-discovery` skill.
|
|
68
|
+
- **`bin/init.js`**: NPX init now copies `execution/` scripts (session_boot.py, session_init.py, memory_manager.py) and `directives/` (memory_integration.md) to scaffolded projects. Update function also refreshes these files.
|
|
69
|
+
- **Post-install message**: Now shows `session_boot.py --auto-fix` as step 3 after installation.
|
|
70
|
+
- **`/setup-memory` workflow**: Fixed stale references, now uses correct scripts (session_init.py, memory_manager.py).
|
|
71
|
+
- **`/setup` workflow**: Added memory system troubleshooting section with Docker/Ollama/collection init commands.
|
|
72
|
+
|
|
73
|
+
### Fixed
|
|
74
|
+
|
|
75
|
+
- **Stale script references**: `/setup-memory` workflow referenced non-existent `init_memory_system.py` and `memory_middleware.py` — now correctly uses `session_init.py` and `memory_manager.py`.
|
|
76
|
+
- **Memory system unused**: Despite being installed, no agent instructions explicitly told agents WHEN to call the memory scripts. Now enforced via Session Boot Protocol at top of AGENTS.md.
|
|
77
|
+
- **`platform_setup.py` missing memory**: Setup wizard reported platform features but ignored Qdrant/Ollama status — now detects and recommends fixes.
|
|
78
|
+
- **`info` action missing**: Platform setup wizard didn't handle informational recommendations (e.g., "collections are empty") — added `info` action type with ℹ️ status icon.
|
|
79
|
+
- **Templates missing execution scripts**: NPX init created the `execution/` directory but didn't copy any scripts into it — now ships session_boot.py, session_init.py, and memory_manager.py.
|
|
80
|
+
|
|
8
81
|
## [1.1.7] - 2026-02-07
|
|
9
82
|
|
|
10
83
|
### Added
|
|
11
84
|
|
|
85
|
+
- **NotebookLM RAG Skill** (EC Scoped): New `notebooklm-rag` skill providing deep-search RAG capabilities powered by Google NotebookLM + Gemini 2.5. Complementary to `qdrant-memory` for explicit, document-grounded research.
|
|
86
|
+
- **B.L.A.S.T. Protocol**: Structured research workflow (Browse → Load → Ask → Synthesize → Transfer).
|
|
87
|
+
- **4 Research Modes**: Quick (single query), Deep (3-5 iterative), Cross-Ref (multi-notebook), Plan (doc-grounded planning).
|
|
88
|
+
- **Confidence Classification**: Automatic HIGH/MEDIUM/LOW categorization with source attribution.
|
|
89
|
+
- `scripts/research_query.py` — Generates structured research questions by mode.
|
|
90
|
+
- `scripts/research_report.py` — Formats findings into Markdown/JSON reports with confidence levels and knowledge gap analysis.
|
|
91
|
+
- `scripts/preflight_check.py` — Pre-flight validation checklist for MCP server, auth, and library.
|
|
92
|
+
- `references/research_patterns.md` — Workflow templates, query optimization, rate limit strategies.
|
|
12
93
|
- **Auto-Update in Skill Creator**: `init_skill.py` now auto-runs `update_catalog.py` and `sync_docs.py` after creating a new skill.
|
|
13
94
|
- Default ON — use `--no-auto-update` to skip.
|
|
14
95
|
- New `--skills-dir` flag for specifying catalog update target directory.
|
|
@@ -20,7 +101,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
20
101
|
- **Skill Creator Documentation** (`SKILL_skillcreator.md`):
|
|
21
102
|
- Step 3: Documents new auto-update behavior and `--no-auto-update` / `--skills-dir` flags.
|
|
22
103
|
- Step 6: Notes that manual catalog update is now only needed for modifications/deletions.
|
|
23
|
-
- **SKILLS_CATALOG.md**: Regenerated with
|
|
104
|
+
- **SKILLS_CATALOG.md**: Regenerated with 55 skills including `notebooklm-rag`.
|
|
24
105
|
|
|
25
106
|
### Fixed
|
|
26
107
|
|
package/README.md
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
`@techwavedev/agi-agent-kit` is a modular, deterministic framework designed to bridge the gap between LLM reasoning and reliable production execution. It scaffolds a "3-Layer Architecture" (Intent → Orchestration → Execution) that forces agents to use tested scripts rather than hallucinating code.
|
|
9
9
|
|
|
10
|
+
**v1.2.1** — Now with platform-adaptive orchestration and integrated semantic memory across Claude Code, Kiro IDE, Gemini, and Opencode.
|
|
11
|
+
|
|
10
12
|
---
|
|
11
13
|
|
|
12
14
|
## 🚀 Quick Start
|
|
@@ -23,18 +25,61 @@ You'll be prompted to choose a pack:
|
|
|
23
25
|
- **knowledge** - Core + 36 specialized skills (API, Security, Design, Architecture)
|
|
24
26
|
- **full** - Complete suite with `.agent/` structure (agents, workflows, rules)
|
|
25
27
|
|
|
28
|
+
After installation, run the **one-shot setup wizard** to auto-configure your environment:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir .
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
This detects your platform, scans the project stack, and configures everything with a single confirmation.
|
|
35
|
+
|
|
36
|
+
Then **boot the memory system** for automatic token savings:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
python3 execution/session_boot.py --auto-fix
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
This checks Qdrant, Ollama, embedding models, and collections — auto-fixing any issues.
|
|
43
|
+
|
|
26
44
|
---
|
|
27
45
|
|
|
28
46
|
## ✨ Key Features
|
|
29
47
|
|
|
30
|
-
| Feature
|
|
31
|
-
|
|
|
32
|
-
| **Deterministic Execution**
|
|
33
|
-
| **Modular Skill System**
|
|
34
|
-
| **
|
|
35
|
-
| **
|
|
36
|
-
| **
|
|
37
|
-
| **Self-
|
|
48
|
+
| Feature | Description |
|
|
49
|
+
| ----------------------------- | --------------------------------------------------------------------------- |
|
|
50
|
+
| **Deterministic Execution** | Separates business logic (Python scripts) from AI reasoning (Directives) |
|
|
51
|
+
| **Modular Skill System** | 56 plug-and-play skills that can be added or removed instantly |
|
|
52
|
+
| **Platform-Adaptive** | Auto-detects and optimizes for Claude Code, Kiro IDE, Gemini, and Opencode |
|
|
53
|
+
| **Multi-Agent Orchestration** | Agent Teams, subagents, Powers, or sequential personas — adapts to platform |
|
|
54
|
+
| **Semantic Memory** | Built-in Qdrant-powered memory with 95% token savings via caching |
|
|
55
|
+
| **Self-Healing Workflows** | Agents read error logs, patch scripts, and update directives automatically |
|
|
56
|
+
| **One-Shot Setup** | Platform detection + project stack scan + auto-configuration in one command |
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 🌐 Platform Support
|
|
61
|
+
|
|
62
|
+
The framework automatically detects your AI coding environment and activates the best available features:
|
|
63
|
+
|
|
64
|
+
| Platform | Orchestration Strategy | Key Features |
|
|
65
|
+
| --------------- | ----------------------------------- | -------------------------------------------- |
|
|
66
|
+
| **Claude Code** | Agent Teams (parallel) or Subagents | Plugins, marketplace, LSP, hooks |
|
|
67
|
+
| **Kiro IDE** | Powers + Autonomous Agent (async) | Dynamic MCP loading, hooks, cross-repo tasks |
|
|
68
|
+
| **Gemini** | Sequential personas via `@agent` | Skills, MCP servers, execution scripts |
|
|
69
|
+
| **Opencode** | Sequential personas via `@agent` | Skills, MCP servers, providers |
|
|
70
|
+
|
|
71
|
+
Run `/setup` to auto-detect and configure your platform, or use the setup script directly:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
# Interactive (one Y/n question)
|
|
75
|
+
python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir .
|
|
76
|
+
|
|
77
|
+
# Auto-apply everything
|
|
78
|
+
python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir . --auto
|
|
79
|
+
|
|
80
|
+
# Preview without changes
|
|
81
|
+
python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir . --dry-run
|
|
82
|
+
```
|
|
38
83
|
|
|
39
84
|
---
|
|
40
85
|
|
|
@@ -43,16 +88,25 @@ You'll be prompted to choose a pack:
|
|
|
43
88
|
```
|
|
44
89
|
your-project/
|
|
45
90
|
├── AGENTS.md # Master instruction file (symlinked to GEMINI.md, CLAUDE.md)
|
|
46
|
-
├── skills/ #
|
|
91
|
+
├── skills/ # 56 pre-built tools
|
|
47
92
|
│ ├── webcrawler/ # Documentation harvesting
|
|
48
93
|
│ ├── pdf-reader/ # PDF text extraction
|
|
49
94
|
│ ├── qdrant-memory/ # Semantic caching & memory
|
|
50
95
|
│ ├── documentation/ # Auto-documentation maintenance
|
|
51
|
-
│
|
|
96
|
+
│ ├── plugin-discovery/ # Platform detection & setup wizard
|
|
97
|
+
│ ├── parallel-agents/ # Multi-agent orchestration
|
|
98
|
+
│ ├── intelligent-routing/ # Smart agent selection & routing
|
|
99
|
+
│ ├── self-update/ # Framework self-update capability
|
|
100
|
+
│ └── ... # 48 more specialized skills
|
|
52
101
|
├── directives/ # SOPs in Markdown
|
|
102
|
+
│ └── memory_integration.md # Memory protocol reference
|
|
53
103
|
├── execution/ # Deterministic Python scripts
|
|
104
|
+
│ ├── session_boot.py # Session startup (Qdrant + Ollama check)
|
|
105
|
+
│ ├── session_init.py # Collection initializer
|
|
106
|
+
│ └── memory_manager.py # Store/retrieve/cache operations
|
|
54
107
|
├── skill-creator/ # Tools to create new skills
|
|
55
108
|
└── .agent/ # (full pack) Agents, workflows, rules
|
|
109
|
+
└── workflows/ # /setup, /deploy, /test, /debug, etc.
|
|
56
110
|
```
|
|
57
111
|
|
|
58
112
|
---
|
|
@@ -68,6 +122,7 @@ The system operates on three layers:
|
|
|
68
122
|
├─────────────────────────────────────────────────────────┤
|
|
69
123
|
│ Layer 2: ORCHESTRATION (Agent) │
|
|
70
124
|
│ └─ LLM reads directive, decides which tool to call │
|
|
125
|
+
│ └─ Platform-adaptive: Teams, Subagents, or Personas │
|
|
71
126
|
├─────────────────────────────────────────────────────────┤
|
|
72
127
|
│ Layer 3: EXECUTION (Code) │
|
|
73
128
|
│ └─ Pure Python scripts (execution/) do the actual work │
|
|
@@ -78,6 +133,45 @@ The system operates on three layers:
|
|
|
78
133
|
|
|
79
134
|
---
|
|
80
135
|
|
|
136
|
+
## 🧠 Semantic Memory
|
|
137
|
+
|
|
138
|
+
Built-in Qdrant-powered memory with automatic token savings:
|
|
139
|
+
|
|
140
|
+
| Scenario | Without Memory | With Memory | Savings |
|
|
141
|
+
| --------------------- | -------------- | ----------- | -------- |
|
|
142
|
+
| Repeated question | ~2000 tokens | 0 tokens | **100%** |
|
|
143
|
+
| Similar architecture | ~5000 tokens | ~500 tokens | **90%** |
|
|
144
|
+
| Past error resolution | ~3000 tokens | ~300 tokens | **90%** |
|
|
145
|
+
|
|
146
|
+
**Setup** (requires [Qdrant](https://qdrant.tech/) + [Ollama](https://ollama.com/)):
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
# Start Qdrant
|
|
150
|
+
docker run -d -p 6333:6333 -v qdrant_storage:/qdrant/storage qdrant/qdrant
|
|
151
|
+
|
|
152
|
+
# Start Ollama + pull embedding model
|
|
153
|
+
ollama serve &
|
|
154
|
+
ollama pull nomic-embed-text
|
|
155
|
+
|
|
156
|
+
# Boot memory system (auto-creates collections)
|
|
157
|
+
python3 execution/session_boot.py --auto-fix
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
Agents automatically run `session_boot.py` at session start (first instruction in `AGENTS.md`). Memory operations:
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
# Auto-query (check cache + retrieve context)
|
|
164
|
+
python3 execution/memory_manager.py auto --query "your task summary"
|
|
165
|
+
|
|
166
|
+
# Store a decision
|
|
167
|
+
python3 execution/memory_manager.py store --content "what was decided" --type decision
|
|
168
|
+
|
|
169
|
+
# Health check
|
|
170
|
+
python3 execution/memory_manager.py health
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
81
175
|
## ⚡ Prerequisites
|
|
82
176
|
|
|
83
177
|
```bash
|
|
@@ -100,6 +194,12 @@ pip install ollama sentence-transformers
|
|
|
100
194
|
npx @techwavedev/agi-agent-kit init --pack=full
|
|
101
195
|
```
|
|
102
196
|
|
|
197
|
+
### Auto-detect platform and configure environment
|
|
198
|
+
|
|
199
|
+
```bash
|
|
200
|
+
python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir .
|
|
201
|
+
```
|
|
202
|
+
|
|
103
203
|
### Update to latest version
|
|
104
204
|
|
|
105
205
|
```bash
|
|
@@ -108,6 +208,12 @@ npx @techwavedev/agi-agent-kit@latest init --pack=full
|
|
|
108
208
|
python3 skills/self-update/scripts/update_kit.py
|
|
109
209
|
```
|
|
110
210
|
|
|
211
|
+
### Boot memory system
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
python3 execution/session_boot.py --auto-fix
|
|
215
|
+
```
|
|
216
|
+
|
|
111
217
|
### System health check
|
|
112
218
|
|
|
113
219
|
```bash
|
|
@@ -128,17 +234,89 @@ python3 skill-creator/scripts/update_catalog.py --skills-dir skills/
|
|
|
128
234
|
|
|
129
235
|
---
|
|
130
236
|
|
|
237
|
+
## 🎯 Activation Reference
|
|
238
|
+
|
|
239
|
+
Use these keywords, commands, and phrases to trigger specific capabilities:
|
|
240
|
+
|
|
241
|
+
### Slash Commands (Workflows)
|
|
242
|
+
|
|
243
|
+
| Command | What It Does |
|
|
244
|
+
| --------------- | ------------------------------------------------ |
|
|
245
|
+
| `/setup` | Auto-detect platform and configure environment |
|
|
246
|
+
| `/setup-memory` | Initialize Qdrant + Ollama memory system |
|
|
247
|
+
| `/create` | Start interactive app builder dialogue |
|
|
248
|
+
| `/plan` | Create a structured project plan (no code) |
|
|
249
|
+
| `/enhance` | Add or update features in existing app |
|
|
250
|
+
| `/debug` | Activate systematic debugging mode |
|
|
251
|
+
| `/test` | Generate and run tests |
|
|
252
|
+
| `/deploy` | Pre-flight checks + deployment |
|
|
253
|
+
| `/orchestrate` | Multi-agent coordination for complex tasks |
|
|
254
|
+
| `/brainstorm` | Structured brainstorming with multiple options |
|
|
255
|
+
| `/preview` | Start/stop local dev server |
|
|
256
|
+
| `/status` | Show project progress and status board |
|
|
257
|
+
| `/update` | Update AGI Agent Kit to latest version |
|
|
258
|
+
| `/checkup` | Verify agents, workflows, skills, and core files |
|
|
259
|
+
|
|
260
|
+
### Agent Mentions (`@agent`)
|
|
261
|
+
|
|
262
|
+
| Mention | Specialist | When To Use |
|
|
263
|
+
| ---------------------- | ----------------------- | ----------------------------------------- |
|
|
264
|
+
| `@orchestrator` | Multi-agent coordinator | Complex multi-domain tasks |
|
|
265
|
+
| `@project-planner` | Planning specialist | Roadmaps, task breakdowns, phase planning |
|
|
266
|
+
| `@frontend-specialist` | UI/UX architect | Web interfaces, React, Next.js |
|
|
267
|
+
| `@mobile-developer` | Mobile specialist | iOS, Android, React Native, Flutter |
|
|
268
|
+
| `@backend-specialist` | API/DB engineer | Server-side, databases, APIs |
|
|
269
|
+
| `@security-auditor` | Security expert | Vulnerability scanning, audits, hardening |
|
|
270
|
+
| `@debugger` | Debug specialist | Complex bug investigation |
|
|
271
|
+
| `@game-developer` | Game dev specialist | 2D/3D games, multiplayer, VR/AR |
|
|
272
|
+
|
|
273
|
+
### Skill Trigger Keywords (Natural Language)
|
|
274
|
+
|
|
275
|
+
| Category | Trigger Words / Phrases | Skill Activated |
|
|
276
|
+
| ------------------ | ---------------------------------------------------------------------- | ----------------------------------- |
|
|
277
|
+
| **Memory** | "don't use cache", "no cache", "skip memory", "fresh" | Memory opt-out |
|
|
278
|
+
| **Research** | "research my docs", "check my notebooks", "deep search", "@notebooklm" | `notebooklm-rag` |
|
|
279
|
+
| **Documentation** | "update docs", "regenerate catalog", "sync documentation" | `documentation` |
|
|
280
|
+
| **Quality** | "lint", "format", "check", "validate", "static analysis" | `lint-and-validate` |
|
|
281
|
+
| **Testing** | "write tests", "run tests", "TDD", "test coverage" | `testing-patterns` / `tdd-workflow` |
|
|
282
|
+
| **Architecture** | "design system", "architecture decision", "ADR", "trade-off" | `architecture` |
|
|
283
|
+
| **Security** | "security scan", "vulnerability", "audit", "OWASP" | `red-team-tactics` |
|
|
284
|
+
| **Performance** | "lighthouse", "bundle size", "core web vitals", "profiling" | `performance-profiling` |
|
|
285
|
+
| **Design** | "design UI", "color scheme", "typography", "layout" | `frontend-design` |
|
|
286
|
+
| **Deployment** | "deploy", "rollback", "release", "CI/CD" | `deployment-procedures` |
|
|
287
|
+
| **API** | "REST API", "GraphQL", "tRPC", "API design" | `api-patterns` |
|
|
288
|
+
| **Database** | "schema design", "migration", "query optimization" | `database-design` |
|
|
289
|
+
| **Planning** | "plan this", "break down", "task list", "requirements" | `plan-writing` |
|
|
290
|
+
| **Brainstorming** | "explore options", "what are the approaches", "pros and cons" | `brainstorming` |
|
|
291
|
+
| **Code Review** | "review this", "code quality", "best practices" | `code-review-checklist` |
|
|
292
|
+
| **i18n** | "translate", "localization", "RTL", "locale" | `i18n-localization` |
|
|
293
|
+
| **AWS** | "terraform", "EKS", "Lambda", "S3", "CloudFront" | `aws` / `aws-terraform` |
|
|
294
|
+
| **Infrastructure** | "Consul", "service mesh", "OpenSearch" | `consul` / `opensearch` |
|
|
295
|
+
|
|
296
|
+
### Memory System Commands
|
|
297
|
+
|
|
298
|
+
| What You Want | Command / Phrase |
|
|
299
|
+
| ---------------------------- | -------------------------------------------------------------------------------- |
|
|
300
|
+
| **Boot memory** | `python3 execution/session_boot.py --auto-fix` |
|
|
301
|
+
| **Check before a task** | `python3 execution/memory_manager.py auto --query "..."` |
|
|
302
|
+
| **Store a decision** | `python3 execution/memory_manager.py store --content "..." --type decision` |
|
|
303
|
+
| **Cache a response** | `python3 execution/memory_manager.py cache-store --query "..." --response "..."` |
|
|
304
|
+
| **Health check** | `python3 execution/memory_manager.py health` |
|
|
305
|
+
| **Skip cache for this task** | Say "fresh", "no cache", or "skip memory" in your prompt |
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
|
|
131
309
|
## 📚 Documentation
|
|
132
310
|
|
|
133
311
|
- **[AGENTS.md](./AGENTS.md)** - Complete architecture and operating principles
|
|
134
|
-
- **[skills/SKILLS_CATALOG.md](./skills/SKILLS_CATALOG.md)** - All available skills
|
|
312
|
+
- **[skills/SKILLS_CATALOG.md](./skills/SKILLS_CATALOG.md)** - All 56 available skills
|
|
135
313
|
- **[CHANGELOG.md](./CHANGELOG.md)** - Version history
|
|
136
314
|
|
|
137
315
|
---
|
|
138
316
|
|
|
139
317
|
## 🛡️ Security
|
|
140
318
|
|
|
141
|
-
This package includes a pre-flight security scanner
|
|
319
|
+
This package includes a pre-flight security scanner that checks for private terms before publishing. All templates are sanitized for public use.
|
|
142
320
|
|
|
143
321
|
---
|
|
144
322
|
|
package/bin/init.js
CHANGED
|
@@ -248,6 +248,24 @@ function copyBaseFiles(targetPath, templatesPath, options) {
|
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
+
// Copy execution scripts (memory system)
|
|
252
|
+
const srcExecution = path.join(templatesPath, 'base', 'execution');
|
|
253
|
+
const destExecution = path.join(targetPath, 'execution');
|
|
254
|
+
|
|
255
|
+
if (fs.existsSync(srcExecution)) {
|
|
256
|
+
copyDirSync(srcExecution, destExecution);
|
|
257
|
+
log.success('Installed execution/ (memory system scripts)');
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
// Copy directives
|
|
261
|
+
const srcDirectives = path.join(templatesPath, 'base', 'directives');
|
|
262
|
+
const destDirectives = path.join(targetPath, 'directives');
|
|
263
|
+
|
|
264
|
+
if (fs.existsSync(srcDirectives)) {
|
|
265
|
+
copyDirSync(srcDirectives, destDirectives);
|
|
266
|
+
log.success('Installed directives/');
|
|
267
|
+
}
|
|
268
|
+
|
|
251
269
|
// Copy skill-creator
|
|
252
270
|
const srcSkillCreator = path.join(templatesPath, 'base', 'skill-creator');
|
|
253
271
|
const destSkillCreator = path.join(targetPath, 'skill-creator');
|
|
@@ -355,8 +373,10 @@ Next steps:
|
|
|
355
373
|
1. Review ${colors.cyan}AGENTS.md${colors.reset} for architecture overview
|
|
356
374
|
2. Install Python dependencies:
|
|
357
375
|
${colors.yellow}pip install requests beautifulsoup4 html2text lxml qdrant-client${colors.reset}
|
|
358
|
-
3.
|
|
359
|
-
|
|
376
|
+
3. Boot the memory system (optional, requires Qdrant + Ollama):
|
|
377
|
+
${colors.yellow}python3 execution/session_boot.py --auto-fix${colors.reset}
|
|
378
|
+
4. Check ${colors.cyan}skills/${colors.reset} for available capabilities
|
|
379
|
+
5. Create ${colors.cyan}.env${colors.reset} with your API keys
|
|
360
380
|
|
|
361
381
|
Happy coding! 🎉
|
|
362
382
|
`);
|
|
@@ -430,6 +450,14 @@ async function update(options) {
|
|
|
430
450
|
console.log(` ${colors.green}✔${colors.reset} Updated skill-creator/`);
|
|
431
451
|
}
|
|
432
452
|
|
|
453
|
+
// 3b. Update Execution Scripts (memory system)
|
|
454
|
+
const srcExec = path.join(templatesPath, 'base', 'execution');
|
|
455
|
+
const destExec = path.join(options.path, 'execution');
|
|
456
|
+
if (fs.existsSync(srcExec)) {
|
|
457
|
+
copyDirSync(srcExec, destExec);
|
|
458
|
+
console.log(` ${colors.green}✔${colors.reset} Updated execution/ (memory system scripts)`);
|
|
459
|
+
}
|
|
460
|
+
|
|
433
461
|
// 4. Update Core Documentation if needed
|
|
434
462
|
// We generally respect user's AGENTS.md, but maybe we update GEMINI.md/CLAUDE.md symlinks?
|
|
435
463
|
if (options.symlinks) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techwavedev/agi-agent-kit",
|
|
3
|
-
"version": "1.1
|
|
4
|
-
"description": "Enterprise-Grade Agentic Framework - Modular skill-based AI assistant toolkit with deterministic execution and
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"description": "Enterprise-Grade Agentic Framework - Modular skill-based AI assistant toolkit with deterministic execution, semantic memory, and platform-adaptive orchestration.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"agi-agent-kit": "./bin/init.js"
|
|
7
7
|
},
|
|
@@ -17,9 +17,12 @@
|
|
|
17
17
|
"skills",
|
|
18
18
|
"claude",
|
|
19
19
|
"gemini",
|
|
20
|
+
"kiro",
|
|
21
|
+
"opencode",
|
|
20
22
|
"llm",
|
|
21
23
|
"semantic-cache",
|
|
22
|
-
"qdrant"
|
|
24
|
+
"qdrant",
|
|
25
|
+
"platform-adaptive"
|
|
23
26
|
],
|
|
24
27
|
"author": "Elton Machado@techwave",
|
|
25
28
|
"license": "Apache-2.0",
|
package/templates/base/AGENTS.md
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
# Agent Instructions
|
|
2
2
|
|
|
3
|
-
> `CLAUDE.md` and `
|
|
3
|
+
> `CLAUDE.md`, `GEMINI.md`, and `OPENCODE.md` are symlinks to this file, so the same instructions load in any AI environment.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## ⚡ Session Boot Protocol (MANDATORY)
|
|
8
|
+
|
|
9
|
+
**Run this ONCE at the start of every session, before any other work:**
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
python3 execution/session_boot.py --auto-fix
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
This single command checks Qdrant, Ollama, embedding models, and collections. If anything is missing, `--auto-fix` repairs it automatically. If the output shows `"memory_ready": true`, proceed normally. If it shows issues, follow the printed instructions.
|
|
16
|
+
|
|
17
|
+
**Why this matters:** The memory system provides 80-100% token savings on repeated work. Skipping this step means every query pays full token cost.
|
|
4
18
|
|
|
5
19
|
---
|
|
6
20
|
|
|
@@ -151,34 +165,51 @@ python execution/scrape_single_site.py \
|
|
|
151
165
|
|
|
152
166
|
**All operations use the Qdrant-powered memory system by default.**
|
|
153
167
|
|
|
168
|
+
#### Session Start (MANDATORY — run once per session)
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
python3 execution/session_boot.py --auto-fix
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
If `"memory_ready": true`, proceed. If false, follow the printed instructions.
|
|
175
|
+
|
|
176
|
+
#### Before Every Complex Task
|
|
177
|
+
|
|
178
|
+
```bash
|
|
179
|
+
python3 execution/memory_manager.py auto --query "<one-line summary of the task>"
|
|
154
180
|
```
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
181
|
+
|
|
182
|
+
**Decision tree based on output:**
|
|
183
|
+
|
|
184
|
+
| Result | Action |
|
|
185
|
+
| -------------------- | ------------------------------------------------------------------------- |
|
|
186
|
+
| `"cache_hit": true` | Use cached response directly. Inform user: "Retrieved from memory cache." |
|
|
187
|
+
| `"source": "memory"` | Inject `context_chunks` into your reasoning. Cite them. |
|
|
188
|
+
| `"source": "none"` | Proceed normally. Store the result when done. |
|
|
189
|
+
|
|
190
|
+
#### After Key Decisions or Solutions
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
python3 execution/memory_manager.py store \
|
|
194
|
+
--content "Description of what was decided/solved" \
|
|
195
|
+
--type decision \
|
|
196
|
+
--project <project-name> \
|
|
197
|
+
--tags relevant-tag1 relevant-tag2
|
|
170
198
|
```
|
|
171
199
|
|
|
172
|
-
|
|
200
|
+
Memory types: `decision`, `code`, `error`, `technical`, `conversation`
|
|
201
|
+
|
|
202
|
+
#### After Completing a Complex Task
|
|
173
203
|
|
|
174
|
-
|
|
204
|
+
```bash
|
|
205
|
+
python3 execution/memory_manager.py cache-store \
|
|
206
|
+
--query "The original user question" \
|
|
207
|
+
--response "The complete response that was generated"
|
|
208
|
+
```
|
|
175
209
|
|
|
176
|
-
-
|
|
177
|
-
- `code` — Script patterns, reusable implementations
|
|
178
|
-
- `error` — Bug resolutions with root cause
|
|
179
|
-
- `technical` — Documentation, API knowledge
|
|
210
|
+
**Opt-out:** User says "don't use cache", "no cache", "skip memory", or "fresh"
|
|
180
211
|
|
|
181
|
-
> See `directives/memory_integration.md` for full
|
|
212
|
+
> See `directives/memory_integration.md` for full protocol and token savings reference.
|
|
182
213
|
|
|
183
214
|
### 2. Check for Existing Tools First
|
|
184
215
|
|