HeyGrowin

Cosmic Agent Plugins

Specialised modules for the Cosmic Agent automation framework

HeyGrowin Desk6 min read
Title card reading “Cosmic Agent Plugins” set in white on a dark green gradient with concentric circle motifs

1. What are Cosmic Agent Plugins and which host do they augment?

Recommendation: If you need to add specialised capabilities to the Cosmic Agent automation framework, use the official plugin architecture instead of ad‑hoc scripts. The plugin system is version‑controlled, integrates with the core runtime, and avoids source‑level changes.

Definition
Cosmic Agent Plugins are compiled or interpreted modules that the Cosmic Agent runtime loads at start‑up or on demand. They provide extra actions, data connectors, or UI widgets for the Cosmic Agent platform, a cross‑platform automation engine that runs workflows written in the Cosmic Script language. The platform supplies a scheduler, a sandbox, and a REST‑based control API; plugins fill gaps that the core engine does not cover, such as:

  • Connecting to proprietary SaaS APIs that are not in the built‑in library.
  • Adding custom data‑processing steps (e.g., image recognition, statistical modelling).
  • Exposing new trigger types (file‑system events, hardware sensor inputs).
  • Supplying visual components for the Cosmic Agent Dashboard.

Each plugin is a single package (a .cag archive on Windows, macOS, and Linux) that contains:

  • A manifest declaring the plugin’s name, version, required Cosmic Agent version, and any external dependencies (e.g., Python 3.10, OpenSSL 1.1).
  • Compiled code or a script bundle.
  • Optional resource files.

When the host starts, it scans a designated plugins directory, validates the manifest signatures, and registers the extensions for use in scripts. Because the architecture is versioned, the host can reject plugins that target an incompatible runtime, preserving stability and security.


Below is a curated list of plugins that most users install after a fresh Cosmic Agent deployment. The selection reflects the most frequent workflow categories observed in community discussions and the general popularity indicated on the marketplace. All listed plugins are provided by the Cosmic Agent team or third‑party developers, many of which have open‑source repositories.

PluginCore FeatureTypical Use‑CaseLicense / Cost
Cosmic‑Connect‑RESTGeneric REST client with OAuth 2.0 supportPull data from external services (e.g., CRM, marketing platforms) without writing custom HTTP codeFree, open source (MIT)
Cosmic‑DB‑BridgeUnified database driver (PostgreSQL, MySQL, MongoDB)Read/write to relational or document stores within a workflowFree, open source (Apache 2.0)
Cosmic‑AI‑VisionImage classification using pre‑trained TensorFlow modelsAutomate tagging of uploaded photos, detect defects in manufacturing imagesFree tier; paid model packs are available at a price set by the vendor
Cosmic‑File‑WatcherReal‑time file‑system monitoring (cross‑platform)Trigger jobs when files appear in a drop folder, useful for ETL pipelinesFree, open source
Cosmic‑Secure‑VaultEncrypted secret storage with optional HSM integrationStore API keys, certificates, and passwords for scriptsFree for up to 10 secrets; tiered pricing applies for larger usage
Cosmic‑Scheduler‑ProAdvanced cron‑like scheduling with calendar integration (Google Calendar, Outlook)Coordinate complex, time‑based workflows across teamsPaid single‑user license is available, with volume discounts
Cosmic‑UI‑WidgetsDrag‑and‑drop dashboard components (charts, tables, live logs)Build custom monitoring pages for operations staffFree, open source

Why these matter

  • Data integration – The REST and DB Bridge plugins eliminate the need to embed low‑level networking code in scripts.
  • Automation triggers – File‑Watcher provides a reliable, OS‑agnostic way to start jobs on new data.
  • Security – Secure‑Vault centralises secret management, reducing the risk of hard‑coded credentials.
  • AI capabilities – AI‑Vision enables non‑programmers to add image analysis without training their own models.
  • Scheduling – Scheduler‑Pro adds calendar awareness that the base engine lacks.
  • Visibility – UI‑Widgets let teams monitor workflow health without building a separate front‑end.

When choosing plugins, start with the functional gaps in your current workflows. If you already use an external secret store, you may skip Secure‑Vault; otherwise, it is the recommended first add‑on.


3. How to install and configure a Cosmic Agent Plugin on my system?

Recommendation: Use the built‑in plugin manager (cag-plugin) rather than copying files manually. The manager performs version checks, signature verification, and automatic placement in the correct directory for all supported operating systems.

3.1 Prerequisites

ItemMinimum versionNotes
Cosmic Agent runtime3.2.0 or laterEarlier versions lack signed‑manifest support.
Operating systemWindows 10 / macOS 12 / Linux kernel 5.4+The manager works on all three.
DependenciesPython 3.9+ (if the plugin includes Python scripts)The manager will warn if a required interpreter is missing.

3.2 Installation via the official marketplace

  1. Open the Cosmic Agent console – run cag-console from a terminal or start‑menu shortcut.
  2. Select “Marketplace” – the UI lists verified plugins with an Install button.
  3. Choose the plugin – click Install; the console downloads the package from https://marketplace.cosmicagent.io.
  4. Confirm the signature – the manager shows the publisher’s public‑key fingerprint; compare it with the fingerprint published on the developer’s website or repository.
  5. Automatic placement – the manager extracts the .cag archive into the host’s plugin directory (%APPDATA%\CosmicAgent\plugins on Windows, ~/.cosmicagent/plugins on macOS/Linux).
  6. Restart the runtime – issue cag restart in the console or stop/start the service via your OS service manager.

3.3 Manual installation (advanced)

If you need a version that is not yet listed in the marketplace (e.g., a beta release from GitHub), follow the steps for your operating system.

OSCommands
Windows1. Download the .cag file from a trusted source.
2. Verify the SHA‑256 hash (certutil -hashfile plugin.cag SHA256).
3. Copy the file to %APPDATA%\CosmicAgent\plugins.
4. Register it with cag-plugin register plugin.cag.
5. Restart the service (net stop CosmicAgent && net start CosmicAgent).
macOS1. Download the .cag file.
2. Verify the hash (shasum -a 256 plugin.cag).
3. Move it to ~/Library/Application Support/CosmicAgent/plugins/.
4. Register with cag-plugin register "~/Library/Application Support/CosmicAgent/plugins/plugin.cag".
5. Restart via Homebrew (brew services restart cosmic-agent) or launchctl (launchctl unload /Library/LaunchDaemons/com.cosmic.agent.plist && launchctl load /Library/LaunchDaemons/com.cosmic.agent.plist).
Linux1. Download the .cag file.
2. Verify the hash (sha256sum plugin.cag).
3. Place it in ~/.cosmicagent/plugins/ (or /etc/cosmicagent/plugins/ for system‑wide install).
4. Register with cag-plugin register ~/.cosmicagent/plugins/plugin.cag.
5. Restart the daemon (systemctl restart cosmic-agent).

3.4 Configuration after installation

Most plugins provide a configuration file (plugin-name.yaml) inside their folder. Typical steps:

  1. Edit the YAML file – add API keys, endpoint URLs, or model identifiers. Use a UTF‑8‑compatible editor.
  2. Validate the file – run cag-plugin validate plugin-name to check syntax and required fields.
  3. Apply the settings – reload the plugin (cag-plugin reload plugin-name) or restart the runtime.

For plugins that rely on external services (e.g., AI‑Vision), you may also need to:

  • Create an account on the service provider’s portal.
  • Generate an API token and store it in Secure‑Vault (recommended).
  • Reference the vault secret in the plugin’s YAML, for example api_key: vault://cosmic-ai-vision/key.

4. Compatibility, versioning, and trusted download sources

4.1 Compatibility matrix (as of Cosmic Agent 3.2)

PluginMinimum Cosmic Agent versionSupported OSExternal dependenciesNotes
Cosmic‑Connect‑REST3.0.0Windows, macOS, LinuxNoneUses built‑in HTTP client.
Cosmic‑DB‑Bridge3.1.0Windows, macOS, Linuxlibpq ≥ 12, MySQL Connector ≥ 8.0Install drivers via OS package manager if absent.
Cosmic‑AI‑Vision3.2.0Windows, macOS, LinuxTensorFlow 2.8+, CUDA 11 (GPU optional)GPU acceleration requires a compatible NVIDIA driver.
Cosmic‑File‑Watcher3.0.0AllNoneUses native file‑system APIs.
Cosmic‑Secure‑Vault3.1.0AllOpenSSL 1.1.1+ (encryption)HSM integration needs the vendor’s SDK.
cosmic-agentpluginautomation
WhatsApp