spencermarx avatar

AgentDB Learning Plugins

This is a full reinforcement learning toolkit integrated into AgentDB that gives you nine algorithms including Decision Transformer for offline learning, Q-Learning, SARSA, and Actor-Critic. The CLI lets you scaffold plugins with `npx agentdb@latest create-plugin` and pick from templates, which is faster than wiring up RL from scratch. It stores training experiences in SQLite and claims 10-100x speedups via WASM-accelerated inference. If you're building agents that need to learn from interaction or historical data, this beats importing TensorFlow for simple cases. The Decision Transformer approach is smart for learning from logs without needing live environment access. Requires Node 18+ and some RL familiarity to configure the hyperparameters properly.

GitHub stars
240
last updated
Jun 11, 2026

Install

$ npx -y skills add spencermarx/open-code-review --skill 'AgentDB Learning Plugins' --agent claude-code

Installs into .claude/skills of the current project.

Files

AgentDB Learning Plugins

What This Skill Does

Provides access to 9 reinforcement learning algorithms via AgentDB's plugin system. Create, train, and deploy learning plugins for autonomous agents that improve through experience. Includes offline RL (Decision Transformer), value-based learning (Q-Learning), policy gradients (Actor-Critic), and advanced techniques.

Performance: Train models 10-100x faster with WASM-accelerated neural inference.

Prerequisites

  • Node.js 18+
  • AgentDB v1.0.7+ (via agentic-flow)
  • Basic understanding of reinforcement learning (recommended)

Quick Start with CLI

Create Learning Plugin

# Interactive wizard
npx agentdb@latest create-plugin

# Use specific template
npx agentdb@latest create-plugin -t decision-transformer -n my-agent

# Preview without creating
npx agentdb@latest create-plugin -t q-learning --dry-run

# Custom output directory
npx agentdb@latest create-plugin -t actor-critic -o ./plugins

List Available Templates

# Show all plugin templates
npx agentdb@latest list-templates

Sponsors

Details

Repository
github.com/spencermarx/open-code-review
Categories
Git & Pull Requests, Code Review & Quality, AI & Agent Building, Productivity & Planning
License
Apache-2.0
First seen
Jun 11, 2026

More from spencermarx/open-code-review

All 31
1spencermarx avatarAgentDB Memory Patternsspencermarx/open-code-reviewImplement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use when0skills.sh installs
2spencermarx avatarAgentDB Performance Optimizationspencermarx/open-code-reviewOptimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing 0skills.sh installs
3spencermarx avatarAgentDB Vector Searchspencermarx/open-code-reviewImplement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG systems0skills.sh installs
4spencermarx avatarbrowserspencermarx/open-code-reviewWeb browser automation with AI-optimized snapshots for claude-flow agents0skills.sh installs
5spencermarx avatarPair Programmingspencermarx/open-code-reviewAI-assisted pair programming with multiple modes (driver/navigator/switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD,0skills.sh installs
6spencermarx avatarReasoningBank with AgentDBspencermarx/open-code-reviewImplement ReasoningBank adaptive learning with AgentDB's 150x faster vector database. Includes trajectory tracking, verdict judgment, memory distillation, and p0skills.sh installs