Skip to main content

Plugin Overview

TokenRing Coder provides 37+ extensible plugins that add powerful capabilities to your AI-powered development workflow. Each plugin integrates seamlessly with the agent framework to provide specialized functionality.

🎯 Core Plugins

Essential plugins for agent functionality and AI integration.

PluginDescription
AgentAgent and AgentTeam management with tools, commands, and hooks
AI ClientUnified interface for multiple AI providers (OpenAI, Anthropic, Google, etc.)
CLICommand-line interface utilities and argument parsing
MemoryShort-term memory and attention storage for agents
HistoryConversation history management and persistence

💾 Storage & Database

Plugins for data persistence and database operations.

PluginDescription
DatabaseAbstract database interface for multiple providers
MySQLMySQL database integration with connection pooling
SQLite StorageSQLite-based checkpoint storage for agent state
CheckpointCheckpoint management system for saving agent states
VaultSecure encrypted vault for managing secrets and credentials

📁 Filesystem

File system operations and implementations.

PluginDescription
FilesystemAbstract filesystem with operations and ignore filters
Local FilesystemConcrete local disk filesystem implementation
S3AWS S3 filesystem and CDN implementations
File IndexFile indexing and search with semantic chunking
Code WatchFile watching and change detection for live updates

🔧 Development Tools

Plugins for code development and testing.

PluginDescription
GitGit integration with auto-commit and branch management
TestingTesting framework with auto-repair hooks
JavaScriptJavaScript/TypeScript utilities and operations
CodebaseCodebase analysis and indexing capabilities
ScriptingScripting engine integration for custom workflows
TemplateReusable AI-powered prompt templates for common tasks

☁️ Cloud & Infrastructure

Cloud service integrations and container orchestration.

PluginDescription
AWSAWS service integrations and utilities
DockerDocker integration via CLI with sandbox provider
KubernetesKubernetes orchestration and management
SandboxAbstract sandbox interface for isolated execution
CDNAbstract CDN service interface for content delivery

Web scraping, search, and browser automation.

PluginDescription
Web SearchAbstract web search with pluggable providers
SerperSerper.dev API integration for Google search
ScraperAPIScraperAPI integration for web scraping and SERP
WikipediaWikipedia API integration for knowledge retrieval
ChromeChrome browser automation via Puppeteer
RedditReddit integration for searching posts and retrieving content
ResearchWeb-enabled AI research using Gemini models

🎵 Audio & Media

Audio recording, playback, and transcription.

PluginDescription
AudioAbstract audio framework for recording and playback
Linux AudioLinux-specific audio implementation with naudiodon2

🛠️ Utilities

General-purpose helper plugins.

PluginDescription
UtilityPromise handling, caching, logging, and shell escaping
QueueTask queue management for async operations
TasksTask scheduling and execution framework
FeedbackUser feedback collection and management
IterablesIterable utilities and providers

📝 Content & Publishing

Plugins for content creation and publishing.

PluginDescription
BlogAbstract blog service interface for multiple platforms
WordPressWordPress integration via REST API
Ghost.ioGhost.io integration via Admin and Content APIs
NewsRPMNewsRPM API integration for news article management

💰 Financial & Data

Plugins for financial data and market information.

PluginDescription
CloudQuoteFinancial data tools for market quotes and news

🔌 Integration

Protocol and integration plugins.

PluginDescription
MCPModel Context Protocol support for standardized AI interactions

🚀 Getting Started

Installation

Plugins are included in the TokenRing Coder monorepo. Install dependencies:

bun install

Using Plugins

Plugins are automatically loaded based on your configuration. To use a specific plugin:

import { Agent } from '@tokenring-ai/agent';
import WikipediaService from '@tokenring-ai/wikipedia';

const agent = new Agent({
services: [new WikipediaService()],
});

Configuration

Configure plugins in .tokenring/coder-config.mjs:

export default {
defaults: {
agent: "teamLeader",
model: "gpt-4o"
},
models: {
openai: {
displayName: "OpenAI",
apiKey: process.env.OPENAI_API_KEY
}
}
};

📚 Plugin Architecture

All plugins follow a consistent architecture:

  • TokenRingService: Base interface for service plugins
  • Tools: Agent-executable functions with Zod validation
  • Chat Commands: Interactive commands for agent conversations
  • Hooks: Lifecycle hooks for agent events

Common Patterns

  1. Service Registration: Register services with the agent
  2. Tool Execution: Execute tools via agent.executeTool()
  3. Chat Commands: Use /command syntax in conversations
  4. Event Hooks: Subscribe to agent lifecycle events

🔗 Dependencies

Most plugins depend on:

  • @tokenring-ai/agent@0.1.0 - Core agent framework
  • zod@^4.0.17 - Schema validation

Check individual plugin documentation for specific dependencies.

📖 Next Steps