Implement Borealis Agents #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A "lightweight reverse provisioning" model, where agents are dumb(ish), and Borealis acts as a brain that tells them what to do and where to send the data. Essentially building a decentralized input mesh with a central control UI. Let's break it down:
🔄 TL;DR: Your Proposed Design Is Solid and Scalable
✅ Centralized control (Borealis server)
✅ Decentralized data capture (Collectors)
✅ Node-based provisioning
✅ Live feedback/UI orchestration
✅ Cleaner separation of UI vs. OS-level interaction
This gives you scalability, real-time control, and beautiful UX for managing agents from within the visual graph.
🧩 Architecture Overview (Based on Your Vision)
⚙️ 1. Agent Startup
POST /api/agent/register
orPOST /api/agent/checkin
every X seconds with a UUID (Agent-123), hostname, etc.📟 2. Borealis Backend State Management
🎛️ 3. Frontend - API Collector Node
POST /api/agent/provision
with:status = provisioned
📡 4. Agent Polls for Tasks
GET /api/agent/config?agent_id=Agent-123
/api/agent/data
🧠 5. Node Receives Data
✨ Benefits of This Design
🔐 Bonus Considerations
🛠 Suggested Endpoints (Phase 1)
🚀 Next Steps I Recommend
agents
registry in your Flask backend (server.py
)POST /api/agent/checkin
that creates/updates agent stateGET /api/agents
that the frontend calls to populate the dropdown in the API Collector nodePOST /api/agent/provision
that stores the region/task configGET /api/agent/config?agent_id=...
every 2–5sWould you like me to draft the full backend Flask endpoints and a minimal React Flow node template for the "API Collector" node to bring this to life?
Agent Based communication implemented successfully. Some things still need some refinement, and the agents will be expanded to collect more types of data in the future, currently only collects base64-encoded screenshots of a specific region of the screen on either a local or remote computer and displays them in the WebUI of Borealis if you attach an Image Viewer node to the output of the API Data Collector nodes
Need to incorporate the ability to have multiple nodes that connect to the same agent datastream. Disabling / greying out already-adopted nodes prevents us from being able to have different workflows process data from the same initial source, which could be seen as a functional limitation.
Implement Agent-Based API Data Collectorsto Implement Borealis AgentsMultiple instances of the same agent node successfully implemented. More Node UI design changes will be coming before this core issue is completed.