machinaos 0.0.21 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/README.md +32 -6
  2. package/bin/cli.js +0 -0
  3. package/client/dist/assets/index-5BWZnM6b.js +703 -0
  4. package/client/dist/index.html +1 -1
  5. package/client/package.json +1 -1
  6. package/client/src/Dashboard.tsx +12 -5
  7. package/client/src/ParameterPanel.tsx +6 -5
  8. package/client/src/components/AIAgentNode.tsx +35 -16
  9. package/client/src/components/CredentialsModal.tsx +450 -5
  10. package/client/src/components/TeamMonitorNode.tsx +269 -0
  11. package/client/src/components/parameterPanel/InputSection.tsx +25 -0
  12. package/client/src/contexts/WebSocketContext.tsx +38 -0
  13. package/client/src/hooks/useApiKeys.ts +44 -0
  14. package/client/src/nodeDefinitions/specializedAgentNodes.ts +59 -3
  15. package/client/src/nodeDefinitions/twitterNodes.ts +441 -0
  16. package/client/src/nodeDefinitions/utilityNodes.ts +45 -1
  17. package/client/src/nodeDefinitions.ts +7 -1
  18. package/client/src/services/executionService.ts +4 -1
  19. package/install.sh +63 -1
  20. package/package.json +5 -2
  21. package/scripts/build.js +0 -0
  22. package/scripts/clean.js +0 -0
  23. package/scripts/daemon.js +0 -0
  24. package/scripts/docker.js +0 -0
  25. package/scripts/install.js +0 -0
  26. package/scripts/postinstall.js +29 -0
  27. package/scripts/preinstall.js +67 -0
  28. package/scripts/serve-client.js +0 -0
  29. package/scripts/start.js +0 -0
  30. package/scripts/stop.js +0 -0
  31. package/scripts/sync-version.js +0 -0
  32. package/server/Dockerfile +10 -15
  33. package/server/constants.py +20 -0
  34. package/server/core/database.py +443 -3
  35. package/server/main.py +9 -1
  36. package/server/models/database.py +112 -2
  37. package/server/pyproject.toml +3 -0
  38. package/server/requirements.txt +3 -0
  39. package/server/routers/twitter.py +390 -0
  40. package/server/routers/websocket.py +320 -0
  41. package/server/services/agent_team.py +266 -0
  42. package/server/services/ai.py +43 -0
  43. package/server/services/compaction.py +39 -4
  44. package/server/services/event_waiter.py +41 -0
  45. package/server/services/handlers/__init__.py +13 -0
  46. package/server/services/handlers/ai.py +66 -2
  47. package/server/services/handlers/tools.py +84 -0
  48. package/server/services/handlers/twitter.py +297 -0
  49. package/server/services/handlers/utility.py +91 -0
  50. package/server/services/node_executor.py +15 -1
  51. package/server/services/pricing.py +270 -0
  52. package/server/services/status_broadcaster.py +79 -0
  53. package/server/services/twitter_oauth.py +410 -0
  54. package/server/skills/social_agent/twitter-search-skill/SKILL.md +146 -0
  55. package/server/skills/social_agent/twitter-send-skill/SKILL.md +142 -0
  56. package/server/skills/social_agent/twitter-user-skill/SKILL.md +165 -0
  57. package/workflows/Zeenie_full.json +459 -0
  58. package/workflows/Zeenie_small.json +459 -0
  59. package/client/dist/assets/index-YVvAiByx.js +0 -703
  60. package/server/requirements-docker.txt +0 -86
package/README.md CHANGED
@@ -14,7 +14,7 @@ Open-source platform to build your own personal AI assistant. A mashup of Claude
14
14
 
15
15
  <img width="1280" height="671" alt="func_img" src="https://github.com/user-attachments/assets/2f14b6c8-3995-4ccc-b076-e40749a83df2" />
16
16
 
17
- **77 nodes** | **6 AI providers** | **12 specialized agents** | **WebSocket-first** | **Self-hosted**
17
+ **83 nodes** | **6 AI providers** | **13 specialized agents** | **Agent Teams** | **WebSocket-first** | **Self-hosted**
18
18
 
19
19
  ## Prerequisites
20
20
 
@@ -68,17 +68,42 @@ npm run start
68
68
 
69
69
  - **AI Agent** - LangGraph-powered with tool calling and iterative reasoning
70
70
  - **Chat Agent** - Conversational agent with skill support for multi-turn chat
71
- - **12 Specialized Agents** - Android, Coding, Web, Task, Social, Travel, Tool, Productivity, Payments, Consumer, Autonomous, Orchestrator
71
+ - **AI Employee** - Team lead for intelligent task delegation to specialized agents
72
+ - **13 Specialized Agents** - Android, Coding, Web, Task, Social, Travel, Tool, Productivity, Payments, Consumer, Autonomous, Orchestrator
73
+ - **Agent Teams** - Multi-agent coordination with shared task management and delegation tools
72
74
  - **11 Skills** - WhatsApp, Maps, HTTP, Scheduler, Android, Code, Memory, Web Search, Custom
73
75
  - **Simple Memory** - Markdown-based conversation history with vector storage
74
76
 
75
77
  ### Platform Integrations
76
78
 
77
79
  - **WhatsApp** - Send/receive messages with QR pairing, filters, group support
80
+ - **Twitter/X** - Send tweets, search, user lookup with OAuth 2.0 authentication
78
81
  - **Android** - 16 service nodes for device control (battery, WiFi, Bluetooth, apps, camera, sensors)
79
82
  - **HTTP/Webhooks** - REST API integration with event-driven triggers
80
83
  - **Google Maps** - Geocoding, nearby places, directions
81
84
 
85
+ ### Agent Teams (Multi-Agent Coordination)
86
+
87
+ Build teams of specialized agents that work together on complex tasks:
88
+
89
+ ```
90
+ +------------------+
91
+ | AI Employee |
92
+ | (Team Lead) |
93
+ +--------+---------+
94
+ | input-teammates
95
+ +-----------------+------------------+
96
+ | | |
97
+ +------v------+ +------v------+ +-------v-----+
98
+ | Coding Agent| | Web Agent | | Task Agent |
99
+ +-------------+ +-------------+ +-------------+
100
+ ```
101
+
102
+ - **Team Lead** (AI Employee/Orchestrator) coordinates multiple agents
103
+ - **Intelligent Delegation** - AI decides when to delegate based on task
104
+ - **Delegation Tools** - Connected agents become `delegate_to_*` tools
105
+ - **Team Monitor** - Real-time visualization of team operations
106
+
82
107
  ### Document Processing (RAG Pipeline)
83
108
 
84
109
  - **HTTP Scraper** - Scrape URLs with pagination and date ranges
@@ -93,18 +118,19 @@ npm run start
93
118
  | Category | Count | Description |
94
119
  |----------|-------|-------------|
95
120
  | AI Models | 6 | OpenAI, Anthropic, Google, OpenRouter, Groq, Cerebras |
96
- | AI Agents | 3 | AI Agent, Chat Agent, Simple Memory |
97
- | Specialized Agents | 12 | Android, Coding, Web, Task, Social, Travel, etc. |
121
+ | AI Agents | 4 | AI Agent, Chat Agent, AI Employee, Simple Memory |
122
+ | Specialized Agents | 13 | Android, Coding, Web, Task, Social, Travel, Orchestrator, etc. |
98
123
  | AI Skills | 11 | WhatsApp, Maps, HTTP, Scheduler, Android, Code, etc. |
99
124
  | AI Tools | 9 | Calculator, Time, Search, Android Toolkit, Code Executors |
100
125
  | WhatsApp | 3 | Send, Receive, Database |
126
+ | Twitter | 3 | Send, Search, User |
101
127
  | Android | 16 | Device control and monitoring |
102
128
  | Documents | 6 | RAG pipeline nodes |
103
- | Utilities | 5 | HTTP, Webhooks, Chat Trigger, Console |
129
+ | Utilities | 6 | HTTP, Webhooks, Chat Trigger, Console, Team Monitor |
104
130
  | Location | 3 | Google Maps integration |
105
131
  | Workflow | 3 | Start, Timer, Cron Scheduler |
106
132
 
107
- **Total: 77 nodes**
133
+ **Total: 83 nodes**
108
134
 
109
135
  ## CLI Commands
110
136
 
package/bin/cli.js CHANGED
File without changes