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_actAcknowledges the user's request before acting, then reflects on what was learned after each batch of tool calls
When your agent needs to reason step-by-step before acting. Improves accuracy on multi-step tasks.
Task Evaluation
evalGenerates an expected outcome before the task runs, then LLM-judges whether the agent actually achieved it
When you want automated pass/fail scoring of whether your agent completed the task correctly.
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