Documentation Index
Fetch the complete documentation index at: https://docs.argentos.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Plugins are extensions that modify agent behavior at the runtime level. They can register new tools, inject system prompt context, intercept messages, and hook into the agent lifecycle. Plugins are the lowest-level extension mechanism in ArgentOS. For a hands-on guide to building your own plugin, see Building Plugins.Plugin Location
Plugins are discovered from two directories:argent.plugin.json manifest and an entry point (index.ts or index.js):
Plugin Manifest
Every plugin has anargent.plugin.json manifest used for discovery and config validation:
Manifest Fields
| Field | Required | Description |
|---|---|---|
id | Yes | Unique plugin identifier |
configSchema | Yes | JSON Schema for plugin config (even if empty) |
name | No | Display name |
description | No | Short summary |
version | No | Semver version |
uiHints | No | UI hints for config fields (sensitive, labels, placeholders) |
kind | No | Plugin kind (e.g., "memory") |
channels | No | Channel IDs registered by this plugin |
providers | No | Provider IDs registered by this plugin |
skills | No | Skill directories to load (relative to plugin root) |
Plugin Capabilities
Tool Registration
Plugins register tools programmatically in their entry point viaapi.registerTool():
System Prompt Injection
Plugins can inject text into the agent’s system prompt via thebefore_agent_start hook:
Lifecycle Hooks
| Hook | When | Use Case |
|---|---|---|
before_agent_start | Before each agent run | Inject context, nudge agent for setup |
Service Keys
Plugins can read API keys from~/.argentos/service-keys.json (managed via the dashboard) rather than requiring separate configuration. See Building Plugins for the full pattern.
Plugin Allowlist
Ifplugins.allow[] in argent.json has entries, only listed plugins are enabled:
Non-bundled plugins default to enabled when the allowlist is empty.
Tool Name Conflicts
Managing Plugins
Related
- Building Plugins — End-to-end guide with service keys, config persistence, and hooks
- Marketplace — Browse and install community packages
