Useful Plugins
Built-inPre-built plugins from connectonion.useful_plugins
What is a Plugin?
A plugin is a reusable list of event handlers. Use plugins=[...] to add pre-packaged functionality to any agent.
Learn how to build custom plugins in the Plugin System documentation.
ReAct Pattern
re_actImplements Reason + Act pattern with planning before action and reflection after tool execution
When your agent needs to reason step-by-step before acting. Improves accuracy on multi-step tasks.
Code Evaluation
evalSafe code evaluation and execution in a sandboxed environment
When your agent generates and runs Python code. Add this to safely execute LLM-generated scripts.
Image Result Formatter
image_result_formatterAutomatically formats base64 images in tool results for vision models (GPT-4o, etc.)
When a tool returns a screenshot or image and you want the vision model to actually see it.
Gmail Plugin
gmail_pluginPre-configured event handlers for Gmail integration workflows
When building an email assistant. Handles read/reply/label workflows out of the box.
Calendar Plugin
calendar_pluginPre-configured event handlers for calendar management workflows
When building a scheduling assistant. Handles event creation and availability checks.
Shell Approval
shell_approvalRequires user confirmation before executing shell commands for safety
Essential when your agent runs shell commands in production. Prevents accidental destructive ops.
System Reminder
system_reminderInjects contextual guidance into tool results to nudge agent behavior
When the agent keeps making the same mistake. Inject a correction reminder after each tool call.
Combining Plugins
Plugins can be combined for powerful agent behaviors:
Customizing Plugins
Need to modify a built-in plugin? Copy it to your project:
Then import from your local copy and customize:
See co copy for full details.
ConnectOnion