cortex-hub / agent-node /
@Antigravity AI Antigravity AI authored 14 days ago
..
scripts Refactor orchestration to optimize regex performance, add fast-deploy mode, and cleanup temporary database files 1 month ago
src Fixed node crash due to missing _apply_skill_config and added debug logs 14 days ago
.dockerignore Fix Windows PyWinPTY terminal boundary string drops via bat spool execution and full Windows deployment support 23 days ago
Dockerfile Resolved merge conflict in grpc.py and committed staged changes 14 days ago
Dockerfile.binary feat: scaffold standalone all-in-one pyinstaller binary build pipeline and bash provisioner 1 month ago
README.md feat(mesh): autonomous windows provisioning and lifecycle management 23 days ago
VERSION Fix Windows shell hang: replace @call with cmd.exe /c to prevent batch exit prompt 14 days ago
bootstrap_installer.py Hardened Windows Agent Task Termination and Automatic Cleanup 22 days ago
bootstrap_windows.ps1 Fix AgentNode crash on Windows and fix bootstrap extraction nesting bug 14 days ago
diag_stream.py cleanup 21 days ago
docker-compose.yml refactor: remove hardcoded ai.jerxie.com references 2 months ago
install_service.py fix: restore swarm control and windows node connectivity 22 days ago
purge.py fix: restore swarm control and windows node connectivity 22 days ago
purge_emojis.py cleanup 21 days ago
requirements.txt Correct grpcio locked dependencies mapping 15 days ago
spawn_local_agent.sh refactor: remove hardcoded ai.jerxie.com references 2 months ago
README.md

Cortex Agent Node

This bundle contains the Cortex Agent Node, lightweight, modular software that securely connects physical computing resources to the Cortex Hub.

[!TIP] Performance Focused: As of v1.0.66, browser automation has been moved to a dedicated server-side service. This node is now even lighter and focuses exclusively on high-speed system operations and file synchronization.

Directory Structure

.
├── bootstrap_installer.py  # Zero-dependency daemon/upgrade installer
├── install_service.py      # Background service utilities (macOS/Linux)
├── requirements.txt        # Core dependencies
├── src/                    # Primary source code
│   ├── agent_node/         # Hub communication & task execution logic
│   ├── protos/             # gRPC protocol stubs
│   └── shared_core/        # Cross-module shared utilities

Running the Node

Automated Background Service (Recommended)

To run the node seamlessly in the background (surviving system reboots):

python3 bootstrap_installer.py --daemon

Foreground Usage

Run python3 src/agent_node/main.py directly if you want to watch the logs in your terminal.

Maintenance & Uninstallation

Self-Update

The node automatically checks for updates from the connected Hub. You can force an update check by restarting the service.

Clean Uninstallation (Purge)

To completely remove the agent, stop all background services, and delete all local configuration and code:

python3 purge.py

[!WARNING] This will permanently delete the current directory and deregister the node from the Hub.