-
Version 1 Stable
released this
2025-08-15 08:48:32 -07:00 | 0 commits to main since this releaseAgent Story & Control Center Flow (Version 1)
This Node-RED flow provides a gamified agent task tracker and control center dashboard with built-in story mode.
It manages daily tasks, story progress, agent stats, templates, and announcements—accessible via a browser-based dashboard.✨ Features
-
Agent Story Mode
- Start, progress, and reset interactive 30-day story arcs (dark/gritty or lighthearted versions).
- Daily energy system and action tracking with outcomes.
- Prevents duplicate actions and manages progress persistence.
-
Super Admin Control Center
- Secure login system with session cookies.
- Manage task templates and assign them to agents.
- Post or clear global announcements.
- Reset agent progress instantly.
-
Agent Dashboard
- View points, energy, and story day.
- Launch directly to an agent’s personal dashboard.
-
Backend Logic
- SQLite persistence for agent/task data.
- Story and action outcome data stored in flow context for fast access.
- REST endpoints for agent management, task updates, and story actions.
📦 Installation
You do not need to download this repo manually to use the flow.
If you already have it installed in Node-RED, simply reinstall/import it from your library or palette to update to the latest version.- Open Node-RED.
- Go to the menu →
Import→ select the latest version from your library (or paste the updated flow JSON). - Deploy changes.
🔑 Endpoints (overview)
POST /agent/:agentId/start-story– Start a story for an agent.POST /agent/:agentId/story-action– Perform a story action.POST /agent/:agentId/reset– Reset agent story progress.DELETE /agents/:id– Remove an agent.GET /control-center– Access the admin dashboard (login required).- Additional endpoints for task templates, announcements, and agent/task updates.
🗂 Database
- agents – Stores ID, name, department, and JSON task/story data.
- tasks – Stores task list and completion state.
⚠ Note: Story data and action outcomes are initialized automatically when the flow starts, no manual setup required.
Downloads
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
4 downloads
-