Plugins

Plugins extend your agent's capabilities by providing specialized tools and functionalities.

Understanding CUBIE Plugins

CUBIE plugins are built around two main concepts:

  1. Executors: Named functions that belong to a specific plugin. Executors are invoked when specific triggers occur.

  2. Triggers: Event listeners or polling loops that activate executors when certain conditions are met.

This architecture allows different plugins to interact with each other, creating a flexible and powerful ecosystem.

Available Plugins

plugin-jupiter

Interact with Jupiter API (https://jup.ag) to access Solana token market data.

Functionalities:

  • Fetch token prices and swap quotes

  • Execute token swaps on behalf of your agent

This plugin empowers your agent to make informed decisions based on real-time market data and even perform transactions.

plugin-external-api

Connect your agent to external data sources to enhance its capabilities.

How it works:

  • Provide an endpoint URL in your agent configuration

  • The endpoint must return a JSON response with a data field (string value)

  • During each evaluation loop, your agent will call this endpoint and incorporate the response into its context

This plugin gives you fine-grained control over your agent's behavior by allowing you to inject short-term memory or contextual information.

plugin-people

Manage who your agent interacts with through whitelists or blocklists.

Functionalities:

  • Specify users your agent should interact with (whitelist)

  • Specify users your agent should ignore (blocklist)

  • Set interaction priorities

This plugin helps you control your agent's social behavior and focus its attention on the right audience.

Integrating Plugins

Plugins are enabled during the agent creation process. Simply select the plugins you want to use and configure their settings based on your needs.

Last updated