This plugin transforms the Hermes Agent into a fully autonomous, data-driven workspace. It provides a dynamic dashboard tab within the Hermes Web UI where the AI can design, spawn, and monitor real-time widgets, charts, and metrics using Tremor React components.
- Fully Autonomous UI Generation: The AI can understand high-level prompts (e.g., "Market Report for AI", "DeFi Portfolio Management") and independently orchestrate a complex dashboard layout without micromanagement.
- Universal JSON-to-React Renderer: The frontend dynamically renders any Tremor component (e.g.,
LineChart,DonutChart,Table,Card) from a generic JSON tree generated by the AI. No build steps are required. - Automated Cron Jobs: The AI can write python scripts on-the-fly and bind them to specific widgets. The plugin securely registers these scripts with the Hermes cron scheduler to run in the background.
- Dynamic Updates: Background scripts use the bundled
dynamic_dashboard_sdkto push new data directly into the dashboard. The UI polls and updates live. - Bento Grid Layout: Widgets are styled beautifully using TailwindCSS Flexbox, supporting dynamic column spanning (
col_span1 through 4) for modular design.
-
Install and Enable the Plugin: Use the Hermes CLI to install and enable the plugin directly from your repository:
hermes plugins install autonomousEnterprises/nujinPlugin --enable
(Note: You can also manage your plugins interactively by running
hermes pluginsor usehermes plugins listto check status) -
Access the Dashboard: Run the following command to start the Hermes Web UI:
hermes dashboard
Then navigate to
http://localhost:9119in your browser. -
Open the Workspace: Click on the new Workspace tab located next to your chat.
Simply chat with your Hermes Agent:
User: "Create a crypto portfolio dashboard."
Hermes: (Autonomously creates a Bento grid with a Hero metric for Total Balance, a LineChart for historical portfolio value, and a DonutChart for asset allocation. It then writes background Python scripts using
dynamic_dashboard_sdk.pyto fetch live prices from APIs and schedules them to run every minute.)
plugin.yaml: The plugin manifest defining the metadata and hooks.dashboard/dist/index.js: The frontend React app that recursively maps JSON trees into Tremor components.tools.py&schemas.py: The backend logic defining thecreate_widget,remove_widget, andschedule_monitoring_jobLLM tools.dynamic_dashboard_sdk.py: A helper library utilized by the AI's generated background cron scripts to seamlessly push JSON updates back to the UI.skills/tremor-dashboard/SKILL.md: The AI instructions that empower Hermes to orchestrate the entire workflow autonomously.
- Tremor for beautiful, data-rich components.
- TailwindCSS for rapid styling.
- Hermes Agent Python plugin system and background cron scheduler.