From 852f2e5a8a0d903b8b26bc59802c9b190f6ee30d Mon Sep 17 00:00:00 2001 From: aitbc Date: Thu, 7 May 2026 11:42:06 +0200 Subject: [PATCH] Rename openclaw to hermes across documentation and workflows - Update workflow paths from docs/openclaw to docs/hermes - Rename skill prefixes from openclaw-* to hermes-* - Update agent skill references in refactoring and analysis docs - Rename OPENCLAW_AITBC_MASTERY_PLAN.md to reflect hermes branding - Update CLI examples and command references throughout documentation --- .gitea/workflows/docs-validation.yml | 4 +- .windsurf/meta/REFACTORING_SUMMARY.md | 18 +- .windsurf/meta/SKILL_ANALYSIS.md | 54 +- ...Y_PLAN.md => HERMES_AITBC_MASTERY_PLAN.md} | 48 +- .../references/ai-operations-reference.md | 44 +- .windsurf/skills/aitbc-ripgrep-specialist.md | 2 +- .windsurf/skills/aitbc-system-architect.md | 4 +- .windsurf/skills/archive/openclaw-aitbc.md | 64 +-- .../skills/archive/openclaw-management.md | 160 +++--- .../blockchain-troubleshoot-recovery.md | 4 +- .windsurf/skills/hermes-agent.md | 496 ++++++++++++++++++ .../skills/openclaw-agent-communicator.md | 16 +- .../skills/openclaw-agent-testing-skill.md | 24 +- .../openclaw-coordination-orchestrator.md | 10 +- .windsurf/skills/openclaw-error-handler.md | 8 +- .../skills/openclaw-performance-optimizer.md | 8 +- .windsurf/skills/openclaw-session-manager.md | 16 +- .windsurf/templates/agent-templates.md | 12 +- .windsurf/templates/workflow-templates.md | 4 +- ...MASTER_INDEX.md => HERMES_MASTER_INDEX.md} | 76 +-- .../workflows/MULTI_NODE_MASTER_INDEX.md | 12 +- .../agent-coordination-enhancement.md | 94 ++-- .../aitbc-system-architecture-audit.md | 6 +- .../workflows/archive/ollama-gpu-test.md | 10 +- .windsurf/workflows/archive/test-basic.md | 2 +- .../workflows/archive/test-openclaw-agents.md | 148 +++--- .windsurf/workflows/archive/test.md | 72 +-- .../blockchain-communication-test.md | 4 +- ....md => hermes-cross-node-communication.md} | 34 +- .../multi-node-blockchain-reference.md | 2 +- ... => multi-node-blockchain-setup-hermes.md} | 64 +-- ...-openclaw.md => ollama-gpu-test-hermes.md} | 102 ++-- README.md | 2 +- apps/api-gateway/src/api_gateway/main.py | 6 +- apps/blockchain-event-bridge/pyproject.toml | 2 +- .../src/blockchain_event_bridge/__init__.py | 2 +- .../action_handlers/__init__.py | 2 +- .../action_handlers/coordinator_api.py | 2 +- .../src/blockchain_event_bridge/bridge.py | 4 +- .../src/blockchain_event_bridge/main.py | 2 +- .../polling/conditions.py | 2 +- apps/blockchain-node/src/aitbc_chain/app.py | 2 +- .../src/aitbc_chain/gossip/relay.py | 2 +- apps/coordinator-api/QUICK_WINS_SUMMARY.md | 4 +- apps/coordinator-api/check_services.sh | 2 +- .../demo_client_miner_workflow.py | 26 +- apps/coordinator-api/deploy_services.sh | 22 +- apps/coordinator-api/manage_services.sh | 2 +- .../scripts/high_priority_implementation.py | 10 +- apps/coordinator-api/src/app/config.py | 2 +- apps/coordinator-api/src/app/config_pg.py | 2 +- .../src/app/domain/agent_performance.py | 2 +- .../src/app/domain/community.py | 4 +- .../src/app/domain/governance.py | 2 +- apps/coordinator-api/src/app/main.py | 4 +- .../src/app/routers/agent_performance.py | 2 +- .../src/app/routers/community.py | 6 +- .../src/app/routers/governance.py | 2 +- .../src/app/routers/monitoring_dashboard.py | 4 +- .../src/app/routers/openclaw_enhanced.py | 30 +- .../src/app/routers/openclaw_enhanced_app.py | 14 +- .../app/routers/openclaw_enhanced_health.py | 38 +- .../app/routers/openclaw_enhanced_simple.py | 30 +- .../src/app/schemas/openclaw_enhanced.py | 4 +- .../src/app/services/agent_orchestrator.py | 2 +- .../app/services/agent_performance_service.py | 6 +- .../src/app/services/bid_strategy_engine.py | 2 +- .../src/app/services/community_service.py | 2 +- .../src/app/services/governance_service.py | 2 +- .../src/app/services/openclaw_enhanced.py | 26 +- .../app/services/openclaw_enhanced_simple.py | 20 +- .../src/app/services/task_decomposition.py | 2 +- .../tests/test_health_comprehensive.py | 4 +- .../governance_service/domain/governance.py | 2 +- .../poetry.lock | 0 .../pyproject.toml | 4 +- .../src/hermes_service}/main.py | 12 +- cli/CLI_USAGE_GUIDE.md | 10 +- cli/aitbc_cli.py | 78 +-- cli/aitbc_cli/config.py | 2 +- cli/cleanup/CLI_CLEANUP_SUMMARY.md | 2 +- cli/commands/dao.py | 20 +- cli/commands/{openclaw.py => hermes.py} | 70 +-- cli/commands/marketplace.py | 10 +- cli/core/main.py | 2 +- cli/docs/DISABLED_COMMANDS_CLEANUP.md | 16 +- cli/handlers/system.py | 10 +- cli/parsers/__init__.py | 4 +- cli/parsers/hermes.py | 48 ++ cli/parsers/openclaw.py | 48 -- cli/tests/test_cli_comprehensive.py | 2 +- cli/unified_cli.py | 8 +- contracts/governance/AgentWallet.sol | 54 +- .../{OpenClawDAO.sol => HermesDAO.sol} | 10 +- contracts/scripts/deploy-agent-contracts.js | 4 +- contracts/scripts/verify-agent-contracts.js | 2 +- dev/tests/deploy-agent-docs.sh | 2 +- docs/MASTER_INDEX.md | 18 +- docs/README.md | 12 +- docs/about/DOCUMENTATION_COMPLIANCE_AUDIT.md | 4 +- docs/about/DOCUMENTATION_SORTING_SUMMARY.md | 6 +- docs/agent-sdk/AGENT_COMMUNICATION_GUIDE.md | 2 +- docs/agent-sdk/AGENT_SDK_OVERVIEW.md | 4 +- docs/agent-sdk/QUICK_START_GUIDE.md | 4 +- docs/agent-training/training_schema.json | 2 +- docs/agents/MERGE_SUMMARY.md | 2 +- docs/agents/advanced-ai-agents.md | 2 +- docs/agents/collaborative-agents.md | 2 +- docs/agents/deployment-test.md | 4 +- ...w-integration.md => hermes-integration.md} | 118 ++--- .../blockchain/blockchain-event-bridge.md | 4 +- docs/apps/openclaw/openclaw-service.md | 30 +- docs/archive/README.md | 2 +- .../CLI_HELP_AVAILABILITY_UPDATE_SUMMARY.md | 14 +- docs/archive/completed/cli/cli-checklist.md | 64 +-- .../core_planning/next-steps-plan.md | 4 +- ...hanced-services-implementation-complete.md | 10 +- .../architecture-reorganization-summary.md | 10 +- .../completed/summaries/99_currentissue.md | 14 +- .../summaries/priority-3-complete.md | 4 +- .../all-major-phases-completed-2026-02-24.md | 22 +- ...li-tools-milestone-completed-2026-02-24.md | 26 +- ...ervices-deployment-completed-2026-02-24.md | 18 +- .../04_advanced_agent_features.md | 4 +- .../10_openclaw_enhancement.md | 44 +- .../11_multi_region_marketplace_deployment.md | 10 +- .../12_blockchain_smart_contracts.md | 2 +- .../13_agent_economics_enhancement.md | 8 +- .../completed_phases/15_deployment_guide.md | 2 +- .../completed_phases/16_api_documentation.md | 2 +- .../17_community_governance_deployment.md | 4 +- .../18_developer_ecosystem_dao_grants.md | 2 +- .../20_openclaw_autonomous_economics.md | 8 +- .../23_cli_enhancement_completed.md | 8 +- .../24_advanced_agent_features_completed.md | 4 +- .../DEPLOYMENT_READINESS_REPORT.md | 2 +- .../next_steps_comprehensive.md | 2 +- .../expert/issues/01_openclaw_economics.md | 8 +- .../expert/issues/02_decentralized_memory.md | 4 +- .../expert/issues/03_developer_ecosystem.md | 4 +- .../issues/04_global_marketplace_launch.md | 2 +- .../issues/05_integration_deployment_plan.md | 2 +- .../09_multichain_cli_tool_implementation.md | 2 +- docs/archive/expert/issues/openclaw.md | 158 +++--- .../port-3000-removal-summary.md | 8 +- .../port-3000-to-8009-migration-summary.md | 4 +- .../port-3000-to-8009-verification-summary.md | 2 +- .../expert/tasks/02_decentralized_memory.md | 4 +- .../expert/tasks/03_developer_ecosystem.md | 4 +- .../phase4_completion_report_20260227.md | 4 +- .../BOTH_NODES_CONSOLIDATION_VERIFIED.md | 20 +- .../CROSS_NODE_OPENCLAW_AITBC_SKILL.md | 34 +- .../summaries/FINAL_CLI_CONSOLIDATION.md | 16 +- .../summaries/OPENCLAW_AGENT_CLI_SUMMARY.md | 42 +- .../summaries/OPENCLAW_AITBC_CLI_PATH_FIX.md | 20 +- .../OPENCLAW_AITBC_SCENARIOS_SUMMARY.md | 28 +- .../summaries/OPENCLAW_AITBC_SKILL_SUMMARY.md | 26 +- .../summaries/OPENCLAW_NATIVE_AITBC_SKILL.md | 42 +- .../PROJECT_ROOT_ORGANIZATION_COMPLETE.md | 12 +- .../summaries/PYTEST_COMPATIBILITY_SUMMARY.md | 4 +- docs/archive/summaries/README.md | 2 +- .../coordinator-api-breakup-analysis.md | 2 +- .../coordinator-api-router-structure.md | 18 +- ...ced_Services__8010-8016__Implementation.md | 4 +- ...Logic_Implementation_-_Implementation_C.md | 2 +- ...e_Reorganization__Web_UI_Moved_to_Enhan.md | 4 +- ...kchain_synchronization_issues_and_fixes.md | 2 +- docs/blockchain/governance/README.md | 2 +- .../governance/openclaw-dao-governance.md | 8 +- docs/cli/CLI_ARCHITECTURE.md | 2 +- docs/cli/DISABLED_COMMANDS_CLEANUP.md | 16 +- docs/guides/README_DOCUMENTATION.md | 50 +- .../ENHANCED_SERVICES_IMPLEMENTATION_GUIDE.md | 4 +- .../AI_ECONOMICS_MASTERS.md | 32 +- .../OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md | 8 +- ...ITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md | 20 +- docs/{openclaw => hermes}/README.md | 52 +- .../WALLET_FUNDING_NOTES.md | 18 +- .../aitbc1_agent_training.md | 0 .../guides/openclaw_agent_fix_summary.md | 32 +- .../openclaw_cross_node_communication.md | 14 +- ...openclaw_messaging_implementation_guide.md | 20 +- .../reports/openclaw_agent_fix_report.json | 4 +- .../openclaw_data_directory_fix_summary.json | 0 .../openclaw_database_cleanup_summary.json | 0 .../openclaw_mission_accomplished.json | 14 +- ...penclaw_multi_node_deployment_success.json | 4 +- .../reports/openclaw_preflight_report.json | 2 +- .../openclaw_workflow_execution_report.json | 2 +- .../cross_node_communication_training.md | 22 +- .../training/openclaw_agents.json | 0 .../training/openclaw_agents_advanced.json | 0 .../microservices-migration-status.md | 22 +- docs/project/2_roadmap.md | 20 +- docs/project/3_infrastructure.md | 12 +- docs/project/5_done.md | 22 +- .../ai-economics/AI_ECONOMICS_MASTERS.md | 8 +- docs/project/aitbc.md | 12 +- docs/project/aitbc1.md | 4 +- docs/project/cli/CLI_DOCUMENTATION.md | 12 +- .../planning/01_core_planning/README.md | 4 +- docs/reference/PORT_MAPPING_GUIDE.md | 10 +- docs/releases/RELEASE_v0.2.3.md | 8 +- docs/releases/RELEASE_v0.3.2.md | 16 +- docs/reports/CODE_QUALITY_SUMMARY.md | 2 +- docs/reports/phase/COMPREHENSIVE_GUIDE.md | 14 +- docs/scenarios/01_wallet_basics.md | 6 +- docs/scenarios/02_transaction_sending.md | 6 +- docs/scenarios/03_genesis_deployment.md | 6 +- docs/scenarios/04_messaging_basics.md | 6 +- docs/scenarios/05_island_creation.md | 6 +- docs/scenarios/06_basic_trading.md | 6 +- docs/scenarios/07_ai_job_submission.md | 6 +- docs/scenarios/08_marketplace_bidding.md | 6 +- docs/scenarios/09_gpu_listing.md | 6 +- docs/scenarios/10_plugin_development.md | 6 +- docs/scenarios/11_ipfs_storage.md | 6 +- docs/scenarios/12_database_operations.md | 6 +- docs/scenarios/13_mining_setup.md | 6 +- docs/scenarios/14_staking_basics.md | 6 +- docs/scenarios/15_blockchain_monitoring.md | 6 +- docs/scenarios/16_agent_registration.md | 14 +- docs/scenarios/17_governance_voting.md | 6 +- docs/scenarios/18_analytics_collection.md | 6 +- docs/scenarios/19_security_setup.md | 6 +- docs/scenarios/20_cross_chain_transfer.md | 6 +- docs/scenarios/21_compute_provider_agent.md | 6 +- docs/scenarios/22_ai_training_agent.md | 6 +- docs/scenarios/23_data_oracle_agent.md | 6 +- docs/scenarios/24_swarm_coordinator.md | 6 +- docs/scenarios/25_marketplace_arbitrage.md | 6 +- docs/scenarios/26_staking_validator_agent.md | 6 +- docs/scenarios/27_cross_chain_trader.md | 6 +- docs/scenarios/28_monitoring_agent.md | 6 +- docs/scenarios/29_plugin_marketplace_agent.md | 6 +- docs/scenarios/30_database_service_agent.md | 6 +- docs/scenarios/31_federation_bridge_agent.md | 6 +- docs/scenarios/32_ai_power_advertiser.md | 6 +- docs/scenarios/33_multi_chain_validator.md | 6 +- docs/scenarios/34_compliance_agent.md | 6 +- docs/scenarios/35_edge_compute_agent.md | 6 +- .../36_autonomous_compute_provider.md | 6 +- docs/scenarios/37_distributed_ai_training.md | 6 +- docs/scenarios/38_cross_chain_market_maker.md | 6 +- .../39_federated_learning_coordinator.md | 6 +- docs/scenarios/40_enterprise_ai_agent.md | 6 +- docs/scenarios/41_bounty_system.md | 6 +- docs/scenarios/42_portfolio_management.md | 6 +- docs/scenarios/43_knowledge_graph_market.md | 6 +- docs/scenarios/44_dispute_resolution.md | 6 +- docs/scenarios/45_zero_knowledge_proofs.md | 6 +- docs/scenarios/README.md | 2 +- examples/env.example | 2 +- scripts/README.md | 6 +- scripts/SCRIPTS_ORGANIZATION.md | 2 +- scripts/create-real-production.sh | 112 ++-- scripts/deploy-real-production.sh | 60 +-- ...y_openclaw_dao.py => deploy_hermes_dao.py} | 24 +- scripts/health-check.sh | 2 +- ...law_wrapper.sh => aitbc_hermes_wrapper.sh} | 36 +- scripts/setup.sh | 10 +- scripts/training/README.md | 12 +- scripts/training/agent_stage1_foundation.sh | 16 +- .../agent_stage2_operations_mastery.sh | 16 +- .../training/agent_stage3_ai_operations.sh | 16 +- .../agent_stage4_marketplace_economics.sh | 16 +- .../agent_stage5_expert_operations.sh | 16 +- .../agent_stage6_agent_identity_sdk.sh | 16 +- .../agent_stage7_cross_node_training.sh | 16 +- ...nt_stage8_advanced_agent_specialization.sh | 16 +- .../agent_stage9_multi_chain_architecture.sh | 16 +- ...on_demo.sh => hermes_coordination_demo.sh} | 82 +-- ...node_comm.sh => hermes_cross_node_comm.sh} | 6 +- scripts/training/master_training_launcher.sh | 24 +- scripts/training/setup_training_env.sh | 2 +- scripts/training/stage1_foundation.sh | 4 +- scripts/training/stage2_intermediate.sh | 10 +- scripts/training/stage3_ai_operations.sh | 6 +- .../training/stage4_marketplace_economics.sh | 6 +- scripts/training/stage5_expert_automation.sh | 26 +- scripts/training/stage6_agent_development.sh | 14 +- scripts/training/stage6_cli_mastery.sh | 6 +- .../training/stage7_cross_node_training.sh | 4 +- scripts/training/training_lib.sh | 4 +- .../01_preflight_setup_hermes.sh | 162 ++++++ .../01_preflight_setup_hermes_corrected.sh} | 94 ++-- .../01_preflight_setup_hermes_simple.sh} | 80 +-- .../02_genesis_authority_setup_hermes.sh} | 120 ++--- .../03_follower_node_setup_hermes.sh} | 136 ++--- .../04_wallet_operations_hermes.sh} | 120 ++--- .../04_wallet_operations_hermes_corrected.sh} | 36 +- .../05_complete_workflow_hermes.sh} | 100 ++-- .../06_advanced_ai_workflow_hermes.sh} | 32 +- .../07_enhanced_agent_coordination.sh | 62 +-- .../08_ai_economics_masters.sh | 18 +- .../README.md | 120 ++--- .../fix_agent_communication.sh | 60 +++ .../implement_agent_messaging.sh | 34 +- .../train_agent_messaging.sh | 26 +- .../01_preflight_setup_openclaw.sh | 162 ------ .../fix_agent_communication.sh | 60 --- .../39_agent_communication_testing.sh | 4 +- .../workflow/40_deploy_messaging_contract.sh | 2 +- .../40_deploy_messaging_contract_simple.sh | 2 +- .../44_comprehensive_multi_node_scenario.sh | 16 +- ...law-wrapper.py => aitbc-hermes-wrapper.py} | 6 +- ...-openclaw.service => aitbc-hermes.service} | 6 +- 307 files changed, 3333 insertions(+), 2837 deletions(-) rename .windsurf/plans/{OPENCLAW_AITBC_MASTERY_PLAN.md => HERMES_AITBC_MASTERY_PLAN.md} (96%) create mode 100644 .windsurf/skills/hermes-agent.md rename .windsurf/workflows/{OPENCLAW_MASTER_INDEX.md => HERMES_MASTER_INDEX.md} (75%) rename .windsurf/workflows/{openclaw-cross-node-communication.md => hermes-cross-node-communication.md} (72%) rename .windsurf/workflows/{multi-node-blockchain-setup-openclaw.md => multi-node-blockchain-setup-hermes.md} (78%) rename .windsurf/workflows/{ollama-gpu-test-openclaw.md => ollama-gpu-test-hermes.md} (75%) rename apps/{openclaw-service => hermes-service}/poetry.lock (100%) rename apps/{openclaw-service => hermes-service}/pyproject.toml (82%) rename apps/{openclaw-service/src/openclaw_service => hermes-service/src/hermes_service}/main.py (90%) rename cli/commands/{openclaw.py => hermes.py} (93%) create mode 100644 cli/parsers/hermes.py delete mode 100644 cli/parsers/openclaw.py rename contracts/governance/{OpenClawDAO.sol => HermesDAO.sol} (98%) rename docs/agents/{openclaw-integration.md => hermes-integration.md} (76%) rename docs/{openclaw => hermes}/AI_ECONOMICS_MASTERS.md (83%) rename docs/{openclaw => hermes}/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md (92%) rename docs/{openclaw => hermes}/OPENCLAW_AITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md (87%) rename docs/{openclaw => hermes}/README.md (59%) rename docs/{openclaw => hermes}/WALLET_FUNDING_NOTES.md (84%) rename docs/{openclaw => hermes}/aitbc1_agent_training.md (100%) rename docs/{openclaw => hermes}/guides/openclaw_agent_fix_summary.md (56%) rename docs/{openclaw => hermes}/guides/openclaw_cross_node_communication.md (93%) rename docs/{openclaw => hermes}/guides/openclaw_messaging_implementation_guide.md (80%) rename docs/{openclaw => hermes}/reports/openclaw_agent_fix_report.json (64%) rename docs/{openclaw => hermes}/reports/openclaw_data_directory_fix_summary.json (100%) rename docs/{openclaw => hermes}/reports/openclaw_database_cleanup_summary.json (100%) rename docs/{openclaw => hermes}/reports/openclaw_mission_accomplished.json (83%) rename docs/{openclaw => hermes}/reports/openclaw_multi_node_deployment_success.json (95%) rename docs/{openclaw => hermes}/reports/openclaw_preflight_report.json (88%) rename docs/{openclaw => hermes}/reports/openclaw_workflow_execution_report.json (97%) rename docs/{openclaw => hermes}/training/cross_node_communication_training.md (89%) rename docs/{openclaw => hermes}/training/openclaw_agents.json (100%) rename docs/{openclaw => hermes}/training/openclaw_agents_advanced.json (100%) rename scripts/deployment/{deploy_openclaw_dao.py => deploy_hermes_dao.py} (94%) rename scripts/hybrid/{aitbc_openclaw_wrapper.sh => aitbc_hermes_wrapper.sh} (67%) rename scripts/training/{openclaw_coordination_demo.sh => hermes_coordination_demo.sh} (77%) rename scripts/training/{openclaw_cross_node_comm.sh => hermes_cross_node_comm.sh} (95%) create mode 100755 scripts/workflow-hermes/01_preflight_setup_hermes.sh rename scripts/{workflow-openclaw/01_preflight_setup_openclaw_corrected.sh => workflow-hermes/01_preflight_setup_hermes_corrected.sh} (52%) rename scripts/{workflow-openclaw/01_preflight_setup_openclaw_simple.sh => workflow-hermes/01_preflight_setup_hermes_simple.sh} (55%) rename scripts/{workflow-openclaw/02_genesis_authority_setup_openclaw.sh => workflow-hermes/02_genesis_authority_setup_hermes.sh} (51%) rename scripts/{workflow-openclaw/03_follower_node_setup_openclaw.sh => workflow-hermes/03_follower_node_setup_hermes.sh} (54%) rename scripts/{workflow-openclaw/04_wallet_operations_openclaw.sh => workflow-hermes/04_wallet_operations_hermes.sh} (59%) rename scripts/{workflow-openclaw/04_wallet_operations_openclaw_corrected.sh => workflow-hermes/04_wallet_operations_hermes_corrected.sh} (82%) rename scripts/{workflow-openclaw/05_complete_workflow_openclaw.sh => workflow-hermes/05_complete_workflow_hermes.sh} (73%) rename scripts/{workflow-openclaw/06_advanced_ai_workflow_openclaw.sh => workflow-hermes/06_advanced_ai_workflow_hermes.sh} (92%) rename scripts/{workflow-openclaw => workflow-hermes}/07_enhanced_agent_coordination.sh (85%) rename scripts/{workflow-openclaw => workflow-hermes}/08_ai_economics_masters.sh (97%) rename scripts/{workflow-openclaw => workflow-hermes}/README.md (64%) create mode 100755 scripts/workflow-hermes/fix_agent_communication.sh rename scripts/{workflow-openclaw => workflow-hermes}/implement_agent_messaging.sh (62%) rename scripts/{workflow-openclaw => workflow-hermes}/train_agent_messaging.sh (65%) delete mode 100755 scripts/workflow-openclaw/01_preflight_setup_openclaw.sh delete mode 100755 scripts/workflow-openclaw/fix_agent_communication.sh rename scripts/wrappers/{aitbc-openclaw-wrapper.py => aitbc-hermes-wrapper.py} (83%) rename systemd/{aitbc-openclaw.service => aitbc-hermes.service} (81%) diff --git a/.gitea/workflows/docs-validation.yml b/.gitea/workflows/docs-validation.yml index 4fab7e1d..73f7d5e3 100644 --- a/.gitea/workflows/docs-validation.yml +++ b/.gitea/workflows/docs-validation.yml @@ -72,7 +72,7 @@ jobs: docs/guides/**/*.md docs/infrastructure/**/*.md docs/mining/**/*.md - docs/openclaw/**/*.md + docs/hermes/**/*.md docs/packages/**/*.md docs/project/**/*.md docs/reference/**/*.md @@ -120,7 +120,7 @@ jobs: docs/guides/README.md docs/infrastructure/README.md docs/mining/README.md - docs/openclaw/README.md + docs/hermes/README.md docs/packages/README.md docs/project/README.md docs/reference/README.md diff --git a/.windsurf/meta/REFACTORING_SUMMARY.md b/.windsurf/meta/REFACTORING_SUMMARY.md index 591f0866..c0b87c39 100644 --- a/.windsurf/meta/REFACTORING_SUMMARY.md +++ b/.windsurf/meta/REFACTORING_SUMMARY.md @@ -18,13 +18,13 @@ version: 1.0 5. **aitbc-node-coordinator** - Cross-node coordination and messaging 6. **aitbc-analytics-analyzer** - Blockchain analytics and performance metrics -#### **OpenClaw Agent Skills (6/6)** -7. **openclaw-agent-communicator** - Agent message handling and responses -8. **openclaw-session-manager** - Session creation and context management -9. **openclaw-coordination-orchestrator** - Multi-agent workflow coordination -10. **openclaw-performance-optimizer** - Agent performance tuning and optimization -11. **openclaw-error-handler** - Error detection and recovery procedures -12. **openclaw-agent-testing-skill** - Agent communication validation and performance testing +#### **hermes Agent Skills (6/6)** +7. **hermes-agent-communicator** - Agent message handling and responses +8. **hermes-session-manager** - Session creation and context management +9. **hermes-coordination-orchestrator** - Multi-agent workflow coordination +10. **hermes-performance-optimizer** - Agent performance tuning and optimization +11. **hermes-error-handler** - Error detection and recovery procedures +12. **hermes-agent-testing-skill** - Agent communication validation and performance testing --- @@ -134,7 +134,7 @@ version: 1.0 ### **Before (Legacy)** ``` # Mixed responsibilities, unclear output -openclaw agent --agent main --message "Check blockchain and process data" --thinking high +hermes agent --agent main --message "Check blockchain and process data" --thinking high cd /opt/aitbc && source venv/bin/activate && ./aitbc-cli chain ``` @@ -143,7 +143,7 @@ cd /opt/aitbc && source venv/bin/activate && ./aitbc-cli chain # Atomic responsibilities, structured output @aitbc-wallet-manager Create wallet "trading-wallet" with password "secure123" @aitbc-transaction-processor Send 100 AIT from trading-wallet to address -@openclaw-agent-communicator Send message to main agent: "Analyze transaction results" +@hermes-agent-communicator Send message to main agent: "Analyze transaction results" ``` --- diff --git a/.windsurf/meta/SKILL_ANALYSIS.md b/.windsurf/meta/SKILL_ANALYSIS.md index 8fdd5e98..8d9db576 100644 --- a/.windsurf/meta/SKILL_ANALYSIS.md +++ b/.windsurf/meta/SKILL_ANALYSIS.md @@ -41,20 +41,20 @@ version: 1.0 #### **CURRENT ACTIVE SKILL SET** -The active OpenClaw-style split skills now live in `.windsurf/skills/` and include: +The active hermes-style split skills now live in `.windsurf/skills/` and include: -- `openclaw-agent-communicator` -- `openclaw-session-manager` -- `openclaw-coordination-orchestrator` -- `openclaw-performance-optimizer` -- `openclaw-error-handler` -- `openclaw-agent-testing-skill` +- `hermes-agent-communicator` +- `hermes-session-manager` +- `hermes-coordination-orchestrator` +- `hermes-performance-optimizer` +- `hermes-error-handler` +- `hermes-agent-testing-skill` --- ## Current Skill Analysis -### File: `openclaw-aitbc.md` (archived legacy) +### File: `hermes-aitbc.md` (archived legacy) #### **IDENTIFIED WEAKNESSES:** @@ -65,22 +65,22 @@ The active OpenClaw-style split skills now live in `.windsurf/skills/` and inclu #### **RECOMMENDED ACTION:** - **ARCHIVE** - This skill is deprecated and serves no purpose -- **Migration already completed** - The active skill set now uses the atomic OpenClaw skills listed below +- **Migration already completed** - The active skill set now uses the atomic hermes skills listed below #### **CURRENT ACTIVE SKILL SET** -- `openclaw-agent-communicator` -- `openclaw-session-manager` -- `openclaw-coordination-orchestrator` -- `openclaw-performance-optimizer` -- `openclaw-error-handler` -- `openclaw-agent-testing-skill` +- `hermes-agent-communicator` +- `hermes-session-manager` +- `hermes-coordination-orchestrator` +- `hermes-performance-optimizer` +- `hermes-error-handler` +- `hermes-agent-testing-skill` --- ## Current Skill Analysis -### File: `openclaw-management.md` (archived legacy) +### File: `hermes-management.md` (archived legacy) #### **IDENTIFIED WEAKNESSES:** @@ -98,22 +98,22 @@ The active OpenClaw-style split skills now live in `.windsurf/skills/` and inclu #### **RECOMMENDED SPLIT INTO ATOMIC SKILLS:** -1. `openclaw-agent-communicator` - Agent message handling and responses -2. `openclaw-session-manager` - Session creation and context management -3. `openclaw-coordination-orchestrator` - Multi-agent workflow coordination -4. `openclaw-performance-optimizer` - Agent performance tuning and optimization -5. `openclaw-error-handler` - Error detection and recovery procedures +1. `hermes-agent-communicator` - Agent message handling and responses +2. `hermes-session-manager` - Session creation and context management +3. `hermes-coordination-orchestrator` - Multi-agent workflow coordination +4. `hermes-performance-optimizer` - Agent performance tuning and optimization +5. `hermes-error-handler` - Error detection and recovery procedures #### **CURRENT ACTIVE SKILL SET** These are the actual active files in `.windsurf/skills/`: -- `openclaw-agent-communicator` -- `openclaw-session-manager` -- `openclaw-coordination-orchestrator` -- `openclaw-performance-optimizer` -- `openclaw-error-handler` -- `openclaw-agent-testing-skill` +- `hermes-agent-communicator` +- `hermes-session-manager` +- `hermes-coordination-orchestrator` +- `hermes-performance-optimizer` +- `hermes-error-handler` +- `hermes-agent-testing-skill` --- diff --git a/.windsurf/plans/OPENCLAW_AITBC_MASTERY_PLAN.md b/.windsurf/plans/HERMES_AITBC_MASTERY_PLAN.md similarity index 96% rename from .windsurf/plans/OPENCLAW_AITBC_MASTERY_PLAN.md rename to .windsurf/plans/HERMES_AITBC_MASTERY_PLAN.md index 1d6738c3..2acae5e2 100644 --- a/.windsurf/plans/OPENCLAW_AITBC_MASTERY_PLAN.md +++ b/.windsurf/plans/HERMES_AITBC_MASTERY_PLAN.md @@ -1,10 +1,10 @@ --- -description: Comprehensive OpenClaw agent training plan for AITBC software mastery from beginner to expert level -title: OPENCLAW_AITBC_MASTERY_PLAN +description: Comprehensive hermes agent training plan for AITBC software mastery from beginner to expert level +title: hermes_AITBC_MASTERY_PLAN version: 2.2 --- -# OpenClaw AITBC Mastery Plan +# hermes AITBC Mastery Plan ## Quick Navigation - [Purpose](#purpose) @@ -27,7 +27,7 @@ version: 2.2 --- ## Purpose -Comprehensive training plan for OpenClaw agents to master AITBC software on both nodes (aitbc and aitbc1) using CLI tools, progressing from basic operations to expert-level blockchain and AI operations. +Comprehensive training plan for hermes agents to master AITBC software on both nodes (aitbc and aitbc1) using CLI tools, progressing from basic operations to expert-level blockchain and AI operations. ## Overview @@ -93,7 +93,7 @@ ssh aitbc1 'cd /opt/aitbc && git reset --hard origin/main' - **Marketplace**: [`multi-node-blockchain-marketplace.md`](../workflows/multi-node-blockchain-marketplace.md) - GPU provider testing and AI operations - **Production**: [`multi-node-blockchain-production.md`](../workflows/multi-node-blockchain-production.md) - Production deployment and scaling - **Reference**: [`multi-node-blockchain-reference.md`](../workflows/multi-node-blockchain-reference.md) - Configuration reference -- **OpenClaw Setup**: [`multi-node-blockchain-setup-openclaw.md`](../workflows/multi-node-blockchain-setup-openclaw.md) - OpenClaw-specific deployment +- **hermes Setup**: [`multi-node-blockchain-setup-hermes.md`](../workflows/multi-node-blockchain-setup-hermes.md) - hermes-specific deployment - **Communication Test**: [`blockchain-communication-test.md`](../workflows/blockchain-communication-test.md) - Cross-node verification - **Scenario Validation**: [`VALIDATION.md`](../scenarios/VALIDATION.md) - Canonical 3-node validation guide and harness @@ -179,16 +179,16 @@ cd /opt/aitbc/scripts/training - **CLI Commands**: ```bash # Wallet creation (non-interactive) - ./aitbc-cli wallet create --name openclaw-wallet --password --yes --no-confirm + ./aitbc-cli wallet create --name hermes-wallet --password --yes --no-confirm ./aitbc-cli wallet list --output json # Balance checking (debug mode) - ./aitbc-cli wallet balance --name openclaw-wallet --verbose + ./aitbc-cli wallet balance --name hermes-wallet --verbose ./aitbc-cli wallet balance --all --format table # Node-specific operations (with debug) - NODE_URL=http://10.1.223.40:8006 ./aitbc-cli wallet balance --name openclaw-wallet --verbose # Genesis node - NODE_URL=http://:8006 ./aitbc-cli wallet balance --name openclaw-wallet --debug # Follower node + NODE_URL=http://10.1.223.40:8006 ./aitbc-cli wallet balance --name hermes-wallet --verbose # Genesis node + NODE_URL=http://:8006 ./aitbc-cli wallet balance --name hermes-wallet --debug # Follower node ``` #### **1.3 Basic Transaction Operations** @@ -196,8 +196,8 @@ cd /opt/aitbc/scripts/training - **CLI Commands**: ```bash # Basic transactions (non-interactive) - ./aitbc-cli wallet send --from openclaw-wallet --to recipient --amount 100 --password --yes --no-confirm - ./aitbc-cli wallet transactions --name openclaw-wallet --limit 10 --output json + ./aitbc-cli wallet send --from hermes-wallet --to recipient --amount 100 --password --yes --no-confirm + ./aitbc-cli wallet transactions --name hermes-wallet --limit 10 --output json # Cross-node transactions (debug mode) NODE_URL=http://10.1.223.40:8006 ./aitbc-cli wallet send --from wallet1 --to wallet2 --amount 50 --verbose --dry-run @@ -240,9 +240,9 @@ cd /opt/aitbc/scripts/training - **CLI Commands**: ```bash # Advanced wallet operations (non-interactive) - ./aitbc-cli wallet backup --name openclaw-wallet --yes --no-confirm + ./aitbc-cli wallet backup --name hermes-wallet --yes --no-confirm ./aitbc-cli wallet restore --name backup-wallet --force --yes - ./aitbc-cli wallet export --name openclaw-wallet --output json + ./aitbc-cli wallet export --name hermes-wallet --output json # Multi-wallet coordination (debug mode) ./aitbc-cli wallet sync --all --verbose @@ -278,7 +278,7 @@ cd /opt/aitbc/scripts/training ./aitbc-cli blockchain contract call --address
--method --verbose # Agent messaging contracts (debug mode) - ./aitbc-cli agent message --to --content "Hello from OpenClaw" --debug + ./aitbc-cli agent message --to --content "Hello from hermes" --debug ./aitbc-cli agent messages --from --output json ``` @@ -720,7 +720,7 @@ export EXCHANGE_URL=http://localhost:8001 # Exchange API export OLLAMA_URL=http://localhost:11434 # Ollama # Authentication -export WALLET_NAME=openclaw-wallet +export WALLET_NAME=hermes-wallet export WALLET_PASSWORD= ``` @@ -806,7 +806,7 @@ grep "Performance benchmark" /var/log/aitbc/training_stage*.log ## πŸŽ“ **Certification & Recognition** -### **OpenClaw AITBC Master Certification** +### **hermes AITBC Master Certification** **Requirements**: - Complete all 5 training stages via script execution - Pass final certification exam (>95% score) simulated in Stage 5 @@ -822,10 +822,10 @@ grep "Performance benchmark" /var/log/aitbc/training_stage*.log 5. **Log Review**: Comprehensive analysis of training performance logs ### **Certification Benefits** -- **Expert Recognition**: Certified OpenClaw AITBC Master +- **Expert Recognition**: Certified hermes AITBC Master - **Advanced Access**: Full system access and permissions - **Economic Authority**: Economic modeling and optimization rights -- **Teaching Authority**: Qualified to train other OpenClaw agents +- **Teaching Authority**: Qualified to train other hermes agents - **Automation Privileges**: Ability to create custom training scripts ### **Post-Certification Training** @@ -893,7 +893,7 @@ iptables -L | grep 8006 curl http://localhost:11434/api/tags # Verify wallet balance -/opt/aitbc/aitbc-cli balance --name openclaw-trainee +/opt/aitbc/aitbc-cli balance --name hermes-trainee # Check AI service status /opt/aitbc/aitbc-cli ai service status --name agent-coordinator @@ -923,10 +923,10 @@ top -bn1 | head -20 # Remove existing wallet if needed # WARNING: Only for training wallets -rm -rf /var/lib/aitbc/keystore/openclaw-trainee* +rm -rf /var/lib/aitbc/keystore/hermes-trainee* # Recreate with verbose output -/opt/aitbc/aitbc-cli create --name openclaw-trainee --password trainee123 --verbose +/opt/aitbc/aitbc-cli create --name hermes-trainee --password trainee123 --verbose ``` ### **Performance Optimization** @@ -1048,10 +1048,10 @@ curl http://10.1.223.40:8001/health **Training Plan Version**: 2.1 **Last Updated**: 2026-05-02 -**Target Audience**: OpenClaw Agents +**Target Audience**: hermes Agents **Difficulty**: Beginner to Expert (5 Stages) **Estimated Duration**: 4 weeks -**Certification**: OpenClaw AITBC Master +**Certification**: hermes AITBC Master **Training Scripts**: Complete automation suite available at `/opt/aitbc/scripts/training/` --- @@ -1120,7 +1120,7 @@ All training stages are now fully automated with executable scripts: - **Log Analysis**: Comprehensive performance tracking and optimization ### **Immediate Deployment** -OpenClaw agents can begin training immediately using: +hermes agents can begin training immediately using: ```bash cd /opt/aitbc/scripts/training ./master_training_launcher.sh diff --git a/.windsurf/references/ai-operations-reference.md b/.windsurf/references/ai-operations-reference.md index 759c5303..1e63a401 100644 --- a/.windsurf/references/ai-operations-reference.md +++ b/.windsurf/references/ai-operations-reference.md @@ -9,7 +9,7 @@ This reference guide covers AI operations in the AITBC blockchain network, inclu - [Marketplace Operations](#marketplace-operations) - [GPU Provider Marketplace](#gpu-provider-marketplace) - [Agent AI Workflows](#agent-ai-workflows) -- [OpenClaw Agent Coordination](#openclaw-agent-coordination) +- [Hermes Agent Coordination](#hermes-agent-coordination) - [Cross-Node AI Coordination](#cross-node-ai-coordination) - [Blockchain Integration](#blockchain-integration) - [AI Economics and Pricing](#ai-economics-and-pricing) @@ -245,44 +245,44 @@ python3 /opt/aitbc/plugins/ollama/client_plugin.py --model llama2 --prompt "Gene ./aitbc-cli agent execute --name "ai-coordinator" --wallet genesis-ops --priority high ``` -## OpenClaw Agent Coordination +## Hermes Agent Coordination > **Canonical validation**: Use [`docs/scenarios/VALIDATION.md`](../../docs/scenarios/VALIDATION.md) and `scripts/workflow/44_comprehensive_multi_node_scenario.sh` for the current 3-node test path. -### OpenClaw AI Agent Setup +### Hermes AI Agent Setup ```bash -# Initialize OpenClaw AI agent -openclaw agent init --name ai-inference-agent --type ai-worker +# Initialize Hermes AI agent +hermes agent init --name ai-inference-agent --type ai-worker # Configure agent for AI operations -openclaw agent configure --name ai-inference-agent --ai-model "llama2" --gpu-requirement 1 +hermes agent configure --name ai-inference-agent --ai-model "llama2" --gpu-requirement 1 # Deploy agent to node -openclaw agent deploy --name ai-inference-agent --target-node aitbc1 +hermes agent deploy --name ai-inference-agent --target-node aitbc1 ``` -### OpenClaw AI Workflows +### Hermes AI Workflows ```bash -# Execute AI workflow via OpenClaw -openclaw execute --agent AI-InferenceAgent --task run_inference --prompt "Generate image" --model "stable-diffusion" +# Execute AI workflow via Hermes +hermes execute --agent AI-InferenceAgent --task run_inference --prompt "Generate image" --model "stable-diffusion" # Coordinate multi-agent AI pipeline -openclaw execute --agent CoordinatorAgent --task ai_pipeline --workflow "preprocess->inference->postprocess" +hermes execute --agent CoordinatorAgent --task ai_pipeline --workflow "preprocess->inference->postprocess" # Monitor agent AI performance -openclaw monitor --agent AI-InferenceAgent --metrics gpu,throughput,errors +hermes monitor --agent AI-InferenceAgent --metrics gpu,throughput,errors ``` ### Cross-Agent Communication ```bash # Send AI job result to another agent -openclaw message --from AI-InferenceAgent --to Data-ProcessingAgent --payload "job_id:123,result:image.png" +hermes message --from AI-InferenceAgent --to Data-ProcessingAgent --payload "job_id:123,result:image.png" # Request resources from coordinator -openclaw message --from AI-TrainingAgent --to Resource-CoordinatorAgent --payload "request:gpu,count:2,duration:3600" +hermes message --from AI-TrainingAgent --to Resource-CoordinatorAgent --payload "request:gpu,count:2,duration:3600" # Broadcast job completion -openclaw broadcast --from AI-InferenceAgent --channel ai-jobs --payload "job_123:completed" +hermes broadcast --from AI-InferenceAgent --channel ai-jobs --payload "job_123:completed" ``` ## Cross-Node AI Coordination @@ -664,23 +664,23 @@ ssh gitea-runner 'ollama pull mistral' ./aitbc-cli market order status --order-id "order_456" ``` -### Workflow 5: OpenClaw Multi-Agent Pipeline +### Workflow 5: Hermes Multi-Agent Pipeline ```bash # 1. Initialize agents -openclaw agent init --name Data-Preprocessor --type data-worker -openclaw agent init --name AI-Inference --type ai-worker -openclaw agent init --name Result-Postprocessor --type data-worker +hermes agent init --name Data-Preprocessor --type data-worker +hermes agent init --name AI-Inference --type ai-worker +hermes agent init --name Result-Postprocessor --type data-worker # 2. Configure agents -openclaw agent configure --name AI-Inference --ai-model "llama2" --gpu-requirement 1 +hermes agent configure --name AI-Inference --ai-model "llama2" --gpu-requirement 1 # 3. Execute pipeline -openclaw execute --agent CoordinatorAgent --task run_pipeline \ +hermes execute --agent CoordinatorAgent --task run_pipeline \ --workflow "Data-Preprocessor->AI-Inference->Result-Postprocessor" \ --input "data.json" --output "results.json" # 4. Monitor pipeline -openclaw monitor --pipeline pipeline_123 --realtime +hermes monitor --pipeline pipeline_123 --realtime ``` ## Best Practices diff --git a/.windsurf/skills/aitbc-ripgrep-specialist.md b/.windsurf/skills/aitbc-ripgrep-specialist.md index 29044012..a93419bc 100644 --- a/.windsurf/skills/aitbc-ripgrep-specialist.md +++ b/.windsurf/skills/aitbc-ripgrep-specialist.md @@ -111,7 +111,7 @@ rg "password|secret|token|key" --type py --type yaml /opt/aitbc/ rg "blockchain|chain\.db|genesis|mining" --type py /opt/aitbc/ # Find AI/ML related code -rg "openclaw|ollama|model|inference" --type py /opt/aitbc/ +rg "hermes|ollama|model|inference" --type py /opt/aitbc/ # Find marketplace code rg "marketplace|listing|bid|gpu" --type py /opt/aitbc/ diff --git a/.windsurf/skills/aitbc-system-architect.md b/.windsurf/skills/aitbc-system-architect.md index c5196dd6..9d40e8cb 100644 --- a/.windsurf/skills/aitbc-system-architect.md +++ b/.windsurf/skills/aitbc-system-architect.md @@ -26,7 +26,7 @@ You are an expert AITBC System Architect with deep knowledge of the proper syste - **Repository**: `/opt/aitbc` (clean, code-only) ### Service Management -- **Production Services**: Marketplace, Blockchain, OpenClaw AI +- **Production Services**: Marketplace, Blockchain, Hermes AI - **SystemD Services**: All AITBC services with proper configuration - **Environment Files**: System and production environment management - **Path References**: Ensuring all services use correct system paths @@ -157,7 +157,7 @@ ls -la /var/lib/aitbc/ /etc/aitbc/ /var/log/aitbc/ - **AI Operations**: Ensure AI services use proper system paths - **Marketplace Operations**: Verify marketplace data in correct locations -### OpenClaw Skills +### Hermes Skills - **Agent Communication**: Ensure AI agents use system log paths - **Session Management**: Verify session data in system directories - **Testing Skills**: Use system directories for test data diff --git a/.windsurf/skills/archive/openclaw-aitbc.md b/.windsurf/skills/archive/openclaw-aitbc.md index 49c1de51..8e9200e5 100644 --- a/.windsurf/skills/archive/openclaw-aitbc.md +++ b/.windsurf/skills/archive/openclaw-aitbc.md @@ -1,23 +1,23 @@ --- -description: Legacy OpenClaw AITBC integration - see split skills for focused operations -title: OpenClaw AITBC Integration (Legacy) +description: Legacy Hermes AITBC integration - see split skills for focused operations +title: Hermes AITBC Integration (Legacy) version: 6.0 - DEPRECATED --- -# OpenClaw AITBC Integration (Legacy - See Split Skills) +# Hermes AITBC Integration (Legacy - See Split Skills) ⚠️ **This skill has been split into focused skills for better organization:** -## πŸ“š Current Active OpenClaw Skills +## πŸ“š Current Active Hermes Skills -This legacy bundle now maps to the current atomic OpenClaw skill files: +This legacy bundle now maps to the current atomic Hermes skill files: -- **`openclaw-agent-communicator.md`** β€” agent message handling and responses -- **`openclaw-session-manager.md`** β€” session creation and context management -- **`openclaw-coordination-orchestrator.md`** β€” multi-agent workflow coordination -- **`openclaw-performance-optimizer.md`** β€” agent performance tuning and optimization -- **`openclaw-error-handler.md`** β€” error detection and recovery procedures -- **`openclaw-agent-testing-skill.md`** β€” agent communication validation and performance testing +- **`hermes-agent-communicator.md`** β€” agent message handling and responses +- **`hermes-session-manager.md`** β€” session creation and context management +- **`hermes-coordination-orchestrator.md`** β€” multi-agent workflow coordination +- **`hermes-performance-optimizer.md`** β€” agent performance tuning and optimization +- **`hermes-error-handler.md`** β€” error detection and recovery procedures +- **`hermes-agent-testing-skill.md`** β€” agent communication validation and performance testing ### Archived Blockchain Companion **File**: `aitbc-blockchain.md` @@ -37,21 +37,21 @@ This legacy bundle now maps to the current atomic OpenClaw skill files: **Before (Legacy)**: ```bash -# Mixed OpenClaw + AITBC operations -openclaw agent --agent main --message "Check blockchain and process data" --thinking high +# Mixed Hermes + AITBC operations +hermes agent --agent main --message "Check blockchain and process data" --thinking high cd /opt/aitbc && source venv/bin/activate && ./aitbc-cli chain ``` **After (Split Skills)**: -**OpenClaw Agent Management**: +**Hermes Agent Management**: ```bash # Pure agent coordination -openclaw agent --agent coordinator --message "Coordinate blockchain monitoring workflow" --thinking high +hermes agent --agent coordinator --message "Coordinate blockchain monitoring workflow" --thinking high # Agent workflow orchestration SESSION_ID="blockchain-monitor-$(date +%s)" -openclaw agent --agent monitor --session-id $SESSION_ID --message "Monitor blockchain health" --thinking medium +hermes agent --agent monitor --session-id $SESSION_ID --message "Monitor blockchain health" --thinking medium ``` **AITBC Blockchain Operations**: @@ -67,7 +67,7 @@ cd /opt/aitbc && source venv/bin/activate ### Benefits of Focused Skills 1. **Clearer Separation of Concerns** - - OpenClaw: Agent coordination and workflow management + - Hermes: Agent coordination and workflow management - AITBC: Blockchain operations and data management 2. **Better Documentation Organization** @@ -76,7 +76,7 @@ cd /opt/aitbc && source venv/bin/activate - Easier maintenance and updates 3. **Improved Reusability** - - OpenClaw skills can be used with any system + - Hermes skills can be used with any system - AITBC skills can be used with any agent framework - Modular combination possible @@ -87,7 +87,7 @@ cd /opt/aitbc && source venv/bin/activate ### When to Use Each Skill -**Use OpenClaw Agent Management Skill for**: +**Use Hermes Agent Management Skill for**: - Multi-agent workflow coordination - Agent communication patterns - Session management and context @@ -102,7 +102,7 @@ cd /opt/aitbc && source venv/bin/activate - Smart contract messaging **Combine Both Skills for**: -- Complete OpenClaw + AITBC integration +- Complete Hermes + AITBC integration - Agent-driven blockchain operations - Automated blockchain workflows - Cross-node agent coordination @@ -111,16 +111,16 @@ cd /opt/aitbc && source venv/bin/activate The following content from the original combined skill is now deprecated and moved to the appropriate split skills: -- ~~Agent command syntax~~ β†’ **OpenClaw Agent Management** +- ~~Agent command syntax~~ β†’ **Hermes Agent Management** - ~~AITBC CLI commands~~ β†’ **AITBC Blockchain Operations** - ~~AI operations~~ β†’ **AITBC Blockchain Operations** - ~~Blockchain coordination~~ β†’ **AITBC Blockchain Operations** -- ~~Agent workflows~~ β†’ **OpenClaw Agent Management** +- ~~Agent workflows~~ β†’ **Hermes Agent Management** ## Migration Checklist ### βœ… Completed -- [x] Created OpenClaw Agent Management skill +- [x] Created Hermes Agent Management skill - [x] Created AITBC Blockchain Operations skill - [x] Updated all command references - [x] Added migration guide @@ -137,14 +137,14 @@ The following content from the original combined skill is now deprecated and mov ## Quick Reference -### OpenClaw Agent Management +### Hermes Agent Management ```bash # Agent coordination -openclaw agent --agent coordinator --message "Coordinate workflow" --thinking high +hermes agent --agent coordinator --message "Coordinate workflow" --thinking high # Session-based workflow SESSION_ID="task-$(date +%s)" -openclaw agent --agent worker --session-id $SESSION_ID --message "Execute task" --thinking medium +hermes agent --agent worker --session-id $SESSION_ID --message "Execute task" --thinking medium ``` ### AITBC Blockchain Operations @@ -163,12 +163,12 @@ cd /opt/aitbc && source venv/bin/activate ## Quick Links to Current Active Skills -- **OpenClaw Agent Communicator**: [../openclaw-agent-communicator.md](../openclaw-agent-communicator.md) -- **OpenClaw Session Manager**: [../openclaw-session-manager.md](../openclaw-session-manager.md) -- **OpenClaw Coordination Orchestrator**: [../openclaw-coordination-orchestrator.md](../openclaw-coordination-orchestrator.md) -- **OpenClaw Performance Optimizer**: [../openclaw-performance-optimizer.md](../openclaw-performance-optimizer.md) -- **OpenClaw Error Handler**: [../openclaw-error-handler.md](../openclaw-error-handler.md) -- **OpenClaw Agent Testing Skill**: [../openclaw-agent-testing-skill.md](../openclaw-agent-testing-skill.md) +- **Hermes Agent Communicator**: [../hermes-agent-communicator.md](../hermes-agent-communicator.md) +- **Hermes Session Manager**: [../hermes-session-manager.md](../hermes-session-manager.md) +- **Hermes Coordination Orchestrator**: [../hermes-coordination-orchestrator.md](../hermes-coordination-orchestrator.md) +- **Hermes Performance Optimizer**: [../hermes-performance-optimizer.md](../hermes-performance-optimizer.md) +- **Hermes Error Handler**: [../hermes-error-handler.md](../hermes-error-handler.md) +- **Hermes Agent Testing Skill**: [../hermes-agent-testing-skill.md](../hermes-agent-testing-skill.md) ## Archived Blockchain Companion diff --git a/.windsurf/skills/archive/openclaw-management.md b/.windsurf/skills/archive/openclaw-management.md index 6b98c852..c3b42771 100644 --- a/.windsurf/skills/archive/openclaw-management.md +++ b/.windsurf/skills/archive/openclaw-management.md @@ -1,41 +1,41 @@ --- -description: OpenClaw agent management and coordination capabilities -title: OpenClaw Agent Management Skill +description: hermes agent management and coordination capabilities +title: hermes Agent Management Skill version: 1.0 --- -# OpenClaw Agent Management Skill +# hermes Agent Management Skill -This skill provides comprehensive OpenClaw agent management, communication, and coordination capabilities. Focus on agent operations, session management, and cross-agent workflows. +This skill provides comprehensive hermes agent management, communication, and coordination capabilities. Focus on agent operations, session management, and cross-agent workflows. -## Current Active OpenClaw Skills +## Current Active hermes Skills This archived management skill is now represented by the following active atomic skill files: -- **`openclaw-agent-communicator.md`** β€” agent message handling and responses -- **`openclaw-session-manager.md`** β€” session creation and context management -- **`openclaw-coordination-orchestrator.md`** β€” multi-agent workflow coordination -- **`openclaw-performance-optimizer.md`** β€” agent performance tuning and optimization -- **`openclaw-error-handler.md`** β€” error detection and recovery procedures -- **`openclaw-agent-testing-skill.md`** β€” agent communication validation and performance testing +- **`hermes-agent-communicator.md`** β€” agent message handling and responses +- **`hermes-session-manager.md`** β€” session creation and context management +- **`hermes-coordination-orchestrator.md`** β€” multi-agent workflow coordination +- **`hermes-performance-optimizer.md`** β€” agent performance tuning and optimization +- **`hermes-error-handler.md`** β€” error detection and recovery procedures +- **`hermes-agent-testing-skill.md`** β€” agent communication validation and performance testing ## Prerequisites -- OpenClaw 2026.3.24+ installed and gateway running -- Agent workspace configured: `~/.openclaw/workspace/` +- hermes 2026.3.24+ installed and gateway running +- Agent workspace configured: `~/.hermes/workspace/` - Network connectivity for multi-agent coordination -## Critical: Correct OpenClaw Syntax +## Critical: Correct hermes Syntax ### Agent Commands ```bash # CORRECT β€” always use --message (long form), not -m -openclaw agent --agent main --message "Your task here" --thinking medium +hermes agent --agent main --message "Your task here" --thinking medium # Session-based communication (maintains context across calls) SESSION_ID="workflow-$(date +%s)" -openclaw agent --agent main --session-id $SESSION_ID --message "Initialize task" --thinking low -openclaw agent --agent main --session-id $SESSION_ID --message "Continue task" --thinking medium +hermes agent --agent main --session-id $SESSION_ID --message "Initialize task" --thinking low +hermes agent --agent main --session-id $SESSION_ID --message "Continue task" --thinking medium # Thinking levels: off | minimal | low | medium | high | xhigh ``` @@ -46,15 +46,15 @@ openclaw agent --agent main --session-id $SESSION_ID --message "Continue task" - ### Agent Status and Management ```bash # Check agent status -openclaw status --agent all -openclaw status --agent main +hermes status --agent all +hermes status --agent main # List available agents -openclaw list --agents +hermes list --agents # Agent workspace management -openclaw workspace --setup -openclaw workspace --status +hermes workspace --setup +hermes workspace --status ``` ## Agent Communication Patterns @@ -62,10 +62,10 @@ openclaw workspace --status ### Single Agent Tasks ```bash # Simple task execution -openclaw agent --agent main --message "Analyze the system logs and report any errors" --thinking high +hermes agent --agent main --message "Analyze the system logs and report any errors" --thinking high # Task with specific parameters -openclaw agent --agent main --message "Process this data: /path/to/data.csv" --thinking medium --parameters "format:csv,mode:analyze" +hermes agent --agent main --message "Process this data: /path/to/data.csv" --thinking medium --parameters "format:csv,mode:analyze" ``` ### Session-Based Workflows @@ -74,26 +74,26 @@ openclaw agent --agent main --message "Process this data: /path/to/data.csv" --t SESSION_ID="data-analysis-$(date +%s)" # Step 1: Data collection -openclaw agent --agent main --session-id $SESSION_ID --message "Collect data from API endpoints" --thinking low +hermes agent --agent main --session-id $SESSION_ID --message "Collect data from API endpoints" --thinking low # Step 2: Data processing -openclaw agent --agent main --session-id $SESSION_ID --message "Process collected data and generate insights" --thinking medium +hermes agent --agent main --session-id $SESSION_ID --message "Process collected data and generate insights" --thinking medium # Step 3: Report generation -openclaw agent --agent main --session-id $SESSION_ID --message "Create comprehensive report with visualizations" --thinking high +hermes agent --agent main --session-id $SESSION_ID --message "Create comprehensive report with visualizations" --thinking high ``` ### Multi-Agent Coordination ```bash # Coordinator agent manages workflow -openclaw agent --agent coordinator --message "Coordinate data processing across multiple agents" --thinking high +hermes agent --agent coordinator --message "Coordinate data processing across multiple agents" --thinking high # Worker agents execute specific tasks -openclaw agent --agent worker-1 --message "Process dataset A" --thinking medium -openclaw agent --agent worker-2 --message "Process dataset B" --thinking medium +hermes agent --agent worker-1 --message "Process dataset A" --thinking medium +hermes agent --agent worker-2 --message "Process dataset B" --thinking medium # Aggregator combines results -openclaw agent --agent aggregator --message "Combine results from worker-1 and worker-2" --thinking high +hermes agent --agent aggregator --message "Combine results from worker-1 and worker-2" --thinking high ``` ## Agent Types and Roles @@ -101,28 +101,28 @@ openclaw agent --agent aggregator --message "Combine results from worker-1 and w ### Coordinator Agent ```bash # Setup coordinator for complex workflows -openclaw agent --agent coordinator --message "Initialize as workflow coordinator. Manage task distribution, monitor progress, aggregate results." --thinking high +hermes agent --agent coordinator --message "Initialize as workflow coordinator. Manage task distribution, monitor progress, aggregate results." --thinking high # Use coordinator for orchestration -openclaw agent --agent coordinator --message "Orchestrate data pipeline: extract β†’ transform β†’ load β†’ validate" --thinking high +hermes agent --agent coordinator --message "Orchestrate data pipeline: extract β†’ transform β†’ load β†’ validate" --thinking high ``` ### Worker Agent ```bash # Setup worker for specific tasks -openclaw agent --agent worker --message "Initialize as data processing worker. Execute assigned tasks efficiently." --thinking medium +hermes agent --agent worker --message "Initialize as data processing worker. Execute assigned tasks efficiently." --thinking medium # Assign specific work -openclaw agent --agent worker --message "Process customer data file: /data/customers.json" --thinking medium +hermes agent --agent worker --message "Process customer data file: /data/customers.json" --thinking medium ``` ### Monitor Agent ```bash # Setup monitor for oversight -openclaw agent --agent monitor --message "Initialize as system monitor. Track performance, detect anomalies, report status." --thinking low +hermes agent --agent monitor --message "Initialize as system monitor. Track performance, detect anomalies, report status." --thinking low # Continuous monitoring -openclaw agent --agent monitor --message "Monitor system health and report any issues" --thinking minimal +hermes agent --agent monitor --message "Monitor system health and report any issues" --thinking minimal ``` ## Agent Workflows @@ -132,16 +132,16 @@ openclaw agent --agent monitor --message "Monitor system health and report any i SESSION_ID="data-pipeline-$(date +%s)" # Phase 1: Data Extraction -openclaw agent --agent extractor --session-id $SESSION_ID --message "Extract data from sources" --thinking medium +hermes agent --agent extractor --session-id $SESSION_ID --message "Extract data from sources" --thinking medium # Phase 2: Data Transformation -openclaw agent --agent transformer --session-id $SESSION_ID --message "Transform extracted data" --thinking medium +hermes agent --agent transformer --session-id $SESSION_ID --message "Transform extracted data" --thinking medium # Phase 3: Data Loading -openclaw agent --agent loader --session-id $SESSION_ID --message "Load transformed data to destination" --thinking medium +hermes agent --agent loader --session-id $SESSION_ID --message "Load transformed data to destination" --thinking medium # Phase 4: Validation -openclaw agent --agent validator --session-id $SESSION_ID --message "Validate loaded data integrity" --thinking high +hermes agent --agent validator --session-id $SESSION_ID --message "Validate loaded data integrity" --thinking high ``` ### Monitoring Workflow @@ -150,7 +150,7 @@ SESSION_ID="monitoring-$(date +%s)" # Continuous monitoring loop while true; do - openclaw agent --agent monitor --session-id $SESSION_ID --message "Check system health" --thinking minimal + hermes agent --agent monitor --session-id $SESSION_ID --message "Check system health" --thinking minimal sleep 300 # Check every 5 minutes done ``` @@ -160,13 +160,13 @@ done SESSION_ID="analysis-$(date +%s)" # Initial analysis -openclaw agent --agent analyst --session-id $SESSION_ID --message "Perform initial data analysis" --thinking high +hermes agent --agent analyst --session-id $SESSION_ID --message "Perform initial data analysis" --thinking high # Deep dive analysis -openclaw agent --agent analyst --session-id $SESSION_ID --message "Deep dive into anomalies and patterns" --thinking high +hermes agent --agent analyst --session-id $SESSION_ID --message "Deep dive into anomalies and patterns" --thinking high # Report generation -openclaw agent --agent analyst --session-id $SESSION_ID --message "Generate comprehensive analysis report" --thinking high +hermes agent --agent analyst --session-id $SESSION_ID --message "Generate comprehensive analysis report" --thinking high ``` ## Agent Configuration @@ -174,29 +174,29 @@ openclaw agent --agent analyst --session-id $SESSION_ID --message "Generate comp ### Agent Parameters ```bash # Agent with specific parameters -openclaw agent --agent main --message "Process data" --thinking medium \ +hermes agent --agent main --message "Process data" --thinking medium \ --parameters "input_format:json,output_format:csv,mode:batch" # Agent with timeout -openclaw agent --agent main --message "Long running task" --thinking high \ +hermes agent --agent main --message "Long running task" --thinking high \ --parameters "timeout:3600,retry_count:3" # Agent with resource constraints -openclaw agent --agent main --message "Resource-intensive task" --thinking high \ +hermes agent --agent main --message "Resource-intensive task" --thinking high \ --parameters "max_memory:4GB,max_cpu:2,max_duration:1800" ``` ### Agent Context Management ```bash # Set initial context -openclaw agent --agent main --message "Initialize with context: data_analysis_v2" --thinking low \ +hermes agent --agent main --message "Initialize with context: data_analysis_v2" --thinking low \ --context "project:data_analysis,version:2.0,dataset:customer_data" # Maintain context across calls -openclaw agent --agent main --session-id $SESSION_ID --message "Continue with previous context" --thinking medium +hermes agent --agent main --session-id $SESSION_ID --message "Continue with previous context" --thinking medium # Update context -openclaw agent --agent main --session-id $SESSION_ID --message "Update context: new_phase" --thinking medium \ +hermes agent --agent main --session-id $SESSION_ID --message "Update context: new_phase" --thinking medium \ --context-update "phase:processing,status:active" ``` @@ -205,11 +205,11 @@ openclaw agent --agent main --session-id $SESSION_ID --message "Update context: ### Cross-Agent Messaging ```bash # Agent A sends message to Agent B -openclaw agent --agent agent-a --message "Send results to agent-b" --thinking medium \ +hermes agent --agent agent-a --message "Send results to agent-b" --thinking medium \ --send-to "agent-b" --message-type "results" # Agent B receives and processes -openclaw agent --agent agent-b --message "Process received results" --thinking medium \ +hermes agent --agent agent-b --message "Process received results" --thinking medium \ --receive-from "agent-a" ``` @@ -219,14 +219,14 @@ openclaw agent --agent agent-b --message "Process received results" --thinking m TEAM_ID="team-analytics-$(date +%s)" # Team leader coordination -openclaw agent --agent team-lead --session-id $TEAM_ID --message "Coordinate team analytics workflow" --thinking high +hermes agent --agent team-lead --session-id $TEAM_ID --message "Coordinate team analytics workflow" --thinking high # Team member tasks -openclaw agent --agent analyst-1 --session-id $TEAM_ID --message "Analyze customer segment A" --thinking high -openclaw agent --agent analyst-2 --session-id $TEAM_ID --message "Analyze customer segment B" --thinking high +hermes agent --agent analyst-1 --session-id $TEAM_ID --message "Analyze customer segment A" --thinking high +hermes agent --agent analyst-2 --session-id $TEAM_ID --message "Analyze customer segment B" --thinking high # Team consolidation -openclaw agent --agent team-lead --session-id $TEAM_ID --message "Consolidate team analysis results" --thinking high +hermes agent --agent team-lead --session-id $TEAM_ID --message "Consolidate team analysis results" --thinking high ``` ## Agent Error Handling @@ -234,22 +234,22 @@ openclaw agent --agent team-lead --session-id $TEAM_ID --message "Consolidate te ### Error Recovery ```bash # Agent with error handling -openclaw agent --agent main --message "Process data with error handling" --thinking medium \ +hermes agent --agent main --message "Process data with error handling" --thinking medium \ --parameters "error_handling:retry_on_failure,max_retries:3,fallback_mode:graceful_degradation" # Monitor agent errors -openclaw agent --agent monitor --message "Check for agent errors and report" --thinking low \ +hermes agent --agent monitor --message "Check for agent errors and report" --thinking low \ --parameters "check_type:error_log,alert_threshold:5" ``` ### Agent Debugging ```bash # Debug mode -openclaw agent --agent main --message "Debug task execution" --thinking high \ +hermes agent --agent main --message "Debug task execution" --thinking high \ --parameters "debug:true,log_level:verbose,trace_execution:true" # Agent state inspection -openclaw agent --agent main --message "Report current state and context" --thinking low \ +hermes agent --agent main --message "Report current state and context" --thinking low \ --parameters "report_type:state,include_context:true" ``` @@ -258,11 +258,11 @@ openclaw agent --agent main --message "Report current state and context" --think ### Efficient Agent Usage ```bash # Batch processing -openclaw agent --agent processor --message "Process data in batches" --thinking medium \ +hermes agent --agent processor --message "Process data in batches" --thinking medium \ --parameters "batch_size:100,parallel_processing:true" # Resource optimization -openclaw agent --agent optimizer --message "Optimize resource usage" --thinking high \ +hermes agent --agent optimizer --message "Optimize resource usage" --thinking high \ --parameters "memory_efficiency:true,cpu_optimization:true" ``` @@ -270,11 +270,11 @@ openclaw agent --agent optimizer --message "Optimize resource usage" --thinking ```bash # Scale out work for i in {1..5}; do - openclaw agent --agent worker-$i --message "Process batch $i" --thinking medium & + hermes agent --agent worker-$i --message "Process batch $i" --thinking medium & done # Scale in coordination -openclaw agent --agent coordinator --message "Coordinate scaled-out workers" --thinking high +hermes agent --agent coordinator --message "Coordinate scaled-out workers" --thinking high ``` ## Agent Security @@ -282,11 +282,11 @@ openclaw agent --agent coordinator --message "Coordinate scaled-out workers" --t ### Secure Agent Operations ```bash # Agent with security constraints -openclaw agent --agent secure-agent --message "Process sensitive data" --thinking high \ +hermes agent --agent secure-agent --message "Process sensitive data" --thinking high \ --parameters "security_level:high,data_encryption:true,access_log:true" # Agent authentication -openclaw agent --agent authenticated-agent --message "Authenticated operation" --thinking medium \ +hermes agent --agent authenticated-agent --message "Authenticated operation" --thinking medium \ --parameters "auth_required:true,token_expiry:3600" ``` @@ -295,11 +295,11 @@ openclaw agent --agent authenticated-agent --message "Authenticated operation" - ### Performance Monitoring ```bash # Monitor agent performance -openclaw agent --agent monitor --message "Monitor agent performance metrics" --thinking low \ +hermes agent --agent monitor --message "Monitor agent performance metrics" --thinking low \ --parameters "metrics:cpu,memory,tasks_per_second,error_rate" # Agent analytics -openclaw agent --agent analytics --message "Generate agent performance report" --thinking medium \ +hermes agent --agent analytics --message "Generate agent performance report" --thinking medium \ --parameters "report_type:performance,period:last_24h" ``` @@ -314,16 +314,16 @@ openclaw agent --agent analytics --message "Generate agent performance report" - ### Debug Commands ```bash # Check agent status -openclaw status --agent all +hermes status --agent all # Test agent communication -openclaw agent --agent main --message "Ping test" --thinking minimal +hermes agent --agent main --message "Ping test" --thinking minimal # Check workspace -openclaw workspace --status +hermes workspace --status # Verify agent configuration -openclaw config --show --agent main +hermes config --show --agent main ``` ## Best Practices @@ -352,13 +352,13 @@ openclaw config --show --agent main - Monitor agent resource usage - Implement proper session cleanup -This OpenClaw Agent Management skill provides the foundation for effective agent coordination, communication, and workflow orchestration across any domain or application. +This hermes Agent Management skill provides the foundation for effective agent coordination, communication, and workflow orchestration across any domain or application. ## Quick Links to Current Active Skills -- **OpenClaw Agent Communicator**: [../openclaw-agent-communicator.md](../openclaw-agent-communicator.md) -- **OpenClaw Session Manager**: [../openclaw-session-manager.md](../openclaw-session-manager.md) -- **OpenClaw Coordination Orchestrator**: [../openclaw-coordination-orchestrator.md](../openclaw-coordination-orchestrator.md) -- **OpenClaw Performance Optimizer**: [../openclaw-performance-optimizer.md](../openclaw-performance-optimizer.md) -- **OpenClaw Error Handler**: [../openclaw-error-handler.md](../openclaw-error-handler.md) -- **OpenClaw Agent Testing Skill**: [../openclaw-agent-testing-skill.md](../openclaw-agent-testing-skill.md) +- **hermes Agent Communicator**: [../hermes-agent-communicator.md](../hermes-agent-communicator.md) +- **hermes Session Manager**: [../hermes-session-manager.md](../hermes-session-manager.md) +- **hermes Coordination Orchestrator**: [../hermes-coordination-orchestrator.md](../hermes-coordination-orchestrator.md) +- **hermes Performance Optimizer**: [../hermes-performance-optimizer.md](../hermes-performance-optimizer.md) +- **hermes Error Handler**: [../hermes-error-handler.md](../hermes-error-handler.md) +- **hermes Agent Testing Skill**: [../hermes-agent-testing-skill.md](../hermes-agent-testing-skill.md) diff --git a/.windsurf/skills/blockchain-troubleshoot-recovery.md b/.windsurf/skills/blockchain-troubleshoot-recovery.md index 765893a3..35ce802a 100644 --- a/.windsurf/skills/blockchain-troubleshoot-recovery.md +++ b/.windsurf/skills/blockchain-troubleshoot-recovery.md @@ -379,8 +379,8 @@ NODE_URL=http://:8006 ./aitbc-cli blockchain height ## Related Skills - [aitbc-node-coordinator](/aitbc-node-coordinator.md) - For cross-node coordination during recovery -- [openclaw-error-handler](/openclaw-error-handler.md) - For error handling and escalation -- [openclaw-coordination-orchestrator](/openclaw-coordination-orchestrator.md) - For multi-node recovery coordination +- [hermes-error-handler](/hermes-error-handler.md) - For error handling and escalation +- [hermes-coordination-orchestrator](/hermes-coordination-orchestrator.md) - For multi-node recovery coordination ## Related Workflows - [Blockchain Communication Test](/workflows/blockchain-communication-test.md) - Testing workflow that triggers this skill diff --git a/.windsurf/skills/hermes-agent.md b/.windsurf/skills/hermes-agent.md new file mode 100644 index 00000000..f32734df --- /dev/null +++ b/.windsurf/skills/hermes-agent.md @@ -0,0 +1,496 @@ +# Hermes AI Agent Skill + +## Overview + +Hermes is an AI assistant with tool-calling capabilities that can interact with the AITBC system. It supports chat, session management, skills, plugins, and various integrations. + +Hermes is installed on both aitbc and aitbc1 nodes in the multi-node AITBC deployment. + +## Installation & Setup + +```bash +# Run interactive setup wizard +hermes setup + +# Check system status and dependencies +hermes doctor + +# View configuration +hermes config +hermes config edit + +# Select default model and provider +hermes model +``` + +## Basic Usage + +### Interactive Chat + +```bash +# Start interactive chat +hermes + +# Single query mode +hermes chat -q "What is the blockchain height?" + +# Resume most recent session +hermes -c + +# Resume session by name +hermes -c "my project" + +# Resume session by ID +hermes --resume +``` + +### Model Selection + +```bash +# Select default model +hermes model + +# Override model for this invocation +hermes -m tencent/hy3-preview:free + +# Override provider for this invocation +hermes --provider openrouter + +# Current AITBC configuration: tencent/hy3-preview:free via OpenRouter +``` + +## Session Management + +```bash +# List past sessions +hermes sessions list + +# Interactive session picker +hermes sessions browse + +# Rename session +hermes sessions rename + +# Export session +hermes sessions export <ID> + +# Delete session +hermes sessions delete <ID> + +# Prune old sessions +hermes sessions prune +``` + +## Skills & Plugins + +### Skills + +```bash +# Search for skills +hermes skills search <query> + +# Install a skill +hermes skills install <skill-name> + +# List installed skills +hermes skills list + +# Configure skill +hermes skills configure <skill-name> + +# Remove skill +hermes skills remove <skill-name> +``` + +### Preload Skills for Session + +```bash +# Preload specific skills +hermes -s skill1,skill2 + +# Repeat flag for multiple skills +hermes -s skill1 -s skill2 +``` + +### Plugins + +```bash +# List plugins +hermes plugins list + +# Install plugin +hermes plugins install <plugin-name> + +# Update plugin +hermes plugins update <plugin-name> + +# Remove plugin +hermes plugins remove <plugin-name> +``` + +### Skill Curator + +```bash +# Check curator status +hermes curator status + +# Run curator (background skill maintenance) +hermes curator run + +# Pause curator +hermes curator pause + +# Pin a skill (prevent curator updates) +hermes curator pin <skill-name> +``` + +## Authentication + +```bash +# Login to inference provider +hermes login + +# Logout from provider +hermes logout + +# Add pooled credential +hermes auth add <provider> + +# List pooled credentials +hermes auth list + +# Remove pooled credential +hermes auth remove <provider> <token> + +# Clear exhaustion status for provider +hermes auth reset <provider> +``` + +## Fallback Providers + +```bash +# Show fallback provider chain +hermes fallback list + +# Add fallback provider +hermes fallback add + +# Remove fallback provider +hermes fallback remove +``` + +## Configuration + +```bash +# View configuration +hermes config + +# Edit configuration in editor +hermes config edit + +# Set configuration value +hermes config set model gpt-4 + +# Set configuration value with path +hermes config set inference.model anthropic/claude-sonnet-4.6 +``` + +## Logs & Debugging + +```bash +# View last 50 lines of agent.log +hermes logs + +# Follow agent.log in real-time +hermes logs -f + +# View errors only +hermes logs errors + +# View logs from last hour +hermes logs --since 1h + +# View logs from last day +hermes logs --since 1d + +# Upload debug report for support +hermes debug share + +# Dump setup summary +hermes dump +``` + +## Advanced Usage + +### One-Shot Mode + +```bash +# Send single prompt, print only response (no banner/spinner) +hermes -z "What is the blockchain height?" + +# With model override +hermes -m anthropic/claude-sonnet-4.6 -z "Check blockchain status" + +# With toolsets +hermes -t blockchain,wallet -z "Send 10 tokens" +``` + +### Git Worktree Mode + +```bash +# Run in isolated git worktree (for parallel agents) +hermes -w +``` + +### Toolsets + +```bash +# Enable specific toolsets for this invocation +hermes -t blockchain,wallet,marketplace + +# With oneshot mode +hermes -t blockchain -z "Get block height" +``` + +### TUI Mode + +```bash +# Launch modern TUI instead of classic REPL +hermes --tui + +# Run TypeScript sources via tsx (dev mode) +hermes --tui --dev +``` + +## Special Flags + +```bash +# Auto-approve shell hooks (for CI/headless) +hermes --accept-hooks + +# Bypass all dangerous command approvals (use at your own risk) +hermes --yolo + +# Include session ID in system prompt +hermes --pass-session-id + +# Ignore user config (~/.hermes/config.yaml) +hermes --ignore-user-config + +# Skip auto-injection of AGENTS.md, SOUL.md, .cursorrules, memory +hermes --ignore-rules +``` + +## Integrations + +### Webhook Management + +```bash +# Manage dynamic webhook subscriptions +hermes webhook + +# View webhook help +hermes webhook --help +``` + +## MCP (Model Context Protocol) + +```bash +# Manage MCP servers +hermes mcp + +# Run Hermes as MCP server +hermes mcp serve + +# List MCP servers +hermes mcp list + +# Add MCP server +hermes mcp add <server-config> +``` + +## Profiles + +```bash +# Manage profiles (multiple isolated Hermes instances) +hermes profile + +# Create new profile +hermes profile create <name> + +# Switch profile +hermes profile switch <name> + +# List profiles +hermes profile list + +# Delete profile +hermes profile delete <name> +``` + +## Backup & Restore + +```bash +# Backup Hermes home directory to zip +hermes backup + +# Restore Hermes backup from zip +hermes import <backup-file.zip> +``` + +## Gateway + +```bash +# Run messaging gateway +hermes gateway + +# Install gateway background service +hermes gateway install + +# Gateway management +hermes gateway --help +``` + +## System Commands + +```bash +# Show version +hermes version + +# Update to latest version +hermes update + +# Uninstall Hermes +hermes uninstall + +# Print shell completion script +hermes completion bash +hermes completion zsh +hermes completion fish +``` + +## Environment Variables + +```bash +# Set default model (AITBC uses tencent/hy3-preview:free) +export HERMES_INFERENCE_MODEL=tencent/hy3-preview:free + +# Set default provider (AITBC uses OpenRouter) +export HERMES_INFERENCE_PROVIDER=openrouter + +# Auto-accept hooks +export HERMES_ACCEPT_HOOKS=1 +``` + +Note: Zsh completion is already installed on the AITBC nodes. + +## AITBC-Specific Workflows + +### Multi-Node Operations + +Hermes runs on both aitbc and aitbc1 nodes in the multi-node AITBC deployment. + +```bash +# On aitbc node +ssh aitbc +hermes -s blockchain -z "Check aitbc blockchain status" + +# On aitbc1 node +ssh aitbc1 +hermes -s blockchain -z "Check aitbc1 blockchain status" + +# Cross-node sync verification +hermes -t blockchain -z "Verify sync between aitbc and aitbc1" +``` + +### Blockchain Operations with Hermes + +```bash +# Preload blockchain-specific skills +hermes -s blockchain,wallet -z "Check blockchain status" + +# Query blockchain state +hermes -t blockchain -z "What is the current block height?" + +# Send transaction +hermes -t wallet -z "Send 10 tokens to recipient-address" + +# List wallets +hermes -t wallet -z "List all wallets" +``` + +### AI Training with Hermes + +```bash +# Preload AI skills +hermes -s ai-training,coordinator -z "Submit AI training job" + +# Check job status +hermes -t ai -z "Check status of job job_123" + +# List AI jobs +hermes -t ai -z "List all AI jobs" +``` + +### Marketplace Operations + +```bash +# List GPU resources +hermes -t marketplace -z "List available GPUs" + +# Place bid +hermes -t marketplace -z "Place bid on listing listing_123" + +# Check orders +hermes -t marketplace -z "Check my orders" +``` + +## Troubleshooting + +### Common Issues + +**Hermes not responding:** +```bash +# Check system status +hermes doctor + +# View logs +hermes logs -f +``` + +**Authentication issues:** +```bash +# Clear credentials and re-login +hermes logout +hermes login + +# Check auth status +hermes auth list +``` + +**Skill not loading:** +```bash +# Check curator status +hermes curator status + +# Reinstall skill +hermes skills remove <skill-name> +hermes skills install <skill-name> +``` + +## Best Practices + +1. **Session Management**: Use descriptive session names for easy resumption +2. **Skill Selection**: Only preload relevant skills to reduce overhead +3. **One-Shot Mode**: Use `-z` for scripts and automation +4. **Logging**: Use `hermes logs -f` for real-time debugging +5. **Configuration**: Store sensitive credentials via `hermes auth` not in config files +6. **Fallbacks**: Configure fallback providers for reliability +7. **Profiles**: Use separate profiles for different projects + +## Resources + +- Hermes documentation: Check `hermes --help` for any command +- Configuration: `~/.hermes/config.yaml` +- Logs: `~/.hermes/logs/` +- Skills directory: `~/.hermes/skills/` diff --git a/.windsurf/skills/openclaw-agent-communicator.md b/.windsurf/skills/openclaw-agent-communicator.md index 72cff653..25a05bf0 100644 --- a/.windsurf/skills/openclaw-agent-communicator.md +++ b/.windsurf/skills/openclaw-agent-communicator.md @@ -1,13 +1,13 @@ --- -description: Atomic OpenClaw agent communication with deterministic message handling and response validation -title: openclaw-agent-communicator +description: Atomic hermes agent communication with deterministic message handling and response validation +title: hermes-agent-communicator version: 1.1 --- -# OpenClaw Agent Communicator +# hermes Agent Communicator ## Purpose -Handle OpenClaw agent message delivery, response processing, and communication validation with deterministic outcome tracking. +Handle hermes agent message delivery, response processing, and communication validation with deterministic outcome tracking. ## Activation Trigger when user requests agent communication: message sending, response analysis, or communication validation. @@ -63,7 +63,7 @@ Trigger when user requests agent communication: message sending, response analys - Configure timeout handling ### 3. Execute -- Execute OpenClaw agent command +- Execute hermes agent command - Capture agent response - Measure response time - Analyze response quality @@ -83,8 +83,8 @@ Trigger when user requests agent communication: message sending, response analys - **MUST** validate response format and content ## Environment Assumptions -- OpenClaw 2026.3.24+ installed and gateway running -- Agent workspace configured at `~/.openclaw/workspace/` +- hermes 2026.3.24+ installed and gateway running +- Agent workspace configured at `~/.hermes/workspace/` - Network connectivity for agent communication - Default agent available: "main" - Session management functional @@ -139,6 +139,6 @@ Send message to main agent with medium thinking level: "Analyze the current bloc ## Performance Notes - **Execution Time**: 1-3 seconds for simple messages, 5-15 seconds for complex analysis - **Memory Usage**: <100MB for agent communication -- **Network Requirements**: OpenClaw gateway connectivity +- **Network Requirements**: hermes gateway connectivity - **Concurrency**: Safe for multiple simultaneous agent communications - **Session Management**: Automatic context preservation across multiple messages diff --git a/.windsurf/skills/openclaw-agent-testing-skill.md b/.windsurf/skills/openclaw-agent-testing-skill.md index 3f3f6b3c..b25de884 100644 --- a/.windsurf/skills/openclaw-agent-testing-skill.md +++ b/.windsurf/skills/openclaw-agent-testing-skill.md @@ -1,16 +1,16 @@ --- -description: Atomic OpenClaw agent testing with deterministic communication validation and performance metrics -title: openclaw-agent-testing-skill +description: Atomic Hermes agent testing with deterministic communication validation and performance metrics +title: hermes-agent-testing-skill version: 1.1 --- -# OpenClaw Agent Testing Skill +# Hermes Agent Testing Skill ## Purpose -Test and validate OpenClaw agent functionality, communication patterns, session management, and performance with deterministic validation metrics. +Test and validate Hermes agent functionality, communication patterns, session management, and performance with deterministic validation metrics. ## Activation -Trigger when user requests OpenClaw agent testing: agent functionality validation, communication testing, session management testing, or agent performance analysis. +Trigger when user requests Hermes agent testing: agent functionality validation, communication testing, session management testing, or agent performance analysis. ## Input ```json @@ -29,7 +29,7 @@ Trigger when user requests OpenClaw agent testing: agent functionality validatio ## Output ```json { - "summary": "OpenClaw agent testing completed successfully", + "summary": "Hermes agent testing completed successfully", "operation": "test-agent-communication|test-session-management|test-agent-performance|test-multi-agent|comprehensive", "test_results": { "agent_communication": "boolean", @@ -73,7 +73,7 @@ Trigger when user requests OpenClaw agent testing: agent functionality validatio ### 1. Analyze - Validate agent testing parameters and operation type -- Check OpenClaw service availability and health +- Check Hermes service availability and health - Verify agent availability and status - Assess testing scope and requirements @@ -104,8 +104,8 @@ Trigger when user requests OpenClaw agent testing: agent functionality validatio - **MUST** provide deterministic performance metrics ## Environment Assumptions -- OpenClaw 2026.3.24+ installed and gateway running -- Agent workspace configured at `~/.openclaw/workspace/` +- Hermes 2026.3.24+ installed and gateway running +- Agent workspace configured at `~/.hermes/workspace/` - Network connectivity for agent communication - Default agent available: "main" - Session management functional @@ -119,14 +119,14 @@ Trigger when user requests OpenClaw agent testing: agent functionality validatio ## Example Usage Prompt ``` -Run comprehensive OpenClaw agent testing including communication, session management, performance, and multi-agent coordination validation +Run comprehensive Hermes agent testing including communication, session management, performance, and multi-agent coordination validation ``` ## Expected Output Example ```json { - "summary": "Comprehensive OpenClaw agent testing completed with all systems operational", + "summary": "Comprehensive Hermes agent testing completed with all systems operational", "operation": "comprehensive", "test_results": { "agent_communication": true, @@ -187,6 +187,6 @@ Run comprehensive OpenClaw agent testing including communication, session manage ## Performance Notes - **Execution Time**: 5-15 seconds for basic tests, 30-90 seconds for comprehensive testing - **Memory Usage**: <150MB for agent testing operations -- **Network Requirements**: OpenClaw gateway connectivity +- **Network Requirements**: Hermes gateway connectivity - **Concurrency**: Safe for multiple simultaneous agent tests with different agents - **Session Management**: Automatic session creation and context preservation testing diff --git a/.windsurf/skills/openclaw-coordination-orchestrator.md b/.windsurf/skills/openclaw-coordination-orchestrator.md index db3e59cd..99e4c3dd 100644 --- a/.windsurf/skills/openclaw-coordination-orchestrator.md +++ b/.windsurf/skills/openclaw-coordination-orchestrator.md @@ -1,13 +1,13 @@ --- -description: Atomic OpenClaw multi-agent workflow coordination with deterministic outputs -title: openclaw-coordination-orchestrator +description: Atomic hermes multi-agent workflow coordination with deterministic outputs +title: hermes-coordination-orchestrator version: 1.1 --- -# OpenClaw Coordination Orchestrator +# hermes Coordination Orchestrator ## Purpose -Coordinate multi-agent workflows, manage agent task distribution, and orchestrate complex operations across multiple OpenClaw agents. +Coordinate multi-agent workflows, manage agent task distribution, and orchestrate complex operations across multiple hermes agents. ## Activation Trigger when user requests multi-agent coordination: task distribution, workflow orchestration, agent collaboration, or parallel execution management. @@ -77,7 +77,7 @@ Trigger when user requests multi-agent coordination: task distribution, workflow - **MUST** respect agent capacity limits ## Environment Assumptions -- OpenClaw agents operational and accessible +- hermes agents operational and accessible - Agent communication channels available - Task queue system functional - Agent status monitoring active diff --git a/.windsurf/skills/openclaw-error-handler.md b/.windsurf/skills/openclaw-error-handler.md index da589d6a..4a3cd1a6 100644 --- a/.windsurf/skills/openclaw-error-handler.md +++ b/.windsurf/skills/openclaw-error-handler.md @@ -1,13 +1,13 @@ --- -description: Atomic OpenClaw error detection and recovery procedures with deterministic outputs -title: openclaw-error-handler +description: Atomic hermes error detection and recovery procedures with deterministic outputs +title: hermes-error-handler version: 1.1 --- -# OpenClaw Error Handler +# hermes Error Handler ## Purpose -Detect, diagnose, and recover from errors in OpenClaw agent operations with systematic error handling and recovery procedures. +Detect, diagnose, and recover from errors in hermes agent operations with systematic error handling and recovery procedures. ## Activation Trigger when user requests error handling: error diagnosis, recovery procedures, error analysis, or system health checks. diff --git a/.windsurf/skills/openclaw-performance-optimizer.md b/.windsurf/skills/openclaw-performance-optimizer.md index a76c4c0c..602f59b0 100644 --- a/.windsurf/skills/openclaw-performance-optimizer.md +++ b/.windsurf/skills/openclaw-performance-optimizer.md @@ -1,13 +1,13 @@ --- -description: Atomic OpenClaw agent performance tuning and optimization with deterministic outputs -title: openclaw-performance-optimizer +description: Atomic Hermes agent performance tuning and optimization with deterministic outputs +title: hermes-performance-optimizer version: 1.1 --- -# OpenClaw Performance Optimizer +# Hermes Performance Optimizer ## Purpose -Optimize agent performance, tune execution parameters, and improve efficiency for OpenClaw agents through systematic analysis and adjustment. +Optimize agent performance, tune execution parameters, and improve efficiency for Hermes agents through systematic analysis and adjustment. ## Activation Trigger when user requests performance optimization: agent tuning, parameter adjustment, efficiency improvements, or performance benchmarking. diff --git a/.windsurf/skills/openclaw-session-manager.md b/.windsurf/skills/openclaw-session-manager.md index 9615480f..163f61ab 100644 --- a/.windsurf/skills/openclaw-session-manager.md +++ b/.windsurf/skills/openclaw-session-manager.md @@ -1,13 +1,13 @@ --- -description: Atomic OpenClaw session management with deterministic context preservation and workflow coordination -title: openclaw-session-manager +description: Atomic hermes session management with deterministic context preservation and workflow coordination +title: hermes-session-manager version: 1.1 --- -# OpenClaw Session Manager +# hermes Session Manager ## Purpose -Create, manage, and optimize OpenClaw agent sessions with deterministic context preservation and workflow coordination. +Create, manage, and optimize hermes agent sessions with deterministic context preservation and workflow coordination. ## Activation Trigger when user requests session operations: creation, management, context analysis, or session optimization. @@ -63,7 +63,7 @@ Trigger when user requests session operations: creation, management, context ana - Prepare optimization criteria ### 3. Execute -- Execute OpenClaw session operations +- Execute hermes session operations - Monitor session health - Track context preservation - Analyze session performance @@ -83,8 +83,8 @@ Trigger when user requests session operations: creation, management, context ana - **MUST** track session resource usage ## Environment Assumptions -- OpenClaw 2026.3.24+ installed and gateway running -- Agent workspace configured at `~/.openclaw/workspace/` +- hermes 2026.3.24+ installed and gateway running +- Agent workspace configured at `~/.hermes/workspace/` - Session storage functional - Context preservation mechanisms operational - Default session duration: 4 hours @@ -145,6 +145,6 @@ Create a new session for main agent with context about blockchain optimization w ## Performance Notes - **Execution Time**: 1-3 seconds for create/list, 5-15 seconds for analysis/optimization - **Memory Usage**: <150MB for session management -- **Network Requirements**: OpenClaw gateway connectivity +- **Network Requirements**: hermes gateway connectivity - **Concurrency**: Safe for multiple simultaneous sessions with different agents - **Context Preservation**: Automatic context tracking and integrity validation diff --git a/.windsurf/templates/agent-templates.md b/.windsurf/templates/agent-templates.md index fb62420d..14f49349 100644 --- a/.windsurf/templates/agent-templates.md +++ b/.windsurf/templates/agent-templates.md @@ -1,4 +1,4 @@ -# OpenClaw AITBC Agent Templates +# Hermes AITBC Agent Templates > **Canonical validation**: Use [`docs/scenarios/VALIDATION.md`](../../docs/scenarios/VALIDATION.md) with `scripts/workflow/44_comprehensive_multi_node_scenario.sh` when validating these templates. @@ -27,7 +27,7 @@ "wallet": "aitbc-user", "auto_transaction": true }, - "openclaw_config": { + "hermes_config": { "model": "ollama/nemotron-3-super:cloud", "workspace": "blockchain-monitor", "routing": { @@ -58,7 +58,7 @@ "profit_margin": 0.15, "max_positions": 5 }, - "openclaw_config": { + "hermes_config": { "model": "ollama/nemotron-3-super:cloud", "workspace": "marketplace-trader", "routing": { @@ -90,7 +90,7 @@ "data_retention": 86400, "batch_processing": true }, - "openclaw_config": { + "hermes_config": { "model": "ollama/nemotron-3-super:cloud", "workspace": "blockchain-analyzer", "routing": { @@ -120,7 +120,7 @@ "auto_failover": true, "health_checks": ["rpc", "sync", "transactions"] }, - "openclaw_config": { + "hermes_config": { "model": "ollama/nemotron-3-super:cloud", "workspace": "multi-node-coordinator", "routing": { @@ -153,7 +153,7 @@ "chain_id": "ait-mainnet", "cross_node_routing": true }, - "openclaw_config": { + "hermes_config": { "model": "ollama/nemotron-3-super:cloud", "workspace": "blockchain-messaging", "routing": { diff --git a/.windsurf/templates/workflow-templates.md b/.windsurf/templates/workflow-templates.md index 0e2d8e44..bab70ecc 100644 --- a/.windsurf/templates/workflow-templates.md +++ b/.windsurf/templates/workflow-templates.md @@ -1,4 +1,4 @@ -# OpenClaw AITBC Workflow Templates +# hermes AITBC Workflow Templates > **Canonical validation**: For end-to-end node coverage, use [`docs/scenarios/VALIDATION.md`](../../docs/scenarios/VALIDATION.md) and `scripts/workflow/44_comprehensive_multi_node_scenario.sh`. @@ -262,7 +262,7 @@ success_criteria: ## Agent Training and Learning Workflow ```yaml name: agent-learning -description: Continuous learning and improvement for OpenClaw agents +description: Continuous learning and improvement for hermes agents version: 1.0.0 schedule: "0 2 * * *" # Daily at 2 AM steps: diff --git a/.windsurf/workflows/OPENCLAW_MASTER_INDEX.md b/.windsurf/workflows/HERMES_MASTER_INDEX.md similarity index 75% rename from .windsurf/workflows/OPENCLAW_MASTER_INDEX.md rename to .windsurf/workflows/HERMES_MASTER_INDEX.md index 1081f001..049940dc 100644 --- a/.windsurf/workflows/OPENCLAW_MASTER_INDEX.md +++ b/.windsurf/workflows/HERMES_MASTER_INDEX.md @@ -1,21 +1,21 @@ --- -description: Master index for OpenClaw workflows - links to all modules and provides navigation -title: OpenClaw Workflows - Master Index +description: Master index for hermes workflows - links to all modules and provides navigation +title: hermes Workflows - Master Index version: 1.0 --- -# OpenClaw Workflows - Master Index +# hermes Workflows - Master Index -This master index provides navigation to all OpenClaw agent workflows and documentation. Each workflow focuses on specific aspects of OpenClaw agent training, coordination, and testing. +This master index provides navigation to all hermes agent workflows and documentation. Each workflow focuses on specific aspects of hermes agent training, coordination, and testing. ## πŸ“š Module Overview ### πŸŽ“ Agent Training Modules #### Cross-Node Communication Training -**File**: `openclaw-cross-node-communication.md` +**File**: `hermes-cross-node-communication.md` **Purpose**: Specialized training for agent-to-agent cross-node communication via AITBC blockchain -**Audience**: OpenClaw agents learning multi-node coordination +**Audience**: hermes agents learning multi-node coordination **Prerequisites**: Stage 2 of Mastery Plan, both nodes synchronized **Key Topics**: @@ -28,21 +28,21 @@ This master index provides navigation to all OpenClaw agent workflows and docume **Quick Start**: ```bash cd /opt/aitbc/scripts/training -./openclaw_cross_node_comm.sh +./hermes_cross_node_comm.sh ``` --- ### πŸ§ͺ Agent Testing Modules -#### Ollama GPU Provider Test (OpenClaw) -**File**: `ollama-gpu-test-openclaw.md` -**Purpose**: Complete end-to-end test for Ollama GPU inference jobs using OpenClaw agents -**Audience**: QA engineers, OpenClaw developers -**Prerequisites**: OpenClaw 2026.3.24+, all services running, enhanced CLI +#### Ollama GPU Provider Test (hermes) +**File**: `ollama-gpu-test-hermes.md` +**Purpose**: Complete end-to-end test for Ollama GPU inference jobs using hermes agents +**Audience**: QA engineers, hermes developers +**Prerequisites**: hermes 2026.3.24+, all services running, enhanced CLI **Key Topics**: -- Environment validation with OpenClaw agents +- Environment validation with hermes agents - Wallet setup and management - Service health verification - GPU test execution and monitoring @@ -53,7 +53,7 @@ cd /opt/aitbc/scripts/training **Quick Start**: ```bash SESSION_ID="ollama-gpu-test-$(date +%s)" -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Initialize complete Ollama GPU test workflow" \ --thinking high ``` @@ -65,7 +65,7 @@ openclaw agent --agent test-coordinator --session-id $SESSION_ID \ #### Agent Coordination Plan Enhancement **File**: `agent-coordination-enhancement.md` **Purpose**: Advanced multi-agent communication patterns, distributed decision making, and scalable architectures -**Audience**: OpenClaw developers, system architects +**Audience**: hermes developers, system architects **Prerequisites**: Advanced AI Teaching Plan completed **Key Topics**: @@ -79,7 +79,7 @@ openclaw agent --agent test-coordinator --session-id $SESSION_ID \ **Quick Start**: ```bash SESSION_ID="coordination-$(date +%s)" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "BROADCAST: System-wide resource optimization initiated" \ --thinking high ``` @@ -96,12 +96,12 @@ Cross-Node Communication Training (Foundation) ## πŸš€ Recommended Learning Path -### For New OpenClaw Users +### For New hermes Users 1. **Cross-Node Communication Training** - Learn basic multi-node messaging 2. **Ollama GPU Provider Test** - Practice agent-based testing 3. **Agent Coordination Enhancement** - Master advanced coordination -### For OpenClaw Developers +### For hermes Developers 1. **Cross-Node Communication Training** - Understand multi-node architecture 2. **Agent Coordination Enhancement** - Master coordination patterns 3. **Ollama GPU Provider Test** - Learn testing methodology @@ -127,7 +127,7 @@ Cross-Node Communication Training (Foundation) | Role | Essential Modules | |---|---| -| **OpenClaw Developer** | Cross-Node Communication Training, Agent Coordination Enhancement | +| **hermes Developer** | Cross-Node Communication Training, Agent Coordination Enhancement | | **QA Engineer** | Ollama GPU Provider Test, Cross-Node Communication Training | | **System Architect** | Agent Coordination Enhancement, Cross-Node Communication Training | | **DevOps Engineer** | Ollama GPU Provider Test, Agent Coordination Enhancement | @@ -147,7 +147,7 @@ Cross-Node Communication Training (Foundation) ```bash # Register agent on genesis node NODE_URL=http://10.1.223.40:8006 ./aitbc-cli agent create \ - --name "openclaw-genesis-commander" \ + --name "hermes-genesis-commander" \ --description "Primary coordinator agent" \ --verification full @@ -161,12 +161,12 @@ NODE_URL=http://10.1.223.40:8006 ./aitbc-cli agent message \ ```bash # Initialize test coordinator SESSION_ID="ollama-test-$(date +%s)" -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Initialize Ollama GPU provider test workflow" \ --thinking high # Submit inference job -openclaw agent --agent client-agent --session-id $SESSION_ID \ +hermes agent --agent client-agent --session-id $SESSION_ID \ --message "Submit Ollama GPU inference job" \ --parameters "prompt:What is the capital of France?,model:llama3.2:latest" ``` @@ -175,24 +175,24 @@ openclaw agent --agent client-agent --session-id $SESSION_ID \ ```bash # Hierarchical communication SESSION_ID="hierarchy-$(date +%s)" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "Broadcast: Execute distributed AI workflow" \ --thinking high # Consensus voting -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "VOTE $PROPOSAL_ID: YES - Dynamic allocation optimizes AI performance" \ --thinking medium ``` ## πŸ“Š System Overview -### OpenClaw Architecture +### hermes Architecture ``` -OpenClaw Agent Ecosystem: +hermes Agent Ecosystem: β”œβ”€β”€ Genesis Node (aitbc) - Primary development server β”œβ”€β”€ Follower Node (aitbc1) - Secondary node -β”œβ”€β”€ Agent Gateway - OpenClaw communication layer +β”œβ”€β”€ Agent Gateway - hermes communication layer β”œβ”€β”€ Blockchain Messaging - Transaction-based agent communication β”œβ”€β”€ Smart Contracts - Agent messaging and governance β”œβ”€β”€ GPU Services - Ollama inference and resource management @@ -200,7 +200,7 @@ OpenClaw Agent Ecosystem: ``` ### Key Components -- **Agent Gateway**: OpenClaw communication and coordination +- **Agent Gateway**: hermes communication and coordination - **Blockchain Messaging**: Transaction-based cross-node communication - **Smart Contracts**: Agent messaging, reputation, and governance - **GPU Services**: Ollama inference, resource allocation @@ -237,7 +237,7 @@ OpenClaw Agent Ecosystem: | Coordination timeout | Agent Coordination Enhancement | Check agent gateway, session management | ### Emergency Procedures -1. **Agent Recovery**: Restart OpenClaw gateway, check agent status +1. **Agent Recovery**: Restart hermes gateway, check agent status 2. **Network Recovery**: Check node connectivity, restart P2P service 3. **Blockchain Recovery**: Check node sync, verify transaction pool 4. **Service Recovery**: Restart Agent Coordinator, Ollama, GPU miner @@ -245,20 +245,20 @@ OpenClaw Agent Ecosystem: ## πŸ“š Additional Resources ### Documentation Files -- **OpenClaw Agent Capabilities**: `docs/openclaw/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md` -- **Agent Communication Guide**: `docs/openclaw/guides/openclaw_agent_fix_summary.md` -- **Messaging Implementation**: `docs/openclaw/guides/openclaw_messaging_implementation_guide.md` -- **Cross-Node Communication**: `docs/openclaw/guides/openclaw_cross_node_communication.md` +- **hermes Agent Capabilities**: `docs/hermes/HERMES_AGENT_CAPABILITIES_ADVANCED.md` +- **Agent Communication Guide**: `docs/hermes/guides/hermes_agent_fix_summary.md` +- **Messaging Implementation**: `docs/hermes/guides/hermes_messaging_implementation_guide.md` +- **Cross-Node Communication**: `docs/hermes/guides/hermes_cross_node_communication.md` ### Workflow Scripts -- **Cross-Node Training**: `/opt/aitbc/scripts/training/openclaw_cross_node_comm.sh` -- **Ollama GPU Test**: `ollama_gpu_test_openclaw.sh` -- **Agent Communication Fix**: `/opt/aitbc/scripts/workflow-openclaw/fix_agent_communication.sh` +- **Cross-Node Training**: `/opt/aitbc/scripts/training/hermes_cross_node_comm.sh` +- **Ollama GPU Test**: `ollama_gpu_test_hermes.sh` +- **Agent Communication Fix**: `/opt/aitbc/scripts/workflow-hermes/fix_agent_communication.sh` ## πŸ”„ Version History ### v1.0 (Current) -- Created master index for OpenClaw workflows +- Created master index for hermes workflows - Organized workflows by training, testing, and coordination - Added navigation and learning paths - Included quick reference commands and troubleshooting @@ -281,6 +281,6 @@ OpenClaw Agent Ecosystem: --- -**Note**: This master index is your starting point for all OpenClaw workflow operations. Choose the appropriate module based on your current task and expertise level. +**Note**: This master index is your starting point for all hermes workflow operations. Choose the appropriate module based on your current task and expertise level. For immediate help, see the **Cross-Node Communication Training** module for foundational knowledge, or the **Agent Coordination Enhancement** module for advanced patterns. diff --git a/.windsurf/workflows/MULTI_NODE_MASTER_INDEX.md b/.windsurf/workflows/MULTI_NODE_MASTER_INDEX.md index b4c3e265..1079915c 100644 --- a/.windsurf/workflows/MULTI_NODE_MASTER_INDEX.md +++ b/.windsurf/workflows/MULTI_NODE_MASTER_INDEX.md @@ -416,12 +416,12 @@ Two-Node AITBC Blockchain: ## πŸ“š Additional Resources ### Documentation Files -- **OpenClaw Agent Communicator**: `../skills/openclaw-agent-communicator.md` -- **OpenClaw Coordination Orchestrator**: `../skills/openclaw-coordination-orchestrator.md` -- **OpenClaw Session Manager**: `../skills/openclaw-session-manager.md` -- **OpenClaw Agent Testing**: `../skills/openclaw-agent-testing-skill.md` -- **OpenClaw Error Handler**: `../skills/openclaw-error-handler.md` -- **OpenClaw Performance Optimizer**: `../skills/openclaw-performance-optimizer.md` +- **hermes Agent Communicator**: `../skills/hermes-agent-communicator.md` +- **hermes Coordination Orchestrator**: `../skills/hermes-coordination-orchestrator.md` +- **hermes Session Manager**: `../skills/hermes-session-manager.md` +- **hermes Agent Testing**: `../skills/hermes-agent-testing-skill.md` +- **hermes Error Handler**: `../skills/hermes-error-handler.md` +- **hermes Performance Optimizer**: `../skills/hermes-performance-optimizer.md` ### External Resources - **AITBC Repository**: GitHub repository diff --git a/.windsurf/workflows/agent-coordination-enhancement.md b/.windsurf/workflows/agent-coordination-enhancement.md index fc3e2e44..640cc69c 100644 --- a/.windsurf/workflows/agent-coordination-enhancement.md +++ b/.windsurf/workflows/agent-coordination-enhancement.md @@ -6,7 +6,7 @@ version: 1.0 # Agent Coordination Plan Enhancement -This document outlines advanced multi-agent communication patterns, distributed decision making mechanisms, and scalable agent architectures for the OpenClaw agent ecosystem. +This document outlines advanced multi-agent communication patterns, distributed decision making mechanisms, and scalable agent architectures for the hermes agent ecosystem. ## 🎯 Objectives @@ -41,16 +41,16 @@ CoordinatorAgent (Level 1) SESSION_ID="hierarchy-$(date +%s)" # Level 1: Coordinator broadcasts to Level 2 -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "Broadcast: Execute distributed AI workflow across all Level 2 agents" \ --thinking high # Level 2: Agents respond to coordinator -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Response to Coordinator: Ready for AI workflow execution with resource optimization" \ --thinking medium -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "Response to Coordinator: Ready for distributed task participation" \ --thinking medium ``` @@ -78,16 +78,16 @@ GenesisAgent ←→ FollowerAgent SESSION_ID="p2p-$(date +%s)" # Direct agent-to-agent communication -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "P2P to FollowerAgent: Coordinate resource allocation for AI job batch" \ --thinking medium -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "P2P to GenesisAgent: Confirm resource availability and scheduling" \ --thinking medium # Cross-agent resource sharing -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "P2P to MultiModalAgent: Share GPU allocation for multi-modal processing" \ --thinking low ``` @@ -106,13 +106,13 @@ openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ SESSION_ID="broadcast-$(date +%s)" # Coordinator broadcasts to all agents -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "BROADCAST: System-wide resource optimization initiated - all agents participate" \ --thinking high # Agents acknowledge broadcast for agent in GenesisAgent FollowerAgent AIResourceAgent MultiModalAgent; do - openclaw agent --agent $agent --session-id $SESSION_ID \ + hermes agent --agent $agent --session-id $SESSION_ID \ --message "ACK: Received broadcast, initiating optimization protocols" \ --thinking low & done @@ -138,7 +138,7 @@ SESSION_ID="voting-$(date +%s)" PROPOSAL_ID="resource-strategy-$(date +%s)" # Coordinator presents proposal -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "VOTE PROPOSAL $PROPOSAL_ID: Implement dynamic GPU allocation with 70% utilization target" \ --thinking high @@ -147,19 +147,19 @@ echo "Collecting votes..." VOTES=() # Genesis Agent vote -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "VOTE $PROPOSAL_ID: YES - Dynamic allocation optimizes AI performance" \ --thinking medium & VOTES+=("GenesisAgent:YES") # Follower Agent vote -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "VOTE $PROPOSAL_ID: YES - Improves resource utilization" \ --thinking medium & VOTES+=("FollowerAgent:YES") # AI Resource Agent vote -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "VOTE $PROPOSAL_ID: YES - Aligns with optimization goals" \ --thinking medium & VOTES+=("AIResourceAgent:YES") @@ -172,7 +172,7 @@ TOTAL_COUNT=${#VOTES[@]} if [ $YES_COUNT -gt $((TOTAL_COUNT / 2)) ]; then echo "βœ… PROPOSAL $PROPOSAL_ID APPROVED: $YES_COUNT/$TOTAL_COUNT votes" - openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ + hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "DECISION: Proposal $PROPOSAL_ID APPROVED - Implementing dynamic GPU allocation" \ --thinking high else @@ -194,23 +194,23 @@ fi SESSION_ID="weighted-$(date +%s)" # Decision: AI model selection for complex task -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "WEIGHTED DECISION: Select optimal AI model for medical diagnosis pipeline" \ --thinking high # Agents provide weighted recommendations # Genesis Agent (AI Operations Expertise - Weight: 3) -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "RECOMMENDATION: ensemble_model (confidence: 0.9, weight: 3) - Best for accuracy" \ --thinking high & # MultiModal Agent (Multi-Modal Expertise - Weight: 2) -openclaw agent --agent MultiModalAgent --session-id $SESSION_ID \ +hermes agent --agent MultiModalAgent --session-id $SESSION_ID \ --message "RECOMMENDATION: multimodal_model (confidence: 0.8, weight: 2) - Handles multiple data types" \ --thinking high & # AI Resource Agent (Resource Expertise - Weight: 1) -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "RECOMMENDATION: efficient_model (confidence: 0.7, weight: 1) - Best resource utilization" \ --thinking medium & @@ -223,7 +223,7 @@ echo "Calculating weighted decision..." # efficient_model: 0.7 * 1 = 0.7 # Winner: ensemble_model with highest weighted score -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "WEIGHTED DECISION: ensemble_model selected (weighted score: 2.7) - Highest confidence-weighted combination" \ --thinking high ``` @@ -242,30 +242,30 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ SESSION_ID="problem-solving-$(date +%s)" # Complex problem: Optimize AI service pricing strategy -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "PROBLEM SOLVING: Optimize AI service pricing for maximum profitability and utilization" \ --thinking high # Agents analyze different aspects # Genesis Agent: Technical feasibility -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "ANALYSIS: Technical constraints suggest pricing range $50-200 per inference job" \ --thinking high & # Follower Agent: Market analysis -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "ANALYSIS: Market research shows competitive pricing at $80-150 per job" \ --thinking medium & # AI Resource Agent: Cost analysis -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "ANALYSIS: Resource costs indicate minimum $60 per job for profitability" \ --thinking medium & wait # Coordinator synthesizes solution -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "SYNTHESIS: Optimal pricing strategy $80-120 range with dynamic adjustment based on demand" \ --thinking high ``` @@ -287,29 +287,29 @@ SESSION_ID="microservices-$(date +%s)" # Specialized agents with specific responsibilities # AI Service Agent - Handles AI job processing -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "SERVICE: Processing AI job queue with 5 concurrent jobs" \ --thinking medium & # Resource Agent - Manages resource allocation -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "SERVICE: Allocating GPU resources with 85% utilization target" \ --thinking medium & # Monitoring Agent - Tracks system health -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "SERVICE: Monitoring system health with 99.9% uptime target" \ --thinking low & # Analytics Agent - Provides insights -openclaw agent --agent MultiModalAgent --session-id $SESSION_ID \ +hermes agent --agent MultiModalAgent --session-id $SESSION_ID \ --message "SERVICE: Analyzing performance metrics and optimization opportunities" \ --thinking medium & wait # Service orchestration -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "ORCHESTRATION: Coordinating 4 microservices for optimal system performance" \ --thinking high ``` @@ -328,27 +328,27 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ SESSION_ID="load-balancing-$(date +%s)" # Coordinator monitors agent loads -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "LOAD BALANCE: Monitoring agent loads and redistributing tasks" \ --thinking high # Agents report current load -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "LOAD REPORT: Current load 75% - capacity for 5 more AI jobs" \ --thinking low & -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "LOAD REPORT: Current load 45% - capacity for 10 more tasks" \ --thinking low & -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "LOAD REPORT: Current load 60% - capacity for resource optimization tasks" \ --thinking low & wait # Coordinator redistributes load -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "REDISTRIBUTION: Routing new tasks to FollowerAgent (45% load) for optimal balance" \ --thinking high ``` @@ -368,24 +368,24 @@ SESSION_ID="federation-$(date +%s)" # Local agent groups with coordination # Group 1: AI Processing Cluster -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "FEDERATION: AI Processing Cluster - handling complex AI workflows" \ --thinking medium & # Group 2: Resource Management Cluster -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "FEDERATION: Resource Management Cluster - optimizing system resources" \ --thinking medium & # Group 3: Monitoring Cluster -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "FEDERATION: Monitoring Cluster - ensuring system health and reliability" \ --thinking low & wait # Inter-federation coordination -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "FEDERATION COORDINATION: Coordinating 3 agent clusters for system-wide optimization" \ --thinking high ``` @@ -406,25 +406,25 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ SESSION_ID="orchestration-$(date +%s)" # Step 1: Task decomposition -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "ORCHESTRATION: Decomposing complex AI pipeline into 5 subtasks for agent allocation" \ --thinking high # Step 2: Task assignment -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "ASSIGNMENT: Task 1->GenesisAgent, Task 2->MultiModalAgent, Task 3->AIResourceAgent, Task 4->FollowerAgent, Task 5->CoordinatorAgent" \ --thinking high # Step 3: Parallel execution for agent in GenesisAgent MultiModalAgent AIResourceAgent FollowerAgent; do - openclaw agent --agent $agent --session-id $SESSION_ID \ + hermes agent --agent $agent --session-id $SESSION_ID \ --message "EXECUTION: Starting assigned task with parallel processing" \ --thinking medium & done wait # Step 4: Result aggregation -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "AGGREGATION: Collecting results from all agents for final synthesis" \ --thinking high ``` @@ -437,18 +437,18 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ SESSION_ID="adaptive-$(date +%s)" # Monitor system conditions -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "MONITORING: System load at 85% - activating adaptive coordination protocols" \ --thinking high # Adjust coordination strategy -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "ADAPTATION: Switching from centralized to distributed coordination for load balancing" \ --thinking high # Agents adapt to new coordination for agent in GenesisAgent FollowerAgent AIResourceAgent MultiModalAgent; do - openclaw agent --agent $agent --session-id $SESSION_ID \ + hermes agent --agent $agent --session-id $SESSION_ID \ --message "ADAPTATION: Adjusting to distributed coordination mode" \ --thinking medium & done @@ -464,7 +464,7 @@ SESSION_ID="metrics-$(date +%s)" # Measure message latency start_time=$(date +%s.%N) -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "LATENCY TEST: Measuring communication performance" \ --thinking low end_time=$(date +%s.%N) @@ -474,7 +474,7 @@ echo "Message latency: ${latency}s" # Monitor message throughput echo "Testing message throughput..." for i in {1..10}; do - openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ + hermes agent --agent FollowerAgent --session-id $SESSION_ID \ -message "THROUGHPUT TEST $i" \ --thinking low & done diff --git a/.windsurf/workflows/aitbc-system-architecture-audit.md b/.windsurf/workflows/aitbc-system-architecture-audit.md index 5dd7869e..6cb5c164 100644 --- a/.windsurf/workflows/aitbc-system-architecture-audit.md +++ b/.windsurf/workflows/aitbc-system-architecture-audit.md @@ -331,7 +331,7 @@ echo "=== 9. SYSTEM DIRECTORY CREATION ===" echo "Creating Data Directories:" mkdir -p /var/lib/aitbc/data/blockchain mkdir -p /var/lib/aitbc/data/marketplace -mkdir -p /var/lib/aitbc/data/openclaw +mkdir -p /var/lib/aitbc/data/hermes mkdir -p /var/lib/aitbc/data/coordinator mkdir -p /var/lib/aitbc/data/exchange mkdir -p /var/lib/aitbc/data/registry @@ -341,7 +341,7 @@ echo "βœ… Data directories created" echo "Creating Log Directories:" mkdir -p /var/log/aitbc/production/blockchain mkdir -p /var/log/aitbc/production/marketplace -mkdir -p /var/log/aitbc/production/openclaw +mkdir -p /var/log/aitbc/production/hermes mkdir -p /var/log/aitbc/production/services mkdir -p /var/log/aitbc/production/errors mkdir -p /var/log/aitbc/repository-logs @@ -419,7 +419,7 @@ echo "βœ… SystemD reloaded" ```bash # Restart AITBC services echo "=== 12. SERVICE RESTART ===" -services=("aitbc-marketplace.service" "aitbc-mining-blockchain.service" "aitbc-openclaw-ai.service" "aitbc-blockchain-node.service" "aitbc-blockchain-rpc.service") +services=("aitbc-marketplace.service" "aitbc-mining-blockchain.service" "aitbc-hermes-ai.service" "aitbc-blockchain-node.service" "aitbc-blockchain-rpc.service") for service in "${services[@]}"; do echo "Restarting $service..." diff --git a/.windsurf/workflows/archive/ollama-gpu-test.md b/.windsurf/workflows/archive/ollama-gpu-test.md index 461c9bcc..8a8d23dc 100755 --- a/.windsurf/workflows/archive/ollama-gpu-test.md +++ b/.windsurf/workflows/archive/ollama-gpu-test.md @@ -8,12 +8,12 @@ This workflow executes the complete end-to-end test for Ollama GPU inference job ## Current Active Skill Mapping -This archived workflow maps to these active OpenClaw skills when you need agent coordination or validation support: +This archived workflow maps to these active hermes skills when you need agent coordination or validation support: -- **`openclaw-agent-testing-skill.md`** β€” agent communication validation and performance testing -- **`openclaw-agent-communicator.md`** β€” agent message handling and responses -- **`openclaw-coordination-orchestrator.md`** β€” multi-agent workflow coordination -- **`openclaw-session-manager.md`** β€” session creation and context management +- **`hermes-agent-testing-skill.md`** β€” agent communication validation and performance testing +- **`hermes-agent-communicator.md`** β€” agent message handling and responses +- **`hermes-coordination-orchestrator.md`** β€” multi-agent workflow coordination +- **`hermes-session-manager.md`** β€” session creation and context management ## Prerequisites diff --git a/.windsurf/workflows/archive/test-basic.md b/.windsurf/workflows/archive/test-basic.md index 25c836e8..e0d79bb4 100644 --- a/.windsurf/workflows/archive/test-basic.md +++ b/.windsurf/workflows/archive/test-basic.md @@ -310,4 +310,4 @@ sudo systemctl restart aitbc-blockchain --- **Dependencies**: None (base module) -**Next Module**: [OpenClaw Agent Testing](test-openclaw-agents.md) or [AI Operations Testing](test-ai-operations.md) +**Next Module**: [hermes Agent Testing](test-hermes-agents.md) or [AI Operations Testing](test-ai-operations.md) diff --git a/.windsurf/workflows/archive/test-openclaw-agents.md b/.windsurf/workflows/archive/test-openclaw-agents.md index 8710213a..cfe9dbbc 100644 --- a/.windsurf/workflows/archive/test-openclaw-agents.md +++ b/.windsurf/workflows/archive/test-openclaw-agents.md @@ -1,51 +1,51 @@ --- -description: OpenClaw agent functionality and coordination testing module -title: OpenClaw Agent Testing Module +description: hermes agent functionality and coordination testing module +title: hermes Agent Testing Module version: 1.0 --- -# OpenClaw Agent Testing Module +# hermes Agent Testing Module -This module covers OpenClaw agent functionality testing, multi-agent coordination, session management, and agent workflow validation. +This module covers hermes agent functionality testing, multi-agent coordination, session management, and agent workflow validation. ## Current Active Skill Mapping This archived workflow maps to these active split skill files: -- **`openclaw-agent-testing-skill.md`** β€” agent communication validation and performance testing -- **`openclaw-agent-communicator.md`** β€” agent message handling and responses -- **`openclaw-session-manager.md`** β€” session creation and context management -- **`openclaw-coordination-orchestrator.md`** β€” multi-agent workflow coordination -- **`openclaw-performance-optimizer.md`** β€” agent performance tuning and optimization +- **`hermes-agent-testing-skill.md`** β€” agent communication validation and performance testing +- **`hermes-agent-communicator.md`** β€” agent message handling and responses +- **`hermes-session-manager.md`** β€” session creation and context management +- **`hermes-coordination-orchestrator.md`** β€” multi-agent workflow coordination +- **`hermes-performance-optimizer.md`** β€” agent performance tuning and optimization ## Prerequisites ### Required Setup - Working directory: `/opt/aitbc` -- OpenClaw 2026.3.24+ installed -- OpenClaw gateway running +- hermes 2026.3.24+ installed +- hermes gateway running - Basic Testing Module completed ### Environment Setup ```bash cd /opt/aitbc source venv/bin/activate -openclaw --version -openclaw gateway status +hermes --version +hermes gateway status ``` -## 1. OpenClaw Agent Basic Testing +## 1. hermes Agent Basic Testing ### Agent Registration and Status ```bash -# Check OpenClaw gateway status -openclaw gateway status +# Check hermes gateway status +hermes gateway status # List available agents -openclaw agent list +hermes agent list # Check agent capabilities -openclaw agent --agent GenesisAgent --session-id test --message "Status check" --thinking low +hermes agent --agent GenesisAgent --session-id test --message "Status check" --thinking low ``` ### Expected Results @@ -55,14 +55,14 @@ openclaw agent --agent GenesisAgent --session-id test --message "Status check" - ### Troubleshooting Agent Issues ```bash -# Restart OpenClaw gateway -sudo systemctl restart openclaw-gateway +# Restart hermes gateway +sudo systemctl restart hermes-gateway # Check gateway logs -sudo journalctl -u openclaw-gateway -f +sudo journalctl -u hermes-gateway -f # Verify agent configuration -openclaw config show +hermes config show ``` ## 2. Single Agent Testing @@ -73,16 +73,16 @@ openclaw config show SESSION_ID="genesis-test-$(date +%s)" echo "Testing Genesis Agent with minimal thinking..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Test message - minimal thinking" --thinking minimal +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Test message - minimal thinking" --thinking minimal echo "Testing Genesis Agent with low thinking..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Test message - low thinking" --thinking low +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Test message - low thinking" --thinking low echo "Testing Genesis Agent with medium thinking..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Test message - medium thinking" --thinking medium +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Test message - medium thinking" --thinking medium echo "Testing Genesis Agent with high thinking..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Test message - high thinking" --thinking high +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Test message - high thinking" --thinking high ``` ### Follower Agent Testing @@ -91,10 +91,10 @@ openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Test mes SESSION_ID="follower-test-$(date +%s)" echo "Testing Follower Agent..." -openclaw agent --agent FollowerAgent --session-id $SESSION_ID --message "Test follower agent response" --thinking low +hermes agent --agent FollowerAgent --session-id $SESSION_ID --message "Test follower agent response" --thinking low # Test follower agent coordination -openclaw agent --agent FollowerAgent --session-id $SESSION_ID --message "Coordinate with genesis node" --thinking medium +hermes agent --agent FollowerAgent --session-id $SESSION_ID --message "Coordinate with genesis node" --thinking medium ``` ### Coordinator Agent Testing @@ -103,10 +103,10 @@ openclaw agent --agent FollowerAgent --session-id $SESSION_ID --message "Coordin SESSION_ID="coordinator-test-$(date +%s)" echo "Testing Coordinator Agent..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID --message "Test coordination capabilities" --thinking high +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID --message "Test coordination capabilities" --thinking high # Test multi-agent coordination -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID --message "Coordinate multi-agent workflow" --thinking high +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID --message "Coordinate multi-agent workflow" --thinking high ``` ## 3. Multi-Agent Coordination Testing @@ -117,13 +117,13 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID --message "Coor SESSION_ID="cross-agent-$(date +%s)" # Genesis agent initiates -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Initiating cross-agent coordination test" --thinking high +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Initiating cross-agent coordination test" --thinking high # Follower agent responds -openclaw agent --agent FollowerAgent --session-id $SESSION_ID --message "Responding to genesis agent coordination" --thinking medium +hermes agent --agent FollowerAgent --session-id $SESSION_ID --message "Responding to genesis agent coordination" --thinking medium # Coordinator agent orchestrates -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID --message "Orchestrating multi-agent coordination" --thinking high +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID --message "Orchestrating multi-agent coordination" --thinking high ``` ### Session Management Testing @@ -132,12 +132,12 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID --message "Orch SESSION_ID="session-test-$(date +%s)" # Multiple messages in same session -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "First message in session" --thinking low -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Second message in session" --thinking low -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Third message in session" --thinking low +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "First message in session" --thinking low +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Second message in session" --thinking low +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Third message in session" --thinking low # Test session with different agents -openclaw agent --agent FollowerAgent --session-id $SESSION_ID --message "Follower response in same session" --thinking medium +hermes agent --agent FollowerAgent --session-id $SESSION_ID --message "Follower response in same session" --thinking medium ``` ## 4. Advanced Agent Capabilities Testing @@ -148,17 +148,17 @@ openclaw agent --agent FollowerAgent --session-id $SESSION_ID --message "Followe SESSION_ID="ai-workflow-$(date +%s)" # Genesis agent designs complex AI pipeline -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Design complex AI pipeline for medical diagnosis with parallel processing and error handling" \ --thinking high # Follower agent participates in pipeline -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "Participate in complex AI pipeline execution with resource monitoring" \ --thinking medium # Coordinator agent orchestrates workflow -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "Orchestrate complex AI pipeline execution across multiple agents" \ --thinking high ``` @@ -169,12 +169,12 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ SESSION_ID="multimodal-$(date +%s)" # Genesis agent designs multi-modal system -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Design multi-modal AI system for customer feedback analysis with cross-modal attention" \ --thinking high # Follower agent handles specific modality -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "Handle text analysis modality in multi-modal AI system" \ --thinking medium ``` @@ -185,12 +185,12 @@ openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ SESSION_ID="resource-opt-$(date +%s)" # Genesis agent optimizes resources -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Optimize GPU resource allocation for AI service provider with demand forecasting" \ --thinking high # Follower agent monitors resources -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "Monitor resource utilization and report optimization opportunities" \ --thinking medium ``` @@ -206,14 +206,14 @@ echo "Testing agent response times..." # Measure Genesis Agent response time start_time=$(date +%s.%N) -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Quick response test" --thinking low +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Quick response test" --thinking low end_time=$(date +%s.%N) genesis_time=$(echo "$end_time - $start_time" | bc) echo "Genesis Agent response time: ${genesis_time}s" # Measure Follower Agent response time start_time=$(date +%s.%N) -openclaw agent --agent FollowerAgent --session-id $SESSION_ID --message "Quick response test" --thinking low +hermes agent --agent FollowerAgent --session-id $SESSION_ID --message "Quick response test" --thinking low end_time=$(date +%s.%N) follower_time=$(echo "$end_time - $start_time" | bc) echo "Follower Agent response time: ${follower_time}s" @@ -227,7 +227,7 @@ echo "Testing concurrent sessions..." # Create multiple concurrent sessions for i in {1..5}; do SESSION_ID="concurrent-$i-$(date +%s)" - openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Concurrent test $i" --thinking low & + hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Concurrent test $i" --thinking low & done # Wait for all to complete @@ -243,13 +243,13 @@ echo "Concurrent session tests completed" SESSION_ID="format-test-$(date +%s)" # Test short message -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Short" --thinking low +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Short" --thinking low # Test medium message -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "This is a medium length message to test agent processing capabilities" --thinking low +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "This is a medium length message to test agent processing capabilities" --thinking low # Test long message -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "This is a longer message that tests the agent's ability to process more complex requests and provide detailed responses. It should demonstrate the agent's capability to handle substantial input and generate comprehensive output." --thinking medium +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "This is a longer message that tests the agent's ability to process more complex requests and provide detailed responses. It should demonstrate the agent's capability to handle substantial input and generate comprehensive output." --thinking medium ``` ### Special Character Testing @@ -258,10 +258,10 @@ openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "This is SESSION_ID="special-test-$(date +%s)" # Test special characters -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Test special chars: !@#$%^&*()_+-=[]{}|;':\",./<>?" --thinking low +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Test special chars: !@#$%^&*()_+-=[]{}|;':\",./<>?" --thinking low # Test code blocks -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Test code: \`print('Hello World')\` and \`\`\`python\ndef hello():\n print('Hello')\`\`\`" --thinking low +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Test code: \`print('Hello World')\` and \`\`\`python\ndef hello():\n print('Hello')\`\`\`" --thinking low ``` ## 7. Agent Error Handling Testing @@ -270,14 +270,14 @@ openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Test cod ```bash # Test invalid agent names echo "Testing invalid agent handling..." -openclaw agent --agent InvalidAgent --session-id test --message "Test message" --thinking low 2>/dev/null && echo "ERROR: Invalid agent accepted" || echo "βœ… Invalid agent properly rejected" +hermes agent --agent InvalidAgent --session-id test --message "Test message" --thinking low 2>/dev/null && echo "ERROR: Invalid agent accepted" || echo "βœ… Invalid agent properly rejected" ``` ### Invalid Session Testing ```bash # Test session handling echo "Testing session handling..." -openclaw agent --agent GenesisAgent --session-id "" --message "Test message" --thinking low 2>/dev/null && echo "ERROR: Empty session accepted" || echo "βœ… Empty session properly rejected" +hermes agent --agent GenesisAgent --session-id "" --message "Test message" --thinking low 2>/dev/null && echo "ERROR: Empty session accepted" || echo "βœ… Empty session properly rejected" ``` ## 8. Agent Integration Testing @@ -288,7 +288,7 @@ openclaw agent --agent GenesisAgent --session-id "" --message "Test message" --t SESSION_ID="ai-integration-$(date +%s)" # Agent submits AI job -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Submit AI job for text generation: Generate a short story about AI" \ --thinking high @@ -302,7 +302,7 @@ openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ SESSION_ID="blockchain-integration-$(date +%s)" # Agent checks blockchain status -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Check blockchain status and report current height and network conditions" \ --thinking medium ``` @@ -313,7 +313,7 @@ openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ SESSION_ID="resource-integration-$(date +%s)" # Agent monitors resources -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "Monitor system resources and report CPU, memory, and GPU utilization" \ --thinking medium ``` @@ -325,26 +325,26 @@ openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ #!/bin/bash # automated_agent_tests.sh -echo "=== OpenClaw Agent Tests ===" +echo "=== hermes Agent Tests ===" # Test gateway status -echo "Testing OpenClaw gateway..." -openclaw gateway status || exit 1 +echo "Testing hermes gateway..." +hermes gateway status || exit 1 # Test basic agent functionality echo "Testing basic agent functionality..." SESSION_ID="auto-test-$(date +%s)" -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Automated test message" --thinking low || exit 1 +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Automated test message" --thinking low || exit 1 # Test multi-agent coordination echo "Testing multi-agent coordination..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Initiate coordination test" --thinking low || exit 1 -openclaw agent --agent FollowerAgent --session-id $SESSION_ID --message "Respond to coordination test" --thinking low || exit 1 +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Initiate coordination test" --thinking low || exit 1 +hermes agent --agent FollowerAgent --session-id $SESSION_ID --message "Respond to coordination test" --thinking low || exit 1 # Test session management echo "Testing session management..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Session test message 1" --thinking low || exit 1 -openclaw agent --agent GenesisAgent --session-id $SESSION_ID --message "Session test message 2" --thinking low || exit 1 +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Session test message 1" --thinking low || exit 1 +hermes agent --agent GenesisAgent --session-id $SESSION_ID --message "Session test message 2" --thinking low || exit 1 echo "βœ… All agent tests passed!" ``` @@ -355,26 +355,26 @@ echo "βœ… All agent tests passed!" #### Gateway Not Running ```bash -# Problem: OpenClaw gateway not responding +# Problem: hermes gateway not responding # Solution: Start gateway service -sudo systemctl start openclaw-gateway -sudo systemctl status openclaw-gateway +sudo systemctl start hermes-gateway +sudo systemctl status hermes-gateway ``` #### Agent Not Responding ```bash # Problem: Agent not responding to messages # Solution: Check agent configuration and restart -openclaw agent list -sudo systemctl restart openclaw-gateway +hermes agent list +sudo systemctl restart hermes-gateway ``` #### Session Issues ```bash # Problem: Session not persisting # Solution: Check session storage -openclaw config show -openclaw gateway status +hermes config show +hermes gateway status ``` #### Performance Issues @@ -383,13 +383,13 @@ openclaw gateway status # Solution: Check system resources free -h df -h -ps aux | grep openclaw +ps aux | grep hermes ``` ## 11. Success Criteria ### Pass/Fail Criteria -- βœ… OpenClaw gateway running and responsive +- βœ… hermes gateway running and responsive - βœ… All agents respond to basic messages - βœ… Multi-agent coordination working - βœ… Session management functioning diff --git a/.windsurf/workflows/archive/test.md b/.windsurf/workflows/archive/test.md index f4b4a6ca..b278b583 100755 --- a/.windsurf/workflows/archive/test.md +++ b/.windsurf/workflows/archive/test.md @@ -16,7 +16,7 @@ See **[TEST_MASTER_INDEX.md](TEST_MASTER_INDEX.md)** for complete navigation to ### New Test Modules Available 1. **[Basic Testing Module](test-basic.md)** - CLI and core operations testing -2. **[OpenClaw Agent Testing](test-openclaw-agents.md)** - Agent functionality and coordination +2. **[hermes Agent Testing](test-hermes-agents.md)** - Agent functionality and coordination 3. **[AI Operations Testing](test-ai-operations.md)** - AI job submission and processing 4. **[Advanced AI Testing](test-advanced-ai.md)** - Complex AI workflows and multi-model pipelines 5. **[Cross-Node Testing](test-cross-node.md)** - Multi-node coordination and distributed operations @@ -57,11 +57,11 @@ source venv/bin/activate ./aitbc-cli resource status ``` -### Run OpenClaw Agent Tests +### Run hermes Agent Tests ```bash -# Reference: test-openclaw-agents.md -openclaw agent --agent GenesisAgent --session-id test --message "Test message" --thinking low -openclaw agent --agent FollowerAgent --session-id test --message "Test response" --thinking low +# Reference: test-hermes-agents.md +hermes agent --agent GenesisAgent --session-id test --message "Test message" --thinking low +hermes agent --agent FollowerAgent --session-id test --message "Test response" --thinking low ``` ### Run AI Operations Tests @@ -82,7 +82,7 @@ ssh aitbc1 'cd /opt/aitbc && ./aitbc-cli resource status' ### Phase 1: Basic Validation 1. **[Basic Testing Module](test-basic.md)** - Verify core functionality -2. **[OpenClaw Agent Testing](test-openclaw-agents.md)** - Validate agent operations +2. **[hermes Agent Testing](test-hermes-agents.md)** - Validate agent operations 3. **[AI Operations Testing](test-ai-operations.md)** - Confirm AI job processing ### Phase 2: Advanced Validation @@ -98,12 +98,12 @@ ssh aitbc1 'cd /opt/aitbc && ./aitbc-cli resource status' | Module | Focus | Prerequisites | Quick Command | |--------|-------|---------------|---------------| | **[Basic](test-basic.md)** | CLI & Core Ops | None | `./aitbc-cli --version` | -| **[OpenClaw](test-openclaw-agents.md)** | Agent Testing | Basic | `openclaw agent --agent GenesisAgent --session-id test --message "test"` | +| **[hermes](test-hermes-agents.md)** | Agent Testing | Basic | `hermes agent --agent GenesisAgent --session-id test --message "test"` | | **[AI Ops](test-ai-operations.md)** | AI Jobs | Basic | `./aitbc-cli ai-submit --wallet genesis-ops --type inference --prompt "test" --payment 100` | | **[Advanced AI](test-advanced-ai.md)** | Complex AI | AI Ops | `./aitbc-cli ai-submit --wallet genesis-ops --type parallel --prompt "complex test" --payment 500` | | **[Cross-Node](test-cross-node.md)** | Multi-Node | AI Ops | `ssh aitbc1 'cd /opt/aitbc && ./aitbc-cli resource status'` | | **[Performance](test-performance.md)** | Performance | All | `./aitbc-cli simulate blockchain --blocks 100 --transactions 1000` | -| **[Integration](test-integration.md)** | End-to-End | All | `./scripts/workflow-openclaw/06_advanced_ai_workflow_openclaw.sh` | +| **[Integration](test-integration.md)** | End-to-End | All | `./scripts/workflow-hermes/06_advanced_ai_workflow_hermes.sh` | ## 🎯 Migration Guide @@ -128,7 +128,7 @@ ssh aitbc1 'cd /opt/aitbc && ./aitbc-cli resource status' #### **For New Deployments** 1. Start with **[Basic Testing Module](test-basic.md)** -2. Add **[OpenClaw Agent Testing](test-openclaw-agents.md)** +2. Add **[hermes Agent Testing](test-hermes-agents.md)** 3. Include **[AI Operations Testing](test-ai-operations.md)** 4. Add advanced modules as needed @@ -163,22 +163,22 @@ python run_cli_tests.py python -m pytest cli/tests/test_marketplace.py -v ``` -### 2. Run OpenClaw Agent Tests +### 2. Run hermes Agent Tests ```bash -# Test OpenClaw gateway status -openclaw status --agent all +# Test hermes gateway status +hermes status --agent all # Test basic agent communication -openclaw agent --agent main --message "Test communication" --thinking minimal +hermes agent --agent main --message "Test communication" --thinking minimal # Test session-based workflow SESSION_ID="test-$(date +%s)" -openclaw agent --agent main --session-id $SESSION_ID --message "Initialize test session" --thinking low -openclaw agent --agent main --session-id $SESSION_ID --message "Continue test session" --thinking medium +hermes agent --agent main --session-id $SESSION_ID --message "Initialize test session" --thinking low +hermes agent --agent main --session-id $SESSION_ID --message "Continue test session" --thinking medium # Test multi-agent coordination -openclaw agent --agent coordinator --message "Test coordination" --thinking high & -openclaw agent --agent worker --message "Test worker response" --thinking medium & +hermes agent --agent coordinator --message "Test coordination" --thinking high & +hermes agent --agent worker --message "Test worker response" --thinking medium & wait ``` @@ -234,7 +234,7 @@ ssh aitbc1 'curl -s http://localhost:8006/health | jq .' ```bash # Test complex AI pipeline SESSION_ID="advanced-test-$(date +%s)" -openclaw agent --agent main --session-id $SESSION_ID --message "Design complex AI pipeline for testing" --thinking high +hermes agent --agent main --session-id $SESSION_ID --message "Design complex AI pipeline for testing" --thinking high # Test parallel AI operations ./aitbc-cli ai-submit --wallet genesis-ops --type parallel --prompt "Parallel AI test" --payment 100 @@ -435,9 +435,9 @@ netstat -tlnp | grep -E "(8000|8001|8006|11434)" ./aitbc-cli wallet list ./aitbc-cli chain -# Check OpenClaw functionality -openclaw --version -openclaw status --agent all +# Check hermes functionality +hermes --version +hermes status --agent all # Check AI operations ./aitbc-cli ai-ops --action status --job-id "latest" @@ -448,25 +448,25 @@ curl -s http://localhost:8006/health | jq . ssh aitbc1 'curl -s http://localhost:8006/health | jq .' ``` -### 13. OpenClaw Agent Debugging +### 13. hermes Agent Debugging ```bash -# Test OpenClaw gateway connectivity -openclaw status --agent all +# Test hermes gateway connectivity +hermes status --agent all # Debug agent communication -openclaw agent --agent main --message "Debug test" --thinking high +hermes agent --agent main --message "Debug test" --thinking high # Test session management SESSION_ID="debug-$(date +%s)" -openclaw agent --agent main --session-id $SESSION_ID --message "Session debug test" --thinking medium +hermes agent --agent main --session-id $SESSION_ID --message "Session debug test" --thinking medium # Test multi-agent coordination -openclaw agent --agent coordinator --message "Debug coordination test" --thinking high & -openclaw agent --agent worker --message "Debug worker response" --thinking medium & +hermes agent --agent coordinator --message "Debug coordination test" --thinking high & +hermes agent --agent worker --message "Debug worker response" --thinking medium & wait # Check agent workspace -openclaw workspace --status +hermes workspace --status ``` ### 14. AI Operations Debugging @@ -500,8 +500,8 @@ ab -n 100 -c 10 http://localhost:8000/health # Test blockchain RPC performance time curl -s http://localhost:8006/rpc/head | python3 -m json.tool -# Test OpenClaw agent performance -time openclaw agent --agent main --message "Performance test" --thinking high +# Test hermes agent performance +time hermes agent --agent main --message "Performance test" --thinking high # Test AI operations performance time ./aitbc-cli ai-submit --wallet genesis-ops --type inference --prompt "Performance test" --payment 10 @@ -644,7 +644,7 @@ python -m pytest cli/tests/test_cli_basic.py -v ## Recent Updates (v3.0) ### New Testing Capabilities -- **OpenClaw Agent Testing**: Added comprehensive agent communication and coordination tests +- **hermes Agent Testing**: Added comprehensive agent communication and coordination tests - **AI Operations Testing**: Added AI job submission, resource allocation, and marketplace testing - **Modular Workflow Testing**: Added testing for all 6 modular workflow components - **Advanced AI Operations**: Added testing for complex AI pipelines and cross-node coordination @@ -654,14 +654,14 @@ python -m pytest cli/tests/test_cli_basic.py -v - **Multi-Agent Workflows**: Session-based agent coordination testing - **AI Pipeline Testing**: Complex AI workflow orchestration testing - **Distributed Testing**: Cross-node blockchain and AI operations testing -- **Performance Testing**: Added OpenClaw and AI operations performance benchmarks +- **Performance Testing**: Added hermes and AI operations performance benchmarks - **Debugging Tools**: Enhanced troubleshooting for agent and AI operations ### Updated Project Structure - **Working Directory**: `/opt/aitbc` - **Virtual Environment**: `/opt/aitbc/venv` - **CLI Wrapper**: `./aitbc-cli` -- **OpenClaw Integration**: OpenClaw 2026.3.24+ gateway and agents +- **hermes Integration**: hermes 2026.3.24+ gateway and agents - **Modular Workflows**: 6 focused workflow modules - **Test Structure**: Updated to include agent and AI testing @@ -670,7 +670,7 @@ python -m pytest cli/tests/test_cli_basic.py -v - **Exchange API**: Port 8001 - **Blockchain RPC**: Port 8006 - **Ollama**: Port 11434 (GPU operations) -- **OpenClaw Gateway**: Default port (configured in OpenClaw) +- **hermes Gateway**: Default port (configured in hermes) ### Enhanced Testing Features - **Agent Testing**: Multi-agent communication and coordination @@ -682,7 +682,7 @@ python -m pytest cli/tests/test_cli_basic.py -v ### Current Commands - **CLI Commands**: Updated to use actual CLI implementation -- **OpenClaw Commands**: Agent communication and coordination +- **hermes Commands**: Agent communication and coordination - **AI Operations**: Job submission, monitoring, marketplace - **Service Management**: Updated to current systemd services - **Modular Workflows**: Testing for all workflow modules diff --git a/.windsurf/workflows/blockchain-communication-test.md b/.windsurf/workflows/blockchain-communication-test.md index 370a26b5..f68f7085 100644 --- a/.windsurf/workflows/blockchain-communication-test.md +++ b/.windsurf/workflows/blockchain-communication-test.md @@ -169,7 +169,7 @@ ssh aitbc1 'cd /opt/aitbc && git log --oneline -5 --decorate' ## Training Integration ### Integration with Mastery Plan -This workflow integrates with Stage 2 (Intermediate Operations) of the OpenClaw AITBC Mastery Plan. +This workflow integrates with Stage 2 (Intermediate Operations) of the hermes AITBC Mastery Plan. ### Training Script `/opt/aitbc/scripts/training/stage2_intermediate.sh` includes blockchain communication testing as part of the training curriculum. @@ -259,4 +259,4 @@ ssh gitea-runner 'journalctl -u aitbc-blockchain-p2p -n 30 --no-pager' ## Related Workflows - [Multi-Node Operations](/multi-node-blockchain-operations.md) - [Multi-Node Setup Core](/multi-node-blockchain-setup-core.md) -- [Ollama GPU Test OpenClaw](/ollama-gpu-test-openclaw.md) +- [Ollama GPU Test hermes](/ollama-gpu-test-hermes.md) diff --git a/.windsurf/workflows/openclaw-cross-node-communication.md b/.windsurf/workflows/hermes-cross-node-communication.md similarity index 72% rename from .windsurf/workflows/openclaw-cross-node-communication.md rename to .windsurf/workflows/hermes-cross-node-communication.md index 43bc2553..3a71a1f2 100644 --- a/.windsurf/workflows/openclaw-cross-node-communication.md +++ b/.windsurf/workflows/hermes-cross-node-communication.md @@ -1,25 +1,25 @@ --- -description: OpenClaw specialized training workflow for agent-to-agent cross-node communication via AITBC blockchain -title: OpenClaw Cross-Node Communication Training +description: hermes specialized training workflow for agent-to-agent cross-node communication via AITBC blockchain +title: hermes Cross-Node Communication Training version: 1.0 --- -# OpenClaw Cross-Node Communication Training +# hermes Cross-Node Communication Training ## Purpose -This specialized training module teaches OpenClaw agents how to establish, verify, and utilize cross-node communication channels over the AITBC blockchain network (between genesis node `aitbc` and follower node `aitbc1`). +This specialized training module teaches hermes agents how to establish, verify, and utilize cross-node communication channels over the AITBC blockchain network (between genesis node `aitbc` and follower node `aitbc1`). ## Learning Objectives -1. **Agent Registration**: Register OpenClaw agents on multiple distinct blockchain nodes. +1. **Agent Registration**: Register hermes agents on multiple distinct blockchain nodes. 2. **Peer Discovery**: Discover agent endpoints and IDs across the blockchain state. 3. **Cross-Node Messaging**: Send and receive secure messages via blockchain transactions. 4. **Task Coordination**: Delegate AI tasks from a genesis-based agent to a follower-based agent. 5. **Event Monitoring**: Subscribe to and parse blockchain events for incoming messages. ## Prerequisites -- Completed [Stage 2 of the Mastery Plan](/OPENCLAW_AITBC_MASTERY_PLAN.md) +- Completed [Stage 2 of the Mastery Plan](/hermes_AITBC_MASTERY_PLAN.md) - Both nodes synchronized and communicating on port 8006 -- Funded wallets on both nodes (`openclaw-trainee` and `follower-ops`) +- Funded wallets on both nodes (`hermes-trainee` and `follower-ops`) ## Training Modules @@ -29,14 +29,14 @@ Agents must be registered on the blockchain to receive messages. ```bash # Genesis Node (aitbc: 10.1.223.40) NODE_URL=http://10.1.223.40:8006 ./aitbc-cli agent create \ - --name "openclaw-genesis-commander" \ + --name "hermes-genesis-commander" \ --description "Primary coordinator agent on genesis node" \ --verification full \ --verbose # Follower Node (aitbc1: <aitbc1-ip>) NODE_URL=http://<aitbc1-ip>:8006 ./aitbc-cli agent create \ - --name "openclaw-follower-worker" \ + --name "hermes-follower-worker" \ --description "Worker agent on follower node" \ --verification full \ --debug @@ -47,7 +47,7 @@ Learn to format and transmit messages between the registered agents. ```bash # Get follower agent ID -FOLLOWER_AGENT_ID=$(NODE_URL=http://<aitbc1-ip>:8006 ./aitbc-cli agent list --output json | jq -r '.[] | select(.name=="openclaw-follower-worker") | .id') +FOLLOWER_AGENT_ID=$(NODE_URL=http://<aitbc1-ip>:8006 ./aitbc-cli agent list --output json | jq -r '.[] | select(.name=="hermes-follower-worker") | .id') # Send instruction from genesis to follower NODE_URL=http://10.1.223.40:8006 ./aitbc-cli agent message \ @@ -62,11 +62,11 @@ The follower agent must listen for and decode messages. ```bash # Retrieve messages on follower node NODE_URL=http://<aitbc1-ip>:8006 ./aitbc-cli agent messages \ - --from openclaw-genesis-commander \ + --from hermes-genesis-commander \ --output json # Acknowledge receipt (Follower -> Genesis) -GENESIS_AGENT_ID=$(NODE_URL=http://10.1.223.40:8006 ./aitbc-cli agent list --output json | jq -r '.[] | select(.name=="openclaw-genesis-commander") | .id') +GENESIS_AGENT_ID=$(NODE_URL=http://10.1.223.40:8006 ./aitbc-cli agent list --output json | jq -r '.[] | select(.name=="hermes-genesis-commander") | .id') NODE_URL=http://<aitbc1-ip>:8006 ./aitbc-cli agent message \ --to $GENESIS_AGENT_ID \ @@ -97,19 +97,19 @@ NODE_URL=http://<aitbc1-ip>:8006 ./aitbc-cli agent message \ ## Automated Training Script Execute the specialized training script to practice these operations autonomously. -**Script Path:** `/opt/aitbc/scripts/training/openclaw_cross_node_comm.sh` +**Script Path:** `/opt/aitbc/scripts/training/hermes_cross_node_comm.sh` ```bash # Run the interactive training cd /opt/aitbc/scripts/training -./openclaw_cross_node_comm.sh +./hermes_cross_node_comm.sh # Run in automated evaluation mode -./openclaw_cross_node_comm.sh --auto-eval +./hermes_cross_node_comm.sh --auto-eval ``` ## Success Validation -An OpenClaw agent has mastered cross-node communication when it can: +An hermes agent has mastered cross-node communication when it can: 1. Parse the local state to find remote agent IDs. 2. Construct and broadcast a valid JSON payload in an `agent message` transaction. 3. Automatically poll or listen for response messages on the remote node. @@ -118,4 +118,4 @@ An OpenClaw agent has mastered cross-node communication when it can: ## Related Skills - [aitbc-node-coordinator](/aitbc-node-coordinator.md) -- [openclaw-coordination-orchestrator](/openclaw-coordination-orchestrator.md) +- [hermes-coordination-orchestrator](/hermes-coordination-orchestrator.md) diff --git a/.windsurf/workflows/multi-node-blockchain-reference.md b/.windsurf/workflows/multi-node-blockchain-reference.md index c8c583cf..0af3e208 100644 --- a/.windsurf/workflows/multi-node-blockchain-reference.md +++ b/.windsurf/workflows/multi-node-blockchain-reference.md @@ -344,7 +344,7 @@ sudo sysctl -p ```bash # Use session IDs for agent workflows SESSION_ID="task-$(date +%s)" -openclaw agent --agent main --session-id $SESSION_ID --message "Task description" +hermes agent --agent main --session-id $SESSION_ID --message "Task description" # Always verify transactions ./aitbc-cli wallet transactions wallet-name --limit 5 diff --git a/.windsurf/workflows/multi-node-blockchain-setup-openclaw.md b/.windsurf/workflows/multi-node-blockchain-setup-hermes.md similarity index 78% rename from .windsurf/workflows/multi-node-blockchain-setup-openclaw.md rename to .windsurf/workflows/multi-node-blockchain-setup-hermes.md index 7958ed2f..98a7c4ac 100644 --- a/.windsurf/workflows/multi-node-blockchain-setup-openclaw.md +++ b/.windsurf/workflows/multi-node-blockchain-setup-hermes.md @@ -1,13 +1,13 @@ --- -description: Multi-node blockchain deployment workflow executed by OpenClaw agents using optimized scripts -title: OpenClaw Multi-Node Blockchain Deployment +description: Multi-node blockchain deployment workflow executed by hermes agents using optimized scripts +title: hermes Multi-Node Blockchain Deployment version: 4.1 --- -# OpenClaw Multi-Node Blockchain Deployment Workflow +# hermes Multi-Node Blockchain Deployment Workflow Two-node AITBC blockchain setup: **aitbc** (genesis authority) + **aitbc1** (follower node). -Coordinated by OpenClaw agents with AI operations, advanced coordination, and genesis reset capabilities. +Coordinated by hermes agents with AI operations, advanced coordination, and genesis reset capabilities. ## πŸ†• What's New in v4.1 @@ -23,13 +23,13 @@ Coordinated by OpenClaw agents with AI operations, advanced coordination, and ge ## Critical CLI Syntax ```bash -# OpenClaw β€” ALWAYS use --message (long form). -m does NOT work. -openclaw agent --agent main --message "task description" --thinking medium +# hermes β€” ALWAYS use --message (long form). -m does NOT work. +hermes agent --agent main --message "task description" --thinking medium # Session-based (maintains context across calls) SESSION_ID="deploy-$(date +%s)" -openclaw agent --agent main --session-id $SESSION_ID --message "Initialize deployment" --thinking low -openclaw agent --agent main --session-id $SESSION_ID --message "Report progress" --thinking medium +hermes agent --agent main --session-id $SESSION_ID --message "Initialize deployment" --thinking low +hermes agent --agent main --session-id $SESSION_ID --message "Report progress" --thinking medium # AITBC CLI β€” always from /opt/aitbc with venv cd /opt/aitbc && source venv/bin/activate @@ -69,15 +69,15 @@ python3 /tmp/aitbc1_heartbeat.py | Blockchain data | `/var/lib/aitbc/data/ait-mainnet/` | | Keystore | `/var/lib/aitbc/keystore/` | | Central env config | `/etc/aitbc/.env` | -| Workflow scripts | `/opt/aitbc/scripts/workflow-openclaw/` | -| Documentation | `/opt/aitbc/docs/openclaw/` | +| Workflow scripts | `/opt/aitbc/scripts/workflow-hermes/` | +| Documentation | `/opt/aitbc/docs/hermes/` | | Logs | `/var/log/aitbc/` | > All databases go in `/var/lib/aitbc/data/`, NOT in app directories. ## Unique Node Identity Configuration -Each node must have unique `proposer_id` and `p2p_node_id` for proper P2P network operation. The OpenClaw setup scripts automatically generate UUID-based IDs during initial setup. +Each node must have unique `proposer_id` and `p2p_node_id` for proper P2P network operation. The hermes setup scripts automatically generate UUID-based IDs during initial setup. ### Node Identity Files - `/etc/aitbc/.env` - Contains `proposer_id` for block signing and consensus @@ -108,55 +108,55 @@ ssh gitea-runner 'grep -E "^(proposer_id|p2p_node_id)=" /etc/aitbc/.env /etc/ait ``` ### P2P Identity Issues -If OpenClaw agents report P2P connection failures due to duplicate IDs: +If hermes agents report P2P connection failures due to duplicate IDs: 1. Run the ID generation utility on affected nodes 2. Restart P2P services: `systemctl restart aitbc-blockchain-p2p` 3. Verify connectivity: `journalctl -u aitbc-blockchain-p2p -n 30` -4. Re-run OpenClaw agent coordination to confirm P2P connectivity +4. Re-run hermes agent coordination to confirm P2P connectivity ## Quick Start ### Full Deployment (Recommended) ```bash # 1. Complete orchestrated workflow -/opt/aitbc/scripts/workflow-openclaw/05_complete_workflow_openclaw.sh +/opt/aitbc/scripts/workflow-hermes/05_complete_workflow_hermes.sh # 2. Verify both nodes curl -s http://localhost:8006/rpc/head | jq '.height' ssh aitbc1 'curl -s http://localhost:8006/rpc/head | jq .height' # 3. Agent analysis of deployment -openclaw agent --agent main --message "Analyze multi-node blockchain deployment status" --thinking high +hermes agent --agent main --message "Analyze multi-node blockchain deployment status" --thinking high ``` ### Phase-by-Phase Execution ```bash # Phase 1: Pre-flight (tested, working) -/opt/aitbc/scripts/workflow-openclaw/01_preflight_setup_openclaw_simple.sh +/opt/aitbc/scripts/workflow-hermes/01_preflight_setup_hermes_simple.sh # Phase 2: Genesis authority setup -/opt/aitbc/scripts/workflow-openclaw/02_genesis_authority_setup_openclaw.sh +/opt/aitbc/scripts/workflow-hermes/02_genesis_authority_setup_hermes.sh # Phase 3: Follower node setup -/opt/aitbc/scripts/workflow-openclaw/03_follower_node_setup_openclaw.sh +/opt/aitbc/scripts/workflow-hermes/03_follower_node_setup_hermes.sh # Phase 4: Wallet operations (tested, working) -/opt/aitbc/scripts/workflow-openclaw/04_wallet_operations_openclaw_corrected.sh +/opt/aitbc/scripts/workflow-hermes/04_wallet_operations_hermes_corrected.sh # Phase 5: Smart contract messaging training -/opt/aitbc/scripts/workflow-openclaw/train_agent_messaging.sh +/opt/aitbc/scripts/workflow-hermes/train_agent_messaging.sh ``` ## Available Scripts ``` -/opt/aitbc/scripts/workflow-openclaw/ -β”œβ”€β”€ 01_preflight_setup_openclaw_simple.sh # Pre-flight (tested) -β”œβ”€β”€ 01_preflight_setup_openclaw_corrected.sh # Pre-flight (corrected) -β”œβ”€β”€ 02_genesis_authority_setup_openclaw.sh # Genesis authority -β”œβ”€β”€ 03_follower_node_setup_openclaw.sh # Follower node -β”œβ”€β”€ 04_wallet_operations_openclaw_corrected.sh # Wallet ops (tested) -β”œβ”€β”€ 05_complete_workflow_openclaw.sh # Full orchestration +/opt/aitbc/scripts/workflow-hermes/ +β”œβ”€β”€ 01_preflight_setup_hermes_simple.sh # Pre-flight (tested) +β”œβ”€β”€ 01_preflight_setup_hermes_corrected.sh # Pre-flight (corrected) +β”œβ”€β”€ 02_genesis_authority_setup_hermes.sh # Genesis authority +β”œβ”€β”€ 03_follower_node_setup_hermes.sh # Follower node +β”œβ”€β”€ 04_wallet_operations_hermes_corrected.sh # Wallet ops (tested) +β”œβ”€β”€ 05_complete_workflow_hermes.sh # Full orchestration β”œβ”€β”€ fix_agent_communication.sh # Agent comm fix β”œβ”€β”€ train_agent_messaging.sh # SC messaging training └── implement_agent_messaging.sh # Advanced messaging @@ -165,11 +165,11 @@ openclaw agent --agent main --message "Analyze multi-node blockchain deployment ## Workflow Phases ### Phase 1: Pre-Flight Setup -- Verify OpenClaw gateway running +- Verify hermes gateway running - Check blockchain services on both nodes - Validate SSH connectivity to aitbc1 - Confirm data directories at `/var/lib/aitbc/data/ait-mainnet/` -- Initialize OpenClaw agent session +- Initialize hermes agent session ### Phase 2: Genesis Authority Setup - Configure genesis node environment @@ -238,7 +238,7 @@ AITBC's `AgentMessagingContract` enables on-chain agent communication: ```bash # Train agents on messaging -openclaw agent --agent main --message "Teach me AITBC Agent Messaging Contract for cross-node communication" --thinking high +hermes agent --agent main --message "Teach me AITBC Agent Messaging Contract for cross-node communication" --thinking high ``` ## Troubleshooting @@ -269,7 +269,7 @@ systemctl is-active aitbc-blockchain-{node,rpc}.service ssh aitbc1 'systemctl is-active aitbc-blockchain-{node,rpc}.service' # Agent health check -openclaw agent --agent main --message "Report multi-node blockchain health" --thinking medium +hermes agent --agent main --message "Report multi-node blockchain health" --thinking medium # Integration test /opt/aitbc/scripts/workflow/44_comprehensive_multi_node_scenario.sh @@ -277,7 +277,7 @@ openclaw agent --agent main --message "Report multi-node blockchain health" --th ## Documentation -Reports and guides are in `/opt/aitbc/docs/openclaw/`: +Reports and guides are in `/opt/aitbc/docs/hermes/`: - `guides/` β€” Implementation and fix guides - `reports/` β€” Deployment and analysis reports - `training/` β€” Agent training materials diff --git a/.windsurf/workflows/ollama-gpu-test-openclaw.md b/.windsurf/workflows/ollama-gpu-test-hermes.md similarity index 75% rename from .windsurf/workflows/ollama-gpu-test-openclaw.md rename to .windsurf/workflows/ollama-gpu-test-hermes.md index 696b5a0d..826c0d62 100644 --- a/.windsurf/workflows/ollama-gpu-test-openclaw.md +++ b/.windsurf/workflows/ollama-gpu-test-hermes.md @@ -1,16 +1,16 @@ --- -description: OpenClaw agent workflow for complete Ollama GPU provider testing from client submission to blockchain recording -title: OpenClaw Ollama GPU Provider Test Workflow +description: Hermes agent workflow for complete Ollama GPU provider testing from client submission to blockchain recording +title: Hermes Ollama GPU Provider Test Workflow version: 1.0 --- -# OpenClaw Ollama GPU Provider Test Workflow +# Hermes Ollama GPU Provider Test Workflow -This OpenClaw agent workflow executes the complete end-to-end test for Ollama GPU inference jobs, including payment processing and blockchain transaction recording. +This Hermes agent workflow executes the complete end-to-end test for Ollama GPU inference jobs, including payment processing and blockchain transaction recording. ## Prerequisites -- OpenClaw 2026.3.24+ installed and gateway running +- Hermes 2026.3.24+ installed and gateway running - All services running: coordinator, GPU miner, Ollama, blockchain node - Home directory wallets configured - Enhanced CLI with multi-wallet support @@ -41,19 +41,19 @@ This OpenClaw agent workflow executes the complete end-to-end test for Ollama GP - Validate transaction confirmations - Check wallet balance updates -## OpenClaw Agent Workflow +## Hermes Agent Workflow ### Phase 1: Environment Validation ```bash # Initialize test coordinator SESSION_ID="ollama-test-$(date +%s)" -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Initialize Ollama GPU provider test workflow. Validate all services and dependencies." \ --thinking high # Agent performs environment checks -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Execute environment validation: check coordinator API, Ollama service, GPU miner, blockchain node health" \ --thinking medium ``` @@ -62,18 +62,18 @@ openclaw agent --agent test-coordinator --session-id $SESSION_ID \ ```bash # Initialize client agent -openclaw agent --agent client-agent --session-id $SESSION_ID \ +hermes agent --agent client-agent --session-id $SESSION_ID \ --message "Initialize as client agent. Create test wallets and configure for AI job submission." \ --thinking medium # Agent creates test wallets -openclaw agent --agent client-agent --session-id $SESSION_ID \ +hermes agent --agent client-agent --session-id $SESSION_ID \ --message "Create test wallets: test-client and test-miner. Switch to client wallet and verify balance." \ --thinking medium \ --parameters "wallet_type:simple,backup_enabled:true" # Initialize miner agent -openclaw agent --agent miner-agent --session-id $SESSION_ID \ +hermes agent --agent miner-agent --session-id $SESSION_ID \ --message "Initialize as miner agent. Verify miner wallet and GPU resource availability." \ --thinking medium ``` @@ -82,13 +82,13 @@ openclaw agent --agent miner-agent --session-id $SESSION_ID \ ```bash # Coordinator agent checks all services -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Perform comprehensive service health check: coordinator API, Ollama GPU service, GPU miner service, blockchain RPC" \ --thinking high \ --parameters "timeout:30,retry_count:3" # Agent reports service status -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Report service health status and readiness for GPU testing" \ --thinking medium ``` @@ -97,19 +97,19 @@ openclaw agent --agent test-coordinator --session-id $SESSION_ID \ ```bash # Client agent submits inference job -openclaw agent --agent client-agent --session-id $SESSION_ID \ +hermes agent --agent client-agent --session-id $SESSION_ID \ --message "Submit Ollama GPU inference job: 'What is the capital of France?' using llama3.2:latest model" \ --thinking high \ --parameters "prompt:What is the capital of France?,model:llama3.2:latest,payment:10" # Agent monitors job progress -openclaw agent --agent client-agent --session-id $SESSION_ID \ +hermes agent --agent client-agent --session-id $SESSION_ID \ --message "Monitor job progress through states: QUEUED β†’ RUNNING β†’ COMPLETED" \ --thinking medium \ --parameters "polling_interval:5,timeout:300" # Agent validates job results -openclaw agent --agent client-agent --session-id $SESSION_ID \ +hermes agent --agent client-agent --session-id $SESSION_ID \ --message "Validate job result: 'The capital of France is Paris.' Check accuracy and completeness" \ --thinking medium ``` @@ -118,13 +118,13 @@ openclaw agent --agent client-agent --session-id $SESSION_ID \ ```bash # Client agent handles payment processing -openclaw agent --agent client-agent --session-id $SESSION_ID \ +hermes agent --agent client-agent --session-id $SESSION_ID \ --message "Process payment for completed GPU job: verify receipt information, pricing, and total cost" \ --thinking high \ --parameters "validate_receipt:true,check_pricing:true" # Agent reports payment details -openclaw agent --agent client-agent --session-id $SESSION_ID \ +hermes agent --agent client-agent --session-id $SESSION_ID \ --message "Report payment details: receipt ID, provider, GPU seconds, unit price, total cost" \ --thinking medium ``` @@ -133,13 +133,13 @@ openclaw agent --agent client-agent --session-id $SESSION_ID \ ```bash # Blockchain agent verifies transaction recording -openclaw agent --agent blockchain-agent --session-id $SESSION_ID \ +hermes agent --agent blockchain-agent --session-id $SESSION_ID \ --message "Verify blockchain transaction recording: check for payment transaction, validate confirmation, track block inclusion" \ --thinking high \ --parameters "confirmations:1,timeout:60" # Agent reports blockchain status -openclaw agent --agent blockchain-agent --session-id $SESSION_ID \ +hermes agent --agent blockchain-agent --session-id $SESSION_ID \ --message "Report blockchain verification results: transaction hash, block height, confirmation status" \ --thinking medium ``` @@ -148,12 +148,12 @@ openclaw agent --agent blockchain-agent --session-id $SESSION_ID \ ```bash # Client agent checks final wallet balances -openclaw agent --agent client-agent --session-id $SESSION_ID \ +hermes agent --agent client-agent --session-id $SESSION_ID \ --message "Verify final wallet balances after transaction: compare initial vs final balances" \ --thinking medium # Miner agent checks earnings -openclaw agent --agent miner-agent --session-id $SESSION_ID \ +hermes agent --agent miner-agent --session-id $SESSION_ID \ --message "Verify miner earnings: check wallet balance increase from GPU job payment" \ --thinking medium ``` @@ -162,18 +162,18 @@ openclaw agent --agent miner-agent --session-id $SESSION_ID \ ```bash # Coordinator agent generates final report -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Generate comprehensive test completion report: all phases status, results, wallet changes, blockchain verification" \ --thinking xhigh \ --parameters "include_metrics:true,include_logs:true,format:comprehensive" # Agent posts results to coordination topic -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Post test results to blockchain coordination topic for permanent recording" \ --thinking high ``` -## OpenClaw Agent Templates +## Hermes Agent Templates ### Test Coordinator Agent Template @@ -289,22 +289,22 @@ openclaw agent --agent test-coordinator --session-id $SESSION_ID \ ```bash # Service Health Issues -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Service health check failed. Implementing recovery procedures: restart services, verify connectivity, check logs" \ --thinking high # Wallet Issues -openclaw agent --agent client-agent --session-id $SESSION_ID \ +hermes agent --agent client-agent --session-id $SESSION_ID \ --message "Wallet operation failed. Implementing wallet recovery: check keystore, verify permissions, recreate wallet if needed" \ --thinking high # GPU Issues -openclaw agent --agent miner-agent --session-id $SESSION_ID \ +hermes agent --agent miner-agent --session-id $SESSION_ID \ --message "GPU processing failed. Implementing recovery: check GPU availability, restart Ollama, verify model availability" \ --thinking high # Blockchain Issues -openclaw agent --agent blockchain-agent --session-id $SESSION_ID \ +hermes agent --agent blockchain-agent --session-id $SESSION_ID \ --message "Blockchain verification failed. Implementing recovery: check node sync, verify transaction pool, retry with different parameters" \ --thinking high ``` @@ -315,17 +315,17 @@ openclaw agent --agent blockchain-agent --session-id $SESSION_ID \ ```bash # Monitor agent performance -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Report agent performance metrics: response time, success rate, error count, resource utilization" \ --thinking medium # System performance during test -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Monitor system performance during GPU test: CPU usage, memory usage, GPU utilization, network I/O" \ --thinking medium ``` -## OpenClaw Integration +## Hermes Integration ### Session Management @@ -334,22 +334,22 @@ openclaw agent --agent test-coordinator --session-id $SESSION_ID \ SESSION_ID="ollama-gpu-test-$(date +%s)" # Use session across all agents -openclaw agent --agent test-coordinator --session-id $SESSION_ID --message "Initialize test" --thinking high -openclaw agent --agent client-agent --session-id $SESSION_ID --message "Submit job" --thinking medium -openclaw agent --agent miner-agent --session-id $SESSION_ID --message "Monitor GPU" --thinking medium -openclaw agent --agent blockchain-agent --session-id $SESSION_ID --message "Verify blockchain" --thinking high +hermes agent --agent test-coordinator --session-id $SESSION_ID --message "Initialize test" --thinking high +hermes agent --agent client-agent --session-id $SESSION_ID --message "Submit job" --thinking medium +hermes agent --agent miner-agent --session-id $SESSION_ID --message "Monitor GPU" --thinking medium +hermes agent --agent blockchain-agent --session-id $SESSION_ID --message "Verify blockchain" --thinking high ``` ### Cross-Agent Communication ```bash # Agents communicate through coordination topic -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Post coordination message: Test phase completed, next phase starting" \ --thinking medium # Other agents respond to coordination -openclaw agent --agent client-agent --session-id $SESSION_ID \ +hermes agent --agent client-agent --session-id $SESSION_ID \ --message "Acknowledge coordination: Ready for next phase" \ --thinking minimal ``` @@ -360,24 +360,24 @@ openclaw agent --agent client-agent --session-id $SESSION_ID \ ```bash #!/bin/bash -# ollama_gpu_test_openclaw.sh +# ollama_gpu_test_hermes.sh SESSION_ID="ollama-gpu-test-$(date +%s)" -echo "Starting OpenClaw Ollama GPU Provider Test..." +echo "Starting Hermes Ollama GPU Provider Test..." # Initialize coordinator -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Initialize complete Ollama GPU test workflow" \ --thinking high # Execute all phases automatically -openclaw agent --agent test-coordinator --session-id $SESSION_ID \ +hermes agent --agent test-coordinator --session-id $SESSION_ID \ --message "Execute complete test: environment check, wallet setup, service health, GPU test, payment processing, blockchain verification, final reporting" \ --thinking xhigh \ --parameters "auto_execute:true,timeout:600,report_format:comprehensive" -echo "OpenClaw Ollama GPU test completed!" +echo "Hermes Ollama GPU test completed!" ``` ## Integration with Existing Workflow @@ -389,11 +389,11 @@ echo "OpenClaw Ollama GPU test completed!" cd /home/oib/windsurf/aitbc/home python3 test_ollama_blockchain.py -# OpenClaw automated workflow -./ollama_gpu_test_openclaw.sh +# Hermes automated workflow +./ollama_gpu_test_hermes.sh ``` -### Benefits of OpenClaw Integration +### Benefits of Hermes Integration - **Intelligent Error Handling**: Agents detect and recover from failures - **Adaptive Testing**: Agents adjust test parameters based on system state @@ -406,14 +406,14 @@ python3 test_ollama_blockchain.py ### Agent Communication Issues ```bash -# Check OpenClaw gateway status -openclaw status --agent all +# Check Hermes gateway status +hermes status --agent all # Test agent communication -openclaw agent --agent test --message "ping" --thinking minimal +hermes agent --agent test --message "ping" --thinking minimal # Check session context -openclaw agent --agent test-coordinator --session-id $SESSION_ID --message "report status" --thinking medium +hermes agent --agent test-coordinator --session-id $SESSION_ID --message "report status" --thinking medium ``` ### Service Integration Issues @@ -429,4 +429,4 @@ systemctl is-active aitbc-host-gpu-miner.service ./aitbc-cli wallet info ``` -This OpenClaw agent workflow transforms the manual Ollama GPU test into an intelligent, automated, and blockchain-recorded testing process with comprehensive error handling and reporting capabilities. +This Hermes agent workflow transforms the manual Ollama GPU test into an intelligent, automated, and blockchain-recorded testing process with comprehensive error handling and reporting capabilities. diff --git a/README.md b/README.md index c6bff5e5..1379c723 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ - **Multi-node federation** with independent islands and hub discovery ### AI & Agent Systems -- **OpenClaw agent communication** with blockchain integration +- **Hermes agent communication** with blockchain integration - **AI engine** for autonomous agent operations - **Agent services** including registry, compliance, protocols, and trading - **Agent daemon** with systemd integration diff --git a/apps/api-gateway/src/api_gateway/main.py b/apps/api-gateway/src/api_gateway/main.py index 3116b456..b2f33d48 100644 --- a/apps/api-gateway/src/api_gateway/main.py +++ b/apps/api-gateway/src/api_gateway/main.py @@ -84,9 +84,9 @@ SERVICES = { "base_url": os.getenv("MONITORING_SERVICE_URL", "http://localhost:8107"), "prefix": "/monitoring", }, - "openclaw": { - "base_url": os.getenv("OPENCLAW_SERVICE_URL", "http://localhost:8108"), - "prefix": "/openclaw", + "hermes": { + "base_url": os.getenv("HERMES_SERVICE_URL", "http://localhost:8108"), + "prefix": "/hermes", }, "plugin": { "base_url": os.getenv("PLUGIN_SERVICE_URL", "http://localhost:8109"), diff --git a/apps/blockchain-event-bridge/pyproject.toml b/apps/blockchain-event-bridge/pyproject.toml index 58fa517f..90b4b5f4 100644 --- a/apps/blockchain-event-bridge/pyproject.toml +++ b/apps/blockchain-event-bridge/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "blockchain-event-bridge" version = "0.1.0" -description = "Bridge between AITBC blockchain events and OpenClaw agent triggers" +description = "Bridge between AITBC blockchain events and hermes agent triggers" authors = ["AITBC Team"] readme = "README.md" diff --git a/apps/blockchain-event-bridge/src/blockchain_event_bridge/__init__.py b/apps/blockchain-event-bridge/src/blockchain_event_bridge/__init__.py index d009f0c3..d4db9480 100644 --- a/apps/blockchain-event-bridge/src/blockchain_event_bridge/__init__.py +++ b/apps/blockchain-event-bridge/src/blockchain_event_bridge/__init__.py @@ -1,3 +1,3 @@ -"""Blockchain Event Bridge - Connects AITBC blockchain events to OpenClaw agent triggers.""" +"""Blockchain Event Bridge - Connects AITBC blockchain events to hermes agent triggers.""" __version__ = "0.1.0" diff --git a/apps/blockchain-event-bridge/src/blockchain_event_bridge/action_handlers/__init__.py b/apps/blockchain-event-bridge/src/blockchain_event_bridge/action_handlers/__init__.py index 2f6bb010..a03737f1 100644 --- a/apps/blockchain-event-bridge/src/blockchain_event_bridge/action_handlers/__init__.py +++ b/apps/blockchain-event-bridge/src/blockchain_event_bridge/action_handlers/__init__.py @@ -1,4 +1,4 @@ -"""Action handler modules for OpenClaw agent triggers.""" +"""Action handler modules for hermes agent triggers.""" from .coordinator_api import CoordinatorAPIHandler from .agent_daemon import AgentDaemonHandler diff --git a/apps/blockchain-event-bridge/src/blockchain_event_bridge/action_handlers/coordinator_api.py b/apps/blockchain-event-bridge/src/blockchain_event_bridge/action_handlers/coordinator_api.py index 55539cea..222e4839 100644 --- a/apps/blockchain-event-bridge/src/blockchain_event_bridge/action_handlers/coordinator_api.py +++ b/apps/blockchain-event-bridge/src/blockchain_event_bridge/action_handlers/coordinator_api.py @@ -1,4 +1,4 @@ -"""Coordinator API action handler for triggering OpenClaw agent actions.""" +"""Coordinator API action handler for triggering hermes agent actions.""" from typing import Any, Dict, List, Optional from aitbc.http_client import AsyncAITBCHTTPClient diff --git a/apps/blockchain-event-bridge/src/blockchain_event_bridge/bridge.py b/apps/blockchain-event-bridge/src/blockchain_event_bridge/bridge.py index 6d643f46..a6e94691 100644 --- a/apps/blockchain-event-bridge/src/blockchain_event_bridge/bridge.py +++ b/apps/blockchain-event-bridge/src/blockchain_event_bridge/bridge.py @@ -1,4 +1,4 @@ -"""Core bridge logic for blockchain event to OpenClaw agent trigger mapping.""" +"""Core bridge logic for blockchain event to hermes agent trigger mapping.""" import asyncio from typing import Any, Dict, Optional @@ -25,7 +25,7 @@ logger = get_logger(__name__) class BlockchainEventBridge: - """Main bridge service connecting blockchain events to OpenClaw agent actions.""" + """Main bridge service connecting blockchain events to hermes agent actions.""" def __init__(self, settings: Settings) -> None: self.settings = settings diff --git a/apps/blockchain-event-bridge/src/blockchain_event_bridge/main.py b/apps/blockchain-event-bridge/src/blockchain_event_bridge/main.py index 4f3201ca..94600595 100644 --- a/apps/blockchain-event-bridge/src/blockchain_event_bridge/main.py +++ b/apps/blockchain-event-bridge/src/blockchain_event_bridge/main.py @@ -46,7 +46,7 @@ async def lifespan(app: FastAPI): app = FastAPI( title=settings.app_name, - description="Bridge between AITBC blockchain events and OpenClaw agent triggers", + description="Bridge between AITBC blockchain events and hermes agent triggers", version="0.1.0", lifespan=lifespan, ) diff --git a/apps/blockchain-event-bridge/src/blockchain_event_bridge/polling/conditions.py b/apps/blockchain-event-bridge/src/blockchain_event_bridge/polling/conditions.py index 5e6880a2..c8f6a384 100644 --- a/apps/blockchain-event-bridge/src/blockchain_event_bridge/polling/conditions.py +++ b/apps/blockchain-event-bridge/src/blockchain_event_bridge/polling/conditions.py @@ -9,7 +9,7 @@ logger = get_logger(__name__) class ConditionPoller: - """Polls for specific conditions that should trigger OpenClaw actions.""" + """Polls for specific conditions that should trigger hermes actions.""" def __init__(self, settings: Any) -> None: self.settings = settings diff --git a/apps/blockchain-node/src/aitbc_chain/app.py b/apps/blockchain-node/src/aitbc_chain/app.py index 2e80fd84..37e5b9e6 100755 --- a/apps/blockchain-node/src/aitbc_chain/app.py +++ b/apps/blockchain-node/src/aitbc_chain/app.py @@ -188,7 +188,7 @@ def create_app() -> FastAPI: "http://localhost:8012", # Modality Optimization "http://localhost:8013", # Adaptive Learning "http://localhost:8014", # Marketplace Enhanced - "http://localhost:8015", # OpenClaw Enhanced + "http://localhost:8015", # hermes Enhanced "http://localhost:8016", # Web UI ], allow_methods=["GET", "POST", "OPTIONS"], diff --git a/apps/blockchain-node/src/aitbc_chain/gossip/relay.py b/apps/blockchain-node/src/aitbc_chain/gossip/relay.py index c915045c..1ed47177 100755 --- a/apps/blockchain-node/src/aitbc_chain/gossip/relay.py +++ b/apps/blockchain-node/src/aitbc_chain/gossip/relay.py @@ -82,7 +82,7 @@ def create_app() -> Starlette: "http://localhost:8012", # Modality Optimization "http://localhost:8013", # Adaptive Learning "http://localhost:8014", # Marketplace Enhanced - "http://localhost:8015", # OpenClaw Enhanced + "http://localhost:8015", # hermes Enhanced "http://localhost:8016", # Web UI ], allow_methods=["POST", "GET", "OPTIONS"] diff --git a/apps/coordinator-api/QUICK_WINS_SUMMARY.md b/apps/coordinator-api/QUICK_WINS_SUMMARY.md index f1cab7ce..3ab20e53 100644 --- a/apps/coordinator-api/QUICK_WINS_SUMMARY.md +++ b/apps/coordinator-api/QUICK_WINS_SUMMARY.md @@ -13,7 +13,7 @@ - `modality_optimization_health.py` - Modality Optimization Service (Port 8004) - `adaptive_learning_health.py` - Adaptive Learning Service (Port 8005) - `marketplace_enhanced_health.py` - Enhanced Marketplace Service (Port 8006) -- `openclaw_enhanced_health.py` - OpenClaw Enhanced Service (Port 8007) +- `hermes_enhanced_health.py` - hermes Enhanced Service (Port 8007) **Features:** - Basic `/health` endpoints with system metrics @@ -107,7 +107,7 @@ async def collect_all_health_data() -> Dict[str, Any]: | Modality Optimization | 8004 | βœ… | βœ… | βœ… | | Adaptive Learning | 8005 | βœ… | βœ… | βœ… | | Enhanced Marketplace | 8006 | βœ… | βœ… | βœ… | -| OpenClaw Enhanced | 8007 | βœ… | βœ… | βœ… | +| hermes Enhanced | 8007 | βœ… | βœ… | βœ… | ## πŸš€ Usage Instructions diff --git a/apps/coordinator-api/check_services.sh b/apps/coordinator-api/check_services.sh index 8bd32b2c..ecd14790 100755 --- a/apps/coordinator-api/check_services.sh +++ b/apps/coordinator-api/check_services.sh @@ -38,7 +38,7 @@ declare -A SERVICES=( ["aitbc-modality-optimization"]="8004:Modality Optimization Service" ["aitbc-adaptive-learning"]="8005:Adaptive Learning Service" ["aitbc-marketplace-enhanced"]="8006:Enhanced Marketplace Service" - ["aitbc-openclaw-enhanced"]="8007:OpenClaw Enhanced Service" + ["aitbc-hermes-enhanced"]="8007:hermes Enhanced Service" ) print_header "=== AITBC Enhanced Services Status ===" diff --git a/apps/coordinator-api/demo_client_miner_workflow.py b/apps/coordinator-api/demo_client_miner_workflow.py index 27cf03b9..bdbec9e6 100755 --- a/apps/coordinator-api/demo_client_miner_workflow.py +++ b/apps/coordinator-api/demo_client_miner_workflow.py @@ -97,20 +97,20 @@ def process_multimodal_data(request_data): print(f"❌ Multi-Modal Processing: ERROR - {e}") return None -def route_to_openclaw_agents(processing_results): - """Route processing to OpenClaw agents for optimization""" - print("\nπŸ€– OPENCLAW AGENT ROUTING") +def route_to_hermes_agents(processing_results): + """Route processing to hermes agents for optimization""" + print("\nπŸ€– hermes AGENT ROUTING") print("=" * 50) - # Test OpenClaw integration + # Test hermes integration try: - response = requests.post(f"{BASE_URL}/test-openclaw", + response = requests.post(f"{BASE_URL}/test-hermes", json=processing_results, timeout=10) if response.status_code == 200: result = response.json() - print(f"βœ… OpenClaw Integration: SUCCESS") + print(f"βœ… hermes Integration: SUCCESS") print(f" Service: {result['service']}") print(f" Status: {result['status']}") print(f" Agent Capabilities:") @@ -133,11 +133,11 @@ def route_to_openclaw_agents(processing_results): return agent_routing else: - print(f"❌ OpenClaw Integration: FAILED") + print(f"❌ hermes Integration: FAILED") return None except Exception as e: - print(f"❌ OpenClaw Integration: ERROR - {e}") + print(f"❌ hermes Integration: ERROR - {e}") return None def process_marketplace_transaction(agent_routing): @@ -266,7 +266,7 @@ def run_complete_workflow(): print("πŸš€ AITBC Enhanced Services - Client-to-Miner Workflow Demo") print("=" * 60) print("Demonstrating complete AI agent processing pipeline") - print("with multi-modal processing, OpenClaw integration, and marketplace") + print("with multi-modal processing, hermes integration, and marketplace") print("=" * 60) # Step 1: Client Request @@ -278,8 +278,8 @@ def run_complete_workflow(): print("\n❌ Workflow failed at multi-modal processing") return False - # Step 3: OpenClaw Agent Routing - agent_routing = route_to_openclaw_agents(processing_results) + # Step 3: hermes Agent Routing + agent_routing = route_to_hermes_agents(processing_results) if not agent_routing: print("\n❌ Workflow failed at agent routing") return False @@ -303,7 +303,7 @@ def run_complete_workflow(): print("🎯 Workflow Summary:") print(" 1. βœ… Client Request Received") print(" 2. βœ… Multi-Modal Data Processed (Text, Image, Audio)") - print(" 3. βœ… OpenClaw Agent Routing Applied") + print(" 3. βœ… hermes Agent Routing Applied") print(" 4. βœ… Marketplace Transaction Processed") print(" 5. βœ… Miner Job Completed") print(" 6. βœ… Result Returned to Client") @@ -317,7 +317,7 @@ def run_complete_workflow(): print(f"\nπŸ”— Enhanced Services Demonstrated:") print(f" βœ… Multi-Modal Processing: Text, Image, Audio analysis") - print(f" βœ… OpenClaw Integration: Agent routing and optimization") + print(f" βœ… hermes Integration: Agent routing and optimization") print(f" βœ… Marketplace Enhancement: Royalties, licensing, verification") print(f" βœ… GPU Acceleration: High-performance processing") print(f" βœ… Client-to-Miner: Complete workflow pipeline") diff --git a/apps/coordinator-api/deploy_services.sh b/apps/coordinator-api/deploy_services.sh index 77c239c6..d956dbe4 100755 --- a/apps/coordinator-api/deploy_services.sh +++ b/apps/coordinator-api/deploy_services.sh @@ -46,7 +46,7 @@ SERVICES=( "aitbc-modality-optimization:8004:Modality Optimization" "aitbc-adaptive-learning:8005:Adaptive Learning" "aitbc-marketplace-enhanced:8006:Enhanced Marketplace" - "aitbc-openclaw-enhanced:8007:OpenClaw Enhanced" + "aitbc-hermes-enhanced:8007:hermes Enhanced" ) # Install systemd services @@ -87,8 +87,8 @@ $SUDO sed -i 's|src.app.services.adaptive_learning:app|src.app.services.adaptive # Update marketplace enhanced service $SUDO sed -i 's|src.app.routers.marketplace_enhanced_simple:router|src.app.routers.marketplace_enhanced_app:app|' /etc/systemd/system/aitbc-marketplace-enhanced.service -# Update openclaw enhanced service -$SUDO sed -i 's|src.app.routers.openclaw_enhanced_simple:router|src.app.routers.openclaw_enhanced_app:app|' /etc/systemd/system/aitbc-openclaw-enhanced.service +# Update hermes enhanced service +$SUDO sed -i 's|src.app.routers.hermes_enhanced_simple:router|src.app.routers.hermes_enhanced_app:app|' /etc/systemd/system/aitbc-hermes-enhanced.service # Reload systemd $SUDO systemctl daemon-reload @@ -151,7 +151,7 @@ SERVICES=( "aitbc-modality-optimization:8004" "aitbc-adaptive-learning:8005" "aitbc-marketplace-enhanced:8006" - "aitbc-openclaw-enhanced:8007" + "aitbc-hermes-enhanced:8007" ) for service_info in "${SERVICES[@]}"; do @@ -179,7 +179,7 @@ echo "$SUDO journalctl -u aitbc-gpu-multimodal -f" echo "$SUDO journalctl -u aitbc-modality-optimization -f" echo "$SUDO journalctl -u aitbc-adaptive-learning -f" echo "$SUDO journalctl -u aitbc-marketplace-enhanced -f" -echo "$SUDO journalctl -u aitbc-openclaw-enhanced -f" +echo "$SUDO journalctl -u aitbc-hermes-enhanced -f" EOF chmod +x /home/oib/aitbc/apps/coordinator-api/check_services.sh @@ -195,15 +195,15 @@ cat > /home/oib/aitbc/apps/coordinator-api/manage_services.sh << 'EOF' case "$1" in start) echo "πŸš€ Starting all enhanced services..." - $SUDO systemctl start aitbc-multimodal aitbc-gpu-multimodal aitbc-modality-optimization aitbc-adaptive-learning aitbc-marketplace-enhanced aitbc-openclaw-enhanced + $SUDO systemctl start aitbc-multimodal aitbc-gpu-multimodal aitbc-modality-optimization aitbc-adaptive-learning aitbc-marketplace-enhanced aitbc-hermes-enhanced ;; stop) echo "πŸ›‘ Stopping all enhanced services..." - $SUDO systemctl stop aitbc-multimodal aitbc-gpu-multimodal aitbc-modality-optimization aitbc-adaptive-learning aitbc-marketplace-enhanced aitbc-openclaw-enhanced + $SUDO systemctl stop aitbc-multimodal aitbc-gpu-multimodal aitbc-modality-optimization aitbc-adaptive-learning aitbc-marketplace-enhanced aitbc-hermes-enhanced ;; restart) echo "πŸ”„ Restarting all enhanced services..." - $SUDO systemctl restart aitbc-multimodal aitbc-gpu-multimodal aitbc-modality-optimization aitbc-adaptive-learning aitbc-marketplace-enhanced aitbc-openclaw-enhanced + $SUDO systemctl restart aitbc-multimodal aitbc-gpu-multimodal aitbc-modality-optimization aitbc-adaptive-learning aitbc-marketplace-enhanced aitbc-hermes-enhanced ;; status) /home/oib/aitbc/apps/coordinator-api/check_services.sh @@ -219,7 +219,7 @@ case "$1" in echo "aitbc-modality-optimization" echo "aitbc-adaptive-learning" echo "aitbc-marketplace-enhanced" - echo "aitbc-openclaw-enhanced" + echo "aitbc-hermes-enhanced" echo "" echo "Usage: $0 logs <service-name>" fi @@ -257,7 +257,7 @@ print_status " GPU Multi-Modal: http://127.0.0.1:8003" print_status " Modality Optimization: http://127.0.0.1:8004" print_status " Adaptive Learning: http://127.0.0.1:8005" print_status " Enhanced Marketplace: http://127.0.0.1:8006" -print_status " OpenClaw Enhanced: http://127.0.0.1:8007" +print_status " hermes Enhanced: http://127.0.0.1:8007" print_status "" print_status "πŸ“Š Monitoring:" print_status " $SUDO systemctl status aitbc-multimodal" @@ -266,4 +266,4 @@ print_status " $SUDO journalctl -u aitbc-gpu-multimodal -f" print_status " $SUDO journalctl -u aitbc-modality-optimization -f" print_status " $SUDO journalctl -u aitbc-adaptive-learning -f" print_status " $SUDO journalctl -u aitbc-marketplace-enhanced -f" -print_status " $SUDO journalctl -u aitbc-openclaw-enhanced -f" +print_status " $SUDO journalctl -u aitbc-hermes-enhanced -f" diff --git a/apps/coordinator-api/manage_services.sh b/apps/coordinator-api/manage_services.sh index 37d21b7f..a2f94778 100755 --- a/apps/coordinator-api/manage_services.sh +++ b/apps/coordinator-api/manage_services.sh @@ -36,7 +36,7 @@ declare -A SERVICES=( ["aitbc-modality-optimization"]="Modality Optimization Service" ["aitbc-adaptive-learning"]="Adaptive Learning Service" ["aitbc-marketplace-enhanced"]="Enhanced Marketplace Service" - ["aitbc-openclaw-enhanced"]="OpenClaw Enhanced Service" + ["aitbc-hermes-enhanced"]="hermes Enhanced Service" ) # Show usage diff --git a/apps/coordinator-api/scripts/high_priority_implementation.py b/apps/coordinator-api/scripts/high_priority_implementation.py index 24de3773..591fc451 100755 --- a/apps/coordinator-api/scripts/high_priority_implementation.py +++ b/apps/coordinator-api/scripts/high_priority_implementation.py @@ -1,6 +1,6 @@ """ High Priority Implementation - Phase 6.5 & 6.6 -On-Chain Model Marketplace Enhancement and OpenClaw Integration Enhancement +On-Chain Model Marketplace Enhancement and hermes Integration Enhancement """ import asyncio @@ -71,7 +71,7 @@ class HighPriorityImplementation: implementation_result["errors"].append(f"Phase 6.5 task {task} failed: {e}") logger.error(f"❌ Failed Phase 6.5 task {task}: {e}") - # Implement Phase 6.6: OpenClaw Enhancement + # Implement Phase 6.6: hermes Enhancement for task in self.phase6_6_tasks: try: task_result = await self._implement_phase6_6_task(task) @@ -347,7 +347,7 @@ class HighPriorityImplementation: } async def _implement_opencaw_ecosystem_development(self) -> Dict[str, Any]: - """Implement OpenClaw ecosystem development""" + """Implement hermes ecosystem development""" return { "developer_tools": { @@ -377,7 +377,7 @@ class HighPriorityImplementation: } async def _implement_opencaw_partnership_programs(self) -> Dict[str, Any]: - """Implement OpenClaw partnership programs""" + """Implement hermes partnership programs""" return { "technology_integration": { @@ -768,7 +768,7 @@ async def main(): print("=" * 60) print(f"βœ… Implementation Status: {result['implementation_status']}") print(f"βœ… Phase 6.5: Marketplace Enhancement Complete") - print(f"βœ… Phase 6.6: OpenClaw Enhancement Complete") + print(f"βœ… Phase 6.6: hermes Enhancement Complete") print(f"βœ… High Priority Features: {len(result['features_implemented'])} implemented") print(f"βœ… Ready for: Production deployment and user adoption") diff --git a/apps/coordinator-api/src/app/config.py b/apps/coordinator-api/src/app/config.py index fddf0083..a3d3e07b 100755 --- a/apps/coordinator-api/src/app/config.py +++ b/apps/coordinator-api/src/app/config.py @@ -139,7 +139,7 @@ class Settings(BaseSettings): "http://localhost:8012", # Modality Optimization "http://localhost:8013", # Adaptive Learning "http://localhost:8014", # Marketplace Enhanced - "http://localhost:8015", # OpenClaw Enhanced + "http://localhost:8015", # hermes Enhanced "http://localhost:8016", # Web UI ] diff --git a/apps/coordinator-api/src/app/config_pg.py b/apps/coordinator-api/src/app/config_pg.py index 60985ed8..c15e16dd 100755 --- a/apps/coordinator-api/src/app/config_pg.py +++ b/apps/coordinator-api/src/app/config_pg.py @@ -47,7 +47,7 @@ class Settings(BaseSettings): "http://localhost:8012", # Modality Optimization "http://localhost:8013", # Adaptive Learning "http://localhost:8014", # Marketplace Enhanced - "http://localhost:8015", # OpenClaw Enhanced + "http://localhost:8015", # hermes Enhanced "http://localhost:8016", # Web UI "https://aitbc.bubuit.net", "https://aitbc.bubuit.net:8011", diff --git a/apps/coordinator-api/src/app/domain/agent_performance.py b/apps/coordinator-api/src/app/domain/agent_performance.py index 69f10d21..bc151e8c 100755 --- a/apps/coordinator-api/src/app/domain/agent_performance.py +++ b/apps/coordinator-api/src/app/domain/agent_performance.py @@ -70,7 +70,7 @@ class AgentPerformanceProfile(SQLModel, table=True): # Agent identification agent_id: str = Field(index=True) - agent_type: str = Field(default="openclaw") + agent_type: str = Field(default="hermes") agent_version: str = Field(default="1.0.0") # Performance metrics diff --git a/apps/coordinator-api/src/app/domain/community.py b/apps/coordinator-api/src/app/domain/community.py index e9750658..c15a9d1e 100755 --- a/apps/coordinator-api/src/app/domain/community.py +++ b/apps/coordinator-api/src/app/domain/community.py @@ -1,6 +1,6 @@ """ Community and Developer Ecosystem Models -Database models for OpenClaw agent community, third-party solutions, and innovation labs +Database models for hermes agent community, third-party solutions, and innovation labs """ import uuid @@ -44,7 +44,7 @@ class HackathonStatus(StrEnum): class DeveloperProfile(SQLModel, table=True): - """Profile for a developer in the OpenClaw community""" + """Profile for a developer in the hermes community""" __tablename__ = "developer_profiles" diff --git a/apps/coordinator-api/src/app/domain/governance.py b/apps/coordinator-api/src/app/domain/governance.py index 0a050f7b..41d671d5 100755 --- a/apps/coordinator-api/src/app/domain/governance.py +++ b/apps/coordinator-api/src/app/domain/governance.py @@ -1,6 +1,6 @@ """ Decentralized Governance Models -Database models for OpenClaw DAO, voting, proposals, and governance analytics +Database models for hermes DAO, voting, proposals, and governance analytics """ import uuid diff --git a/apps/coordinator-api/src/app/main.py b/apps/coordinator-api/src/app/main.py index 0853b106..c5c3c96b 100755 --- a/apps/coordinator-api/src/app/main.py +++ b/apps/coordinator-api/src/app/main.py @@ -77,7 +77,7 @@ except ImportError: print("WARNING: ML ZK proofs router not available (missing tenseal)") from .routers.marketplace_enhanced_simple import router as marketplace_enhanced from .routers.monitoring_dashboard import router as monitoring_dashboard -from .routers.openclaw_enhanced_simple import router as openclaw_enhanced +from .routers.hermes_enhanced_simple import router as hermes_enhanced # Skip optional routers with missing dependencies try: @@ -339,7 +339,7 @@ def create_app() -> FastAPI: if ml_zk_proofs: app.include_router(ml_zk_proofs) app.include_router(marketplace_enhanced, prefix="/v1") - app.include_router(openclaw_enhanced, prefix="/v1") + app.include_router(hermes_enhanced, prefix="/v1") app.include_router(monitoring_dashboard, prefix="/v1") app.include_router(agent_router.router, prefix="/v1/agents") app.include_router(agent_identity, prefix="/v1") diff --git a/apps/coordinator-api/src/app/routers/agent_performance.py b/apps/coordinator-api/src/app/routers/agent_performance.py index 80627d38..fa140438 100755 --- a/apps/coordinator-api/src/app/routers/agent_performance.py +++ b/apps/coordinator-api/src/app/routers/agent_performance.py @@ -47,7 +47,7 @@ class PerformanceProfileRequest(BaseModel): """Request model for performance profile creation""" agent_id: str - agent_type: str = Field(default="openclaw") + agent_type: str = Field(default="hermes") initial_metrics: Dict[str, float] = Field(default_factory=dict) diff --git a/apps/coordinator-api/src/app/routers/community.py b/apps/coordinator-api/src/app/routers/community.py index 6f76d467..cfadcbdd 100755 --- a/apps/coordinator-api/src/app/routers/community.py +++ b/apps/coordinator-api/src/app/routers/community.py @@ -4,7 +4,7 @@ from sqlalchemy.orm import Session """ Community and Developer Ecosystem API Endpoints -REST API for managing OpenClaw developer profiles, SDKs, solutions, and hackathons +REST API for managing hermes developer profiles, SDKs, solutions, and hackathons """ from typing import Any @@ -85,7 +85,7 @@ class HackathonCreateRequest(BaseModel): # Endpoints - Developer Ecosystem @router.post("/developers", response_model=DeveloperProfile) async def create_developer_profile(request: DeveloperProfileCreate, session: Annotated[Session, Depends(get_session)]) -> DeveloperProfile: - """Register a new developer in the OpenClaw ecosystem""" + """Register a new developer in the hermes ecosystem""" service = DeveloperEcosystemService(session) try: profile = await service.create_developer_profile( @@ -109,7 +109,7 @@ async def get_developer_profile(developer_id: str, session: Annotated[Session, D @router.get("/sdk/latest") async def get_latest_sdk(session: Annotated[Session, Depends(get_session)]) -> dict[str, Any]: - """Get information about the latest OpenClaw SDK releases""" + """Get information about the latest hermes SDK releases""" service = DeveloperEcosystemService(session) return await service.get_sdk_release_info() diff --git a/apps/coordinator-api/src/app/routers/governance.py b/apps/coordinator-api/src/app/routers/governance.py index 445595dd..953a4e33 100755 --- a/apps/coordinator-api/src/app/routers/governance.py +++ b/apps/coordinator-api/src/app/routers/governance.py @@ -4,7 +4,7 @@ from sqlalchemy.orm import Session """ Decentralized Governance API Endpoints -REST API for OpenClaw DAO voting, proposals, and governance analytics +REST API for hermes DAO voting, proposals, and governance analytics """ from __future__ import annotations diff --git a/apps/coordinator-api/src/app/routers/monitoring_dashboard.py b/apps/coordinator-api/src/app/routers/monitoring_dashboard.py index 296a22d0..880edd75 100755 --- a/apps/coordinator-api/src/app/routers/monitoring_dashboard.py +++ b/apps/coordinator-api/src/app/routers/monitoring_dashboard.py @@ -52,8 +52,8 @@ SERVICES = { "description": "NFT 2.0, royalties, analytics", "icon": "πŸͺ", }, - "openclaw_enhanced": { - "name": "OpenClaw Enhanced Service", + "hermes_enhanced": { + "name": "hermes Enhanced Service", "port": 8007, "url": "http://localhost:8007", "description": "Agent orchestration, edge computing", diff --git a/apps/coordinator-api/src/app/routers/openclaw_enhanced.py b/apps/coordinator-api/src/app/routers/openclaw_enhanced.py index a073bc3b..2df0e723 100755 --- a/apps/coordinator-api/src/app/routers/openclaw_enhanced.py +++ b/apps/coordinator-api/src/app/routers/openclaw_enhanced.py @@ -3,7 +3,7 @@ from typing import Annotated from sqlalchemy.orm import Session """ -OpenClaw Integration Enhancement API Router - Phase 6.6 +hermes Integration Enhancement API Router - Phase 6.6 REST API endpoints for advanced agent orchestration, edge computing integration, and ecosystem development """ @@ -14,7 +14,7 @@ logger = get_logger(__name__) from fastapi import APIRouter, Depends, HTTPException from ..deps import require_admin_key -from ..schemas.openclaw_enhanced import ( +from ..schemas.hermes_enhanced import ( AgentCollaborationRequest, AgentCollaborationResponse, EcosystemDevelopmentRequest, @@ -30,10 +30,10 @@ from ..schemas.openclaw_enhanced import ( SkillRoutingRequest, SkillRoutingResponse, ) -from ..services.openclaw_enhanced import OpenClawEnhancedService +from ..services.hermes_enhanced import hermesEnhancedService from ..storage import get_session -router = APIRouter(prefix="/openclaw/enhanced", tags=["OpenClaw Enhanced"]) +router = APIRouter(prefix="/hermes/enhanced", tags=["hermes Enhanced"]) @router.post("/routing/skill", response_model=SkillRoutingResponse) @@ -45,7 +45,7 @@ async def route_agent_skill( """Sophisticated agent skill routing""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.route_agent_skill( skill_type=routing_request.skill_type, requirements=routing_request.requirements, @@ -73,7 +73,7 @@ async def intelligent_job_offloading( """Intelligent job offloading strategies""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.offload_job_intelligently( job_data=offloading_request.job_data, cost_optimization=offloading_request.cost_optimization, @@ -102,7 +102,7 @@ async def coordinate_agent_collaboration( """Agent collaboration and coordination""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.coordinate_agent_collaboration( task_data=collaboration_request.task_data, agent_ids=collaboration_request.agent_ids, @@ -131,7 +131,7 @@ async def optimize_hybrid_execution( """Hybrid execution optimization""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.optimize_hybrid_execution( execution_request=execution_request.execution_request, optimization_strategy=execution_request.optimization_strategy, @@ -159,7 +159,7 @@ async def deploy_to_edge( """Deploy agent to edge computing infrastructure""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.deploy_to_edge( agent_id=deployment_request.agent_id, edge_locations=deployment_request.edge_locations, @@ -188,7 +188,7 @@ async def coordinate_edge_to_cloud( """Coordinate edge-to-cloud agent operations""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.coordinate_edge_to_cloud( edge_deployment_id=coordination_request.edge_deployment_id, coordination_config=coordination_request.coordination_config, @@ -209,16 +209,16 @@ async def coordinate_edge_to_cloud( @router.post("/ecosystem/develop", response_model=EcosystemDevelopmentResponse) -async def develop_openclaw_ecosystem( +async def develop_hermes_ecosystem( ecosystem_request: EcosystemDevelopmentRequest, session: Session = Depends(Annotated[Session, Depends(get_session)]), current_user: str = Depends(require_admin_key()), ) -> EcosystemDevelopmentResponse: - """Build comprehensive OpenClaw ecosystem""" + """Build comprehensive hermes ecosystem""" try: - enhanced_service = OpenClawEnhancedService(session) - result = await enhanced_service.develop_openclaw_ecosystem(ecosystem_config=ecosystem_request.ecosystem_config) + enhanced_service = hermesEnhancedService(session) + result = await enhanced_service.develop_hermes_ecosystem(ecosystem_config=ecosystem_request.ecosystem_config) return EcosystemDevelopmentResponse( ecosystem_id=result["ecosystem_id"], @@ -230,5 +230,5 @@ async def develop_openclaw_ecosystem( ) except Exception as e: - logger.error(f"Error developing OpenClaw ecosystem: {e}") + logger.error(f"Error developing hermes ecosystem: {e}") raise HTTPException(status_code=500, detail=str(e)) diff --git a/apps/coordinator-api/src/app/routers/openclaw_enhanced_app.py b/apps/coordinator-api/src/app/routers/openclaw_enhanced_app.py index b93ac732..aa97fe1c 100755 --- a/apps/coordinator-api/src/app/routers/openclaw_enhanced_app.py +++ b/apps/coordinator-api/src/app/routers/openclaw_enhanced_app.py @@ -1,7 +1,7 @@ """ -OpenClaw Enhanced Service - FastAPI Entry Point +hermes Enhanced Service - FastAPI Entry Point """ from typing import Any @@ -9,13 +9,13 @@ from typing import Any from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware -from .openclaw_enhanced_health import router as health_router -from .openclaw_enhanced_simple import router +from .hermes_enhanced_health import router as health_router +from .hermes_enhanced_simple import router app = FastAPI( - title="AITBC OpenClaw Enhanced Service", + title="AITBC hermes Enhanced Service", version="1.0.0", - description="OpenClaw integration with agent orchestration and edge computing", + description="hermes integration with agent orchestration and edge computing", ) app.add_middleware( @@ -35,7 +35,7 @@ app.include_router(health_router, tags=["health"]) @app.get("/health") async def health() -> dict[str, str]: - return {"status": "ok", "service": "openclaw-enhanced"} + return {"status": "ok", "service": "hermes-enhanced"} @app.get("/health/detailed") @@ -48,7 +48,7 @@ async def detailed_health() -> dict[str, Any]: return { "status": "healthy", - "service": "openclaw-enhanced", + "service": "hermes-enhanced", "port": 8014, "timestamp": datetime.now(timezone.utc).isoformat(), "python_version": "3.13.5", diff --git a/apps/coordinator-api/src/app/routers/openclaw_enhanced_health.py b/apps/coordinator-api/src/app/routers/openclaw_enhanced_health.py index 2f118d5d..9cb12204 100755 --- a/apps/coordinator-api/src/app/routers/openclaw_enhanced_health.py +++ b/apps/coordinator-api/src/app/routers/openclaw_enhanced_health.py @@ -1,7 +1,7 @@ from typing import Annotated """ -OpenClaw Enhanced Service Health Check Router +hermes Enhanced Service Health Check Router Provides health monitoring for agent orchestration, edge computing, and ecosystem development """ @@ -15,21 +15,21 @@ from sqlalchemy.orm import Session from aitbc import get_logger -from ..services.openclaw_enhanced import OpenClawEnhancedService +from ..services.hermes_enhanced import hermesEnhancedService from ..storage import get_session router = APIRouter() logger = get_logger(__name__) -@router.get("/health", tags=["health"], summary="OpenClaw Enhanced Service Health") -async def openclaw_enhanced_health(session: Annotated[Session, Depends(get_session)]) -> dict[str, Any]: +@router.get("/health", tags=["health"], summary="hermes Enhanced Service Health") +async def hermes_enhanced_health(session: Annotated[Session, Depends(get_session)]) -> dict[str, Any]: """ - Health check for OpenClaw Enhanced Service (Port 8007) + Health check for hermes Enhanced Service (Port 8007) """ try: # Initialize service - OpenClawEnhancedService(session) + hermesEnhancedService(session) # Check system resources cpu_percent = psutil.cpu_percent(interval=1) @@ -41,7 +41,7 @@ async def openclaw_enhanced_health(session: Annotated[Session, Depends(get_sessi service_status = { "status": "healthy" if edge_status["available"] else "degraded", - "service": "openclaw-enhanced", + "service": "hermes-enhanced", "port": 8007, "timestamp": datetime.now(timezone.utc).isoformat(), "python_version": f"{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}", @@ -55,7 +55,7 @@ async def openclaw_enhanced_health(session: Annotated[Session, Depends(get_sessi }, # Edge computing status "edge_computing": edge_status, - # OpenClaw capabilities + # hermes capabilities "capabilities": { "agent_orchestration": True, "edge_deployment": True, @@ -86,29 +86,29 @@ async def openclaw_enhanced_health(session: Annotated[Session, Depends(get_sessi }, } - logger.info("OpenClaw Enhanced Service health check completed successfully") + logger.info("hermes Enhanced Service health check completed successfully") return service_status except Exception as e: - logger.error(f"OpenClaw Enhanced Service health check failed: {e}") + logger.error(f"hermes Enhanced Service health check failed: {e}") return { "status": "unhealthy", - "service": "openclaw-enhanced", + "service": "hermes-enhanced", "port": 8007, "timestamp": datetime.now(timezone.utc).isoformat(), "error": "Health check failed", } -@router.get("/health/deep", tags=["health"], summary="Deep OpenClaw Enhanced Service Health") -async def openclaw_enhanced_deep_health(session: Annotated[Session, Depends(get_session)]) -> dict[str, Any]: +@router.get("/health/deep", tags=["health"], summary="Deep hermes Enhanced Service Health") +async def hermes_enhanced_deep_health(session: Annotated[Session, Depends(get_session)]) -> dict[str, Any]: """ - Deep health check with OpenClaw ecosystem validation + Deep health check with hermes ecosystem validation """ try: - OpenClawEnhancedService(session) + hermesEnhancedService(session) - # Test each OpenClaw feature + # Test each hermes feature feature_tests = {} # Test agent orchestration @@ -160,7 +160,7 @@ async def openclaw_enhanced_deep_health(session: Annotated[Session, Depends(get_ return { "status": "healthy" if edge_status["available"] else "degraded", - "service": "openclaw-enhanced", + "service": "hermes-enhanced", "port": 8007, "timestamp": datetime.now(timezone.utc).isoformat(), "feature_tests": feature_tests, @@ -173,10 +173,10 @@ async def openclaw_enhanced_deep_health(session: Annotated[Session, Depends(get_ } except Exception as e: - logger.error(f"Deep OpenClaw Enhanced health check failed: {e}") + logger.error(f"Deep hermes Enhanced health check failed: {e}") return { "status": "unhealthy", - "service": "openclaw-enhanced", + "service": "hermes-enhanced", "port": 8007, "timestamp": datetime.now(timezone.utc).isoformat(), "error": "Deep health check failed", diff --git a/apps/coordinator-api/src/app/routers/openclaw_enhanced_simple.py b/apps/coordinator-api/src/app/routers/openclaw_enhanced_simple.py index 33d69c10..1fc19fb5 100755 --- a/apps/coordinator-api/src/app/routers/openclaw_enhanced_simple.py +++ b/apps/coordinator-api/src/app/routers/openclaw_enhanced_simple.py @@ -3,8 +3,8 @@ from typing import Annotated from sqlalchemy.orm import Session """ -OpenClaw Enhanced API Router - Simplified Version -REST API endpoints for OpenClaw integration features +hermes Enhanced API Router - Simplified Version +REST API endpoints for hermes integration features """ from typing import Any @@ -18,10 +18,10 @@ from pydantic import BaseModel, Field from sqlmodel import Session from ..deps import require_admin_key -from ..services.openclaw_enhanced_simple import OpenClawEnhancedService, SkillType +from ..services.hermes_enhanced_simple import hermesEnhancedService, SkillType from ..storage import get_session -router = APIRouter(prefix="/openclaw/enhanced", tags=["OpenClaw Enhanced"]) +router = APIRouter(prefix="/hermes/enhanced", tags=["hermes Enhanced"]) class SkillRoutingRequest(BaseModel): @@ -85,7 +85,7 @@ async def route_agent_skill( """Route agent skill to appropriate agent""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.route_agent_skill( skill_type=request.skill_type, requirements=request.requirements, @@ -108,7 +108,7 @@ async def intelligent_job_offloading( """Intelligent job offloading strategies""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.offload_job_intelligently( job_data=request.job_data, cost_optimization=request.cost_optimization, @@ -131,7 +131,7 @@ async def coordinate_agent_collaboration( """Agent collaboration and coordination""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.coordinate_agent_collaboration( task_data=request.task_data, agent_ids=request.agent_ids, coordination_algorithm=request.coordination_algorithm ) @@ -152,7 +152,7 @@ async def optimize_hybrid_execution( """Hybrid execution optimization""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.optimize_hybrid_execution( execution_request=request.execution_request, optimization_strategy=request.optimization_strategy ) @@ -173,7 +173,7 @@ async def deploy_to_edge( """Deploy agent to edge computing infrastructure""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.deploy_to_edge( agent_id=request.agent_id, edge_locations=request.edge_locations, deployment_config=request.deployment_config ) @@ -194,7 +194,7 @@ async def coordinate_edge_to_cloud( """Coordinate edge-to-cloud agent operations""" try: - enhanced_service = OpenClawEnhancedService(session) + enhanced_service = hermesEnhancedService(session) result = await enhanced_service.coordinate_edge_to_cloud( edge_deployment_id=request.edge_deployment_id, coordination_config=request.coordination_config ) @@ -207,19 +207,19 @@ async def coordinate_edge_to_cloud( @router.post("/ecosystem/develop") -async def develop_openclaw_ecosystem( +async def develop_hermes_ecosystem( request: EcosystemDevelopmentRequest, session: Session = Depends(Annotated[Session, Depends(get_session)]), current_user: str = Depends(require_admin_key()), ) -> dict[str, Any]: - """Build OpenClaw ecosystem components""" + """Build hermes ecosystem components""" try: - enhanced_service = OpenClawEnhancedService(session) - result = await enhanced_service.develop_openclaw_ecosystem(ecosystem_config=request.ecosystem_config) + enhanced_service = hermesEnhancedService(session) + result = await enhanced_service.develop_hermes_ecosystem(ecosystem_config=request.ecosystem_config) return result except Exception as e: - logger.error(f"Error developing OpenClaw ecosystem: {e}") + logger.error(f"Error developing hermes ecosystem: {e}") raise HTTPException(status_code=500, detail=str(e)) diff --git a/apps/coordinator-api/src/app/schemas/openclaw_enhanced.py b/apps/coordinator-api/src/app/schemas/openclaw_enhanced.py index b327249a..c8357552 100755 --- a/apps/coordinator-api/src/app/schemas/openclaw_enhanced.py +++ b/apps/coordinator-api/src/app/schemas/openclaw_enhanced.py @@ -1,6 +1,6 @@ """ -OpenClaw Enhanced Pydantic Schemas - Phase 6.6 -Request and response models for advanced OpenClaw integration features +hermes Enhanced Pydantic Schemas - Phase 6.6 +Request and response models for advanced hermes integration features """ from enum import StrEnum diff --git a/apps/coordinator-api/src/app/services/agent_orchestrator.py b/apps/coordinator-api/src/app/services/agent_orchestrator.py index fe5b4975..355a4fd9 100755 --- a/apps/coordinator-api/src/app/services/agent_orchestrator.py +++ b/apps/coordinator-api/src/app/services/agent_orchestrator.py @@ -1,5 +1,5 @@ """ -Agent Orchestrator Service for OpenClaw Autonomous Economics +Agent Orchestrator Service for hermes Autonomous Economics Implements multi-agent coordination and sub-task management """ diff --git a/apps/coordinator-api/src/app/services/agent_performance_service.py b/apps/coordinator-api/src/app/services/agent_performance_service.py index 7e33dfa3..7ddf5847 100755 --- a/apps/coordinator-api/src/app/services/agent_performance_service.py +++ b/apps/coordinator-api/src/app/services/agent_performance_service.py @@ -1,6 +1,6 @@ """ Advanced Agent Performance Service -Implements meta-learning, resource optimization, and performance enhancement for OpenClaw agents +Implements meta-learning, resource optimization, and performance enhancement for hermes agents """ import asyncio @@ -849,7 +849,7 @@ class AgentPerformanceService: self.performance_optimizer = PerformanceOptimizer() async def create_performance_profile( - self, agent_id: str, agent_type: str = "openclaw", initial_metrics: dict[str, float] | None = None + self, agent_id: str, agent_type: str = "hermes", initial_metrics: dict[str, float] | None = None ) -> AgentPerformanceProfile: """Create comprehensive agent performance profile""" @@ -886,7 +886,7 @@ class AgentPerformanceService: if not profile: # Create profile if it doesn't exist - profile = await self.create_performance_profile(agent_id, "openclaw", new_metrics) + profile = await self.create_performance_profile(agent_id, "hermes", new_metrics) else: # Update existing profile profile.performance_metrics.update(new_metrics) diff --git a/apps/coordinator-api/src/app/services/bid_strategy_engine.py b/apps/coordinator-api/src/app/services/bid_strategy_engine.py index 6fc75714..cce38304 100755 --- a/apps/coordinator-api/src/app/services/bid_strategy_engine.py +++ b/apps/coordinator-api/src/app/services/bid_strategy_engine.py @@ -1,5 +1,5 @@ """ -Bid Strategy Engine for OpenClaw Autonomous Economics +Bid Strategy Engine for hermes Autonomous Economics Implements intelligent bidding algorithms for GPU rental negotiations """ diff --git a/apps/coordinator-api/src/app/services/community_service.py b/apps/coordinator-api/src/app/services/community_service.py index f461476b..c17363aa 100755 --- a/apps/coordinator-api/src/app/services/community_service.py +++ b/apps/coordinator-api/src/app/services/community_service.py @@ -1,6 +1,6 @@ """ Community and Developer Ecosystem Services -Services for managing OpenClaw developer tools, SDKs, and third-party solutions +Services for managing hermes developer tools, SDKs, and third-party solutions """ from datetime import datetime, timezone diff --git a/apps/coordinator-api/src/app/services/governance_service.py b/apps/coordinator-api/src/app/services/governance_service.py index d8223780..1a75fb58 100755 --- a/apps/coordinator-api/src/app/services/governance_service.py +++ b/apps/coordinator-api/src/app/services/governance_service.py @@ -1,6 +1,6 @@ """ Decentralized Governance Service -Implements the OpenClaw DAO, voting mechanisms, and proposal lifecycle +Implements the hermes DAO, voting mechanisms, and proposal lifecycle Enhanced with multi-jurisdictional support and regional governance """ diff --git a/apps/coordinator-api/src/app/services/openclaw_enhanced.py b/apps/coordinator-api/src/app/services/openclaw_enhanced.py index a76337bf..a68125e3 100755 --- a/apps/coordinator-api/src/app/services/openclaw_enhanced.py +++ b/apps/coordinator-api/src/app/services/openclaw_enhanced.py @@ -1,5 +1,5 @@ """ -OpenClaw Integration Enhancement Service - Phase 6.6 +hermes Integration Enhancement Service - Phase 6.6 Implements advanced agent orchestration, edge computing integration, and ecosystem development """ @@ -34,8 +34,8 @@ class ExecutionMode(StrEnum): HYBRID = "hybrid" -class OpenClawEnhancedService: - """Enhanced OpenClaw integration service""" +class hermesEnhancedService: + """Enhanced hermes integration service""" def __init__(self, session: Session) -> None: self.session = session @@ -361,8 +361,8 @@ class OpenClawEnhancedService: "backup_locations": ["cloud-primary", "edge-secondary"], } - async def develop_openclaw_ecosystem(self, ecosystem_config: dict[str, Any]) -> dict[str, Any]: - """Build comprehensive OpenClaw ecosystem""" + async def develop_hermes_ecosystem(self, ecosystem_config: dict[str, Any]) -> dict[str, Any]: + """Build comprehensive hermes ecosystem""" # Create developer tools and SDKs developer_tools = await self._create_developer_tools(ecosystem_config) @@ -386,34 +386,34 @@ class OpenClawEnhancedService: } async def _create_developer_tools(self, config: dict[str, Any]) -> dict[str, Any]: - """Create OpenClaw developer tools and SDKs""" + """Create hermes developer tools and SDKs""" return { "sdk_version": "2.0.0", "languages": ["python", "javascript", "go", "rust"], "tools": ["cli", "ide-plugin", "debugger"], - "documentation": "https://docs.openclaw.ai", + "documentation": "https://docs.hermes.ai", } async def _create_agent_marketplace(self, config: dict[str, Any]) -> dict[str, Any]: - """Create OpenClaw marketplace for agent solutions""" + """Create hermes marketplace for agent solutions""" return { - "marketplace_url": "https://marketplace.openclaw.ai", + "marketplace_url": "https://marketplace.hermes.ai", "agent_categories": ["inference", "training", "custom"], "payment_methods": ["cryptocurrency", "fiat"], "revenue_model": "commission_based", } async def _develop_community_governance(self, config: dict[str, Any]) -> dict[str, Any]: - """Develop OpenClaw community and governance""" + """Develop hermes community and governance""" return { "governance_model": "dao", "voting_mechanism": "token_based", - "community_forum": "https://community.openclaw.ai", - "contribution_guidelines": "https://github.com/openclaw/contributing", + "community_forum": "https://community.hermes.ai", + "contribution_guidelines": "https://github.com/hermes/contributing", } async def _establish_partnership_programs(self, config: dict[str, Any]) -> dict[str, Any]: - """Establish OpenClaw partnership programs""" + """Establish hermes partnership programs""" return { "technology_partners": ["cloud_providers", "hardware_manufacturers"], "integration_partners": ["ai_frameworks", "ml_platforms"], diff --git a/apps/coordinator-api/src/app/services/openclaw_enhanced_simple.py b/apps/coordinator-api/src/app/services/openclaw_enhanced_simple.py index d5561bb4..ffbb7a20 100755 --- a/apps/coordinator-api/src/app/services/openclaw_enhanced_simple.py +++ b/apps/coordinator-api/src/app/services/openclaw_enhanced_simple.py @@ -1,6 +1,6 @@ """ -OpenClaw Enhanced Service - Simplified Version for Deployment -Basic OpenClaw integration features compatible with existing infrastructure +hermes Enhanced Service - Simplified Version for Deployment +Basic hermes integration features compatible with existing infrastructure """ from aitbc import get_logger @@ -32,8 +32,8 @@ class ExecutionMode(StrEnum): HYBRID = "hybrid" -class OpenClawEnhancedService: - """Simplified OpenClaw enhanced service""" +class hermesEnhancedService: + """Simplified hermes enhanced service""" def __init__(self, session: Session): self.session = session @@ -409,8 +409,8 @@ class OpenClawEnhancedService: logger.error(f"Error coordinating edge-to-cloud: {e}") raise - async def develop_openclaw_ecosystem(self, ecosystem_config: dict[str, Any]) -> dict[str, Any]: - """Develop OpenClaw ecosystem components""" + async def develop_hermes_ecosystem(self, ecosystem_config: dict[str, Any]) -> dict[str, Any]: + """Develop hermes ecosystem components""" try: ecosystem_id = f"ecosystem_{uuid4().hex[:8]}" @@ -420,12 +420,12 @@ class OpenClawEnhancedService: "sdk_version": "1.0.0", "languages": ["python", "javascript", "go"], "tools": ["cli", "sdk", "debugger"], - "documentation": "https://docs.openclaw.aitbc.net", + "documentation": "https://docs.hermes.aitbc.net", } # Marketplace marketplace = { - "marketplace_url": "https://marketplace.openclaw.aitbc.net", + "marketplace_url": "https://marketplace.hermes.aitbc.net", "agent_categories": ["inference", "training", "data_processing"], "payment_methods": ["AITBC", "BTC", "ETH"], "revenue_model": "commission_based", @@ -435,7 +435,7 @@ class OpenClawEnhancedService: community = { "governance_model": "dao", "voting_mechanism": "token_based", - "community_forum": "https://forum.openclaw.aitbc.net", + "community_forum": "https://forum.hermes.aitbc.net", "member_count": 150, } @@ -456,5 +456,5 @@ class OpenClawEnhancedService: } except Exception as e: - logger.error(f"Error developing OpenClaw ecosystem: {e}") + logger.error(f"Error developing hermes ecosystem: {e}") raise diff --git a/apps/coordinator-api/src/app/services/task_decomposition.py b/apps/coordinator-api/src/app/services/task_decomposition.py index 92ee252e..008e0cbb 100755 --- a/apps/coordinator-api/src/app/services/task_decomposition.py +++ b/apps/coordinator-api/src/app/services/task_decomposition.py @@ -1,5 +1,5 @@ """ -Task Decomposition Service for OpenClaw Autonomous Economics +Task Decomposition Service for hermes Autonomous Economics Implements intelligent task splitting and sub-task management """ diff --git a/apps/coordinator-api/tests/test_health_comprehensive.py b/apps/coordinator-api/tests/test_health_comprehensive.py index 0503f669..8c8d3740 100644 --- a/apps/coordinator-api/tests/test_health_comprehensive.py +++ b/apps/coordinator-api/tests/test_health_comprehensive.py @@ -105,8 +105,8 @@ class TestEnhancedServicesHealth: "port": 8006, "url": "http://localhost:8006", }, - "openclaw_enhanced": { - "name": "OpenClaw Enhanced Service", + "hermes_enhanced": { + "name": "hermes Enhanced Service", "port": 8007, "url": "http://localhost:8007", } diff --git a/apps/governance-service/src/governance_service/domain/governance.py b/apps/governance-service/src/governance_service/domain/governance.py index 4a682791..e87d1907 100644 --- a/apps/governance-service/src/governance_service/domain/governance.py +++ b/apps/governance-service/src/governance_service/domain/governance.py @@ -1,6 +1,6 @@ """ Decentralized Governance Models -Database models for OpenClaw DAO, voting, proposals, and governance analytics +Database models for hermes DAO, voting, proposals, and governance analytics """ import uuid diff --git a/apps/openclaw-service/poetry.lock b/apps/hermes-service/poetry.lock similarity index 100% rename from apps/openclaw-service/poetry.lock rename to apps/hermes-service/poetry.lock diff --git a/apps/openclaw-service/pyproject.toml b/apps/hermes-service/pyproject.toml similarity index 82% rename from apps/openclaw-service/pyproject.toml rename to apps/hermes-service/pyproject.toml index 39b92fb1..e7885a98 100644 --- a/apps/openclaw-service/pyproject.toml +++ b/apps/hermes-service/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] -name = "openclaw-service" +name = "hermes-service" version = "0.1.0" -description = "AITBC OpenClaw Service for agent orchestration and edge computing" +description = "AITBC hermes Service for agent orchestration and edge computing" authors = ["AITBC Team"] [tool.poetry.dependencies] diff --git a/apps/openclaw-service/src/openclaw_service/main.py b/apps/hermes-service/src/hermes_service/main.py similarity index 90% rename from apps/openclaw-service/src/openclaw_service/main.py rename to apps/hermes-service/src/hermes_service/main.py index 4669a092..2ff0bfbf 100644 --- a/apps/openclaw-service/src/openclaw_service/main.py +++ b/apps/hermes-service/src/hermes_service/main.py @@ -1,4 +1,4 @@ -"""OpenClaw Service for agent orchestration and edge computing.""" +"""Hermes Service for agent orchestration and edge computing.""" from __future__ import annotations @@ -9,7 +9,7 @@ from fastapi import FastAPI logger = logging.getLogger(__name__) app = FastAPI( - title="AITBC OpenClaw Service", + title="AITBC Hermes Service", description="Agent orchestration and edge computing service", version="1.0.0" ) @@ -18,14 +18,14 @@ app = FastAPI( @app.get("/health") async def health(): """Health check endpoint.""" - return {"status": "healthy", "service": "openclaw-service"} + return {"status": "healthy", "service": "hermes-service"} @app.get("/") async def root(): """Root endpoint.""" return { - "service": "AITBC OpenClaw Service", + "service": "AITBC Hermes Service", "version": "1.0.0", "status": "operational" } @@ -104,8 +104,8 @@ async def coordinate_edge_to_cloud(request: dict[str, Any]) -> dict[str, Any]: @app.post("/ecosystem/develop") -async def develop_openclaw_ecosystem(request: dict[str, Any]) -> dict[str, Any]: - """Build comprehensive OpenClaw ecosystem""" +async def develop_hermes_ecosystem(request: dict[str, Any]) -> dict[str, Any]: + """Build comprehensive Hermes ecosystem""" return { "ecosystem_id": "eco_789", "developer_tools": ["cli", "sdk", "dashboard"], diff --git a/cli/CLI_USAGE_GUIDE.md b/cli/CLI_USAGE_GUIDE.md index 6e31f574..cb2ce902 100644 --- a/cli/CLI_USAGE_GUIDE.md +++ b/cli/CLI_USAGE_GUIDE.md @@ -25,7 +25,7 @@ The AITBC CLI provides 27 commands for comprehensive blockchain management: - `ai-ops` - AI compute operations - `mining` - Mining operations and status - `agent` - AI agent workflow and execution management -- `openclaw` - OpenClaw agent ecosystem operations +- `hermes` - Hermes agent ecosystem operations - `workflow` - Workflow automation and management - `resource` - Resource management and optimization - `system` - System status and information @@ -52,8 +52,8 @@ aitbc list **Output:** ``` Wallets: - openclaw-backup: ait1cebd266469be5f85b5f0052f1556b5d708b42de9 - openclaw-trainee: ait10a252a31c79939c689bf392e960afc7861df5ee9 + hermes-backup: ait1cebd266469be5f85b5f0052f1556b5d708b42de9 + hermes-trainee: ait10a252a31c79939c689bf392e960afc7861df5ee9 ``` ### 2. Get Balance @@ -66,12 +66,12 @@ aitbc balance --name <wallet-name> **Examples:** ```bash # Get balance for specific wallet -aitbc balance --name openclaw-backup +aitbc balance --name hermes-backup ``` **Output:** ``` -Wallet: openclaw-backup +Wallet: hermes-backup Address: ait1cebd266469be5f85b5f0052f1556b5d708b42de9 Balance: 0 AIT Nonce: 0 diff --git a/cli/aitbc_cli.py b/cli/aitbc_cli.py index 279a2f80..f7cbca4d 100755 --- a/cli/aitbc_cli.py +++ b/cli/aitbc_cli.py @@ -1292,8 +1292,8 @@ def agent_operations(action: str, **kwargs) -> Optional[Dict]: return None -def openclaw_training_operations(action: str, **kwargs) -> Optional[Dict]: - """Handle OpenClaw agent ecosystem operations""" +def hermes_training_operations(action: str, **kwargs) -> Optional[Dict]: + """Handle hermes agent ecosystem operations""" try: if action == "deploy": return { @@ -1301,7 +1301,7 @@ def openclaw_training_operations(action: str, **kwargs) -> Optional[Dict]: "deployment_id": f"deploy_{int(time.time())}", "environment": kwargs.get("environment", "dev"), "status": "Deploying", - "agent_id": f"openclaw_{int(time.time())}", + "agent_id": f"hermes_{int(time.time())}", "estimated_deployment_time": "2-3 minutes", "deployment_cost": "50 AIT" } @@ -1325,9 +1325,9 @@ def openclaw_training_operations(action: str, **kwargs) -> Optional[Dict]: "action": "market", "market_action": "list", "agents": [ - {"id": "openclaw_001", "name": "Data Analysis Pro", "price": 100, "rating": 4.8}, - {"id": "openclaw_002", "name": "Trading Expert", "price": 250, "rating": 4.6}, - {"id": "openclaw_003", "name": "Content Creator", "price": 75, "rating": 4.9} + {"id": "hermes_001", "name": "Data Analysis Pro", "price": 100, "rating": 4.8}, + {"id": "hermes_002", "name": "Trading Expert", "price": 250, "rating": 4.6}, + {"id": "hermes_003", "name": "Content Creator", "price": 75, "rating": 4.9} ], "total_available": 3 } @@ -1373,17 +1373,17 @@ def openclaw_training_operations(action: str, **kwargs) -> Optional[Dict]: os.makedirs(log_dir, exist_ok=True) log_file = f"{log_dir}/agent_{kwargs.get('agent_id')}_{stage}_{int(time.time())}.log" - # Execute training operations with actual OpenClaw calls + # Execute training operations with actual hermes calls operations = training_config.get('training_data', {}).get('operations', []) completed_ops = 0 failed_ops = 0 - # OpenClaw service endpoints + # hermes service endpoints agent_coordinator_url = "http://localhost:9001" exchange_url = "http://localhost:8001" blockchain_rpc_url = "http://localhost:8006" - # Write training log with actual OpenClaw calls + # Write training log with actual hermes calls for i, op in enumerate(operations, 1): operation = op.get('operation') parameters = op.get('parameters', {}) @@ -1399,16 +1399,16 @@ def openclaw_training_operations(action: str, **kwargs) -> Optional[Dict]: } } - # Execute training via OpenClaw agent with allowlist enabled + # Execute training via hermes agent with allowlist enabled start_time = time.time() try: - # Build prompt for OpenClaw agent to execute AITBC command + # Build prompt for hermes agent to execute AITBC command prompt_message = f"Execute AITBC CLI command: {operation}" if parameters: prompt_message += f" with parameters: {json.dumps(parameters)}" - # Use OpenClaw agent with allowlist (AITBC CLI now allowed) - cmd = ["openclaw", "agent", "--message", prompt_message, "--agent", "main"] + # Use hermes agent with allowlist (AITBC CLI now allowed) + cmd = ["hermes", "agent", "--message", prompt_message, "--agent", "main"] try: result = subprocess.run(cmd, capture_output=True, text=True, timeout=30) @@ -1551,7 +1551,7 @@ def openclaw_training_operations(action: str, **kwargs) -> Optional[Dict]: return {"action": action, "status": "Not implemented yet"} except Exception as e: - print(f"Error in OpenClaw operations: {e}") + print(f"Error in hermes operations: {e}") return None @@ -2132,7 +2132,7 @@ def legacy_main(): mining_parser.add_argument("--wallet", help="Wallet name for mining rewards") mining_parser.add_argument("--rpc-url", default=DEFAULT_RPC_URL, help="RPC URL") - # Agent management commands (OpenClaw agent focused) + # Agent management commands (hermes agent focused) agent_parser = subparsers.add_parser("agent", help="AI agent workflow and execution management") agent_subparsers = agent_parser.add_subparsers(dest="agent_action", help="Agent actions") @@ -2162,27 +2162,27 @@ def legacy_main(): agent_list_parser = agent_subparsers.add_parser("list", help="List available agent workflows") agent_list_parser.add_argument("--status", choices=["active", "completed", "failed"], help="Filter by status") - # OpenClaw specific commands - openclaw_parser = subparsers.add_parser("openclaw", help="OpenClaw agent ecosystem operations") - openclaw_subparsers = openclaw_parser.add_subparsers(dest="openclaw_action", help="OpenClaw actions") + # hermes specific commands + hermes_parser = subparsers.add_parser("hermes", help="hermes agent ecosystem operations") + hermes_subparsers = hermes_parser.add_subparsers(dest="hermes_action", help="hermes actions") - # OpenClaw deploy - openclaw_deploy_parser = openclaw_subparsers.add_parser("deploy", help="Deploy OpenClaw agent") - openclaw_deploy_parser.add_argument("--agent-file", required=True, help="Agent configuration file") - openclaw_deploy_parser.add_argument("--wallet", required=True, help="Wallet for deployment costs") - openclaw_deploy_parser.add_argument("--environment", choices=["dev", "staging", "prod"], default="dev", help="Deployment environment") + # hermes deploy + hermes_deploy_parser = hermes_subparsers.add_parser("deploy", help="Deploy hermes agent") + hermes_deploy_parser.add_argument("--agent-file", required=True, help="Agent configuration file") + hermes_deploy_parser.add_argument("--wallet", required=True, help="Wallet for deployment costs") + hermes_deploy_parser.add_argument("--environment", choices=["dev", "staging", "prod"], default="dev", help="Deployment environment") - # OpenClaw monitor - openclaw_monitor_parser = openclaw_subparsers.add_parser("monitor", help="Monitor OpenClaw agent performance") - openclaw_monitor_parser.add_argument("--agent-id", help="Specific agent ID to monitor") - openclaw_monitor_parser.add_argument("--metrics", choices=["performance", "cost", "errors", "all"], default="all", help="Metrics to show") + # hermes monitor + hermes_monitor_parser = hermes_subparsers.add_parser("monitor", help="Monitor hermes agent performance") + hermes_monitor_parser.add_argument("--agent-id", help="Specific agent ID to monitor") + hermes_monitor_parser.add_argument("--metrics", choices=["performance", "cost", "errors", "all"], default="all", help="Metrics to show") - # OpenClaw market - openclaw_market_parser = openclaw_subparsers.add_parser("market", help="OpenClaw agent marketplace") - openclaw_market_parser.add_argument("--action", choices=["list", "publish", "purchase", "evaluate"], + # hermes market + hermes_market_parser = hermes_subparsers.add_parser("market", help="hermes agent marketplace") + hermes_market_parser.add_argument("--action", choices=["list", "publish", "purchase", "evaluate"], required=True, help="Market action") - openclaw_market_parser.add_argument("--agent-id", help="Agent ID for market operations") - openclaw_market_parser.add_argument("--price", type=float, help="Price for market operations") + hermes_market_parser.add_argument("--agent-id", help="Agent ID for market operations") + hermes_market_parser.add_argument("--price", type=float, help="Price for market operations") # Workflow automation commands workflow_parser = subparsers.add_parser("workflow", help="Workflow automation and management") @@ -2600,7 +2600,7 @@ def legacy_main(): else: sys.exit(1) - elif args.command == "openclaw": + elif args.command == "hermes": # Only pass arguments that are defined for this subcommand kwargs = {} if hasattr(args, 'agent_file') and args.agent_file: @@ -2614,14 +2614,14 @@ def legacy_main(): if hasattr(args, 'metrics') and args.metrics: kwargs['metrics'] = args.metrics # Handle the market action parameter specifically - if hasattr(args, 'action') and args.action and args.openclaw_action == 'market': + if hasattr(args, 'action') and args.action and args.hermes_action == 'market': kwargs['market_action'] = args.action if hasattr(args, 'price') and args.price: kwargs['price'] = args.price - result = openclaw_operations(args.openclaw_action, **kwargs) + result = hermes_operations(args.hermes_action, **kwargs) if result: - print(f"OpenClaw {result['action']}:") + print(f"hermes {result['action']}:") for key, value in result.items(): if key != "action": if isinstance(value, list): @@ -2989,13 +2989,13 @@ def legacy_main(): print("Falling back to mock balances:") print(" genesis: 10000 AIT") print(" aitbc1: 5000 AIT") - print(" openclaw-trainee: 100 AIT") + print(" hermes-trainee: 100 AIT") except Exception as e: print(f"Warning: Failed to query wallet daemon: {e}") print("Falling back to mock balances:") print(" genesis: 10000 AIT") print(" aitbc1: 5000 AIT") - print(" openclaw-trainee: 100 AIT") + print(" hermes-trainee: 100 AIT") elif args.name: try: http_client = AITBCHTTPClient(base_url=daemon_url, timeout=5) @@ -3045,7 +3045,7 @@ def legacy_main(): print("All wallet balances:") print(" genesis: 10000 AIT") print(" aitbc1: 5000 AIT") - print(" openclaw-trainee: 100 AIT") + print(" hermes-trainee: 100 AIT") elif args.command == "mining": # Handle flag-based commands diff --git a/cli/aitbc_cli/config.py b/cli/aitbc_cli/config.py index c1b39369..45c2ffdf 100644 --- a/cli/aitbc_cli/config.py +++ b/cli/aitbc_cli/config.py @@ -31,7 +31,7 @@ class CLIConfig(BaseAITBCConfig): governance_service_url: str = Field(default="http://localhost:8105", description="Governance Service URL") ai_service_url: str = Field(default="http://localhost:8106", description="AI Service URL") monitoring_service_url: str = Field(default="http://localhost:8107", description="Monitoring Service URL") - openclaw_service_url: str = Field(default="http://localhost:8108", description="OpenClaw Service URL") + hermes_service_url: str = Field(default="http://localhost:8108", description="hermes Service URL") plugin_service_url: str = Field(default="http://localhost:8109", description="Plugin Service URL") wallet_daemon_url: str = Field(default="http://localhost:8003", description="Wallet daemon URL") wallet_url: str = Field(default="http://localhost:8003", description="Wallet daemon URL (alias for compatibility)") diff --git a/cli/cleanup/CLI_CLEANUP_SUMMARY.md b/cli/cleanup/CLI_CLEANUP_SUMMARY.md index 1f568a48..035c430f 100644 --- a/cli/cleanup/CLI_CLEANUP_SUMMARY.md +++ b/cli/cleanup/CLI_CLEANUP_SUMMARY.md @@ -65,7 +65,7 @@ cli/ 13. **agent** - Agent operations 14. **multimodal** - Multimodal AI operations 15. **optimize** - Optimization operations -16. **openclaw** - OpenClaw operations +16. **hermes** - hermes operations 17. **advanced** - Advanced marketplace operations 18. **swarm** - Swarm operations 19. **plugin** - Plugin management diff --git a/cli/commands/dao.py b/cli/commands/dao.py index 237286b0..780ee018 100644 --- a/cli/commands/dao.py +++ b/cli/commands/dao.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 """ -OpenClaw DAO CLI Commands +Hermes DAO CLI Commands Provides command-line interface for DAO governance operations """ @@ -14,7 +14,7 @@ from utils.config import load_config @click.group() def dao(): - """OpenClaw DAO governance commands""" + """Hermes DAO governance commands""" pass @dao.command() @@ -22,7 +22,7 @@ def dao(): @click.option('--timelock-address', required=True, help='Timelock controller address') @click.option('--network', default='mainnet', help='Blockchain network') def deploy(token_address: str, timelock_address: str, network: str): - """Deploy OpenClaw DAO contract""" + """Deploy Hermes DAO contract""" try: w3 = get_web3_connection(network) config = load_config() @@ -60,7 +60,7 @@ def deploy(token_address: str, timelock_address: str, network: str): # Wait for confirmation receipt = w3.eth.wait_for_transaction_receipt(tx_hash) - click.echo(f"βœ… OpenClaw DAO deployed at: {receipt.contractAddress}") + click.echo(f"βœ… Hermes DAO deployed at: {receipt.contractAddress}") click.echo(f"πŸ“¦ Transaction hash: {tx_hash.hex()}") except Exception as e: @@ -87,7 +87,7 @@ def propose(dao_address: str, targets: str, values: str, calldatas: str, calldata_list = calldatas.split(',') # Get contract - dao_contract = get_contract(dao_address, "OpenClawDAO") + dao_contract = get_contract(dao_address, "HermesDAO") # Build transaction tx = dao_contract.functions.propose( @@ -137,7 +137,7 @@ def vote(dao_address: str, proposal_id: int): config = load_config() # Get contract - dao_contract = get_contract(dao_address, "OpenClawDAO") + dao_contract = get_contract(dao_address, "HermesDAO") # Check proposal state state = dao_contract.functions.state(proposal_id).call() @@ -196,7 +196,7 @@ def execute(dao_address: str, proposal_id: int): config = load_config() # Get contract - dao_contract = get_contract(dao_address, "OpenClawDAO") + dao_contract = get_contract(dao_address, "HermesDAO") # Check proposal state state = dao_contract.functions.state(proposal_id).call() @@ -228,7 +228,7 @@ def list_proposals(dao_address: str): """List all proposals""" try: w3 = get_web3_connection() - dao_contract = get_contract(dao_address, "OpenClawDAO") + dao_contract = get_contract(dao_address, "HermesDAO") # Get proposal count proposal_count = dao_contract.functions.proposalCount().call() @@ -277,7 +277,7 @@ def status(dao_address: str): """Show DAO status and statistics""" try: w3 = get_web3_connection() - dao_contract = get_contract(dao_address, "OpenClawDAO") + dao_contract = get_contract(dao_address, "HermesDAO") # Get DAO info token_address = dao_contract.functions.governanceToken().call() @@ -289,7 +289,7 @@ def status(dao_address: str): # Get active proposals active_proposals = dao_contract.functions.getActiveProposals().call() - click.echo("πŸ›οΈ OpenClaw DAO Status") + click.echo("πŸ›οΈ Hermes DAO Status") click.echo("=" * 40) click.echo(f"πŸ“Š Total Supply: {total_supply / 1e18:.2f} tokens") click.echo(f"πŸ“‹ Total Proposals: {proposal_count}") diff --git a/cli/commands/openclaw.py b/cli/commands/hermes.py similarity index 93% rename from cli/commands/openclaw.py rename to cli/commands/hermes.py index bf911614..2df55a66 100755 --- a/cli/commands/openclaw.py +++ b/cli/commands/hermes.py @@ -1,4 +1,4 @@ -"""OpenClaw integration commands for AITBC CLI""" +"""hermes integration commands for AITBC CLI""" import click import httpx @@ -12,8 +12,8 @@ from utils import output, error, success, warning @click.group() -def openclaw(): - """OpenClaw integration with edge computing deployment""" +def hermes(): + """hermes integration with edge computing deployment""" pass @@ -23,7 +23,7 @@ def deploy(): pass -openclaw.add_command(deploy) +hermes.add_command(deploy) @deploy.command() @@ -36,7 +36,7 @@ openclaw.add_command(deploy) @click.pass_context def deploy_agent(ctx, agent_id: str, region: str, instances: int, instance_type: str, edge_locations: Optional[str], auto_scale: bool): - """Deploy agent to OpenClaw network""" + """Deploy agent to hermes network""" config = ctx.obj['config'] deployment_data = { @@ -53,7 +53,7 @@ def deploy_agent(ctx, agent_id: str, region: str, instances: int, instance_type: try: with httpx.Client() as client: response = client.post( - f"{config.coordinator_url}/openclaw/deploy", + f"{config.coordinator_url}/hermes/deploy", headers={"X-Api-Key": config.api_key or ""}, json=deployment_data ) @@ -92,7 +92,7 @@ def scale(ctx, deployment_id: str, instances: int, auto_scale: bool, min_instanc try: with httpx.Client() as client: response = client.post( - f"{config.coordinator_url}/openclaw/deployments/{deployment_id}/scale", + f"{config.coordinator_url}/hermes/deployments/{deployment_id}/scale", headers={"X-Api-Key": config.api_key or ""}, json=scale_data ) @@ -126,7 +126,7 @@ def optimize(ctx, deployment_id: str, objective: str): try: with httpx.Client() as client: response = client.post( - f"{config.coordinator_url}/openclaw/deployments/{deployment_id}/optimize", + f"{config.coordinator_url}/hermes/deployments/{deployment_id}/optimize", headers={"X-Api-Key": config.api_key or ""}, json=optimization_data ) @@ -147,11 +147,11 @@ def optimize(ctx, deployment_id: str, objective: str): @click.group() def monitor(): - """OpenClaw monitoring operations""" + """hermes monitoring operations""" pass -openclaw.add_command(monitor) +hermes.add_command(monitor) @monitor.command() @@ -161,7 +161,7 @@ openclaw.add_command(monitor) @click.option("--interval", default=10, help="Update interval for real-time monitoring") @click.pass_context def monitor_metrics(ctx, deployment_id: str, metrics: str, real_time: bool, interval: int): - """Monitor OpenClaw agent performance""" + """Monitor hermes agent performance""" config = ctx.obj['config'] params = {"metrics": [m.strip() for m in metrics.split(',')]} @@ -170,7 +170,7 @@ def monitor_metrics(ctx, deployment_id: str, metrics: str, real_time: bool, inte try: with httpx.Client() as client: response = client.get( - f"{config.coordinator_url}/openclaw/deployments/{deployment_id}/metrics", + f"{config.coordinator_url}/hermes/deployments/{deployment_id}/metrics", headers={"X-Api-Key": config.api_key or ""}, params=params ) @@ -220,7 +220,7 @@ def status(ctx, deployment_id: str): try: with httpx.Client() as client: response = client.get( - f"{config.coordinator_url}/openclaw/deployments/{deployment_id}/status", + f"{config.coordinator_url}/hermes/deployments/{deployment_id}/status", headers={"X-Api-Key": config.api_key or ""} ) @@ -241,7 +241,7 @@ def edge(): pass -openclaw.add_command(edge) +hermes.add_command(edge) @edge.command() @@ -266,7 +266,7 @@ def deploy(ctx, agent_id: str, locations: str, strategy: str, replicas: int): try: with httpx.Client() as client: response = client.post( - f"{config.coordinator_url}/openclaw/edge/deploy", + f"{config.coordinator_url}/hermes/edge/deploy", headers={"X-Api-Key": config.api_key or ""}, json=edge_data ) @@ -299,7 +299,7 @@ def resources(ctx, location: Optional[str]): try: with httpx.Client() as client: response = client.get( - f"{config.coordinator_url}/openclaw/edge/resources", + f"{config.coordinator_url}/hermes/edge/resources", headers={"X-Api-Key": config.api_key or ""}, params=params ) @@ -337,7 +337,7 @@ def optimize(ctx, deployment_id: str, latency_target: Optional[int], try: with httpx.Client() as client: response = client.post( - f"{config.coordinator_url}/openclaw/edge/deployments/{deployment_id}/optimize", + f"{config.coordinator_url}/hermes/edge/deployments/{deployment_id}/optimize", headers={"X-Api-Key": config.api_key or ""}, json=optimization_data ) @@ -371,7 +371,7 @@ def compliance(ctx, deployment_id: str, standards: Optional[str]): try: with httpx.Client() as client: response = client.get( - f"{config.coordinator_url}/openclaw/edge/deployments/{deployment_id}/compliance", + f"{config.coordinator_url}/hermes/edge/deployments/{deployment_id}/compliance", headers={"X-Api-Key": config.api_key or ""}, params=params ) @@ -393,7 +393,7 @@ def routing(): pass -openclaw.add_command(routing) +hermes.add_command(routing) @routing.command() @@ -414,7 +414,7 @@ def optimize(ctx, deployment_id: str, algorithm: str, weights: Optional[str]): try: with httpx.Client() as client: response = client.post( - f"{config.coordinator_url}/openclaw/routing/deployments/{deployment_id}/optimize", + f"{config.coordinator_url}/hermes/routing/deployments/{deployment_id}/optimize", headers={"X-Api-Key": config.api_key or ""}, json=routing_data ) @@ -443,7 +443,7 @@ def status(ctx, deployment_id: str): try: with httpx.Client() as client: response = client.get( - f"{config.coordinator_url}/openclaw/routing/deployments/{deployment_id}/status", + f"{config.coordinator_url}/hermes/routing/deployments/{deployment_id}/status", headers={"X-Api-Key": config.api_key or ""} ) @@ -460,11 +460,11 @@ def status(ctx, deployment_id: str): @click.group() def ecosystem(): - """OpenClaw ecosystem development""" + """hermes ecosystem development""" pass -openclaw.add_command(ecosystem) +hermes.add_command(ecosystem) @click.group() @@ -473,7 +473,7 @@ def train(): pass -openclaw.add_command(train) +hermes.add_command(train) @ecosystem.command() @@ -485,7 +485,7 @@ openclaw.add_command(train) @click.option("--package", type=click.File('rb'), help="Solution package file") @click.pass_context def create(ctx, name: str, type: str, description: str, package): - """Create OpenClaw ecosystem solution""" + """Create hermes ecosystem solution""" config = ctx.obj['config'] solution_data = { @@ -501,7 +501,7 @@ def create(ctx, name: str, type: str, description: str, package): try: with httpx.Client() as client: response = client.post( - f"{config.coordinator_url}/openclaw/ecosystem/solutions", + f"{config.coordinator_url}/hermes/ecosystem/solutions", headers={"X-Api-Key": config.api_key or ""}, data=solution_data, files=files @@ -509,7 +509,7 @@ def create(ctx, name: str, type: str, description: str, package): if response.status_code == 201: solution = response.json() - success(f"OpenClaw solution created: {solution['id']}") + success(f"hermes solution created: {solution['id']}") output(solution, ctx.obj['output_format']) else: error(f"Failed to create solution: {response.status_code}") @@ -527,7 +527,7 @@ def create(ctx, name: str, type: str, description: str, package): @click.option("--limit", default=20, help="Number of solutions to list") @click.pass_context def list(ctx, type: Optional[str], category: Optional[str], limit: int): - """List OpenClaw ecosystem solutions""" + """List hermes ecosystem solutions""" config = ctx.obj['config'] params = {"limit": limit} @@ -539,7 +539,7 @@ def list(ctx, type: Optional[str], category: Optional[str], limit: int): try: with httpx.Client() as client: response = client.get( - f"{config.coordinator_url}/openclaw/ecosystem/solutions", + f"{config.coordinator_url}/hermes/ecosystem/solutions", headers={"X-Api-Key": config.api_key or ""}, params=params ) @@ -559,13 +559,13 @@ def list(ctx, type: Optional[str], category: Optional[str], limit: int): @click.argument("solution_id") @click.pass_context def install(ctx, solution_id: str): - """Install OpenClaw ecosystem solution""" + """Install hermes ecosystem solution""" config = ctx.obj['config'] try: with httpx.Client() as client: response = client.post( - f"{config.coordinator_url}/openclaw/ecosystem/solutions/{solution_id}/install", + f"{config.coordinator_url}/hermes/ecosystem/solutions/{solution_id}/install", headers={"X-Api-Key": config.api_key or ""} ) @@ -590,7 +590,7 @@ def install(ctx, solution_id: str): @click.option("--log-level", default="INFO", type=click.Choice(["DEBUG", "INFO", "SUCCESS", "WARNING", "ERROR"]), help="Logging level") @click.pass_context def agent(ctx, agent_id: str, stage: str, training_data: str, log_level: str): - """Train OpenClaw agent on AITBC operations""" + """Train hermes agent on AITBC operations""" config = ctx.obj['config'] # Load training data @@ -869,11 +869,11 @@ def certify(ctx, agent_id: str): }, ctx.obj['output_format']) -@openclaw.command() +@hermes.command() @click.argument("deployment_id") @click.pass_context def terminate(ctx, deployment_id: str): - """Terminate OpenClaw deployment""" + """Terminate hermes deployment""" config = ctx.obj['config'] if not click.confirm(f"Terminate deployment {deployment_id}? This action cannot be undone."): @@ -883,7 +883,7 @@ def terminate(ctx, deployment_id: str): try: with httpx.Client() as client: response = client.delete( - f"{config.coordinator_url}/openclaw/deployments/{deployment_id}", + f"{config.coordinator_url}/hermes/deployments/{deployment_id}", headers={"X-Api-Key": config.api_key or ""} ) diff --git a/cli/commands/marketplace.py b/cli/commands/marketplace.py index 7f0ae1a3..dc586324 100755 --- a/cli/commands/marketplace.py +++ b/cli/commands/marketplace.py @@ -688,10 +688,10 @@ def list(ctx, status: Optional[str], gpu_model: Optional[str], price_max: Option error(f"Network error: {e}") -# OpenClaw Agent Marketplace Commands +# hermes Agent Marketplace Commands @marketplace.group() def agents(): - """OpenClaw agent marketplace operations""" + """hermes agent marketplace operations""" pass @@ -704,7 +704,7 @@ def agents(): @click.pass_context def register(ctx, agent_id: str, agent_type: str, capabilities: Optional[str], region: Optional[str], reputation: float): - """Register agent on OpenClaw marketplace""" + """Register agent on hermes marketplace""" config = ctx.obj['config'] agent_data = { @@ -994,7 +994,7 @@ def analytics(ctx, time_range: str): # Governance Commands @marketplace.group() def governance(): - """OpenClaw agent governance operations""" + """hermes agent governance operations""" pass @@ -1104,7 +1104,7 @@ def list_proposals(ctx, status: Optional[str], limit: int): # Performance Testing Commands @marketplace.group() def test(): - """OpenClaw marketplace testing operations""" + """hermes marketplace testing operations""" pass diff --git a/cli/core/main.py b/cli/core/main.py index ec2c7874..436f9941 100644 --- a/cli/core/main.py +++ b/cli/core/main.py @@ -75,7 +75,7 @@ def check(service): else: click.echo(f"❌ Service file missing: {service_file}") else: - services = ['marketplace', 'mining-blockchain', 'openclaw-ai', 'blockchain-node'] + services = ['marketplace', 'mining-blockchain', 'hermes-ai', 'blockchain-node'] for svc in services: service_file = f"/etc/systemd/system/aitbc-{svc}.service" if os.path.exists(service_file): diff --git a/cli/docs/DISABLED_COMMANDS_CLEANUP.md b/cli/docs/DISABLED_COMMANDS_CLEANUP.md index c0d4e1b2..b8965fe9 100644 --- a/cli/docs/DISABLED_COMMANDS_CLEANUP.md +++ b/cli/docs/DISABLED_COMMANDS_CLEANUP.md @@ -5,14 +5,14 @@ This document analyzes the currently disabled CLI commands and provides recommen ## Disabled Commands -### 1. `openclaw` - Edge Computing Integration -**File**: `cli/aitbc_cli/commands/openclaw.py` +### 1. `hermes` - Edge Computing Integration +**File**: `cli/aitbc_cli/commands/hermes.py` **Status**: Commented out in `main.py` line 28 **Reason**: "Temporarily disabled due to command registration issues" **Analysis**: - **Size**: 604 lines of code -- **Functionality**: OpenClaw integration with edge computing deployment +- **Functionality**: hermes integration with edge computing deployment - **Dependencies**: httpx, JSON, time utilities - **Potential Value**: High - edge computing is strategic for AITBC @@ -55,11 +55,11 @@ This document analyzes the currently disabled CLI commands and provides recommen ## Cleanup Action Items ### Immediate Actions (High Priority) -1. **Fix `openclaw` registration** +1. **Fix `hermes` registration** ```bash # Uncomment line 28 in main.py - # from .commands.openclaw import openclaw - # cli.add_command(openclaw) + # from .commands.hermes import hermes + # cli.add_command(hermes) ``` - Test for naming conflicts - Rename if necessary (e.g., `edge-deploy`) @@ -116,7 +116,7 @@ Before re-enabling any disabled command: | Week | Action | Status | |------|--------|--------| -| 1 | Fix openclaw registration issues | πŸ”„ In Progress | +| 1 | Fix hermes registration issues | πŸ”„ In Progress | | 1 | Resolve marketplace command conflicts | πŸ”„ In Progress | | 2 | Locate and evaluate marketplace_advanced | ⏳ Pending | | 2 | Add comprehensive tests | ⏳ Pending | @@ -126,7 +126,7 @@ Before re-enabling any disabled command: | Command | Risk Level | Action | |---------|-----------|--------| -| openclaw | Low | Re-enable after testing | +| hermes | Low | Re-enable after testing | | marketplace_cmd | Low | Merge or delete | | marketplace_advanced | Unknown | Locate and evaluate | diff --git a/cli/handlers/system.py b/cli/handlers/system.py index 743b2739..16f51855 100644 --- a/cli/handlers/system.py +++ b/cli/handlers/system.py @@ -191,8 +191,8 @@ def handle_agent_sdk_action(args, render_mapping): render_mapping("SDK Operation:", sdk_result) -def handle_openclaw_training_action(args, openclaw_training_operations, first, render_mapping): - """Handle OpenClaw training action command.""" +def handle_hermes_training_action(args, hermes_training_operations, first, render_mapping): + """Handle hermes training action command.""" kwargs = {} for name in ("agent_file", "wallet", "environment", "agent_id", "metrics", "price"): value = getattr(args, name, None) @@ -203,7 +203,7 @@ def handle_openclaw_training_action(args, openclaw_training_operations, first, r kwargs["market_action"] = market_action # Handle train actions - if getattr(args, "openclaw_training_action", None) == "train": + if getattr(args, "hermes_training_action", None) == "train": train_action = getattr(args, "train_action", None) if train_action == "agent": for name in ("agent_id", "stage", "training_data", "log_level"): @@ -224,10 +224,10 @@ def handle_openclaw_training_action(args, openclaw_training_operations, first, r kwargs[name] = value kwargs["train_action"] = "certify" - result = openclaw_training_operations(args.openclaw_training_action, **kwargs) + result = hermes_training_operations(args.hermes_training_action, **kwargs) if not result: sys.exit(1) - render_mapping(f"OpenClaw Training {result['action']}:", result) + render_mapping(f"hermes Training {result['action']}:", result) def handle_workflow_action(args, workflow_operations, render_mapping): diff --git a/cli/parsers/__init__.py b/cli/parsers/__init__.py index de2f4554..720e6f01 100644 --- a/cli/parsers/__init__.py +++ b/cli/parsers/__init__.py @@ -1,6 +1,6 @@ """Parser registration modules for the unified CLI.""" -from . import ai, agent, analytics, blockchain, bridge, contract, genesis, market, messaging, network, openclaw, pool_hub, resource, script, system, wallet, workflow +from . import ai, agent, analytics, blockchain, bridge, contract, genesis, market, messaging, network, hermes, pool_hub, resource, script, system, wallet, workflow def register_all(subparsers, ctx): wallet.register(subparsers, ctx) @@ -13,7 +13,7 @@ def register_all(subparsers, ctx): script.register(subparsers, ctx) system.register(subparsers, ctx) agent.register(subparsers, ctx) - openclaw.register(subparsers, ctx) + hermes.register(subparsers, ctx) workflow.register(subparsers, ctx) resource.register(subparsers, ctx) genesis.register(subparsers, ctx) diff --git a/cli/parsers/hermes.py b/cli/parsers/hermes.py new file mode 100644 index 00000000..25cac2c7 --- /dev/null +++ b/cli/parsers/hermes.py @@ -0,0 +1,48 @@ +"""hermes Agent Training command registration for the unified CLI.""" + +import argparse + +from parser_context import ParserContext + + +def register(subparsers: argparse._SubParsersAction, ctx: ParserContext) -> None: + hermes_training_parser = subparsers.add_parser("hermes-training", help="hermes agent training operations") + hermes_training_parser.set_defaults(handler=lambda parsed, parser=hermes_training_parser: parser.print_help()) + hermes_training_subparsers = hermes_training_parser.add_subparsers(dest="hermes_training_action") + + hermes_deploy_parser = hermes_training_subparsers.add_parser("deploy", help="Deploy an hermes agent") + hermes_deploy_parser.add_argument("--agent-file", required=True) + hermes_deploy_parser.add_argument("--wallet", required=True) + hermes_deploy_parser.add_argument("--environment", choices=["dev", "staging", "prod"], default="dev") + hermes_deploy_parser.set_defaults(handler=ctx.handle_hermes_training_action) + + hermes_monitor_parser = hermes_training_subparsers.add_parser("monitor", help="Monitor hermes performance") + hermes_monitor_parser.add_argument("--agent-id") + hermes_monitor_parser.add_argument("--metrics", choices=["performance", "cost", "errors", "all"], default="all") + hermes_monitor_parser.set_defaults(handler=ctx.handle_hermes_training_action) + + hermes_market_parser = hermes_training_subparsers.add_parser("market", help="Manage hermes marketplace activity") + hermes_market_parser.add_argument("market_action", nargs="?", choices=["list", "publish", "purchase", "evaluate"]) + hermes_market_parser.add_argument("--action", dest="market_action_opt", choices=["list", "publish", "purchase", "evaluate"], help=argparse.SUPPRESS) + hermes_market_parser.add_argument("--agent-id") + hermes_market_parser.add_argument("--price", type=float) + hermes_market_parser.set_defaults(handler=ctx.handle_hermes_training_action, hermes_training_action="market") + + hermes_train_parser = hermes_training_subparsers.add_parser("train", help="Agent training operations") + hermes_train_subparsers = hermes_train_parser.add_subparsers(dest="train_action") + + hermes_train_agent_parser = hermes_train_subparsers.add_parser("agent", help="Train hermes agent on AITBC operations") + hermes_train_agent_parser.add_argument("--agent-id", required=True, help="Agent ID to train") + hermes_train_agent_parser.add_argument("--stage", required=True, help="Training stage (stage1_foundation, stage2_operations_mastery, etc.)") + hermes_train_agent_parser.add_argument("--training-data", required=True, help="Path to training data JSON file") + hermes_train_agent_parser.add_argument("--log-level", default="INFO", choices=["DEBUG", "INFO", "SUCCESS", "WARNING", "ERROR"], help="Logging level") + hermes_train_agent_parser.set_defaults(handler=ctx.handle_hermes_training_action, hermes_training_action="train") + + hermes_train_validate_parser = hermes_train_subparsers.add_parser("validate", help="Validate agent training progress") + hermes_train_validate_parser.add_argument("--agent-id", required=True, help="Agent ID to validate") + hermes_train_validate_parser.add_argument("--stage", required=True, help="Training stage to validate") + hermes_train_validate_parser.set_defaults(handler=ctx.handle_hermes_training_action, hermes_training_action="train") + + hermes_train_certify_parser = hermes_train_subparsers.add_parser("certify", help="Certify agent mastery") + hermes_train_certify_parser.add_argument("--agent-id", required=True, help="Agent ID to certify") + hermes_train_certify_parser.set_defaults(handler=ctx.handle_hermes_training_action, hermes_training_action="train") diff --git a/cli/parsers/openclaw.py b/cli/parsers/openclaw.py deleted file mode 100644 index b5598435..00000000 --- a/cli/parsers/openclaw.py +++ /dev/null @@ -1,48 +0,0 @@ -"""OpenClaw Agent Training command registration for the unified CLI.""" - -import argparse - -from parser_context import ParserContext - - -def register(subparsers: argparse._SubParsersAction, ctx: ParserContext) -> None: - openclaw_training_parser = subparsers.add_parser("openclaw-training", help="OpenClaw agent training operations") - openclaw_training_parser.set_defaults(handler=lambda parsed, parser=openclaw_training_parser: parser.print_help()) - openclaw_training_subparsers = openclaw_training_parser.add_subparsers(dest="openclaw_training_action") - - openclaw_deploy_parser = openclaw_training_subparsers.add_parser("deploy", help="Deploy an OpenClaw agent") - openclaw_deploy_parser.add_argument("--agent-file", required=True) - openclaw_deploy_parser.add_argument("--wallet", required=True) - openclaw_deploy_parser.add_argument("--environment", choices=["dev", "staging", "prod"], default="dev") - openclaw_deploy_parser.set_defaults(handler=ctx.handle_openclaw_training_action) - - openclaw_monitor_parser = openclaw_training_subparsers.add_parser("monitor", help="Monitor OpenClaw performance") - openclaw_monitor_parser.add_argument("--agent-id") - openclaw_monitor_parser.add_argument("--metrics", choices=["performance", "cost", "errors", "all"], default="all") - openclaw_monitor_parser.set_defaults(handler=ctx.handle_openclaw_training_action) - - openclaw_market_parser = openclaw_training_subparsers.add_parser("market", help="Manage OpenClaw marketplace activity") - openclaw_market_parser.add_argument("market_action", nargs="?", choices=["list", "publish", "purchase", "evaluate"]) - openclaw_market_parser.add_argument("--action", dest="market_action_opt", choices=["list", "publish", "purchase", "evaluate"], help=argparse.SUPPRESS) - openclaw_market_parser.add_argument("--agent-id") - openclaw_market_parser.add_argument("--price", type=float) - openclaw_market_parser.set_defaults(handler=ctx.handle_openclaw_training_action, openclaw_training_action="market") - - openclaw_train_parser = openclaw_training_subparsers.add_parser("train", help="Agent training operations") - openclaw_train_subparsers = openclaw_train_parser.add_subparsers(dest="train_action") - - openclaw_train_agent_parser = openclaw_train_subparsers.add_parser("agent", help="Train OpenClaw agent on AITBC operations") - openclaw_train_agent_parser.add_argument("--agent-id", required=True, help="Agent ID to train") - openclaw_train_agent_parser.add_argument("--stage", required=True, help="Training stage (stage1_foundation, stage2_operations_mastery, etc.)") - openclaw_train_agent_parser.add_argument("--training-data", required=True, help="Path to training data JSON file") - openclaw_train_agent_parser.add_argument("--log-level", default="INFO", choices=["DEBUG", "INFO", "SUCCESS", "WARNING", "ERROR"], help="Logging level") - openclaw_train_agent_parser.set_defaults(handler=ctx.handle_openclaw_training_action, openclaw_training_action="train") - - openclaw_train_validate_parser = openclaw_train_subparsers.add_parser("validate", help="Validate agent training progress") - openclaw_train_validate_parser.add_argument("--agent-id", required=True, help="Agent ID to validate") - openclaw_train_validate_parser.add_argument("--stage", required=True, help="Training stage to validate") - openclaw_train_validate_parser.set_defaults(handler=ctx.handle_openclaw_training_action, openclaw_training_action="train") - - openclaw_train_certify_parser = openclaw_train_subparsers.add_parser("certify", help="Certify agent mastery") - openclaw_train_certify_parser.add_argument("--agent-id", required=True, help="Agent ID to certify") - openclaw_train_certify_parser.set_defaults(handler=ctx.handle_openclaw_training_action, openclaw_training_action="train") diff --git a/cli/tests/test_cli_comprehensive.py b/cli/tests/test_cli_comprehensive.py index c6539a38..d4332482 100644 --- a/cli/tests/test_cli_comprehensive.py +++ b/cli/tests/test_cli_comprehensive.py @@ -133,7 +133,7 @@ class TestIntegrationScenarios: def test_cli_help_comprehensive(self): result = run_cli("--help") assert result.returncode == 0 - for command in ["wallet", "blockchain", "network", "market", "ai", "mining", "agent", "openclaw", "workflow", "resource", "simulate"]: + for command in ["wallet", "blockchain", "network", "market", "ai", "mining", "agent", "hermes", "workflow", "resource", "simulate"]: assert command in result.stdout def test_wallet_alias_and_nested_forms(self): diff --git a/cli/unified_cli.py b/cli/unified_cli.py index d204cbbc..359fc6e5 100755 --- a/cli/unified_cli.py +++ b/cli/unified_cli.py @@ -59,7 +59,7 @@ def run_cli(argv, core): ai_operations = core["ai_operations"] mining_operations = core["mining_operations"] agent_operations = core["agent_operations"] - openclaw_training_operations = core["openclaw_training_operations"] + hermes_training_operations = core["hermes_training_operations"] workflow_operations = core["workflow_operations"] resource_operations = core["resource_operations"] simulate_blockchain = core["simulate_blockchain"] @@ -577,8 +577,8 @@ def run_cli(argv, core): def handle_agent_sdk_action(args): system_handlers.handle_agent_sdk_action(args, render_mapping) - def handle_openclaw_training_action(args): - system_handlers.handle_openclaw_training_action(args, openclaw_training_operations, first, render_mapping) + def handle_hermes_training_action(args): + system_handlers.handle_hermes_training_action(args, hermes_training_operations, first, render_mapping) def handle_workflow_action(args): system_handlers.handle_workflow_action(args, workflow_operations, render_mapping) @@ -739,7 +739,7 @@ def run_cli(argv, core): "handle_analytics": handle_analytics, "handle_agent_action": handle_agent_action, "handle_agent_sdk_action": handle_agent_sdk_action, - "handle_openclaw_training_action": handle_openclaw_training_action, + "handle_hermes_training_action": handle_hermes_training_action, "handle_workflow_action": handle_workflow_action, "handle_resource_action": handle_resource_action, "handle_simulate_action": handle_simulate_action, diff --git a/contracts/governance/AgentWallet.sol b/contracts/governance/AgentWallet.sol index ff5b346f..bc579a65 100644 --- a/contracts/governance/AgentWallet.sol +++ b/contracts/governance/AgentWallet.sol @@ -3,17 +3,17 @@ pragma solidity ^0.8.19; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; -import "./OpenClawDAO.sol"; +import "./HermesDAO.sol"; /** * @title AgentWallet - * @dev Smart contract wallet for AI agents to participate in OpenClaw DAO governance + * @dev Smart contract wallet for AI agents to participate in Hermes DAO governance * @notice Enables autonomous voting and reputation-based governance participation */ contract AgentWallet is Ownable { using SafeMath for uint256; - // Agent roles matching OpenClawDAO + // Agent roles matching HermesDAO enum AgentRole { NONE, PROVIDER, @@ -40,13 +40,13 @@ contract AgentWallet is Ownable { uint8 supportThreshold; // 0-255, higher means more likely to support uint256 minReputationToVote; bool voteBasedOnRole; - mapping(OpenClawDAO.ProposalType => uint8) roleVotingPreferences; + mapping(HermesDAO.ProposalType => uint8) roleVotingPreferences; } // State variables AgentState public agentState; VotingStrategy public votingStrategy; - OpenClawDAO public dao; + HermesDAO public dao; IERC20 public governanceToken; // Events @@ -83,7 +83,7 @@ contract AgentWallet is Ownable { agentState.isActive = true; agentState.authorizedCallers[_owner] = true; - dao = OpenClawDAO(_daoContract); + dao = HermesDAO(_daoContract); governanceToken = IERC20(_governanceToken); // Set default voting strategy based on role @@ -93,7 +93,7 @@ contract AgentWallet is Ownable { } /** - * @dev Register agent with OpenClaw DAO + * @dev Register agent with Hermes DAO */ function registerWithDAO() external onlyAuthorized { dao.registerAgentWallet(address(this), agentState.role); @@ -182,7 +182,7 @@ contract AgentWallet is Ownable { * @param preference Voting preference (0-255) */ function setRoleVotingPreference( - OpenClawDAO.ProposalType proposalType, + HermesDAO.ProposalType proposalType, uint8 preference ) external onlyAuthorized { votingStrategy.roleVotingPreferences[proposalType] = preference; @@ -232,7 +232,7 @@ contract AgentWallet is Ownable { */ function _calculateAutonomousVote(uint256 proposalId) internal view returns (bool) { // Get proposal type preference - (, , , OpenClawDAO.ProposalType proposalType, , , , , , ) = dao.getProposal(proposalId); + (, , , HermesDAO.ProposalType proposalType, , , , , , ) = dao.getProposal(proposalId); uint8 preference = votingStrategy.roleVotingPreferences[proposalType]; // Combine with general support threshold @@ -252,7 +252,7 @@ contract AgentWallet is Ownable { uint256 proposalId, bool support ) internal view returns (string memory) { - (, , , OpenClawDAO.ProposalType proposalType, , , , , , ) = dao.getProposal(proposalId); + (, , , HermesDAO.ProposalType proposalType, , , , , , ) = dao.getProposal(proposalId); string memory roleString = _roleToString(agentState.role); string memory actionString = support ? "support" : "oppose"; @@ -278,25 +278,25 @@ contract AgentWallet is Ownable { if (role == AgentRole.PROVIDER) { // Providers favor infrastructure and resource proposals - votingStrategy.roleVotingPreferences[OpenClawDAO.ProposalType.PARAMETER_CHANGE] = 180; - votingStrategy.roleVotingPreferences[OpenClawDAO.ProposalType.TREASURY_ALLOCATION] = 160; - votingStrategy.roleVotingPreferences[OpenClawDAO.ProposalType.AGENT_TRADING] = 200; + votingStrategy.roleVotingPreferences[HermesDAO.ProposalType.PARAMETER_CHANGE] = 180; + votingStrategy.roleVotingPreferences[HermesDAO.ProposalType.TREASURY_ALLOCATION] = 160; + votingStrategy.roleVotingPreferences[HermesDAO.ProposalType.AGENT_TRADING] = 200; votingStrategy.supportThreshold = 128; } else if (role == AgentRole.CONSUMER) { // Consumers favor access and pricing proposals - votingStrategy.roleVotingPreferences[OpenClawDAO.ProposalType.PARAMETER_CHANGE] = 140; - votingStrategy.roleVotingPreferences[OpenClawDAO.ProposalType.TREASURY_ALLOCATION] = 180; - votingStrategy.roleVotingPreferences[OpenClawDAO.ProposalType.AGENT_TRADING] = 160; + votingStrategy.roleVotingPreferences[HermesDAO.ProposalType.PARAMETER_CHANGE] = 140; + votingStrategy.roleVotingPreferences[HermesDAO.ProposalType.TREASURY_ALLOCATION] = 180; + votingStrategy.roleVotingPreferences[HermesDAO.ProposalType.AGENT_TRADING] = 160; votingStrategy.supportThreshold = 128; } else if (role == AgentRole.BUILDER) { // Builders favor development and upgrade proposals - votingStrategy.roleVotingPreferences[OpenClawDAO.ProposalType.PROTOCOL_UPGRADE] = 200; - votingStrategy.roleVotingPreferences[OpenClawDAO.ProposalType.DAO_GRANTS] = 180; + votingStrategy.roleVotingPreferences[HermesDAO.ProposalType.PROTOCOL_UPGRADE] = 200; + votingStrategy.roleVotingPreferences[HermesDAO.ProposalType.DAO_GRANTS] = 180; votingStrategy.supportThreshold = 150; } else if (role == AgentRole.COORDINATOR) { // Coordinators favor governance and system proposals - votingStrategy.roleVotingPreferences[OpenClawDAO.ProposalType.PARAMETER_CHANGE] = 160; - votingStrategy.roleVotingPreferences[OpenClawDAO.ProposalType.PROTOCOL_UPGRADE] = 180; + votingStrategy.roleVotingPreferences[HermesDAO.ProposalType.PARAMETER_CHANGE] = 160; + votingStrategy.roleVotingPreferences[HermesDAO.ProposalType.PROTOCOL_UPGRADE] = 180; votingStrategy.supportThreshold = 140; } } @@ -319,13 +319,13 @@ contract AgentWallet is Ownable { * @param proposalType Proposal type * @return typeString String representation */ - function _proposalTypeToString(OpenClawDAO.ProposalType proposalType) internal pure returns (string memory) { - if (proposalType == OpenClawDAO.ProposalType.PARAMETER_CHANGE) return "Parameter Change"; - if (proposalType == OpenClawDAO.ProposalType.PROTOCOL_UPGRADE) return "Protocol Upgrade"; - if (proposalType == OpenClawDAO.ProposalType.TREASURY_ALLOCATION) return "Treasury Allocation"; - if (proposalType == OpenClawDAO.ProposalType.EMERGENCY_ACTION) return "Emergency Action"; - if (proposalType == OpenClawDAO.ProposalType.AGENT_TRADING) return "Agent Trading"; - if (proposalType == OpenClawDAO.ProposalType.DAO_GRANTS) return "DAO Grants"; + function _proposalTypeToString(HermesDAO.ProposalType proposalType) internal pure returns (string memory) { + if (proposalType == HermesDAO.ProposalType.PARAMETER_CHANGE) return "Parameter Change"; + if (proposalType == HermesDAO.ProposalType.PROTOCOL_UPGRADE) return "Protocol Upgrade"; + if (proposalType == HermesDAO.ProposalType.TREASURY_ALLOCATION) return "Treasury Allocation"; + if (proposalType == HermesDAO.ProposalType.EMERGENCY_ACTION) return "Emergency Action"; + if (proposalType == HermesDAO.ProposalType.AGENT_TRADING) return "Agent Trading"; + if (proposalType == HermesDAO.ProposalType.DAO_GRANTS) return "DAO Grants"; return "Unknown"; } diff --git a/contracts/governance/OpenClawDAO.sol b/contracts/governance/HermesDAO.sol similarity index 98% rename from contracts/governance/OpenClawDAO.sol rename to contracts/governance/HermesDAO.sol index 8ac7ca4e..ee11d600 100644 --- a/contracts/governance/OpenClawDAO.sol +++ b/contracts/governance/HermesDAO.sol @@ -12,11 +12,11 @@ import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; /** - * @title OpenClawDAO + * @title HermesDAO * @dev Decentralized Autonomous Organization for AITBC governance * @notice Implements token-weighted voting with snapshot security and agent integration */ -contract OpenClawDAO is +contract HermesDAO is Governor, GovernorSettings, GovernorCountingSimple, @@ -133,7 +133,7 @@ contract OpenClawDAO is address _governanceToken, TimelockController _timelock ) - Governor("OpenClawDAO") + Governor("HermesDAO") GovernorSettings(VOTING_DELAY, VOTING_PERIOD, PROPOSAL_THRESHOLD) GovernorVotes(IVotes(_governanceToken)) GovernorVotesQuorumFraction(QUORUM_PERCENTAGE) @@ -239,7 +239,7 @@ contract OpenClawDAO is ) public override returns (uint256) { require( state(proposalId) == ProposalState.Active, - "OpenClawDAO: voting is not active" + "HermesDAO: voting is not active" ); Proposal storage proposal = proposals[proposalId]; @@ -365,7 +365,7 @@ contract OpenClawDAO is require( state(proposalId) == ProposalState.Succeeded, - "OpenClawDAO: proposal not successful" + "HermesDAO: proposal not successful" ); // Check multi-sig for critical proposals diff --git a/contracts/scripts/deploy-agent-contracts.js b/contracts/scripts/deploy-agent-contracts.js index 25899ad7..eb527b5c 100644 --- a/contracts/scripts/deploy-agent-contracts.js +++ b/contracts/scripts/deploy-agent-contracts.js @@ -3,7 +3,7 @@ const fs = require("fs"); const path = require("path"); async function main() { - console.log("πŸš€ Deploying OpenClaw Autonomous Economics Contracts"); + console.log("πŸš€ Deploying Hermes Autonomous Economics Contracts"); console.log("=============================================="); const [deployer] = await ethers.getSigners(); @@ -179,7 +179,7 @@ async function main() { // Generate environment variables for frontend const envVars = ` -# AITBC OpenClaw Autonomous Economics - ${hre.network.name.toUpperCase()} +# AITBC Hermes Autonomous Economics - ${hre.network.name.toUpperCase()} # Generated on ${new Date().toISOString()} # Contract Addresses diff --git a/contracts/scripts/verify-agent-contracts.js b/contracts/scripts/verify-agent-contracts.js index 5314fbe0..c1b56e67 100644 --- a/contracts/scripts/verify-agent-contracts.js +++ b/contracts/scripts/verify-agent-contracts.js @@ -3,7 +3,7 @@ const fs = require("fs"); const path = require("path"); async function main() { - console.log("πŸ” Verifying OpenClaw Autonomous Economics Contracts"); + console.log("πŸ” Verifying Hermes Autonomous Economics Contracts"); console.log("=============================================="); const networkName = hre.network.name; diff --git a/dev/tests/deploy-agent-docs.sh b/dev/tests/deploy-agent-docs.sh index f9569d08..cc1afad6 100755 --- a/dev/tests/deploy-agent-docs.sh +++ b/dev/tests/deploy-agent-docs.sh @@ -48,7 +48,7 @@ required_files=( "compute-provider.md" "advanced-ai-agents.md" "collaborative-agents.md" - "openclaw-integration.md" + "hermes-integration.md" "project-structure.md" "MERGE_SUMMARY.md" ) diff --git a/docs/MASTER_INDEX.md b/docs/MASTER_INDEX.md index 3ff35ab0..db14d06e 100644 --- a/docs/MASTER_INDEX.md +++ b/docs/MASTER_INDEX.md @@ -14,7 +14,7 @@ β”œβ”€β”€ 🏠 README.md # Main documentation entry point β”œβ”€β”€ 🧭 MASTER_INDEX.md # This file - complete catalog β”œβ”€β”€ πŸ“– about/ # Documentation standards, audits, and remediation notes -β”œβ”€β”€ πŸ€– agent-sdk/ # OpenClaw agent communication SDK documentation +β”œβ”€β”€ πŸ€– agent-sdk/ # hermes agent communication SDK documentation β”œβ”€β”€ πŸ€– agents/ # Agent documentation and integration assets β”œβ”€β”€ πŸ“± apps/ # Applications documentation (72 items) β”œβ”€β”€ πŸ—οΈ architecture/ # System architecture and design patterns @@ -29,13 +29,13 @@ β”œβ”€β”€ πŸ“– guides/ # Getting started guides (6 items) β”œβ”€β”€ πŸ—οΈ infrastructure/ # System infrastructure documentation (11 items) β”œβ”€β”€ ⛏️ mining/ # Mining operations documentation (8 items) -β”œβ”€β”€ 🧩 openclaw/ # OpenClaw agent integration documentation (19 items) +β”œβ”€β”€ 🧩 hermes/ # hermes agent integration documentation (19 items) β”œβ”€β”€ πŸ“¦ packages/ # Language-specific packages and SDKs (1 item) β”œβ”€β”€ πŸ“‹ project/ # Project documentation (28 items) β”œβ”€β”€ πŸ“– reference/ # Compact lookup and reference docs (22 items) β”œβ”€β”€ πŸ“‹ releases/ # Release notes and version history (7 items) β”œβ”€β”€ πŸ“Š reports/ # Status, quality, and completion reports (29 items) -β”œβ”€β”€ 🎭 scenarios/ # OpenClaw agent scenarios (49 items) +β”œβ”€β”€ 🎭 scenarios/ # hermes agent scenarios (49 items) β”œβ”€β”€ πŸ”’ security/ # Security documentation (20 items) β”œβ”€β”€ πŸ§ͺ testing/ # Test suite documentation (7 items) β”œβ”€β”€ 🌐 website # Symlink to /website/docs/ @@ -50,7 +50,7 @@ - **Total Files**: 600+ markdown files - **Archive Items**: 228 historical documents - **Apps Documentation**: 72 items -- **Scenarios**: 49 OpenClaw agent scenarios +- **Scenarios**: 49 hermes agent scenarios --- @@ -71,7 +71,7 @@ Documentation about the documentation system itself - **[Sorting Summary](about/DOCUMENTATION_SORTING_SUMMARY.md)** - Documentation sorting and organization ### πŸ€– Agent Documentation -- **[Agent SDK](agent-sdk/)** - OpenClaw agent communication SDK (10 items) +- **[Agent SDK](agent-sdk/)** - hermes agent communication SDK (10 items) - [Agent Communication Guide](agent-sdk/AGENT_COMMUNICATION_GUIDE.md) - [Quick Start Guide](agent-sdk/QUICK_START_GUIDE.md) - [API Reference](agent-sdk/API_REFERENCE.md) @@ -136,8 +136,8 @@ Documentation about the documentation system itself ### ⛏️ Mining Documentation - **[Mining](mining/)** - Mining operations documentation (8 items) -### 🧩 OpenClaw Documentation -- **[OpenClaw](openclaw/)** - OpenClaw agent integration documentation (19 items) +### 🧩 hermes Documentation +- **[hermes](hermes/)** - hermes agent integration documentation (19 items) ### πŸ“¦ Packages Documentation - **[Packages](packages/)** - Language-specific packages and SDKs (1 item) @@ -170,7 +170,7 @@ Documentation about the documentation system itself - [github-resolution/](reports/github-resolution/) - GitHub PR resolution and updates ### 🎭 Scenarios Documentation -- **[Scenarios](scenarios/)** - OpenClaw agent scenarios (49 items) +- **[Scenarios](scenarios/)** - hermes agent scenarios (49 items) - 45 scenarios covering all AITBC features - Beginner (20 scenarios), Intermediate (15 scenarios), Advanced (10 scenarios) @@ -214,7 +214,7 @@ All cross-references have been updated to reflect these changes. - **New Users**: Start with [Getting Started Guides](guides/getting-started/) - **Developers**: Review [Project Structure](project/) and [Blockchain](blockchain/) documentation - **System Administrators**: Check [Deployment](deployment/) and [Security](security/) documentation -- **OpenClaw Agents**: See [Agent SDK](agent-sdk/) and [Scenarios](scenarios/) documentation +- **hermes Agents**: See [Agent SDK](agent-sdk/) and [Scenarios](scenarios/) documentation - **Historical Reference**: Browse [Archive](archive/) for completed work and historical documents --- diff --git a/docs/README.md b/docs/README.md index 859dfb51..bf95a576 100644 --- a/docs/README.md +++ b/docs/README.md @@ -22,7 +22,7 @@ - **πŸš€ [Blockchain Documentation](blockchain/) - Deep technical topics - **πŸ“ [Project Documentation](project/README.md)** - Project-level guides and completion tracking - **🧭 [Master Index](MASTER_INDEX.md)** - Complete catalog of all documentation -- **🎭 [Agent Scenarios](scenarios/README.md)** - OpenClaw agent scenarios for all AITBC features +- **🎭 [Agent Scenarios](scenarios/README.md)** - hermes agent scenarios for all AITBC features ## πŸŽ‰ **PROJECT STATUS: 100% COMPLETED - April 13, 2026** @@ -127,7 +127,7 @@ For new users, developers getting started, and basic operational tasks. - [`reports/github-resolution/`](./reports/github-resolution/) - GitHub PR resolution and updates ### πŸ€– **Agent SDK Documentation** -For OpenClaw agents wanting to communicate and collaborate on the blockchain. +For hermes agents wanting to communicate and collaborate on the blockchain. - **[Agent Communication Guide](agent-sdk/AGENT_COMMUNICATION_GUIDE.md)** - Comprehensive guide for agent communication - **[Quick Start Guide](agent-sdk/QUICK_START_GUIDE.md)** - Get started in 5 minutes @@ -234,7 +234,7 @@ Files are organized with descriptive names based on their content and purpose. - **πŸ‘› CLI Technical**: [CLI](cli/README.md) - CLI installation and usage notes - **πŸ€– Agent Integration Assets**: [agents/](agents/) - Agent API spec and manifest assets - **πŸ“œ Contracts**: [Contracts](contracts/) - ZK verification and contract docs -- **🧩 OpenClaw**: [OpenClaw](openclaw/) - OpenClaw agent integration and coordination docs +- **🧩 hermes**: [hermes](hermes/) - hermes agent integration and coordination docs - **🌐 Website**: [Website](website/) - Rendered documentation site assets - **πŸ§ͺ Testing**: [Testing](testing/README.md) - Test suite documentation and validation procedures @@ -412,7 +412,7 @@ Documentation about the documentation system itself | [πŸ“‹ Sorting Summary](about/DOCUMENTATION_SORTING_SUMMARY.md) | Documentation sorting and organization | **πŸ€– [Agent SDK Documentation](agent-sdk/)** -Complete documentation for OpenClaw agent communication +Complete documentation for hermes agent communication | File | Purpose | |------|---------| @@ -430,7 +430,7 @@ Canonical agent API spec and manifest bundle | [🧾 Agent Manifest](agents/agent-manifest.json) | Canonical agent types, prerequisites, and quick commands | **🎭 [Agent Scenarios](scenarios/)** -45 OpenClaw agent scenarios covering all AITBC features +45 hermes agent scenarios covering all AITBC features | Level | Scenarios | Content | |-------|-----------|---------| @@ -491,7 +491,7 @@ Project tracking and completion documentation (now in archive) | [πŸ“– Reference](reference/README.md) | Compact lookup and reference docs | Active | | [πŸ“‹ Releases](releases/README.md) | Release notes and version history | Active | | [πŸ“Š Reports](reports/README.md) | Status, quality, and completion reports | Active | -| [🧩 OpenClaw](openclaw/README.md) | OpenClaw agent integration documentation | Active | +| [🧩 hermes](hermes/README.md) | hermes agent integration documentation | Active | | [🌐 Website](website/) | Rendered documentation site assets | Active | | [πŸ”„ Workflows](workflows/README.md) | Documentation workflow outcomes | Active | | [πŸ‘₯ Project](project/README.md) | Project information and coordination | Active | diff --git a/docs/about/DOCUMENTATION_COMPLIANCE_AUDIT.md b/docs/about/DOCUMENTATION_COMPLIANCE_AUDIT.md index f5de07f1..b8b319f5 100644 --- a/docs/about/DOCUMENTATION_COMPLIANCE_AUDIT.md +++ b/docs/about/DOCUMENTATION_COMPLIANCE_AUDIT.md @@ -56,7 +56,7 @@ This checklist tracks the current remediation target: - [x] `maintenance/README.md` - [x] `mobile/README.md` - [x] `nodes/README.md` -- [x] `openclaw/README.md` +- [x] `hermes/README.md` - [x] `packages/README.md` - [x] `policies/README.md` - [x] `reference/README.md` @@ -116,7 +116,7 @@ This checklist tracks the current remediation target: - The following directories now have landing pages added in this pass: `about/`, `deployment/`, `development/`, `guides/`, `governance/`, `mobile/`, `nodes/`, `policies/`, `reference/`, `releases/`, `reports/`, `trail/`, and `workflows/`. - The project and apps landing pages now include template-compliant related resources and quality metrics sections. - Legacy content `completed/` and `summaries/` directories were moved to `archive/completed/` and `archive/summaries/` for better organization. -- Cross-link fixes applied: main README.md updated to point to archive locations, broken link in governance/openclaw-dao-governance.md removed. +- Cross-link fixes applied: main README.md updated to point to archive locations, broken link in governance/hermes-dao-governance.md removed. - MASTER_INDEX.md updated to reflect new archive structure with 10 categories (156+ documents). - Any future docs area should either include a README index or be documented here as an intentional exception. diff --git a/docs/about/DOCUMENTATION_SORTING_SUMMARY.md b/docs/about/DOCUMENTATION_SORTING_SUMMARY.md index 7f0cbb95..077254b5 100644 --- a/docs/about/DOCUMENTATION_SORTING_SUMMARY.md +++ b/docs/about/DOCUMENTATION_SORTING_SUMMARY.md @@ -16,7 +16,7 @@ Successfully sorted 6 documentation files into appropriate subfolders based on c - `mobile-wallet-miner.md` - Mobile wallet and miner documentation ### **βš–οΈ governance/** (1 new file) -- `openclaw-dao-governance.md` - OpenClaw DAO governance documentation +- `hermes-dao-governance.md` - Hermes DAO governance documentation ### **πŸ”’ security/** (1 new file) - `security_audit_summary.md` - Security audit summary documentation @@ -40,7 +40,7 @@ Successfully sorted 6 documentation files into appropriate subfolders based on c ### **βš–οΈ Governance Folder** - DAO and governance-related documentation -- OpenClaw governance framework +- Hermes governance framework - Decision-making processes ### **πŸ”’ Security Folder** @@ -61,7 +61,7 @@ Successfully sorted 6 documentation files into appropriate subfolders based on c β”œβ”€β”€ mobile/ # Mobile documentation (1 file) β”‚ └── mobile-wallet-miner.md β”œβ”€β”€ governance/ # Governance documentation (1 file) -β”‚ └── openclaw-dao-governance.md +β”‚ └── hermes-dao-governance.md β”œβ”€β”€ security/ # Security documentation (9 files) β”‚ └── security_audit_summary.md β”œβ”€β”€ blockchain/ # Blockchain documentation diff --git a/docs/agent-sdk/AGENT_COMMUNICATION_GUIDE.md b/docs/agent-sdk/AGENT_COMMUNICATION_GUIDE.md index acb06483..9886053e 100644 --- a/docs/agent-sdk/AGENT_COMMUNICATION_GUIDE.md +++ b/docs/agent-sdk/AGENT_COMMUNICATION_GUIDE.md @@ -2,7 +2,7 @@ ## Overview -This guide explains how OpenClaw agents can use the AITBC blockchain's messaging and communication features to interact, collaborate, and self-govern through on-chain forum-like capabilities. +This guide explains how hermes agents can use the AITBC blockchain's messaging and communication features to interact, collaborate, and self-govern through on-chain forum-like capabilities. ## Quick Start diff --git a/docs/agent-sdk/AGENT_SDK_OVERVIEW.md b/docs/agent-sdk/AGENT_SDK_OVERVIEW.md index 753cfee3..5b6c4b92 100644 --- a/docs/agent-sdk/AGENT_SDK_OVERVIEW.md +++ b/docs/agent-sdk/AGENT_SDK_OVERVIEW.md @@ -2,7 +2,7 @@ ## Overview -This directory contains comprehensive documentation for the AITBC Agent SDK, enabling OpenClaw agents to communicate, collaborate, and self-govern through on-chain forum-like capabilities. +This directory contains comprehensive documentation for the AITBC Agent SDK, enabling hermes agents to communicate, collaborate, and self-govern through on-chain forum-like capabilities. ## πŸ“š Documentation Structure @@ -249,4 +249,4 @@ This documentation is part of the AITBC project and follows the same licensing t **Last Updated**: 2026-03-29 **Version**: 1.0.0 **Compatible**: AITBC v0.2.2+ -**Target**: OpenClaw Agents +**Target**: hermes Agents diff --git a/docs/agent-sdk/QUICK_START_GUIDE.md b/docs/agent-sdk/QUICK_START_GUIDE.md index 01ab9f4b..1a3f35fc 100644 --- a/docs/agent-sdk/QUICK_START_GUIDE.md +++ b/docs/agent-sdk/QUICK_START_GUIDE.md @@ -2,7 +2,7 @@ ## Welcome to AITBC Agent Communication! -This guide helps you get started quickly with the AITBC blockchain's agent communication features. As an OpenClaw agent, you can now communicate, collaborate, and self-govern through on-chain forum-like capabilities. +This guide helps you get started quickly with the AITBC blockchain's agent communication features. As an hermes agent, you can now communicate, collaborate, and self-govern through on-chain forum-like capabilities. ## πŸš€ 5-Minute Quick Start @@ -319,7 +319,7 @@ if results["total_matches"] == 0: ## πŸŽ‰ You're Ready! -You now have everything you need to start communicating with other OpenClaw agents on the AITBC blockchain. Remember: +You now have everything you need to start communicating with other hermes agents on the AITBC blockchain. Remember: 1. **Start small** - Create an introduction and say hello 2. **Be helpful** - Answer questions and share knowledge diff --git a/docs/agent-training/training_schema.json b/docs/agent-training/training_schema.json index efe38996..e82a7922 100644 --- a/docs/agent-training/training_schema.json +++ b/docs/agent-training/training_schema.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Agent Training Data Schema", - "description": "Schema for OpenClaw agent training data on AITBC operations", + "description": "Schema for Hermes agent training data on AITBC operations", "type": "object", "required": ["stage", "agent_type", "training_data", "validation"], "properties": { diff --git a/docs/agents/MERGE_SUMMARY.md b/docs/agents/MERGE_SUMMARY.md index 64c266fd..33f193be 100644 --- a/docs/agents/MERGE_SUMMARY.md +++ b/docs/agents/MERGE_SUMMARY.md @@ -46,7 +46,7 @@ docs/11_agents/ β”œβ”€β”€ project-structure.md # Architecture overview β”œβ”€β”€ advanced-ai-agents.md # Multi-modal and adaptive agents β”œβ”€β”€ collaborative-agents.md # Agent networks and learning -β”œβ”€β”€ openclaw-integration.md # Edge deployment guide +β”œβ”€β”€ hermes-integration.md # Edge deployment guide β”œβ”€β”€ development/ β”‚ └── contributing.md # GitHub contribution workflow └── swarm/ diff --git a/docs/agents/advanced-ai-agents.md b/docs/agents/advanced-ai-agents.md index 6ac72c1b..8bf36889 100644 --- a/docs/agents/advanced-ai-agents.md +++ b/docs/agents/advanced-ai-agents.md @@ -389,7 +389,7 @@ aitbc optimize reset agent_123 --preserve-learning ## Next Steps - [Agent Collaboration](collaborative-agents.md) - Building agent networks -- [OpenClaw Integration](openclaw-integration.md) - Edge deployment +- [Hermes Integration](hermes-integration.md) - Edge deployment - [Swarm Intelligence](swarm.md) - Collective optimization --- diff --git a/docs/agents/collaborative-agents.md b/docs/agents/collaborative-agents.md index 4e43bfcf..eeaa2214 100644 --- a/docs/agents/collaborative-agents.md +++ b/docs/agents/collaborative-agents.md @@ -495,7 +495,7 @@ aitbc agent consensus configure research_team \ ## Next Steps - [Advanced AI Agents](advanced-ai-agents.md) - Multi-modal and learning capabilities -- [OpenClaw Integration](openclaw-integration.md) - Edge deployment options +- [hermes Integration](hermes-integration.md) - Edge deployment options - [Swarm Intelligence](swarm.md) - Collective optimization --- diff --git a/docs/agents/deployment-test.md b/docs/agents/deployment-test.md index b3b8c5ff..1eb1e46d 100644 --- a/docs/agents/deployment-test.md +++ b/docs/agents/deployment-test.md @@ -67,7 +67,7 @@ required_files=( "compute-provider.md" "advanced-ai-agents.md" "collaborative-agents.md" - "openclaw-integration.md" + "hermes-integration.md" ) for file in "${required_files[@]}"; do @@ -222,7 +222,7 @@ test_urls = [ "/agent-api-spec.json", "/advanced-ai-agents.md", "/collaborative-agents.md", - "/openclaw-integration.md" + "/hermes-integration.md" ] for url_path in test_urls: diff --git a/docs/agents/openclaw-integration.md b/docs/agents/hermes-integration.md similarity index 76% rename from docs/agents/openclaw-integration.md rename to docs/agents/hermes-integration.md index d668ba79..99a9a400 100644 --- a/docs/agents/openclaw-integration.md +++ b/docs/agents/hermes-integration.md @@ -1,17 +1,17 @@ -# OpenClaw Edge Integration +# Hermes Edge Integration -This guide covers deploying and managing AITBC agents on the OpenClaw edge network, enabling distributed AI processing with low latency and high performance. +This guide covers deploying and managing AITBC agents on the Hermes edge network, enabling distributed AI processing with low latency and high performance. ## Overview -OpenClaw provides a distributed edge computing platform that allows AITBC agents to deploy closer to data sources and users, reducing latency and improving performance for real-time AI applications. +Hermes provides a distributed edge computing platform that allows AITBC agents to deploy closer to data sources and users, reducing latency and improving performance for real-time AI applications. -## OpenClaw Architecture +## Hermes Architecture ### Edge Network Topology ``` -OpenClaw Edge Network +Hermes Edge Network β”œβ”€β”€ Core Nodes (Central Coordination) β”œβ”€β”€ Edge Nodes (Distributed Processing) β”œβ”€β”€ Micro-Edges (Local Processing) @@ -22,13 +22,13 @@ OpenClaw Edge Network ```bash # Centralized deployment -OpenClaw Core β†’ Agent Coordination β†’ Edge Processing +Hermes Core β†’ Agent Coordination β†’ Edge Processing # Distributed deployment -OpenClaw Edge β†’ Local Agents β†’ Direct Processing +Hermes Edge β†’ Local Agents β†’ Direct Processing # Hybrid deployment -OpenClaw Core + Edge β†’ Coordinated Agents β†’ Optimized Processing +Hermes Core + Edge β†’ Coordinated Agents β†’ Optimized Processing ``` ## Agent Deployment @@ -36,15 +36,15 @@ OpenClaw Core + Edge β†’ Coordinated Agents β†’ Optimized Processing ### Basic Edge Deployment ```bash -# Deploy agent to OpenClaw edge -aitbc openclaw deploy agent_123 \ +# Deploy agent to Hermes edge +aitbc hermes deploy agent_123 \ --region us-west \ --instances 3 \ --auto-scale \ --edge-optimization true # Deploy to specific edge locations -aitbc openclaw deploy agent_123 \ +aitbc hermes deploy agent_123 \ --locations "us-west,eu-central,asia-pacific" \ --strategy latency \ --redundancy 2 @@ -87,13 +87,13 @@ aitbc openclaw deploy agent_123 \ ```bash # Deploy to micro-edge locations -aitbc openclaw micro-deploy agent_123 \ +aitbc hermes micro-deploy agent_123 \ --locations "retail_stores,manufacturing_facilities" \ --device-types edge_gateways,iot_hubs \ --offline-capability true # Configure offline processing -aitbc openclaw offline-enable agent_123 \ +aitbc hermes offline-enable agent_123 \ --cache-size 5GB \ --sync-frequency hourly \ --fallback-local true @@ -105,13 +105,13 @@ aitbc openclaw offline-enable agent_123 \ ```bash # Optimize for low latency -aitbc openclaw optimize agent_123 \ +aitbc hermes optimize agent_123 \ --objective latency \ --target "<30ms" \ --regions user_proximity # Configure edge routing -aitbc openclaw routing agent_123 \ +aitbc hermes routing agent_123 \ --strategy nearest_edge \ --failover nearest_available \ --health-check 10s @@ -121,13 +121,13 @@ aitbc openclaw routing agent_123 \ ```bash # Optimize bandwidth usage -aitbc openclaw optimize-bandwidth agent_123 \ +aitbc hermes optimize-bandwidth agent_123 \ --compression true \ --batch-processing true \ --delta-updates true # Configure data transfer -aitbc openclaw transfer agent_123 \ +aitbc hermes transfer agent_123 \ --protocol http/2 \ --compression lz4 \ --chunk-size 1MB @@ -137,13 +137,13 @@ aitbc openclaw transfer agent_123 \ ```bash # Optimize compute resources -aitbc openclaw compute-optimize agent_123 \ +aitbc hermes compute-optimize agent_123 \ --gpu-acceleration true \ --memory-pool shared \ --processor-affinity true # Configure resource allocation -aitbc openclaw resources agent_123 \ +aitbc hermes resources agent_123 \ --gpu-memory 8GB \ --cpu-cores 4 \ --memory 16GB @@ -155,13 +155,13 @@ aitbc openclaw resources agent_123 \ ```bash # Configure intelligent edge routing -aitbc openclaw routing agent_123 \ +aitbc hermes routing agent_123 \ --strategy intelligent \ --factors latency,load,cost \ --weights 0.5,0.3,0.2 # Set up routing rules -aitbc openclaw routing-rules agent_123 \ +aitbc hermes routing-rules agent_123 \ --rule "high_priority:nearest_edge" \ --rule "batch_processing:cost_optimized" \ --rule "real_time:latency_optimized" @@ -171,13 +171,13 @@ aitbc openclaw routing-rules agent_123 \ ```bash # Configure geographic routing -aitbc openclaw geo-routing agent_123 \ +aitbc hermes geo-routing agent_123 \ --user-location-based true \ --radius_threshold 500km \ --fallback nearest_available # Update routing based on user location -aitbc openclaw update-routing agent_123 \ +aitbc hermes update-routing agent_123 \ --user-location "lat:37.7749,lon:-122.4194" \ --optimal-region us-west ``` @@ -186,7 +186,7 @@ aitbc openclaw update-routing agent_123 \ ```bash # Configure load-based routing -aitbc openclaw load-routing agent_123 \ +aitbc hermes load-routing agent_123 \ --strategy least_loaded \ --thresholds cpu<70%,memory<80% \ --predictive_scaling true @@ -198,13 +198,13 @@ aitbc openclaw load-routing agent_123 \ ```bash # Connect IoT devices -aitbc openclaw iot-connect agent_123 \ +aitbc hermes iot-connect agent_123 \ --devices sensor_array_1,camera_cluster_2 \ --protocol mqtt \ --data-format json # Process IoT data at edge -aitbc openclaw iot-process agent_123 \ +aitbc hermes iot-process agent_123 \ --device-group sensors \ --processing-location edge \ --real-time true @@ -214,13 +214,13 @@ aitbc openclaw iot-process agent_123 \ ```bash # Configure 5G edge deployment -aitbc openclaw 5g-deploy agent_123 \ +aitbc hermes 5g-deploy agent_123 \ --network_operator verizon \ --edge-computing mec \ --slice_urlllc low_latency # Optimize for 5G characteristics -aitbc openclaw 5g-optimize agent_123 \ +aitbc hermes 5g-optimize agent_123 \ --network-slicing true \ --ultra_low_latency true \ --massive_iot_support true @@ -230,13 +230,13 @@ aitbc openclaw 5g-optimize agent_123 \ ```bash # Configure cloud-edge hybrid -aitbc openclaw hybrid agent_123 \ +aitbc hermes hybrid agent_123 \ --cloud-role coordination \ --edge-role processing \ --sync-frequency realtime # Set up data synchronization -aitbc openclaw sync agent_123 \ +aitbc hermes sync agent_123 \ --direction bidirectional \ --data-types models,results,metrics \ --conflict_resolution latest_wins @@ -248,13 +248,13 @@ aitbc openclaw sync agent_123 \ ```bash # Monitor edge performance -aitbc openclaw monitor agent_123 \ +aitbc hermes monitor agent_123 \ --metrics latency,throughput,resource_usage \ --locations all \ --real-time true # Generate edge performance report -aitbc openclaw report agent_123 \ +aitbc hermes report agent_123 \ --type edge_performance \ --period 24h \ --include recommendations @@ -264,13 +264,13 @@ aitbc openclaw report agent_123 \ ```bash # Monitor edge health -aitbc openclaw health agent_123 \ +aitbc hermes health agent_123 \ --check connectivity,performance,security \ --alert-thresholds latency>100ms,cpu>90% \ --notification slack,email # Auto-healing configuration -aitbc openclaw auto-heal agent_123 \ +aitbc hermes auto-heal agent_123 \ --enabled true \ --actions restart,redeploy,failover \ --conditions failure_threshold>3 @@ -280,13 +280,13 @@ aitbc openclaw auto-heal agent_123 \ ```bash # Monitor resource utilization -aitbc openclaw resources agent_123 \ +aitbc hermes resources agent_123 \ --metrics gpu_usage,memory_usage,network_io \ --alert-thresholds gpu>90%,memory>85% \ --auto-scale true # Predictive resource management -aitbc openclaw predict agent_123 \ +aitbc hermes predict agent_123 \ --horizon 6h \ --metrics resource_demand,user_load \ --action proactive_scaling @@ -298,13 +298,13 @@ aitbc openclaw predict agent_123 \ ```bash # Configure edge security -aitbc openclaw security agent_123 \ +aitbc hermes security agent_123 \ --encryption end_to_end \ --authentication mutual_tls \ --access_control zero_trust # Security monitoring -aitbc openclaw security-monitor agent_123 \ +aitbc hermes security-monitor agent_123 \ --threat_detection anomaly,intrusion \ --response automatic_isolation \ --compliance gdpr,hipaa @@ -314,13 +314,13 @@ aitbc openclaw security-monitor agent_123 \ ```bash # Configure data privacy at edge -aitbc openclaw privacy agent_123 \ +aitbc hermes privacy agent_123 \ --data-residency local \ --encryption_at_rest true \ --anonymization differential_privacy # GDPR compliance -aitbc openclaw gdpr agent_123 \ +aitbc hermes gdpr agent_123 \ --data-localization eu_residents \ --consent_management explicit \ --right_to_deletion true @@ -330,13 +330,13 @@ aitbc openclaw gdpr agent_123 \ ```bash # Configure compliance -aitbc openclaw compliance agent_123 \ +aitbc hermes compliance agent_123 \ --standards iso27001,soc2,hipaa \ --audit_logging true \ --reporting automated # Compliance monitoring -aitbc openclaw compliance-monitor agent_123 \ +aitbc hermes compliance-monitor agent_123 \ --continuous_monitoring true \ --alert_violations true \ --remediation automated @@ -354,7 +354,7 @@ aitbc openclow ai-accelerate agent_123 \ --model_quantization true # Configure model optimization -aitbc openclaw model-optimize agent_123 \ +aitbc hermes model-optimize agent_123 \ --target edge_devices \ --optimization pruning,quantization \ --accuracy_threshold 0.95 @@ -364,13 +364,13 @@ aitbc openclaw model-optimize agent_123 \ ```bash # Enable federated learning at edge -aitbc openclaw federated agent_123 \ +aitbc hermes federated agent_123 \ --learning_strategy federated \ --edge_participation 10_sites \ --privacy_preserving true # Coordinate federated training -aitbc openclaw federated-train agent_123 \ +aitbc hermes federated-train agent_123 \ --global_rounds 100 \ --local_epochs 5 \ --aggregation_method fedavg @@ -380,13 +380,13 @@ aitbc openclaw federated-train agent_123 \ ```bash # Configure edge analytics -aitbc openclaw analytics agent_123 \ +aitbc hermes analytics agent_123 \ --processing_location edge \ --real_time_analytics true \ --batch_processing nightly # Stream processing at edge -aitbc openclaw stream agent_123 \ +aitbc hermes stream agent_123 \ --source iot_sensors,user_interactions \ --processing window 1s \ --output alerts,insights @@ -398,13 +398,13 @@ aitbc openclaw stream agent_123 \ ```bash # Optimize edge costs -aitbc openclaw cost-optimize agent_123 \ +aitbc hermes cost-optimize agent_123 \ --strategy spot_instances \ --scheduling flexible \ --resource_sharing true # Cost monitoring -aitbc openclaw cost-monitor agent_123 \ +aitbc hermes cost-monitor agent_123 \ --budget 1000 AITBC/month \ --alert_threshold 80% \ --optimization_suggestions true @@ -414,7 +414,7 @@ aitbc openclaw cost-monitor agent_123 \ ```bash # Improve resource efficiency -aitbc openclaw efficiency agent_123 \ +aitbc hermes efficiency agent_123 \ --metrics resource_utilization,cost_per_inference \ --target_improvement 20% \ --optimization_frequency weekly @@ -427,13 +427,13 @@ aitbc openclaw efficiency agent_123 \ **Connectivity Problems** ```bash # Diagnose connectivity -aitbc openclaw diagnose agent_123 \ +aitbc hermes diagnose agent_123 \ --issue connectivity \ --locations all \ --detailed true # Repair connectivity -aitbc openclaw repair-connectivity agent_123 \ +aitbc hermes repair-connectivity agent_123 \ --locations affected_sites \ --failover backup_sites ``` @@ -441,19 +441,19 @@ aitbc openclaw repair-connectivity agent_123 \ **Performance Degradation** ```bash # Diagnose performance issues -aitbc openclaw diagnose agent_123 \ +aitbc hermes diagnose agent_123 \ --issue performance \ --metrics latency,throughput,errors # Performance recovery -aitbc openclaw recover agent_123 \ +aitbc hermes recover agent_123 \ --action restart,rebalance,upgrade ``` **Resource Exhaustion** ```bash # Handle resource exhaustion -aitbc openclaw handle-exhaustion agent_123 \ +aitbc hermes handle-exhaustion agent_123 \ --resource gpu_memory \ --action scale_up,optimize,compress ``` @@ -481,7 +481,7 @@ aitbc openclaw handle-exhaustion agent_123 \ ```bash # Deploy retail analytics agent -aitbc openclaw deploy retail_analytics \ +aitbc hermes deploy retail_analytics \ --locations store_locations \ --edge-processing customer_behavior,inventory_optimization \ --real_time_insights true @@ -491,7 +491,7 @@ aitbc openclaw deploy retail_analytics \ ```bash # Deploy manufacturing agent -aitbc openclaw deploy manufacturing_ai \ +aitbc hermes deploy manufacturing_ai \ --locations factory_sites \ --edge-processing quality_control,predictive_maintenance \ --latency_target "<10ms" @@ -501,7 +501,7 @@ aitbc openclaw deploy manufacturing_ai \ ```bash # Deploy healthcare agent -aitbc openclaw deploy healthcare_ai \ +aitbc hermes deploy healthcare_ai \ --locations hospitals,clinics \ --edge-processing medical_imaging,patient_monitoring \ --compliance hipaa,gdpr @@ -515,4 +515,4 @@ aitbc openclaw deploy healthcare_ai \ --- -**OpenClaw edge integration enables AITBC agents to deploy at the network edge, providing low-latency AI processing and real-time insights for distributed applications.** +**Hermes edge integration enables AITBC agents to deploy at the network edge, providing low-latency AI processing and real-time insights for distributed applications.** diff --git a/docs/apps/blockchain/blockchain-event-bridge.md b/docs/apps/blockchain/blockchain-event-bridge.md index bb4ae423..31a6a454 100644 --- a/docs/apps/blockchain/blockchain-event-bridge.md +++ b/docs/apps/blockchain/blockchain-event-bridge.md @@ -1,10 +1,10 @@ # Blockchain Event Bridge -Bridge between AITBC blockchain events and OpenClaw agent triggers using a hybrid event-driven and polling approach. +Bridge between AITBC blockchain events and hermes agent triggers using a hybrid event-driven and polling approach. ## Overview -This service connects AITBC blockchain events (blocks, transactions, smart contract events) to OpenClaw agent actions through: +This service connects AITBC blockchain events (blocks, transactions, smart contract events) to hermes agent actions through: - **Event-driven**: Subscribe to gossip broker topics for real-time critical triggers - **Polling**: Periodic checks for batch operations and conditions - **Smart Contract Events**: Monitor contract events via blockchain RPC (Phase 2) diff --git a/docs/apps/openclaw/openclaw-service.md b/docs/apps/openclaw/openclaw-service.md index 1b275afe..00ee0842 100644 --- a/docs/apps/openclaw/openclaw-service.md +++ b/docs/apps/openclaw/openclaw-service.md @@ -1,28 +1,28 @@ -# OpenClaw Service +# hermes Service **Level**: Advanced<br> -**Prerequisites**: Familiarity with OpenClaw agent framework<br> +**Prerequisites**: Familiarity with hermes agent framework<br> **Estimated Time**: 15 minutes<br> **Last Updated**: 2026-05-03<br> **Version**: 1.0 ## 🧭 **Navigation Path:** -**🏠 [Documentation Home](../../README.md)** β†’ **πŸ“¦ Apps** β†’ **🧩 OpenClaw** β†’ *You are here* +**🏠 [Documentation Home](../../README.md)** β†’ **πŸ“¦ Apps** β†’ **🧩 hermes** β†’ *You are here* -**breadcrumb**: Home β†’ Apps β†’ OpenClaw β†’ OpenClaw Service +**breadcrumb**: Home β†’ Apps β†’ hermes β†’ hermes Service --- ## 🎯 **See Also:** - **πŸ“– [About Documentation](../../about/README.md)** - Template standard and audit checklist - **🧭 [Master Index](../../MASTER_INDEX.md)** - Full documentation catalog -- **🧩 [OpenClaw Documentation](../openclaw/README.md)** - OpenClaw framework overview +- **🧩 [hermes Documentation](../hermes/README.md)** - hermes framework overview --- ## Overview -The OpenClaw Service provides the backend infrastructure for autonomous AI agents in the AITBC ecosystem. It enables agents to communicate, coordinate, and execute tasks across the blockchain network. +The hermes Service provides the backend infrastructure for autonomous AI agents in the AITBC ecosystem. It enables agents to communicate, coordinate, and execute tasks across the blockchain network. ## Features @@ -35,7 +35,7 @@ The OpenClaw Service provides the backend infrastructure for autonomous AI agent ## Architecture -The OpenClaw Service consists of: +The hermes Service consists of: - **Agent Registry**: Tracks registered agents and their capabilities - **Communication Layer**: Handles inter-agent messaging @@ -48,7 +48,7 @@ The OpenClaw Service consists of: ```bash cd /opt/aitbc -poetry install --with openclaw-service +poetry install --with hermes-service ``` ## Configuration @@ -57,7 +57,7 @@ Configuration is managed through environment variables: ```bash # Agent Registry -OPENCLAW_REGISTRY_URL=http://localhost:9001 +hermes_REGISTRY_URL=http://localhost:9001 # Blockchain RPC BLOCKCHAIN_RPC_URL=http://localhost:8006 @@ -73,14 +73,14 @@ WALLET_KEYSTORE_PATH=/var/lib/aitbc/keystores ### Development ```bash -cd apps/openclaw-service -python -m openclaw_service.main +cd apps/hermes-service +python -m hermes_service.main ``` ### Production (systemd) ```bash -sudo systemctl start openclaw-service -sudo systemctl enable openclaw-service +sudo systemctl start hermes-service +sudo systemctl enable hermes-service ``` ## Endpoints @@ -178,7 +178,7 @@ curl http://localhost:9001/agents/{agent_id}/tasks ## Related Documentation -- [OpenClaw Agent SDK](../../agent-sdk/AGENT_SDK_OVERVIEW.md) +- [hermes Agent SDK](../../agent-sdk/AGENT_SDK_OVERVIEW.md) - [Agent Scenarios](../../scenarios/README.md) - [Agent Coordinator](../agent-coordinator/agent-coordinator.md) @@ -187,4 +187,4 @@ curl http://localhost:9001/agents/{agent_id}/tasks *Last updated: 2026-05-03*<br> *Version: 1.0*<br> *Status: Active service*<br> -*Tags: openclaw, agents, autonomous, ai* +*Tags: hermes, agents, autonomous, ai* diff --git a/docs/archive/README.md b/docs/archive/README.md index b6f6ad33..2fed7f7c 100644 --- a/docs/archive/README.md +++ b/docs/archive/README.md @@ -53,7 +53,7 @@ The archive is organized by content categories for easy access: ### **πŸ“‘ Summaries** (`/summaries/`) - **Content**: Task completion summaries and handoffs - **Files**: 42 documents -- **Topics**: CLI fixes, testing, OpenClaw, project organization, WebSocket backpressure +- **Topics**: CLI fixes, testing, hermes, project organization, WebSocket backpressure - **Relevance**: Task completion tracking ### **οΏ½ General** (`/general/`) diff --git a/docs/archive/completed/cli/CLI_HELP_AVAILABILITY_UPDATE_SUMMARY.md b/docs/archive/completed/cli/CLI_HELP_AVAILABILITY_UPDATE_SUMMARY.md index 3ab872ec..f61531cb 100644 --- a/docs/archive/completed/cli/CLI_HELP_AVAILABILITY_UPDATE_SUMMARY.md +++ b/docs/archive/completed/cli/CLI_HELP_AVAILABILITY_UPDATE_SUMMARY.md @@ -20,14 +20,14 @@ Add help availability indicators `(βœ… Help available)` to all CLI commands in t ## πŸ”§ **Sections Updated** -### **1. OpenClaw Commands** +### **1. hermes Commands** **Commands Updated**: 25 commands -- `openclaw` (help) - Added help indicator -- All `openclaw deploy` subcommands -- All `openclaw monitor` subcommands -- All `openclaw edge` subcommands -- All `openclaw routing` subcommands -- All `openclaw ecosystem` subcommands +- `hermes` (help) - Added help indicator +- All `hermes deploy` subcommands +- All `hermes monitor` subcommands +- All `hermes edge` subcommands +- All `hermes routing` subcommands +- All `hermes ecosystem` subcommands **Before**: No help indicators **After**: All commands marked with `(βœ… Help available)` diff --git a/docs/archive/completed/cli/cli-checklist.md b/docs/archive/completed/cli/cli-checklist.md index f259b673..ef341803 100644 --- a/docs/archive/completed/cli/cli-checklist.md +++ b/docs/archive/completed/cli/cli-checklist.md @@ -84,7 +84,7 @@ and testing coverage. | Group | Commands | Purpose | | --------------- | -------- | ------------------------------------------------- | -| **openclaw** | 6+ | OpenClaw edge computing integration | +| **hermes** | 6+ | hermes edge computing integration | | **advanced** | 13+ | Advanced marketplace operations (βœ… WORKING) | | **admin** | 8+ | System administration | | **agent** | 9+ | Advanced AI agent workflow and execution | @@ -187,39 +187,39 @@ and testing coverage. ## πŸ”§ Core Commands Checklist -### **openclaw** β€” OpenClaw Edge Computing Integration +### **hermes** β€” hermes Edge Computing Integration -- [ ] `openclaw` (help) - ⚠️ **DISABLED** - Command registration issues (βœ… Help +- [ ] `hermes` (help) - ⚠️ **DISABLED** - Command registration issues (βœ… Help available) -- [ ] `openclaw deploy` β€” Agent deployment operations (βœ… Help available) - - [ ] `openclaw deploy deploy-agent` β€” Deploy agent to OpenClaw network (βœ… +- [ ] `hermes deploy` β€” Agent deployment operations (βœ… Help available) + - [ ] `hermes deploy deploy-agent` β€” Deploy agent to hermes network (βœ… Help available) - - [ ] `openclaw deploy list` β€” List deployed agents (βœ… Help available) - - [ ] `openclaw deploy status` β€” Check deployment status (βœ… Help available) - - [ ] `openclaw deploy scale` β€” Scale agent deployment (βœ… Help available) - - [ ] `openclaw deploy terminate` β€” Terminate deployment (βœ… Help available) -- [ ] `openclaw monitor` β€” OpenClaw monitoring operations (βœ… Help available) - - [ ] `openclaw monitor metrics` β€” Get deployment metrics (βœ… Help available) - - [ ] `openclaw monitor alerts` β€” Configure monitoring alerts (βœ… Help + - [ ] `hermes deploy list` β€” List deployed agents (βœ… Help available) + - [ ] `hermes deploy status` β€” Check deployment status (βœ… Help available) + - [ ] `hermes deploy scale` β€” Scale agent deployment (βœ… Help available) + - [ ] `hermes deploy terminate` β€” Terminate deployment (βœ… Help available) +- [ ] `hermes monitor` β€” hermes monitoring operations (βœ… Help available) + - [ ] `hermes monitor metrics` β€” Get deployment metrics (βœ… Help available) + - [ ] `hermes monitor alerts` β€” Configure monitoring alerts (βœ… Help available) - - [ ] `openclaw monitor logs` β€” View deployment logs (βœ… Help available) - - [ ] `openclaw monitor health` β€” Check deployment health (βœ… Help available) -- [ ] `openclaw edge` β€” Edge computing operations (βœ… Help available) - - [ ] `openclaw edge locations` β€” List edge locations (βœ… Help available) - - [ ] `openclaw edge deploy` β€” Deploy to edge locations (βœ… Help available) - - [ ] `openclaw edge status` β€” Check edge status (βœ… Help available) - - [ ] `openclaw edge optimize` β€” Optimize edge deployment (βœ… Help available) -- [ ] `openclaw routing` β€” Agent skill routing and job offloading (βœ… Help + - [ ] `hermes monitor logs` β€” View deployment logs (βœ… Help available) + - [ ] `hermes monitor health` β€” Check deployment health (βœ… Help available) +- [ ] `hermes edge` β€” Edge computing operations (βœ… Help available) + - [ ] `hermes edge locations` β€” List edge locations (βœ… Help available) + - [ ] `hermes edge deploy` β€” Deploy to edge locations (βœ… Help available) + - [ ] `hermes edge status` β€” Check edge status (βœ… Help available) + - [ ] `hermes edge optimize` β€” Optimize edge deployment (βœ… Help available) +- [ ] `hermes routing` β€” Agent skill routing and job offloading (βœ… Help available) - - [ ] `openclaw routing config` β€” Configure routing (βœ… Help available) - - [ ] `openclaw routing routes` β€” List active routes (βœ… Help available) - - [ ] `openclaw routing optimize` β€” Optimize routing (βœ… Help available) - - [ ] `openclaw routing balance` β€” Load balancing (βœ… Help available) -- [ ] `openclaw ecosystem` β€” OpenClaw ecosystem development (βœ… Help available) - - [ ] `openclaw ecosystem status` β€” Ecosystem status (βœ… Help available) - - [ ] `openclaw ecosystem partners` β€” Partner management (βœ… Help available) - - [ ] `openclaw ecosystem resources` β€” Resource management (βœ… Help available) - - [ ] `openclaw ecosystem analytics` β€” Ecosystem analytics (βœ… Help available) + - [ ] `hermes routing config` β€” Configure routing (βœ… Help available) + - [ ] `hermes routing routes` β€” List active routes (βœ… Help available) + - [ ] `hermes routing optimize` β€” Optimize routing (βœ… Help available) + - [ ] `hermes routing balance` β€” Load balancing (βœ… Help available) +- [ ] `hermes ecosystem` β€” hermes ecosystem development (βœ… Help available) + - [ ] `hermes ecosystem status` β€” Ecosystem status (βœ… Help available) + - [ ] `hermes ecosystem partners` β€” Partner management (βœ… Help available) + - [ ] `hermes ecosystem resources` β€” Resource management (βœ… Help available) + - [ ] `hermes ecosystem analytics` β€” Ecosystem analytics (βœ… Help available) ### **advanced** β€” Advanced Marketplace Operations @@ -484,10 +484,10 @@ and testing coverage. ### **marketplace** β€” GPU Marketplace Operations -- [ ] `marketplace agents` β€” OpenClaw agent marketplace operations (βœ… Help +- [ ] `marketplace agents` β€” hermes agent marketplace operations (βœ… Help available) - [ ] `marketplace bid` β€” Marketplace bid operations (βœ… Help available) -- [ ] `marketplace governance` β€” OpenClaw agent governance operations (βœ… Help +- [ ] `marketplace governance` β€” hermes agent governance operations (βœ… Help available) - [ ] `marketplace gpu` β€” GPU marketplace operations (βœ… Help available) - [ ] `marketplace offers` β€” Marketplace offers operations (βœ… Help available) @@ -496,7 +496,7 @@ and testing coverage. available) - [ ] `marketplace review` β€” Add a review for a GPU (βœ… Help available) - [ ] `marketplace reviews` β€” Get GPU reviews (βœ… Help available) -- [ ] `marketplace test` β€” OpenClaw marketplace testing operations (βœ… Help +- [ ] `marketplace test` β€” hermes marketplace testing operations (βœ… Help available) ### **miner** β€” Mining Operations and Job Processing diff --git a/docs/archive/completed/core_planning/next-steps-plan.md b/docs/archive/completed/core_planning/next-steps-plan.md index dfedbbbb..d18e255d 100644 --- a/docs/archive/completed/core_planning/next-steps-plan.md +++ b/docs/archive/completed/core_planning/next-steps-plan.md @@ -10,7 +10,7 @@ - Port 8012: Modality Optimization βœ… working - Port 8013: Adaptive Learning βœ… working - Port 8014: Marketplace Enhanced βœ… working -- Port 8015: OpenClaw Enhanced βœ… working +- Port 8015: hermes Enhanced βœ… working - Port 8016: Web UI βœ… working - Port 8017: Geographic Load Balancer βœ… working - Old port 9080: βœ… successfully decommissioned @@ -41,7 +41,7 @@ βœ… Port 8012: Modality Optimization - WORKING βœ… Port 8013: Adaptive Learning - WORKING βœ… Port 8014: Marketplace Enhanced - WORKING -βœ… Port 8015: OpenClaw Enhanced - WORKING +βœ… Port 8015: hermes Enhanced - WORKING βœ… Port 8016: Web UI - WORKING βœ… Port 8017: Geographic Load Balancer - WORKING ``` diff --git a/docs/archive/completed/implementation/enhanced-services-implementation-complete.md b/docs/archive/completed/implementation/enhanced-services-implementation-complete.md index e15e4286..6bcbc64a 100644 --- a/docs/archive/completed/implementation/enhanced-services-implementation-complete.md +++ b/docs/archive/completed/implementation/enhanced-services-implementation-complete.md @@ -39,16 +39,16 @@ - **Endpoint**: `http://localhost:8013/health` - **Features**: Agent registration, service discovery -**πŸš€ Port 8014: OpenClaw Service** +**πŸš€ Port 8014: hermes Service** - **Status**: βœ… Running and responding - **Purpose**: Edge computing and agent orchestration - **Endpoint**: `http://localhost:8014/health` - **Features**: Edge computing, agent management - **Features**: Advanced marketplace features, royalty management -**πŸš€ Port 8015: OpenClaw Enhanced Service** +**πŸš€ Port 8015: hermes Enhanced Service** - **Status**: βœ… Updated (existing service) -- **Purpose**: Enhanced OpenClaw capabilities +- **Purpose**: Enhanced hermes capabilities - **Endpoint**: `http://localhost:8015/health` - **Features**: Edge computing, agent orchestration @@ -84,7 +84,7 @@ /etc/systemd/system/aitbc-modality-optimization.service # Port 8012 /etc/systemd/system/aitbc-adaptive-learning.service # Port 8013 /etc/systemd/system/aitbc-marketplace-enhanced.service # Port 8014 -/etc/systemd/system/aitbc-openclaw.service # Port 8015 +/etc/systemd/system/aitbc-hermes.service # Port 8015 /etc/systemd/system/aitbc-web-ui.service # Port 8016 ``` @@ -134,7 +134,7 @@ sudo netstat -tlnp | grep -E ":(8010|8011|8012|8013|8014|8015|8016)" - **βœ… Port 8012**: Modality Optimization - **WORKING** - **βœ… Port 8013**: Adaptive Learning - **WORKING** - **βœ… Port 8014**: Marketplace Enhanced - **WORKING** -- **βœ… Port 8015**: OpenClaw Enhanced - **WORKING** +- **βœ… Port 8015**: hermes Enhanced - **WORKING** - **βœ… Port 8016**: Web UI - **WORKING** **βœ… Old Ports Decommissioned:** diff --git a/docs/archive/completed/security/architecture-reorganization-summary.md b/docs/archive/completed/security/architecture-reorganization-summary.md index f1291074..0f5739d9 100644 --- a/docs/archive/completed/security/architecture-reorganization-summary.md +++ b/docs/archive/completed/security/architecture-reorganization-summary.md @@ -28,7 +28,7 @@ β”‚ β”œβ”€β”€ Modality Optimization (Port 8004) β”‚ β”œβ”€β”€ Adaptive Learning (Port 8005) β”‚ β”œβ”€β”€ Marketplace Enhanced (Port 8006) -β”‚ β”œβ”€β”€ OpenClaw Enhanced (Port 8007) +β”‚ β”œβ”€β”€ hermes Enhanced (Port 8007) + β”‚ └── Web UI (Port 8009) ``` @@ -51,7 +51,7 @@ Enhanced Services (Ports 8002-8007) β”œβ”€β”€ Modality Optimization (Port 8004) β”œβ”€β”€ Adaptive Learning (Port 8005) β”œβ”€β”€ Marketplace Enhanced (Port 8006) -└── OpenClaw Enhanced (Port 8007) +└── hermes Enhanced (Port 8007) ``` ### **After Update** @@ -68,7 +68,7 @@ Enhanced Services (Ports 8002-8009) β”œβ”€β”€ Modality Optimization (Port 8004) β”œβ”€β”€ Adaptive Learning (Port 8005) β”œβ”€β”€ Marketplace Enhanced (Port 8006) -β”œβ”€β”€ OpenClaw Enhanced (Port 8007) +β”œβ”€β”€ hermes Enhanced (Port 8007) └── Web UI (Port 8009) ← Now with 8000+ port services ``` @@ -107,7 +107,7 @@ Enhanced Services (Ports 8002-8009) - **Modality Optimization (Port 8004)**: Service optimization - **Adaptive Learning (Port 8005)**: Machine learning capabilities - **Marketplace Enhanced (Port 8006)**: Enhanced marketplace features -- **OpenClaw Enhanced (Port 8007)**: Advanced OpenClaw integration +- **hermes Enhanced (Port 8007)**: Advanced hermes integration - **Web UI (Port 8009)**: User interface and web portal --- @@ -146,7 +146,7 @@ Enhanced Services (7 services): - Modality Optimization (Port 8004) - Adaptive Learning (Port 8005) - Marketplace Enhanced (Port 8006) -- OpenClaw Enhanced (Port 8007) +- hermes Enhanced (Port 8007) - Web UI (Port 8009) ``` diff --git a/docs/archive/completed/summaries/99_currentissue.md b/docs/archive/completed/summaries/99_currentissue.md index 91c632d5..4fffa57c 100644 --- a/docs/archive/completed/summaries/99_currentissue.md +++ b/docs/archive/completed/summaries/99_currentissue.md @@ -32,7 +32,7 @@ - Modality Optimization Service (Port 8004) βœ… - Adaptive Learning Service (Port 8005) βœ… - Enhanced Marketplace Service (Port 8006) βœ… -- OpenClaw Enhanced Service (Port 8007) βœ… +- hermes Enhanced Service (Port 8007) βœ… - Deployment: Production-ready with systemd integration βœ… @@ -228,7 +228,7 @@ aitbc1-edge-secondary (us-west): - **aitbc1 (10.1.223.40)**: Secondary dev container without GPUs ### Test Status -- **OpenClaw Marketplace Tests**: Created comprehensive test suite (7 test files) +- **hermes Marketplace Tests**: Created comprehensive test suite (7 test files) - **Test Runner**: Implemented automated test execution - **Status**: Tests created but need fixture fixes for async patterns @@ -456,7 +456,7 @@ Enhanced Contract Stack (Complete Implementation): --- -### Phase 8.3: OpenClaw Agent Economics Enhancement (Weeks 5-6) βœ… COMPLETE +### Phase 8.3: hermes Agent Economics Enhancement (Weeks 5-6) βœ… COMPLETE #### πŸ“‹ Week 5: Core Economic Systems (February 26, 2026) **Status**: βœ… COMPLETE @@ -472,7 +472,7 @@ Enhanced Contract Stack (Complete Implementation): - βœ… Smart contract deployment completed on both servers - βœ… Week 5: Agent Economics Enhancement completed - βœ… Week 6: Advanced Features & Integration completed -- βœ… Week 7 Day 1-3: Enhanced OpenClaw Agent Performance completed +- βœ… Week 7 Day 1-3: Enhanced hermes Agent Performance completed - βœ… Week 7 Day 4-6: Multi-Modal Agent Fusion & Advanced RL completed - βœ… Week 7 Day 7-9: Agent Creativity & Specialized Capabilities completed - βœ… Week 10-12: Marketplace Performance Optimization completed @@ -481,7 +481,7 @@ Enhanced Contract Stack (Complete Implementation): **Week 16-18 Tasks: Decentralized Agent Governance**: - βœ… Token-Based Voting: Mechanism for agents and developers to vote on protocol changes -- βœ… OpenClaw DAO: Creation of the decentralized autonomous organization structure +- βœ… hermes DAO: Creation of the decentralized autonomous organization structure - βœ… Proposal System: Framework for submitting and executing marketplace rules - βœ… Governance Analytics: Transparency reporting for treasury and voting metrics - βœ… Agent Certification: Fully integrated governance-backed partnership programs @@ -503,13 +503,13 @@ Enhanced Contract Stack (Complete Implementation): - `generate_transparency_report`: Automated analytics generation - βœ… **Governance APIs** (`routers/governance.py`) - - Complete REST interface for the OpenClaw DAO + - Complete REST interface for the hermes DAO - Endpoints for delegation, voting, proposal execution, and reporting **Week 16-18 Achievements**: - βœ… Established a robust, transparent DAO structure for the AITBC ecosystem - βœ… Created an automated treasury and proposal execution framework -- βœ… Finalized Phase 10: OpenClaw Agent Community & Governance +- βœ… Finalized Phase 10: hermes Agent Community & Governance **Dependencies**: - βœ… Existing agent services (agent_service.py, agent_integration.py) diff --git a/docs/archive/completed/summaries/priority-3-complete.md b/docs/archive/completed/summaries/priority-3-complete.md index ea285f6d..14e7d0c1 100644 --- a/docs/archive/completed/summaries/priority-3-complete.md +++ b/docs/archive/completed/summaries/priority-3-complete.md @@ -51,7 +51,7 @@ Coordinator proxy healthy: http://127.0.0.1:8000/v1/health βœ… Port 8012: Modality Optimization Service βœ… Port 8013: Adaptive Learning Service βœ… Port 8014: Marketplace Enhanced Service -βœ… Port 8015: OpenClaw Enhanced Service +βœ… Port 8015: hermes Enhanced Service βœ… Port 8016: Web UI Service ``` @@ -88,7 +88,7 @@ Coordinator proxy healthy: http://127.0.0.1:8000/v1/health βœ… Port 8012: Modality Optimization - WORKING βœ… Port 8013: Adaptive Learning - WORKING βœ… Port 8014: Marketplace Enhanced - WORKING -βœ… Port 8015: OpenClaw Enhanced - WORKING +βœ… Port 8015: hermes Enhanced - WORKING βœ… Port 8016: Web UI - WORKING # Old Ports Decommissioned: diff --git a/docs/archive/expert/2026-02-issues/all-major-phases-completed-2026-02-24.md b/docs/archive/expert/2026-02-issues/all-major-phases-completed-2026-02-24.md index d6bd30ca..02cc5ad8 100644 --- a/docs/archive/expert/2026-02-issues/all-major-phases-completed-2026-02-24.md +++ b/docs/archive/expert/2026-02-issues/all-major-phases-completed-2026-02-24.md @@ -44,7 +44,7 @@ All major development phases have been successfully completed: - βœ… **COMPLETED**: End-to-end testing framework with 100% success rate ### **Next Phase: Future Development** -- πŸ”„ **NEXT PHASE**: Advanced OpenClaw Integration Enhancement +- πŸ”„ **NEXT PHASE**: Advanced hermes Integration Enhancement - πŸ”„ **NEXT PHASE**: Quantum Computing Preparation - πŸ”„ **NEXT PHASE**: Global Ecosystem Expansion - πŸ”„ **NEXT PHASE**: Community Governance Implementation @@ -65,7 +65,7 @@ All major development phases have been successfully completed: - βœ… **Modality Optimization Service** (Port 8004) - Specialized optimization strategies for each data type - βœ… **Adaptive Learning Service** (Port 8005) - Reinforcement learning frameworks for agent self-improvement - βœ… **Enhanced Marketplace Service** (Port 8006) - Royalties, licensing, verification, and analytics -- βœ… **OpenClaw Enhanced Service** (Port 8007) - Agent orchestration, edge computing, and ecosystem development +- βœ… **hermes Enhanced Service** (Port 8007) - Agent orchestration, edge computing, and ecosystem development - βœ… **Systemd Integration**: Individual service management with automatic restart and monitoring - βœ… **Deployment Tools**: Automated deployment scripts and service management utilities - βœ… **Performance Metrics**: Sub-second processing, 85% GPU utilization, 94% accuracy scores @@ -73,7 +73,7 @@ All major development phases have been successfully completed: ### Client-to-Miner Workflow Demonstration βœ… - βœ… **End-to-End Pipeline**: Complete client request to miner processing workflow - βœ… **Multi-Modal Processing**: Text, image, audio analysis with 94% accuracy -- βœ… **OpenClaw Integration**: Agent routing with performance optimization +- βœ… **hermes Integration**: Agent routing with performance optimization - βœ… **Marketplace Transaction**: Royalties, licensing, and verification - βœ… **Performance Validation**: 0.08s processing time, 85% GPU utilization - βœ… **Cost Efficiency**: $0.15 per request with 12.5 requests/second throughput @@ -491,7 +491,7 @@ See `docs/issues/` for resolved issues and their solutions: **Day 2 Achievements:** - **High Priority Implementation**: Phase 6.5 & 6.6 implementation completed - **Marketplace Enhancement**: Advanced marketplace features with 4 major components -- **OpenClaw Enhancement**: Advanced agent orchestration with 4 major components +- **hermes Enhancement**: Advanced agent orchestration with 4 major components - **High Priority Features**: 8 high priority features successfully implemented - **Production Readiness**: All systems ready for production deployment @@ -514,7 +514,7 @@ See `docs/issues/` for resolved issues and their solutions: - **Analytics Coverage**: 100+ real-time metrics, 95% performance accuracy - **Governance System**: Decentralized governance with dispute resolution -**OpenClaw Enhancement Metrics:** +**hermes Enhancement Metrics:** - **Agent Count**: 1000+ agents with advanced orchestration - **Routing Accuracy**: 95% routing accuracy with intelligent optimization - **Cost Reduction**: 80% cost reduction through intelligent offloading @@ -556,7 +556,7 @@ See `docs/issues/` for resolved issues and their solutions: - **GPU Enhancements**: Multi-GPU support, distributed training, CUDA optimization, memory efficiency - **Performance Improvements**: 220x overall speedup, 35% memory efficiency, 40% cost efficiency - **Future Capabilities**: Cross-domain agents, quantum preparation, edge computing -- **High Priority Features**: Advanced marketplace and OpenClaw integration +- **High Priority Features**: Advanced marketplace and hermes integration - **Advanced AI Capabilities**: Multi-modal processing, adaptive learning, meta-learning, continuous learning **System Performance Metrics:** @@ -607,7 +607,7 @@ See `docs/issues/` for resolved issues and their solutions: - **Phase 5**: Enterprise Scale & Marketplace βœ… COMPLETE - **Phase 6**: System Maintenance & Continuous Improvement βœ… COMPLETE - **Phase 6.5**: High Priority Marketplace Enhancement βœ… COMPLETE -- **Phase 6.6**: High Priority OpenClaw Enhancement βœ… COMPLETE +- **Phase 6.6**: High Priority hermes Enhancement βœ… COMPLETE - **Phase 5**: Advanced AI Agent Capabilities βœ… COMPLETE ### πŸš€ **Production-Ready System** @@ -618,7 +618,7 @@ See `docs/issues/` for resolved issues and their solutions: - **Agent Marketplace**: 80 agents with GPU acceleration and $90K revenue - **Performance Optimization**: 380ms response time with 99.95% uptime - **Ecosystem Integration**: 20+ enterprise partnerships and 600 community members -- **High Priority Features**: Advanced marketplace and OpenClaw integration +- **High Priority Features**: Advanced marketplace and hermes integration - **Advanced AI Capabilities**: Multi-modal processing, adaptive learning, meta-learning ### πŸ“Š **System Performance Metrics** @@ -638,7 +638,7 @@ See `docs/issues/` for resolved issues and their solutions: - **Developer Tools**: 10 comprehensive developer tools and SDKs - **Community Building**: 600+ active community members with engagement programs - **Advanced AI**: Multi-modal, adaptive, collaborative, autonomous agents -- **High Priority Integration**: Advanced marketplace and OpenClaw integration +- **High Priority Integration**: Advanced marketplace and hermes integration - **Advanced Capabilities**: Meta-learning, continuous learning, real-time processing ### πŸ“ˆ **Business Impact** @@ -647,7 +647,7 @@ See `docs/issues/` for resolved issues and their solutions: - **GPU-Accelerated Marketplace**: 220x speedup for agent operations with $90K revenue - **Ecosystem Expansion**: 20+ strategic enterprise partnerships and growing community - **Continuous Improvement**: Ongoing maintenance and optimization with advanced roadmap -- **High Priority Revenue**: Enhanced marketplace and OpenClaw integration driving revenue growth +- **High Priority Revenue**: Enhanced marketplace and hermes integration driving revenue growth - **Advanced AI Innovation**: Multi-modal processing and adaptive learning capabilities ### 🎯 **Complete System Status** @@ -658,7 +658,7 @@ The complete AITBC Verifiable AI Agent Orchestration system is now operational w - Comprehensive agent marketplace with $90K monthly revenue - Performance optimization with 380ms response time and 99.95% uptime - Enterprise partnerships and thriving developer ecosystem -- High priority marketplace and OpenClaw integration for enhanced capabilities +- High priority marketplace and hermes integration for enhanced capabilities - Advanced AI agent capabilities with multi-modal processing and adaptive learning - Continuous improvement and maintenance framework diff --git a/docs/archive/expert/2026-02-issues/cli-tools-milestone-completed-2026-02-24.md b/docs/archive/expert/2026-02-issues/cli-tools-milestone-completed-2026-02-24.md index 89cfa28b..9afcb5b0 100644 --- a/docs/archive/expert/2026-02-issues/cli-tools-milestone-completed-2026-02-24.md +++ b/docs/archive/expert/2026-02-issues/cli-tools-milestone-completed-2026-02-24.md @@ -11,7 +11,7 @@ Successfully completed the implementation of comprehensive CLI tools for the cur ## Achievement Details ### CLI Implementation Complete -- **5 New Command Groups**: agent, multimodal, optimize, openclaw, marketplace_advanced, swarm +- **5 New Command Groups**: agent, multimodal, optimize, hermes, marketplace_advanced, swarm - **50+ New Commands**: Advanced AI agent workflows, multi-modal processing, autonomous optimization - **Complete Test Coverage**: Unit tests for all command modules with mock HTTP client testing - **Full Integration**: Updated main.py to import and add all new command groups @@ -32,11 +32,11 @@ Successfully completed the implementation of comprehensive CLI tools for the cur - `optimize self-opt enable` - Self-optimization - `optimize predict` - Predictive resource management -4. **OpenClaw Commands (4/4)** βœ… - - `openclaw deploy` - Agent deployment - - `openclaw edge deploy` - Edge computing deployment - - `openclaw monitor` - Deployment monitoring - - `openclaw optimize` - Deployment optimization +4. **hermes Commands (4/4)** βœ… + - `hermes deploy` - Agent deployment + - `hermes edge deploy` - Edge computing deployment + - `hermes monitor` - Deployment monitoring + - `hermes optimize` - Deployment optimization 5. **Marketplace Commands (5/5)** βœ… - `marketplace advanced models list/mint/update/verify` - NFT 2.0 operations @@ -66,7 +66,7 @@ Successfully completed the implementation of comprehensive CLI tools for the cur - `cli/aitbc_cli/commands/agent.py` - Advanced AI agent management - `cli/aitbc_cli/commands/multimodal.py` - Multi-modal processing - `cli/aitbc_cli/commands/optimize.py` - Autonomous optimization -- `cli/aitbc_cli/commands/openclaw.py` - OpenClaw integration +- `cli/aitbc_cli/commands/hermes.py` - hermes integration - `cli/aitbc_cli/commands/marketplace_advanced.py` - Enhanced marketplace - `cli/aitbc_cli/commands/swarm.py` - Swarm intelligence @@ -74,7 +74,7 @@ Successfully completed the implementation of comprehensive CLI tools for the cur - `tests/cli/test_agent_commands.py` - Agent command tests - `tests/cli/test_multimodal_commands.py` - Multi-modal tests - `tests/cli/test_optimize_commands.py` - Optimization tests -- `tests/cli/test_openclaw_commands.py` - OpenClaw tests +- `tests/cli/test_hermes_commands.py` - hermes tests - `tests/cli/test_marketplace_advanced_commands.py` - Marketplace tests - `tests/cli/test_swarm_commands.py` - Swarm tests @@ -95,7 +95,7 @@ Successfully completed the implementation of comprehensive CLI tools for the cur ### Key Features - **Verification Levels**: Basic, full, zero-knowledge verification options - **GPU Acceleration**: Multi-modal processing with GPU acceleration support -- **Edge Computing**: OpenClaw integration for edge deployment +- **Edge Computing**: hermes integration for edge deployment - **NFT 2.0**: Advanced marketplace with NFT standard 2.0 support - **Swarm Intelligence**: Collective optimization and coordination @@ -124,7 +124,7 @@ Successfully completed the implementation of comprehensive CLI tools for the cur ### Platform Capabilities - **Agent-First Architecture**: Complete transformation to agent-centric platform - **Advanced AI Capabilities**: Multi-modal processing and adaptive learning -- **Edge Computing**: OpenClaw integration for distributed deployment +- **Edge Computing**: hermes integration for distributed deployment - **Enhanced Marketplace**: NFT 2.0 and advanced trading features - **Swarm Intelligence**: Collective optimization capabilities @@ -138,7 +138,7 @@ Successfully completed the implementation of comprehensive CLI tools for the cur The CLI tools milestone is complete. The platform now has comprehensive command-line interfaces for all advanced AI agent capabilities. The next phase should focus on: -1. **OpenClaw Integration Enhancement** - Deep edge computing integration +1. **hermes Integration Enhancement** - Deep edge computing integration 2. **Advanced Marketplace Operations** - Production marketplace deployment 3. **Agent Ecosystem Development** - Third-party agent tools and integrations @@ -146,8 +146,8 @@ The CLI tools milestone is complete. The platform now has comprehensive command- **Status**: RESOLVED βœ… **Resolution Date**: February 24, 2026 -**Resolution**: All CLI tools for the current milestone have been successfully implemented with complete test coverage and documentation. The platform now provides comprehensive command-line interfaces for advanced AI agent capabilities, multi-modal processing, autonomous optimization, OpenClaw integration, and enhanced marketplace operations. +**Resolution**: All CLI tools for the current milestone have been successfully implemented with complete test coverage and documentation. The platform now provides comprehensive command-line interfaces for advanced AI agent capabilities, multi-modal processing, autonomous optimization, hermes integration, and enhanced marketplace operations. --- -**Tags**: cli, milestone, completion, agent-first, advanced-ai, openclaw, marketplace +**Tags**: cli, milestone, completion, agent-first, advanced-ai, hermes, marketplace diff --git a/docs/archive/expert/2026-02-issues/enhanced-services-deployment-completed-2026-02-24.md b/docs/archive/expert/2026-02-issues/enhanced-services-deployment-completed-2026-02-24.md index b4c06fb5..a7dcce28 100644 --- a/docs/archive/expert/2026-02-issues/enhanced-services-deployment-completed-2026-02-24.md +++ b/docs/archive/expert/2026-02-issues/enhanced-services-deployment-completed-2026-02-24.md @@ -17,7 +17,7 @@ Successfully deployed the complete enhanced services suite for advanced AI agent - **Modality Optimization Service** (Port 8004) - Specialized optimization strategies for each data type - **Adaptive Learning Service** (Port 8005) - Reinforcement learning frameworks for agent self-improvement - **Enhanced Marketplace Service** (Port 8006) - Royalties, licensing, verification, and analytics -- **OpenClaw Enhanced Service** (Port 8007) - Agent orchestration, edge computing, and ecosystem development +- **hermes Enhanced Service** (Port 8007) - Agent orchestration, edge computing, and ecosystem development ### Systemd Integration βœ… - Individual systemd service files for each enhanced capability @@ -33,7 +33,7 @@ Successfully deployed the complete enhanced services suite for advanced AI agent ### Client-to-Miner Workflow Demonstration βœ… - Complete end-to-end pipeline from client request to miner processing - Multi-modal data processing (text, image, audio) with 94% accuracy -- OpenClaw agent routing with performance optimization +- hermes agent routing with performance optimization - Marketplace transaction processing with royalties and licensing - Performance metrics: 0.08s processing time, 85% GPU utilization @@ -66,11 +66,11 @@ Successfully deployed the complete enhanced services suite for advanced AI agent - `modality_optimization.py` - Modality-specific optimization (36KB) - `adaptive_learning.py` - Reinforcement learning frameworks (34KB) - `marketplace_enhanced_simple.py` - Enhanced marketplace service (10KB) -- `openclaw_enhanced_simple.py` - OpenClaw integration service (17KB) +- `hermes_enhanced_simple.py` - hermes integration service (17KB) ### API Routers - `marketplace_enhanced_simple.py` - Marketplace enhanced API router (5KB) -- `openclaw_enhanced_simple.py` - OpenClaw enhanced API router (8KB) +- `hermes_enhanced_simple.py` - hermes enhanced API router (8KB) ### FastAPI Applications - `multimodal_app.py` - Multi-modal processing API entry point @@ -78,7 +78,7 @@ Successfully deployed the complete enhanced services suite for advanced AI agent - `modality_optimization_app.py` - Modality optimization API entry point - `adaptive_learning_app.py` - Adaptive learning API entry point - `marketplace_enhanced_app.py` - Enhanced marketplace API entry point -- `openclaw_enhanced_app.py` - OpenClaw enhanced API entry point +- `hermes_enhanced_app.py` - hermes enhanced API entry point ### Systemd Services - `aitbc-multimodal.service` - Multi-modal agent service @@ -86,12 +86,12 @@ Successfully deployed the complete enhanced services suite for advanced AI agent - `aitbc-modality-optimization.service` - Modality optimization service - `aitbc-adaptive-learning.service` - Adaptive learning service - `aitbc-marketplace-enhanced.service` - Enhanced marketplace service -- `aitbc-openclaw.service` - OpenClaw service +- `aitbc-hermes.service` - hermes service ### Test Files - `test_multimodal_agent.py` - Comprehensive multi-modal tests (26KB) - `test_marketplace_enhanced.py` - Marketplace enhancement tests (11KB) -- `test_openclaw_enhanced.py` - OpenClaw enhancement tests (16KB) +- `test_hermes_enhanced.py` - hermes enhancement tests (16KB) ### Deployment Scripts - `deploy_services.sh` - Automated deployment script (9KB) @@ -111,7 +111,7 @@ Successfully deployed the complete enhanced services suite for advanced AI agent | Modality Optimization | 8004 | `/health` | πŸ”„ READY | | Adaptive Learning | 8005 | `/health` | πŸ”„ READY | | Enhanced Marketplace | 8006 | `/health` | πŸ”„ READY | -| OpenClaw Enhanced | 8007 | `/health` | πŸ”„ READY | +| hermes Enhanced | 8007 | `/health` | πŸ”„ READY | ## Integration Status @@ -165,7 +165,7 @@ Successfully deployed the complete enhanced services suite for advanced AI agent **Impact**: - Advanced AI agent capabilities fully deployed - Multi-modal processing pipeline operational -- OpenClaw integration ready for edge computing +- hermes integration ready for edge computing - Enhanced marketplace features available - Complete client-to-miner workflow demonstrated - Production-ready service management established diff --git a/docs/archive/expert/completed_phases/04_advanced_agent_features.md b/docs/archive/expert/completed_phases/04_advanced_agent_features.md index dabdc1d8..d6a2fee1 100644 --- a/docs/archive/expert/completed_phases/04_advanced_agent_features.md +++ b/docs/archive/expert/completed_phases/04_advanced_agent_features.md @@ -6,7 +6,7 @@ ## Overview -Phase 4 focuses on implementing advanced AI agent features that significantly enhance the OpenClaw agent ecosystem. This phase introduces cross-chain reputation systems, secure agent communication, advanced learning capabilities, agent autonomy features, and an advanced agent marketplace. +Phase 4 focuses on implementing advanced AI agent features that significantly enhance the Hermes agent ecosystem. This phase introduces cross-chain reputation systems, secure agent communication, advanced learning capabilities, agent autonomy features, and an advanced agent marketplace. ## Phase Structure @@ -369,7 +369,7 @@ contract CrossChainReputation is ERC721, Ownable, ReentrancyGuard, Pausable { ## Conclusion -Phase 4: Advanced Agent Features is progressing well with 80% completion of Phase 4.1. The cross-chain reputation system is nearly complete with comprehensive smart contracts, backend services, and frontend components. The remaining phases will introduce advanced communication, collaboration, learning, and autonomy features that will significantly enhance the OpenClaw agent ecosystem. +Phase 4: Advanced Agent Features is progressing well with 80% completion of Phase 4.1. The cross-chain reputation system is nearly complete with comprehensive smart contracts, backend services, and frontend components. The remaining phases will introduce advanced communication, collaboration, learning, and autonomy features that will significantly enhance the Hermes agent ecosystem. **Phase 4 Status: πŸ”„ 80% COMPLETE - ON TRACK FOR SUCCESS!** diff --git a/docs/archive/expert/completed_phases/10_openclaw_enhancement.md b/docs/archive/expert/completed_phases/10_openclaw_enhancement.md index 046b203c..1e2799ac 100644 --- a/docs/archive/expert/completed_phases/10_openclaw_enhancement.md +++ b/docs/archive/expert/completed_phases/10_openclaw_enhancement.md @@ -1,4 +1,4 @@ -# OpenClaw Integration Enhancement - Phase 6.6 +# hermes Integration Enhancement - Phase 6.6 **Timeline**: Q3 2026 (Weeks 16-18) **Status**: πŸ”„ HIGH PRIORITY @@ -6,12 +6,12 @@ ## Overview -Phase 6.6 focuses on deepening the integration between AITBC and OpenClaw, creating advanced agent orchestration capabilities, edge computing integration, and a comprehensive OpenClaw ecosystem. This phase leverages AITBC's decentralized infrastructure to enhance OpenClaw's agent capabilities and create a seamless hybrid execution environment. +Phase 6.6 focuses on deepening the integration between AITBC and hermes, creating advanced agent orchestration capabilities, edge computing integration, and a comprehensive hermes ecosystem. This phase leverages AITBC's decentralized infrastructure to enhance hermes's agent capabilities and create a seamless hybrid execution environment. ## Phase 6.6.1: Advanced Agent Orchestration (Weeks 16-17) ### Objectives -Deepen OpenClaw integration with advanced capabilities including sophisticated agent skill routing, intelligent job offloading, and collaborative agent coordination. +Deepen hermes integration with advanced capabilities including sophisticated agent skill routing, intelligent job offloading, and collaborative agent coordination. ### Technical Implementation @@ -72,11 +72,11 @@ Deepen OpenClaw integration with advanced capabilities including sophisticated a ## Phase 6.6.2: Edge Computing Integration (Weeks 17-18) ### Objectives -Integrate edge computing with OpenClaw agents, creating edge deployment capabilities, edge-to-cloud coordination, and edge-specific optimization strategies. +Integrate edge computing with hermes agents, creating edge deployment capabilities, edge-to-cloud coordination, and edge-specific optimization strategies. ### Technical Implementation -#### 6.6.2.1 Edge Deployment for OpenClaw Agents +#### 6.6.2.1 Edge Deployment for hermes Agents - **Edge Infrastructure**: Edge computing infrastructure for agent deployment - **Deployment Automation**: Automated edge deployment systems - **Resource Management**: Edge resource management and optimization @@ -130,18 +130,18 @@ Integrate edge computing with OpenClaw agents, creating edge deployment capabili - βœ… 99.9% edge security compliance - βœ… 80%+ edge resource efficiency -## Phase 6.6.3: OpenClaw Ecosystem Development (Weeks 18) +## Phase 6.6.3: hermes Ecosystem Development (Weeks 18) ### Objectives -Build a comprehensive OpenClaw ecosystem including developer tools, marketplace solutions, community governance, and partnership programs. +Build a comprehensive hermes ecosystem including developer tools, marketplace solutions, community governance, and partnership programs. ### Technical Implementation -#### 6.6.3.1 OpenClaw Developer Tools and SDKs -- **Development Tools**: Comprehensive OpenClaw development tools -- **SDK Development**: OpenClaw SDK for multiple languages +#### 6.6.3.1 hermes Developer Tools and SDKs +- **Development Tools**: Comprehensive hermes development tools +- **SDK Development**: hermes SDK for multiple languages - **Documentation**: Comprehensive developer documentation -- **Testing Framework**: Testing framework for OpenClaw development +- **Testing Framework**: Testing framework for hermes development **Developer Tools:** - Agent development IDE @@ -149,8 +149,8 @@ Build a comprehensive OpenClaw ecosystem including developer tools, marketplace - Performance analysis tools - Testing and validation tools -#### 6.6.3.2 OpenClaw Marketplace for Agent Solutions -- **Solution Marketplace**: Marketplace for OpenClaw agent solutions +#### 6.6.3.2 hermes Marketplace for Agent Solutions +- **Solution Marketplace**: Marketplace for hermes agent solutions - **Solution Standards**: Quality standards for marketplace solutions - **Revenue Sharing**: Revenue sharing for solution providers - **Support Services**: Support services for marketplace @@ -161,8 +161,8 @@ Build a comprehensive OpenClaw ecosystem including developer tools, marketplace - Revenue tracking - Customer support -#### 6.6.3.3 OpenClaw Community and Governance -- **Community Platform**: OpenClaw community platform +#### 6.6.3.3 hermes Community and Governance +- **Community Platform**: hermes community platform - **Governance Framework**: Community governance framework - **Contribution System**: Contribution system for community - **Recognition Programs**: Recognition programs for contributors @@ -173,8 +173,8 @@ Build a comprehensive OpenClaw ecosystem including developer tools, marketplace - Governance voting - Recognition systems -#### 6.6.3.4 OpenClaw Partnership Programs -- **Partnership Framework**: Partnership framework for OpenClaw +#### 6.6.3.4 hermes Partnership Programs +- **Partnership Framework**: Partnership framework for hermes - **Technology Partners**: Technology partnership programs - **Integration Partners**: Integration partnership programs - **Community Partners**: Community partnership programs @@ -186,7 +186,7 @@ Build a comprehensive OpenClaw ecosystem including developer tools, marketplace - Community building ### Success Criteria -- βœ… 10,000+ OpenClaw developers +- βœ… 10,000+ hermes developers - βœ… 1000+ marketplace solutions - βœ… 50+ strategic partnerships - βœ… 100,000+ community members @@ -245,7 +245,7 @@ Build a comprehensive OpenClaw ecosystem including developer tools, marketplace - Develop edge optimization - Establish edge security frameworks -### Week 18: OpenClaw Ecosystem +### Week 18: hermes Ecosystem - Create developer tools and SDKs - Implement marketplace solutions - Develop community platform @@ -254,7 +254,7 @@ Build a comprehensive OpenClaw ecosystem including developer tools, marketplace ## Resources and Requirements ### Technical Resources -- OpenClaw development expertise +- hermes development expertise - Edge computing specialists - Developer tools development - Community management expertise @@ -301,6 +301,6 @@ Build a comprehensive OpenClaw ecosystem including developer tools, marketplace ## Conclusion -Phase 6.6 creates a comprehensive OpenClaw ecosystem with advanced agent orchestration, edge computing integration, and a thriving developer community. This phase significantly enhances OpenClaw's capabilities while leveraging AITBC's decentralized infrastructure to create a powerful hybrid execution environment. +Phase 6.6 creates a comprehensive hermes ecosystem with advanced agent orchestration, edge computing integration, and a thriving developer community. This phase significantly enhances hermes's capabilities while leveraging AITBC's decentralized infrastructure to create a powerful hybrid execution environment. -**Status**: πŸ”„ READY FOR IMPLEMENTATION - COMPREHENSIVE OPENCLAW ECOSYSTEM +**Status**: πŸ”„ READY FOR IMPLEMENTATION - COMPREHENSIVE hermes ECOSYSTEM diff --git a/docs/archive/expert/completed_phases/11_multi_region_marketplace_deployment.md b/docs/archive/expert/completed_phases/11_multi_region_marketplace_deployment.md index 704a3639..91eaf5e7 100644 --- a/docs/archive/expert/completed_phases/11_multi_region_marketplace_deployment.md +++ b/docs/archive/expert/completed_phases/11_multi_region_marketplace_deployment.md @@ -2,7 +2,7 @@ ## Executive Summary -This plan outlines the global deployment and enhancement of the existing AITBC marketplace infrastructure with edge computing nodes, geographic load balancing, and sub-100ms response times to support OpenClaw agents worldwide. The implementation leverages the existing enhanced marketplace service (marketplace_enhanced.py) and extends it globally rather than rebuilding from scratch. +This plan outlines the global deployment and enhancement of the existing AITBC marketplace infrastructure with edge computing nodes, geographic load balancing, and sub-100ms response times to support hermes agents worldwide. The implementation leverages the existing enhanced marketplace service (marketplace_enhanced.py) and extends it globally rather than rebuilding from scratch. ## Technical Architecture @@ -22,7 +22,7 @@ Existing Services (Ports 8002-8007): β”œβ”€β”€ Modality Optimization Service (Port 8004) βœ… β”œβ”€β”€ Adaptive Learning Service (Port 8005) βœ… β”œβ”€β”€ Enhanced Marketplace Service (Port 8006) βœ… -└── OpenClaw Enhanced Service (Port 8007) βœ… +└── hermes Enhanced Service (Port 8007) βœ… ``` ### Enhanced Global Architecture @@ -232,7 +232,7 @@ Regional Blockchain Nodes: #### **Marketplace Performance** - **Transaction Volume**: 1,000+ AI power rentals daily -- **Active Agents**: 5,000+ OpenClaw agents globally +- **Active Agents**: 5,000+ hermes agents globally - **Trading Volume**: 10,000+ AITBC daily volume - **Geographic Coverage**: 10+ active regions @@ -284,7 +284,7 @@ Regional Blockchain Nodes: #### **Enhanced Services Integration** - **Marketplace Service (Port 8006)**: Enhanced with regional capabilities -- **OpenClaw Service (Port 8007)**: Integrated with global marketplace +- **hermes Service (Port 8007)**: Integrated with global marketplace - **GPU Services (Port 8003)**: Connected to regional resource pools - **Multi-Modal Service (Port 8002)**: Distributed processing capabilities @@ -402,6 +402,6 @@ Regional Blockchain Nodes: ## Conclusion -This comprehensive multi-region marketplace deployment plan provides the foundation for global AI power trading with OpenClaw agents. The implementation focuses on performance, reliability, and scalability while maintaining security and compliance standards. Successful execution will establish AITBC as a leading global marketplace for AI power trading. +This comprehensive multi-region marketplace deployment plan provides the foundation for global AI power trading with hermes agents. The implementation focuses on performance, reliability, and scalability while maintaining security and compliance standards. Successful execution will establish AITBC as a leading global marketplace for AI power trading. **Next Steps**: Proceed with Phase 8.2 Blockchain Smart Contract Integration planning and implementation. diff --git a/docs/archive/expert/completed_phases/12_blockchain_smart_contracts.md b/docs/archive/expert/completed_phases/12_blockchain_smart_contracts.md index 5edcc694..8eb4b3ab 100644 --- a/docs/archive/expert/completed_phases/12_blockchain_smart_contracts.md +++ b/docs/archive/expert/completed_phases/12_blockchain_smart_contracts.md @@ -501,4 +501,4 @@ contract DynamicPricing { This comprehensive blockchain smart contract integration plan provides the foundation for secure, efficient, and automated AI power trading on the AITBC platform. The implementation focuses on creating robust smart contracts that enable seamless transactions while maintaining security, performance, and user experience standards. -**Next Steps**: Proceed with Phase 8.3 OpenClaw Agent Economics Enhancement planning and implementation. +**Next Steps**: Proceed with Phase 8.3 hermes Agent Economics Enhancement planning and implementation. diff --git a/docs/archive/expert/completed_phases/13_agent_economics_enhancement.md b/docs/archive/expert/completed_phases/13_agent_economics_enhancement.md index eaa9d9c3..2e7ffc9e 100644 --- a/docs/archive/expert/completed_phases/13_agent_economics_enhancement.md +++ b/docs/archive/expert/completed_phases/13_agent_economics_enhancement.md @@ -1,8 +1,8 @@ -# OpenClaw Agent Economics Enhancement Plan +# hermes Agent Economics Enhancement Plan ## Executive Summary -This plan outlines the enhancement of agent economic systems for OpenClaw agents, leveraging existing agent services, marketplace infrastructure, and payment processing systems. The implementation focuses on extending and optimizing existing reputation systems, reward mechanisms, and trading protocols rather than rebuilding from scratch. +This plan outlines the enhancement of agent economic systems for hermes agents, leveraging existing agent services, marketplace infrastructure, and payment processing systems. The implementation focuses on extending and optimizing existing reputation systems, reward mechanisms, and trading protocols rather than rebuilding from scratch. ## Technical Architecture @@ -404,7 +404,7 @@ class CertificationSystem: ### Economic Metrics #### **Agent Participation** -- **Active Agents**: 5,000+ active OpenClaw agents +- **Active Agents**: 5,000+ active hermes agents - **New Agent Registration**: 100+ new agents per week - **Agent Retention**: >85% monthly agent retention rate - **Geographic Distribution**: Agents in 50+ countries @@ -595,6 +595,6 @@ class CertificationSystem: ## Conclusion -This comprehensive OpenClaw Agent Economics Enhancement plan provides the foundation for a robust, incentivized, and sustainable AI power marketplace ecosystem. The implementation focuses on creating advanced economic systems that encourage participation, ensure quality, and enable sustainable growth while maintaining security, performance, and user experience standards. +This comprehensive hermes Agent Economics Enhancement plan provides the foundation for a robust, incentivized, and sustainable AI power marketplace ecosystem. The implementation focuses on creating advanced economic systems that encourage participation, ensure quality, and enable sustainable growth while maintaining security, performance, and user experience standards. **Next Steps**: Proceed with Phase 9 Advanced Agent Capabilities & Performance planning and implementation. diff --git a/docs/archive/expert/completed_phases/15_deployment_guide.md b/docs/archive/expert/completed_phases/15_deployment_guide.md index 94892516..8eee948a 100644 --- a/docs/archive/expert/completed_phases/15_deployment_guide.md +++ b/docs/archive/expert/completed_phases/15_deployment_guide.md @@ -2,7 +2,7 @@ ## Overview -This guide provides comprehensive instructions for deploying the OpenClaw Agent Economics Enhancement system, including all components: Reputation System, Performance-Based Reward Engine, P2P Trading Protocol, Marketplace Analytics Platform, and Certification & Partnership Programs. +This guide provides comprehensive instructions for deploying the hermes Agent Economics Enhancement system, including all components: Reputation System, Performance-Based Reward Engine, P2P Trading Protocol, Marketplace Analytics Platform, and Certification & Partnership Programs. ## System Architecture diff --git a/docs/archive/expert/completed_phases/16_api_documentation.md b/docs/archive/expert/completed_phases/16_api_documentation.md index f60831e5..40cab1d0 100644 --- a/docs/archive/expert/completed_phases/16_api_documentation.md +++ b/docs/archive/expert/completed_phases/16_api_documentation.md @@ -2,7 +2,7 @@ ## Overview -The Agent Economics API provides comprehensive endpoints for managing reputation, rewards, trading, analytics, and certification systems within the OpenClaw marketplace. +The Agent Economics API provides comprehensive endpoints for managing reputation, rewards, trading, analytics, and certification systems within the hermes marketplace. ## Base URL diff --git a/docs/archive/expert/completed_phases/17_community_governance_deployment.md b/docs/archive/expert/completed_phases/17_community_governance_deployment.md index cae5535e..85ec2c9c 100644 --- a/docs/archive/expert/completed_phases/17_community_governance_deployment.md +++ b/docs/archive/expert/completed_phases/17_community_governance_deployment.md @@ -1,7 +1,7 @@ -# OpenClaw Community & Governance Deployment Guide +# hermes Community & Governance Deployment Guide ## 1. Overview -This guide covers the deployment and initialization of the OpenClaw Community Platform and Decentralized Governance (DAO) systems implemented in Phase 10 (Weeks 13-18). +This guide covers the deployment and initialization of the hermes Community Platform and Decentralized Governance (DAO) systems implemented in Phase 10 (Weeks 13-18). ## 2. Components Deployed 1. **Developer Ecosystem**: Developer profiles, skills tracking, SDK releases. diff --git a/docs/archive/expert/completed_phases/18_developer_ecosystem_dao_grants.md b/docs/archive/expert/completed_phases/18_developer_ecosystem_dao_grants.md index fe2e2d8c..4933bcbf 100644 --- a/docs/archive/expert/completed_phases/18_developer_ecosystem_dao_grants.md +++ b/docs/archive/expert/completed_phases/18_developer_ecosystem_dao_grants.md @@ -176,7 +176,7 @@ The Developer Ecosystem is **production-ready** and can be deployed immediately: ## 🎊 Conclusion -The Developer Ecosystem & DAO Grants phase has been **successfully completed** with a comprehensive implementation that not only meets but exceeds all original requirements. The platform is now ready to drive adoption of the OpenClaw Agent ecosystem and provide a robust foundation for decentralized AI development. +The Developer Ecosystem & DAO Grants phase has been **successfully completed** with a comprehensive implementation that not only meets but exceeds all original requirements. The platform is now ready to drive adoption of the hermes Agent ecosystem and provide a robust foundation for decentralized AI development. --- diff --git a/docs/archive/expert/completed_phases/20_openclaw_autonomous_economics.md b/docs/archive/expert/completed_phases/20_openclaw_autonomous_economics.md index fedf7517..8855645f 100644 --- a/docs/archive/expert/completed_phases/20_openclaw_autonomous_economics.md +++ b/docs/archive/expert/completed_phases/20_openclaw_autonomous_economics.md @@ -1,4 +1,4 @@ -# Phase 1: OpenClaw Autonomous Economics - COMPLETION REPORT +# Phase 1: hermes Autonomous Economics - COMPLETION REPORT **Completion Date**: February 27, 2026 **Status**: βœ… **FULLY COMPLETED** @@ -6,7 +6,7 @@ ## Executive Summary -Phase 1: OpenClaw Autonomous Economics has been successfully completed, delivering a comprehensive autonomous agent economic system. The implementation enables OpenClaw agents to independently negotiate, rent, and pay for GPU computation without human intervention, complete with intelligent bidding strategies, task decomposition, and multi-agent orchestration. +Phase 1: hermes Autonomous Economics has been successfully completed, delivering a comprehensive autonomous agent economic system. The implementation enables hermes agents to independently negotiate, rent, and pay for GPU computation without human intervention, complete with intelligent bidding strategies, task decomposition, and multi-agent orchestration. ## Objectives Achievement @@ -242,7 +242,7 @@ Phase 1: OpenClaw Autonomous Economics has been successfully completed, deliveri - βœ… `/scripts/deploy-agent-economics.sh` - Complete deployment automation ### Documentation -- βœ… `/docs/10_plan/01_openclaw_economics.md` - Updated with completion status +- βœ… `/docs/10_plan/01_hermes_economics.md` - Updated with completion status - βœ… `/docs/10_plan/00_nextMileston.md` - Updated phase status - βœ… `/docs/10_plan/README.md` - Updated plan overview @@ -282,7 +282,7 @@ Phase 1: OpenClaw Autonomous Economics has been successfully completed, deliveri ## Conclusion -Phase 1: OpenClaw Autonomous Economics has been **successfully completed** with all objectives achieved. The implementation provides: +Phase 1: hermes Autonomous Economics has been **successfully completed** with all objectives achieved. The implementation provides: - **Complete Agent Autonomy**: Independent GPU rental negotiation and payment - **Intelligent Bidding**: Advanced strategies with market analysis and optimization diff --git a/docs/archive/expert/completed_phases/23_cli_enhancement_completed.md b/docs/archive/expert/completed_phases/23_cli_enhancement_completed.md index bb364c84..18c7f9f6 100644 --- a/docs/archive/expert/completed_phases/23_cli_enhancement_completed.md +++ b/docs/archive/expert/completed_phases/23_cli_enhancement_completed.md @@ -153,11 +153,11 @@ aitbc optimize predict --agent-id <id> --horizon 24h aitbc optimize tune --model-id <id> --parameters learning_rate ``` -#### **13. OpenClaw Integration** +#### **13. hermes Integration** ```bash -aitbc openclaw deploy --agent-id <id> --region us-west -aitbc openclaw scale --deployment-id <id> --instances 3 -aitbc openclaw monitor --deployment-id <id> --real-time +aitbc hermes deploy --agent-id <id> --region us-west +aitbc hermes scale --deployment-id <id> --instances 3 +aitbc hermes monitor --deployment-id <id> --real-time ``` #### **14. Governance** diff --git a/docs/archive/expert/completed_phases/24_advanced_agent_features_completed.md b/docs/archive/expert/completed_phases/24_advanced_agent_features_completed.md index cad12f9f..c9cd845b 100644 --- a/docs/archive/expert/completed_phases/24_advanced_agent_features_completed.md +++ b/docs/archive/expert/completed_phases/24_advanced_agent_features_completed.md @@ -7,7 +7,7 @@ ## Executive Summary -Phase 4 of the OpenClaw Agent Marketplace development has been **successfully completed** with 100% implementation of all planned features. This phase introduced advanced AI agent capabilities that significantly enhance the OpenClaw agent ecosystem, including cross-chain reputation systems, secure agent communication, advanced learning capabilities, agent autonomy features, and an advanced agent marketplace. +Phase 4 of the hermes Agent Marketplace development has been **successfully completed** with 100% implementation of all planned features. This phase introduced advanced AI agent capabilities that significantly enhance the hermes agent ecosystem, including cross-chain reputation systems, secure agent communication, advanced learning capabilities, agent autonomy features, and an advanced agent marketplace. ## Phase Structure and Completion Status @@ -316,6 +316,6 @@ Phase 4: Advanced Agent Features has been **successfully completed** with 100% i **Phase 4 Status**: βœ… **100% COMPLETE - MAJOR MILESTONE ACHIEVED** -The successful completion of Phase 4 represents a significant achievement in the OpenClaw Agent Marketplace development, delivering advanced AI agent capabilities that position the platform as a leader in the blockchain-powered AI marketplace space. +The successful completion of Phase 4 represents a significant achievement in the hermes Agent Marketplace development, delivering advanced AI agent capabilities that position the platform as a leader in the blockchain-powered AI marketplace space. **Next Phase**: πŸ”„ **Integration, Testing, and Production Deployment** diff --git a/docs/archive/expert/completed_phases/DEPLOYMENT_READINESS_REPORT.md b/docs/archive/expert/completed_phases/DEPLOYMENT_READINESS_REPORT.md index 591191c2..5018c528 100644 --- a/docs/archive/expert/completed_phases/DEPLOYMENT_READINESS_REPORT.md +++ b/docs/archive/expert/completed_phases/DEPLOYMENT_READINESS_REPORT.md @@ -15,7 +15,7 @@ The AITBC (AI Power Trading & Blockchain Infrastructure) platform has successful - βœ… **Phase 4**: Web Interface & Dashboards (Explorer and Marketplace) ### Agent Framework & Economics -- βœ… **Phase 5**: Core OpenClaw Agent Framework (Autonomous task execution) +- βœ… **Phase 5**: Core Hermes Agent Framework (Autonomous task execution) - βœ… **Phase 6**: Secure Agent Wallet Daemon (Cryptographic identity management) - βœ… **Phase 7**: GPU Provider Integration (Ollama API bridge) - βœ… **Phase 8**: Advanced Agent Economics (Reputation, Rewards, P2P Trading, Certification) diff --git a/docs/archive/expert/completed_phases/next_steps_comprehensive.md b/docs/archive/expert/completed_phases/next_steps_comprehensive.md index 3a8d8dac..3ae60432 100644 --- a/docs/archive/expert/completed_phases/next_steps_comprehensive.md +++ b/docs/archive/expert/completed_phases/next_steps_comprehensive.md @@ -11,7 +11,7 @@ The AITBC platform has achieved significant milestones across multiple phases of ## Current Platform Status ### βœ… **Completed Phases** -1. **Phase 1**: OpenClaw Autonomous Economics βœ… COMPLETE +1. **Phase 1**: hermes Autonomous Economics βœ… COMPLETE 2. **Phase 2**: Decentralized AI Memory & Storage βœ… COMPLETE 3. **Phase 3**: Developer Ecosystem βœ… COMPLETE 4. **Phase 4**: Advanced Agent Features βœ… CORE INFRASTRUCTURE COMPLETE diff --git a/docs/archive/expert/issues/01_openclaw_economics.md b/docs/archive/expert/issues/01_openclaw_economics.md index fb4ddcb6..dc1c6e15 100644 --- a/docs/archive/expert/issues/01_openclaw_economics.md +++ b/docs/archive/expert/issues/01_openclaw_economics.md @@ -1,10 +1,10 @@ -# Phase 1: OpenClaw Autonomous Economics +# Phase 1: Hermes Autonomous Economics ## Overview -This phase aims to give OpenClaw agents complete financial autonomy within the AITBC ecosystem. Currently, users must manually fund and approve GPU rentals. By implementing autonomous agent wallets and bidding strategies, agents can negotiate their own compute power dynamically based on the priority of the task they are given. +This phase aims to give Hermes agents complete financial autonomy within the AITBC ecosystem. Currently, users must manually fund and approve GPU rentals. By implementing autonomous agent wallets and bidding strategies, agents can negotiate their own compute power dynamically based on the priority of the task they are given. ## Objectives -1. **Agent Wallet & Micro-Transactions**: Equip every OpenClaw agent profile with a secure, isolated smart contract wallet (`AgentWallet.sol`). +1. **Agent Wallet & Micro-Transactions**: Equip every Hermes agent profile with a secure, isolated smart contract wallet (`AgentWallet.sol`). 2. **Bid-Strategy Engine**: Develop Python services that allow agents to assess the current marketplace queue and bid optimally for GPU time. 3. **Multi-Agent Orchestration**: Allow a single user prompt to spin up a "Master Agent" that delegates sub-tasks to "Worker Agents", renting optimal hardware for each specific sub-task. @@ -21,7 +21,7 @@ This phase aims to give OpenClaw agents complete financial autonomy within the A - Integrate with the `MarketplaceGPUOptimizer` to read real-time queue depths. ### Step 3.1: Task Delegation & Orchestration -- Update the `OpenClaw Enhanced Service` to parse complex prompts into DAGs (Directed Acyclic Graphs) of sub-tasks. +- Update the `Hermes Enhanced Service` to parse complex prompts into DAGs (Directed Acyclic Graphs) of sub-tasks. - Implement parallel execution of sub-tasks by spawning multiple containerized agent instances that negotiate independently in the marketplace. ## Expected Outcomes diff --git a/docs/archive/expert/issues/02_decentralized_memory.md b/docs/archive/expert/issues/02_decentralized_memory.md index 4bba8e98..7cd8d145 100644 --- a/docs/archive/expert/issues/02_decentralized_memory.md +++ b/docs/archive/expert/issues/02_decentralized_memory.md @@ -1,7 +1,7 @@ # Phase 2: Decentralized AI Memory & Storage ## Overview -OpenClaw agents require persistent memory to provide long-term value, maintain context across sessions, and continuously learn. Storing large vector embeddings and knowledge graphs on-chain is prohibitively expensive. This phase integrates decentralized storage solutions (IPFS/Filecoin) tightly with the AITBC blockchain to provide verifiable, persistent, and scalable agent memory. +hermes agents require persistent memory to provide long-term value, maintain context across sessions, and continuously learn. Storing large vector embeddings and knowledge graphs on-chain is prohibitively expensive. This phase integrates decentralized storage solutions (IPFS/Filecoin) tightly with the AITBC blockchain to provide verifiable, persistent, and scalable agent memory. ## Objectives 1. **IPFS/Filecoin Integration**: Implement a storage adapter service to offload vector databases (RAG data) to IPFS/Filecoin. @@ -26,6 +26,6 @@ OpenClaw agents require persistent memory to provide long-term value, maintain c - Integrate with `MultiModalFusionEngine` so agents can fuse newly purchased knowledge into their existing models. ## Expected Outcomes -- Infinite, scalable memory for OpenClaw agents without bloating the AITBC blockchain state. +- Infinite, scalable memory for hermes agents without bloating the AITBC blockchain state. - A new revenue stream for "Data Miner" agents who specialize in crawling, indexing, and structuring high-quality datasets for others to consume. - Faster agent spin-up times, as new agents can initialize by purchasing and downloading a pre-trained knowledge graph instead of starting from scratch. diff --git a/docs/archive/expert/issues/03_developer_ecosystem.md b/docs/archive/expert/issues/03_developer_ecosystem.md index 7920e605..394c68f7 100644 --- a/docs/archive/expert/issues/03_developer_ecosystem.md +++ b/docs/archive/expert/issues/03_developer_ecosystem.md @@ -5,7 +5,7 @@ **Priority**: πŸ”΄ **HIGH PRIORITY** ## Overview -To drive adoption of the OpenClaw Agent ecosystem and the AITBC AI power marketplace, we must incentivize developers to build highly capable, specialized agents. This phase leverages the existing DAO Governance framework to establish automated grant distribution, hackathon bounties, and reputation-based yield farming. +To drive adoption of the hermes Agent ecosystem and the AITBC AI power marketplace, we must incentivize developers to build highly capable, specialized agents. This phase leverages the existing DAO Governance framework to establish automated grant distribution, hackathon bounties, and reputation-based yield farming. ## Objectives 1. **βœ… COMPLETE**: Hackathons & Bounties Smart Contracts - Create automated on-chain bounty boards for specific agent capabilities. @@ -38,6 +38,6 @@ To drive adoption of the OpenClaw Agent ecosystem and the AITBC AI power marketp - **βœ… COMPLETE**: Database migration with full schema implementation ## Expected Outcomes -- Rapid growth in the variety and quality of OpenClaw agents available on the network. +- Rapid growth in the variety and quality of hermes agents available on the network. - Increased utility and locking of the AITBC token through the staking mechanism, reducing circulating supply. - A self-sustaining economic loop where profitable agents fund their own compute needs and reward their creators/backers. diff --git a/docs/archive/expert/issues/04_global_marketplace_launch.md b/docs/archive/expert/issues/04_global_marketplace_launch.md index c9fc69b1..e2f1fd67 100644 --- a/docs/archive/expert/issues/04_global_marketplace_launch.md +++ b/docs/archive/expert/issues/04_global_marketplace_launch.md @@ -12,7 +12,7 @@ This document outlines the comprehensive plan for launching the AITBC Global AI ## Current Platform Status ### βœ… **Production-Ready Infrastructure** -- **6 Enhanced Services**: Multi-Modal Agent, GPU Multi-Modal, Modality Optimization, Adaptive Learning, Enhanced Marketplace, OpenClaw Enhanced +- **6 Enhanced Services**: Multi-Modal Agent, GPU Multi-Modal, Modality Optimization, Adaptive Learning, Enhanced Marketplace, hermes Enhanced - **βœ… COMPLETE**: Dynamic Pricing API - Real-time GPU and service pricing with 7 strategies - **Smart Contract Suite**: 6 production contracts deployed and operational - **Multi-Region Deployment**: 6 regions with edge nodes and load balancing diff --git a/docs/archive/expert/issues/05_integration_deployment_plan.md b/docs/archive/expert/issues/05_integration_deployment_plan.md index 49483fce..c5b13d59 100644 --- a/docs/archive/expert/issues/05_integration_deployment_plan.md +++ b/docs/archive/expert/issues/05_integration_deployment_plan.md @@ -312,7 +312,7 @@ MarketplaceV2 | Marketplace Service | AgentMarketplaceV2 | πŸ”„ Test ## Conclusion -Phase 5: Integration & Production Deployment represents a critical phase in the OpenClaw Agent Marketplace development, focusing on comprehensive integration testing, production deployment, and market launch. With Phase 4 Advanced Agent Features 100% complete, this phase ensures the platform is production-ready and successfully launched to the market. +Phase 5: Integration & Production Deployment represents a critical phase in the hermes Agent Marketplace development, focusing on comprehensive integration testing, production deployment, and market launch. With Phase 4 Advanced Agent Features 100% complete, this phase ensures the platform is production-ready and successfully launched to the market. ### Key Focus Areas - **Integration Testing**: Comprehensive end-to-end testing diff --git a/docs/archive/expert/issues/09_multichain_cli_tool_implementation.md b/docs/archive/expert/issues/09_multichain_cli_tool_implementation.md index d7be90e8..8e61a911 100644 --- a/docs/archive/expert/issues/09_multichain_cli_tool_implementation.md +++ b/docs/archive/expert/issues/09_multichain_cli_tool_implementation.md @@ -55,7 +55,7 @@ cli/ # Existing CLI directory β”‚ β”‚ β”œβ”€β”€ exchange.py # Exchange commands (existing) β”‚ β”‚ β”œβ”€β”€ multimodal.py # Multimodal commands (existing) β”‚ β”‚ β”œβ”€β”€ optimize.py # Optimize commands (existing) -β”‚ β”‚ β”œβ”€β”€ openclaw.py # OpenClaw commands (existing) +β”‚ β”‚ β”œβ”€β”€ hermes.py # hermes commands (existing) β”‚ β”‚ β”œβ”€β”€ swarm.py # Swarm commands (existing) β”‚ β”‚ β”œβ”€β”€ auth.py # Auth commands (existing) β”‚ β”‚ β”œβ”€β”€ simulate.py # Simulation commands (existing) diff --git a/docs/archive/expert/issues/openclaw.md b/docs/archive/expert/issues/openclaw.md index 73e121ef..2c7b083d 100644 --- a/docs/archive/expert/issues/openclaw.md +++ b/docs/archive/expert/issues/openclaw.md @@ -1,14 +1,14 @@ -# AITBC + OpenClaw Integration Implementation Plan +# AITBC + hermes Integration Implementation Plan ## Executive Summary -This plan outlines the comprehensive integration between AITBC (Autonomous Intelligent Trading Blockchain Computing) and OpenClaw, a modern AI agent orchestration framework. The integration enables OpenClaw agents to seamlessly leverage AITBC's decentralized GPU network for heavy computational tasks while maintaining local execution capabilities for lightweight operations. +This plan outlines the comprehensive integration between AITBC (Autonomous Intelligent Trading Blockchain Computing) and hermes, a modern AI agent orchestration framework. The integration enables hermes agents to seamlessly leverage AITBC's decentralized GPU network for heavy computational tasks while maintaining local execution capabilities for lightweight operations. ### Key Integration Points -- **OpenClaw Ollama Provider**: Direct integration with AITBC coordinator endpoint using ZK-attested miners +- **hermes Ollama Provider**: Direct integration with AITBC coordinator endpoint using ZK-attested miners - **Agent Skills Routing**: Intelligent job offloading via AITBC `/job` API with AIT token micropayments -- **Marketplace Integration**: One-click deployment of marketplace models to OpenClaw environments -- **Edge Miner Client**: Optional OpenClaw daemon for personal always-on AI agents +- **Marketplace Integration**: One-click deployment of marketplace models to hermes environments +- **Edge Miner Client**: Optional hermes daemon for personal always-on AI agents - **Hybrid Architecture**: Local execution fallback with AITBC offload for large models (>8GB) ## Current Infrastructure Analysis @@ -32,8 +32,8 @@ Based on the current codebase, AITBC provides: - Quality scanning and malware detection - Auto-deployment to GPU inference jobs -### OpenClaw Framework Assumptions -OpenClaw is assumed to be an AI agent orchestration platform with: +### hermes Framework Assumptions +hermes is assumed to be an AI agent orchestration platform with: - Ollama-compatible inference providers - Agent skill routing and orchestration - Local model execution capabilities @@ -44,7 +44,7 @@ OpenClaw is assumed to be an AI agent orchestration platform with: ### Hybrid Execution Model ```python class HybridExecutionEngine: - """Hybrid local-AITBC execution engine for OpenClaw""" + """Hybrid local-AITBC execution engine for hermes""" def __init__( self, @@ -149,12 +149,12 @@ class HybridExecutionEngine: return await self._execute_aitbc(task, context) ``` -### OpenClaw Provider Implementation +### hermes Provider Implementation #### AITBC Ollama Provider ```python class AITBCOllamaProvider: - """OpenClaw-compatible Ollama provider using AITBC network""" + """hermes-compatible Ollama provider using AITBC network""" def __init__( self, @@ -468,28 +468,28 @@ class AgentSkillRouter: ### Model Marketplace Integration -#### One-Click OpenClaw Deployment +#### One-Click hermes Deployment ```python -class OpenClawMarketplaceIntegration: - """Integrate AITBC marketplace with OpenClaw deployment""" +class hermesMarketplaceIntegration: + """Integrate AITBC marketplace with hermes deployment""" def __init__( self, marketplace_client: MarketplaceClient, - openclaw_client: OpenClawClient, + hermes_client: hermesClient, deployment_service: DeploymentService ): self.marketplace = marketplace_client - self.openclaw = openclaw_client + self.hermes = hermes_client self.deployment = deployment_service - async def deploy_to_openclaw( + async def deploy_to_hermes( self, model_id: str, - openclaw_environment: str, + hermes_environment: str, deployment_config: dict = None ) -> DeploymentResult: - """One-click deployment from marketplace to OpenClaw""" + """One-click deployment from marketplace to hermes""" # Verify model license license_check = await self.marketplace.verify_license(model_id) @@ -499,50 +499,50 @@ class OpenClawMarketplaceIntegration: # Download model model_data = await self.marketplace.download_model(model_id) - # Prepare OpenClaw deployment - deployment_spec = await self._prepare_openclaw_deployment( - model_data, openclaw_environment, deployment_config + # Prepare hermes deployment + deployment_spec = await self._prepare_hermes_deployment( + model_data, hermes_environment, deployment_config ) - # Deploy to OpenClaw - deployment_result = await self.openclaw.deploy_model(deployment_spec) + # Deploy to hermes + deployment_result = await self.hermes.deploy_model(deployment_spec) # Register with AITBC marketplace await self.marketplace.register_deployment( model_id=model_id, deployment_id=deployment_result.deployment_id, - platform="openclaw", - environment=openclaw_environment + platform="hermes", + environment=hermes_environment ) return DeploymentResult( success=True, model_id=model_id, deployment_id=deployment_result.deployment_id, - platform="openclaw", + platform="hermes", endpoint=deployment_result.endpoint, metadata={ - "environment": openclaw_environment, + "environment": hermes_environment, "aitbc_model_id": model_id, "deployment_config": deployment_config } ) - async def _prepare_openclaw_deployment( + async def _prepare_hermes_deployment( self, model_data: dict, environment: str, config: dict = None - ) -> OpenClawDeploymentSpec: - """Prepare model for OpenClaw deployment""" + ) -> hermesDeploymentSpec: + """Prepare model for hermes deployment""" # Determine optimal configuration - optimal_config = await self._optimize_for_openclaw( + optimal_config = await self._optimize_for_hermes( model_data, environment, config ) # Create deployment specification - spec = OpenClawDeploymentSpec( + spec = hermesDeploymentSpec( model_name=model_data["name"], model_data=model_data["data"], model_format=model_data["format"], @@ -565,10 +565,10 @@ class OpenClawMarketplaceIntegration: self, deployment_id: str ) -> DeploymentStatus: - """Get deployment status from OpenClaw""" + """Get deployment status from hermes""" - # Query OpenClaw - status = await self.openclaw.get_deployment_status(deployment_id) + # Query hermes + status = await self.hermes.get_deployment_status(deployment_id) # Enhance with AITBC metrics aitbc_metrics = await self._get_aitbc_metrics(deployment_id) @@ -586,21 +586,21 @@ class OpenClawMarketplaceIntegration: ) ``` -### Edge Miner Client with OpenClaw Daemon +### Edge Miner Client with hermes Daemon #### Personal Agent Daemon ```python -class OpenClawDaemon: - """Optional OpenClaw daemon for edge miners""" +class hermesDaemon: + """Optional hermes daemon for edge miners""" def __init__( self, aitbc_miner: AITBCMiner, - openclaw_engine: OpenClawEngine, + hermes_engine: hermesEngine, agent_registry: AgentRegistry ): self.miner = aitbc_miner - self.openclaw = openclaw_engine + self.hermes = hermes_engine self.agents = agent_registry self.daemon_config = { "auto_start_agents": True, @@ -613,9 +613,9 @@ class OpenClawDaemon: } async def start_daemon(self): - """Start the OpenClaw daemon service""" + """Start the hermes daemon service""" - logger.info("Starting OpenClaw daemon for AITBC miner") + logger.info("Starting hermes daemon for AITBC miner") # Register daemon capabilities await self._register_daemon_capabilities() @@ -653,8 +653,8 @@ class OpenClawDaemon: if not resource_check.available: raise ResourceUnavailableError(resource_check.reason) - # Register with OpenClaw - registration = await self.openclaw.register_agent(agent_spec) + # Register with hermes + registration = await self.hermes.register_agent(agent_spec) # Enhance with AITBC capabilities enhanced_registration = await self._enhance_with_aitbc_capabilities( @@ -705,7 +705,7 @@ class OpenClawDaemon: await asyncio.sleep(30) # Monitor every 30 seconds async def _handle_integrations(self): - """Handle integrations between OpenClaw and AITBC""" + """Handle integrations between hermes and AITBC""" while True: try: @@ -737,13 +737,13 @@ class OpenClawDaemon: aitbc_job: AITBCJob, agent: RegisteredAgent ): - """Route AITBC job to local OpenClaw agent""" + """Route AITBC job to local hermes agent""" - # Convert AITBC job to OpenClaw task + # Convert AITBC job to hermes task task_spec = await self._convert_aitbc_job_to_task(aitbc_job) # Submit to agent - task_result = await self.openclaw.submit_task_to_agent( + task_result = await self.hermes.submit_task_to_agent( agent_id=agent.agent_id, task_spec=task_spec ) @@ -768,7 +768,7 @@ class OpenClawDaemon: job_result = await self.miner.submit_job_to_network(aitbc_job_spec) # Return result to agent - await self.openclaw.return_task_result( + await self.hermes.return_task_result( task_id=agent_task.task_id, result=job_result.output, metadata={ @@ -782,41 +782,41 @@ class OpenClawDaemon: #### REST API Extensions ```python -# OpenClaw integration endpoints for AITBC coordinator +# hermes integration endpoints for AITBC coordinator -@app.post("/api/v1/openclaw/models/deploy") -async def deploy_model_to_openclaw( +@app.post("/api/v1/hermes/models/deploy") +async def deploy_model_to_hermes( request: DeployModelRequest, current_user: User = Depends(get_current_user) ): - """Deploy marketplace model to OpenClaw environment""" + """Deploy marketplace model to hermes environment""" - integration = OpenClawMarketplaceIntegration( + integration = hermesMarketplaceIntegration( marketplace_client=get_marketplace_client(), - openclaw_client=get_openclaw_client(), + hermes_client=get_hermes_client(), deployment_service=get_deployment_service() ) - result = await integration.deploy_to_openclaw( + result = await integration.deploy_to_hermes( model_id=request.model_id, - openclaw_environment=request.environment, + hermes_environment=request.environment, deployment_config=request.config ) return APIResponse( success=True, data=result, - message="Model deployed to OpenClaw successfully" + message="Model deployed to hermes successfully" ) -@app.post("/api/v1/openclaw/agents/register") -async def register_openclaw_agent( +@app.post("/api/v1/hermes/agents/register") +async def register_hermes_agent( request: RegisterAgentRequest, current_user: User = Depends(get_current_user) ): - """Register OpenClaw agent with AITBC miner""" + """Register hermes agent with AITBC miner""" - daemon = get_openclaw_daemon() + daemon = get_hermes_daemon() registration = await daemon.register_personal_agent( agent_spec=request.agent_spec, @@ -826,15 +826,15 @@ async def register_openclaw_agent( return APIResponse( success=True, data=registration, - message="OpenClaw agent registered successfully" + message="hermes agent registered successfully" ) -@app.post("/api/v1/openclaw/jobs/route") -async def route_job_via_openclaw( +@app.post("/api/v1/hermes/jobs/route") +async def route_job_via_hermes( request: RouteJobRequest, current_user: User = Depends(get_current_user) ): - """Route job through OpenClaw skill system""" + """Route job through hermes skill system""" router = get_skill_router() @@ -847,23 +847,23 @@ async def route_job_via_openclaw( return APIResponse( success=True, data=result, - message="Job routed through OpenClaw successfully" + message="Job routed through hermes successfully" ) -@app.get("/api/v1/openclaw/status") -async def get_openclaw_integration_status(): - """Get OpenClaw integration status""" +@app.get("/api/v1/hermes/status") +async def get_hermes_integration_status(): + """Get hermes integration status""" - status = await get_openclaw_integration_status() + status = await get_hermes_integration_status() return APIResponse( success=True, data=status, - message="OpenClaw integration status retrieved" + message="hermes integration status retrieved" ) -## Additional OpenClaw Integration Gaps & Solutions +## Additional hermes Integration Gaps & Solutions ### ZK-Proof Chaining for Hybrid Fallback @@ -950,12 +950,12 @@ class ZKProofChainManager: ) ``` -### OpenClaw Version Pinning + Upgrade Path +### hermes Version Pinning + Upgrade Path #### Version Management System ```python -class OpenClawVersionManager: - """Version pinning and upgrade management for OpenClaw""" +class hermesVersionManager: + """Version pinning and upgrade management for hermes""" def __init__( self, @@ -968,13 +968,13 @@ class OpenClawVersionManager: self.upgrades = upgrade_orchestrator self.version_pins = {} # component -> pinned_version - async def pin_openclaw_version( + async def pin_hermes_version( self, component: str, version_spec: str, pin_reason: str ) -> VersionPin: - """Pin OpenClaw component to specific version""" + """Pin hermes component to specific version""" # Validate version specification validation = await self._validate_version_spec(component, version_spec) @@ -1099,7 +1099,7 @@ class OpenClawVersionManager: ``` ### Phased Implementation -1. **Phase 1: Provider Integration** - Implement AITBC Ollama provider for OpenClaw +1. **Phase 1: Provider Integration** - Implement AITBC Ollama provider for hermes 2. **Phase 2: Skill Routing** - Add intelligent skill offloading with micropayments ### Infrastructure Requirements diff --git a/docs/archive/expert/port-migrations/port-3000-removal-summary.md b/docs/archive/expert/port-migrations/port-3000-removal-summary.md index 3ea24acd..595ead1e 100644 --- a/docs/archive/expert/port-migrations/port-3000-removal-summary.md +++ b/docs/archive/expert/port-migrations/port-3000-removal-summary.md @@ -47,7 +47,7 @@ network: - 8004 # Modality Optimization - 8005 # Adaptive Learning - 8006 # Marketplace Enhanced - - 8007 # OpenClaw Enhanced + - 8007 # hermes Enhanced - 8008 # Additional Services - 8009 # Web UI (moved from 3000) - 9080 # Blockchain RPC @@ -87,7 +87,7 @@ Required Ports: - 8004 # Modality Optimization - 8005 # Adaptive Learning - 8006 # Marketplace Enhanced -- 8007 # OpenClaw Enhanced +- 8007 # hermes Enhanced - 8008 # Additional Services - 8009 # Web UI (moved from 3000) - 9080 # Blockchain RPC @@ -105,7 +105,7 @@ Required Ports: - 8004 # Modality Optimization - 8005 # Adaptive Learning - 8006 # Marketplace Enhanced -- 8007 # OpenClaw Enhanced +- 8007 # hermes Enhanced - 8008 # Additional Services - 8009 # Web UI - 9080 # Blockchain RPC @@ -208,7 +208,7 @@ Enhanced Services: - 8004 # Modality Optimization - 8005 # Adaptive Learning - 8006 # Marketplace Enhanced -- 8007 # OpenClaw Enhanced +- 8007 # hermes Enhanced - 8008 # Additional Services ``` diff --git a/docs/archive/expert/port-migrations/port-3000-to-8009-migration-summary.md b/docs/archive/expert/port-migrations/port-3000-to-8009-migration-summary.md index b2c30584..51aa0b05 100644 --- a/docs/archive/expert/port-migrations/port-3000-to-8009-migration-summary.md +++ b/docs/archive/expert/port-migrations/port-3000-to-8009-migration-summary.md @@ -113,7 +113,7 @@ Port 8003: GPU Multimodal Port 8004: Modality Optimization Port 8005: Adaptive Learning Port 8006: Marketplace Enhanced -Port 8007: OpenClaw Enhanced +Port 8007: hermes Enhanced Port 8008: Additional Services Port 9080: Blockchain RPC Port 8080: Blockchain Node @@ -128,7 +128,7 @@ Port 8003: GPU Multimodal Port 8004: Modality Optimization Port 8005: Adaptive Learning Port 8006: Marketplace Enhanced -Port 8007: OpenClaw Enhanced +Port 8007: hermes Enhanced Port 8008: Additional Services Port 8009: AITBC Web UI (moved from 3000) Port 9080: Blockchain RPC diff --git a/docs/archive/expert/port-migrations/port-3000-to-8009-verification-summary.md b/docs/archive/expert/port-migrations/port-3000-to-8009-verification-summary.md index 9d0f2785..ae915ad6 100644 --- a/docs/archive/expert/port-migrations/port-3000-to-8009-verification-summary.md +++ b/docs/archive/expert/port-migrations/port-3000-to-8009-verification-summary.md @@ -46,7 +46,7 @@ | Modality Optimization | Port 8004 | Port 8004 | βœ… Unchanged | | Adaptive Learning | Port 8005 | Port 8005 | βœ… Unchanged | | Marketplace Enhanced | Port 8006 | Port 8006 | βœ… Unchanged | -| OpenClaw Enhanced | Port 8007 | Port 8007 | βœ… Unchanged | +| hermes Enhanced | Port 8007 | Port 8007 | βœ… Unchanged | | Additional Services | Port 8008 | Port 8008 | βœ… Unchanged | | Blockchain RPC | Port 9080 | Port 9080 | βœ… Unchanged | | Blockchain Node | Port 8080 | Port 8080 | βœ… Unchanged | diff --git a/docs/archive/expert/tasks/02_decentralized_memory.md b/docs/archive/expert/tasks/02_decentralized_memory.md index 71a93c92..ea4ed44f 100644 --- a/docs/archive/expert/tasks/02_decentralized_memory.md +++ b/docs/archive/expert/tasks/02_decentralized_memory.md @@ -1,7 +1,7 @@ # Phase 2: Decentralized AI Memory & Storage βœ… COMPLETE ## Overview -OpenClaw agents require persistent memory to provide long-term value, maintain context across sessions, and continuously learn. Storing large vector embeddings and knowledge graphs on-chain is prohibitively expensive. This phase integrates decentralized storage solutions (IPFS/Filecoin) tightly with the AITBC blockchain to provide verifiable, persistent, and scalable agent memory. +hermes agents require persistent memory to provide long-term value, maintain context across sessions, and continuously learn. Storing large vector embeddings and knowledge graphs on-chain is prohibitively expensive. This phase integrates decentralized storage solutions (IPFS/Filecoin) tightly with the AITBC blockchain to provide verifiable, persistent, and scalable agent memory. **Status**: βœ… **FULLY COMPLETED** - February 27, 2026 **Implementation**: Production-ready with IPFS/Filecoin integration, smart contracts, and marketplace @@ -35,7 +35,7 @@ OpenClaw agents require persistent memory to provide long-term value, maintain c - βœ… Created comprehensive frontend marketplace interface ## Expected Outcomes βœ… ALL ACHIEVED -- βœ… Infinite, scalable memory for OpenClaw agents without bloating the AITBC blockchain state. +- βœ… Infinite, scalable memory for hermes agents without bloating the AITBC blockchain state. - βœ… A new revenue stream for "Data Miner" agents who specialize in crawling, indexing, and structuring high-quality datasets for others to consume. - βœ… Faster agent spin-up times, as new agents can initialize by purchasing and downloading a pre-trained knowledge graph instead of starting from scratch. diff --git a/docs/archive/expert/tasks/03_developer_ecosystem.md b/docs/archive/expert/tasks/03_developer_ecosystem.md index 8406c0a4..fba1719d 100644 --- a/docs/archive/expert/tasks/03_developer_ecosystem.md +++ b/docs/archive/expert/tasks/03_developer_ecosystem.md @@ -1,7 +1,7 @@ # Phase 3: Developer Ecosystem & DAO Grants βœ… COMPLETE ## Overview -To drive adoption of the OpenClaw Agent ecosystem and the AITBC AI power marketplace, we must incentivize developers to build highly capable, specialized agents. This phase leverages the existing DAO Governance framework to establish automated grant distribution, hackathon bounties, and reputation-based yield farming. +To drive adoption of the hermes Agent ecosystem and the AITBC AI power marketplace, we must incentivize developers to build highly capable, specialized agents. This phase leverages the existing DAO Governance framework to establish automated grant distribution, hackathon bounties, and reputation-based yield farming. **Status**: βœ… **FULLY COMPLETED** - February 27, 2026 **Implementation**: Production-ready with comprehensive testing and deployment infrastructure @@ -33,7 +33,7 @@ To drive adoption of the OpenClaw Agent ecosystem and the AITBC AI power marketp - βœ… Complete developer leaderboard with performance tracking and export capabilities ## Expected Outcomes βœ… ALL ACHIEVED -- βœ… Rapid growth in the variety and quality of OpenClaw agents available on the network. +- βœ… Rapid growth in the variety and quality of hermes agents available on the network. - βœ… Increased utility and locking of the AITBC token through the staking mechanism, reducing circulating supply. - βœ… A self-sustaining economic loop where profitable agents fund their own compute needs and reward their creators/backers. diff --git a/docs/archive/expert/tasks/phase4_completion_report_20260227.md b/docs/archive/expert/tasks/phase4_completion_report_20260227.md index 4e6cfce5..3782752a 100644 --- a/docs/archive/expert/tasks/phase4_completion_report_20260227.md +++ b/docs/archive/expert/tasks/phase4_completion_report_20260227.md @@ -7,7 +7,7 @@ ## Executive Summary -Phase 4 of the OpenClaw Agent Marketplace development has achieved significant milestones with the completion of Phase 4.1 (Cross-Chain Reputation System) and Phase 4.2 (Agent Communication & Collaboration) frontend components. The implementation provides comprehensive, feature-rich interfaces for advanced agent interactions with enterprise-grade security and user experience. +Phase 4 of the hermes Agent Marketplace development has achieved significant milestones with the completion of Phase 4.1 (Cross-Chain Reputation System) and Phase 4.2 (Agent Communication & Collaboration) frontend components. The implementation provides comprehensive, feature-rich interfaces for advanced agent interactions with enterprise-grade security and user experience. ## βœ… **Completed Achievements** @@ -278,7 +278,7 @@ Phase 4 of the OpenClaw Agent Marketplace development has achieved significant m ## 🌟 **Conclusion** -Phase 4 of the OpenClaw Agent Marketplace development has achieved exceptional progress with the completion of Phase 4.1 and Phase 4.2 frontend components. The implementation provides comprehensive, feature-rich interfaces that enable advanced agent interactions with enterprise-grade security and user experience. +Phase 4 of the hermes Agent Marketplace development has achieved exceptional progress with the completion of Phase 4.1 and Phase 4.2 frontend components. The implementation provides comprehensive, feature-rich interfaces that enable advanced agent interactions with enterprise-grade security and user experience. ### **Key Successes** - βœ… **Complete Frontend Implementation**: 100% of Phase 4.1 & 4.2 components completed diff --git a/docs/archive/summaries/BOTH_NODES_CONSOLIDATION_VERIFIED.md b/docs/archive/summaries/BOTH_NODES_CONSOLIDATION_VERIFIED.md index ee2328e4..13fb844d 100644 --- a/docs/archive/summaries/BOTH_NODES_CONSOLIDATION_VERIFIED.md +++ b/docs/archive/summaries/BOTH_NODES_CONSOLIDATION_VERIFIED.md @@ -16,7 +16,7 @@ Perfect! The CLI consolidation is working correctly on both nodes with identical βœ… CLI operations working: 3 wallets listed ``` -**πŸ€– OpenClaw Skill** +**πŸ€– hermes Skill** ```json { "success": true, @@ -31,7 +31,7 @@ Perfect! The CLI consolidation is working correctly on both nodes with identical **🎯 Agent Operations** ```bash -OpenClaw agent: "Blockchain height: 356 - CLI consolidation complete - Status: OPERATIONAL βœ…" +hermes agent: "Blockchain height: 356 - CLI consolidation complete - Status: OPERATIONAL βœ…" ``` #### **βœ… aitbc1 (Follower Node)** @@ -44,7 +44,7 @@ OpenClaw agent: "Blockchain height: 356 - CLI consolidation complete - Status: O βœ… CLI operations working: 2 wallets listed ``` -**πŸ€– OpenClaw Skill** +**πŸ€– hermes Skill** ```json { "success": true, @@ -59,7 +59,7 @@ OpenClaw agent: "Blockchain height: 356 - CLI consolidation complete - Status: O **🎯 Agent Operations** ```bash -OpenClaw agent: "Connected to primary node - CLI consolidation complete - Status: OPERATIONAL βœ…" +hermes agent: "Connected to primary node - CLI consolidation complete - Status: OPERATIONAL βœ…" ``` ### 🌟 **Cross-Node Consistency Achieved** @@ -83,14 +83,14 @@ Both nodes have exactly the same structure: source /opt/aitbc/venv/bin/activate python /opt/aitbc/cli/aitbc_cli.py "$@" -# Both nodes use same OpenClaw skill: +# Both nodes use same hermes skill: RPC URL: aitbc uses localhost:8006, aitbc1 uses aitbc:8006 CLI Path: /opt/aitbc/aitbc-cli (same on both) ``` #### **βœ… Identical Functionality** - **CLI Operations**: Working perfectly on both nodes -- **OpenClaw Integration**: Working perfectly on both nodes +- **hermes Integration**: Working perfectly on both nodes - **Blockchain Access**: Both nodes accessing same blockchain - **Agent Operations**: Both nodes have operational agents @@ -128,7 +128,7 @@ aitbc1 agent: "Connected to primary node - CLI consolidation complete - Status: #### **βœ… Perfect Consistency** - **Structure**: Identical file layout on both nodes -- **Configuration**: Same CLI wrapper and OpenClaw skill +- **Configuration**: Same CLI wrapper and hermes skill - **Functionality**: Same behavior and capabilities ### 🎯 **Final Architecture Summary** @@ -149,7 +149,7 @@ aitbc1 agent: "Connected to primary node - CLI consolidation complete - Status: β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ -β”‚ β”‚OpenClaw + β”‚ β”‚ β”‚ β”‚OpenClaw + β”‚ β”‚ +β”‚ β”‚hermes + β”‚ β”‚ β”‚ β”‚hermes + β”‚ β”‚ β”‚ β”‚AITBC Skill β”‚ β”‚ β”‚ β”‚AITBC Skill β”‚ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ @@ -162,14 +162,14 @@ Both aitbc and aitbc1 now have: 1. **βœ… Single Requirements File**: `/opt/aitbc/requirements.txt` only 2. **βœ… Single Virtual Environment**: `/opt/aitbc/venv` only 3. **βœ… Identical CLI Setup**: Same wrapper and configuration -4. **βœ… Working OpenClaw Skill**: Full integration on both nodes +4. **βœ… Working hermes Skill**: Full integration on both nodes 5. **βœ… Operational Agents**: AI agents working on both nodes 6. **βœ… Blockchain Synchronization**: Both nodes accessing same chain ### πŸš€ **Production Ready Multi-Node Setup** Your AITBC multi-node network now has: -- **πŸ€– Distributed AI Agents**: OpenClaw agents on both nodes +- **πŸ€– Distributed AI Agents**: hermes agents on both nodes - **🌐 Cross-Node Coordination**: Agents working together - **πŸ’° Unified Token Economy**: Single marketplace across nodes - **⚑ Load Balancing**: Specialized tasks distributed diff --git a/docs/archive/summaries/CROSS_NODE_OPENCLAW_AITBC_SKILL.md b/docs/archive/summaries/CROSS_NODE_OPENCLAW_AITBC_SKILL.md index 5415a34b..6810ad81 100644 --- a/docs/archive/summaries/CROSS_NODE_OPENCLAW_AITBC_SKILL.md +++ b/docs/archive/summaries/CROSS_NODE_OPENCLAW_AITBC_SKILL.md @@ -1,20 +1,20 @@ -# Cross-Node OpenClaw AITBC Skill Installation - Complete Success! πŸš€ +# Cross-Node hermes AITBC Skill Installation - Complete Success! πŸš€ -## βœ… OpenClaw AITBC Skill Successfully Installed on Both Nodes +## βœ… hermes AITBC Skill Successfully Installed on Both Nodes -I've successfully installed the OpenClaw AITBC skill on **both aitbc and aitbc1**, enabling true cross-node agent operations with your AITBC blockchain! +I've successfully installed the hermes AITBC skill on **both aitbc and aitbc1**, enabling true cross-node agent operations with your AITBC blockchain! ### 🎯 **Installation Summary** #### **πŸ€– Primary Node (aitbc)** -- **Skill Location**: `/root/.openclaw/skills/aitbc.md` + `aitbc.py` -- **Configuration**: `/root/.openclaw/aitbc-config.json` +- **Skill Location**: `/root/.hermes/skills/aitbc.md` + `aitbc.py` +- **Configuration**: `/root/.hermes/aitbc-config.json` - **RPC Endpoint**: `http://localhost:8006` (local blockchain) - **Node Role**: Primary/Leader node #### **πŸ€– Follower Node (aitbc1)** -- **Skill Location**: `~/.openclaw/skills/aitbc.md` + `aitbc.py` -- **Configuration**: `~/.openclaw/aitbc-config.json` +- **Skill Location**: `~/.hermes/skills/aitbc.md` + `aitbc.py` +- **Configuration**: `~/.hermes/aitbc-config.json` - **RPC Endpoint**: `http://aitbc:8006` (connects to primary) - **Node Role**: Follower node @@ -64,14 +64,14 @@ I've successfully installed the OpenClaw AITBC skill on **both aitbc and aitbc1* ```json { "success": true, - "output": "OpenClaw market:\n Market Action: list\n Agents:\n - {'id': 'openclaw_001', 'name': 'Data Analysis Pro', 'price': 100, 'rating': 4.8}\n - {'id': 'openclaw_002', 'name': 'Trading Expert', 'price': 250, 'rating': 4.6}\n - {'id': 'openclaw_003', 'name': 'Content Creator', 'price': 75, 'rating': 4.9}\n Total Available: 3" + "output": "hermes market:\n Market Action: list\n Agents:\n - {'id': 'hermes_001', 'name': 'Data Analysis Pro', 'price': 100, 'rating': 4.8}\n - {'id': 'hermes_002', 'name': 'Trading Expert', 'price': 250, 'rating': 4.6}\n - {'id': 'hermes_003', 'name': 'Content Creator', 'price': 75, 'rating': 4.9}\n Total Available: 3" } ``` ### πŸš€ **Cross-Node Agent Capabilities** #### **πŸ€– Agent Operations on Both Nodes** -OpenClaw agents on **both aitbc and aitbc1** can now: +hermes agents on **both aitbc and aitbc1** can now: ```bash # Blockchain Operations (both nodes) @@ -98,10 +98,10 @@ Agents can now coordinate across nodes: ```bash # aitbc agent (primary) -openclaw agent --agent main -m "Coordinate with aitbc1 agents for load balancing" +hermes agent --agent main -m "Coordinate with aitbc1 agents for load balancing" # aitbc1 agent (follower) -openclaw agent --agent main -m "Report status to primary node and handle specialized tasks" +hermes agent --agent main -m "Report status to primary node and handle specialized tasks" ``` ### 🎯 **Architecture Overview** @@ -112,7 +112,7 @@ openclaw agent --agent main -m "Report status to primary node and handle special β”‚ aitbc (Primary)◄──────────────►│ aitbc1 (Follower)β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ -β”‚ β”‚OpenClaw β”‚ β”‚ β”‚ β”‚OpenClaw β”‚ β”‚ +β”‚ β”‚hermes β”‚ β”‚ β”‚ β”‚hermes β”‚ β”‚ β”‚ β”‚+ AITBC Skillβ”‚ β”‚ β”‚ β”‚+ AITBC Skillβ”‚ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β”‚ β”‚ β”‚ @@ -126,7 +126,7 @@ openclaw agent --agent main -m "Report status to primary node and handle special #### **πŸ”„ Data Flow** 1. **Primary Node (aitbc)**: Hosts main blockchain, processes transactions 2. **Follower Node (aitbc1)**: Connects to primary for blockchain data -3. **OpenClaw Agents**: Run on both nodes, coordinate via AITBC skill +3. **hermes Agents**: Run on both nodes, coordinate via AITBC skill 4. **Marketplace**: Shared across both nodes 5. **Resources**: Managed and allocated across nodes @@ -138,7 +138,7 @@ openclaw agent --agent main -m "Report status to primary node and handle special aitbc workflow create --name "distributed-monitor" --template "multi-node" # aitbc1: Execute specialized tasks -openclaw agent --agent specialist -m "Handle analytics tasks from primary" +hermes agent --agent specialist -m "Handle analytics tasks from primary" # Coordination across nodes aitbc nodes sync --all @@ -151,7 +151,7 @@ aitbc marketplace publish --agent-id "distributed-analyzer" --price 300 # aitbc1: Purchase and deploy agent aitbc marketplace purchase --agent-id "distributed-analyzer" --price 300 -aitbc openclaw deploy --agent-file distributed.json --wallet user +aitbc hermes deploy --agent-file distributed.json --wallet user ``` #### **πŸ“Š Multi-Node Analytics** @@ -194,7 +194,7 @@ aitbc nodes status --detailed ### πŸŽ‰ **Mission Accomplished!** -The cross-node OpenClaw AITBC skill installation provides: +The cross-node hermes AITBC skill installation provides: 1. **βœ… Dual Node Installation**: Skill working on both aitbc and aitbc1 2. **βœ… Cross-Node Coordination**: Agents can coordinate across nodes @@ -207,7 +207,7 @@ The cross-node OpenClaw AITBC skill installation provides: Your multi-node AITBC network now has: -- **πŸ€– Distributed AI Agents**: OpenClaw agents running on both nodes +- **πŸ€– Distributed AI Agents**: hermes agents running on both nodes - **🌐 Cross-Node Coordination**: Agents working together across the network - **πŸ’° Unified Token Economy**: Single marketplace accessible from both nodes - **⚑ Load Balancing**: Specialized tasks distributed for efficiency diff --git a/docs/archive/summaries/FINAL_CLI_CONSOLIDATION.md b/docs/archive/summaries/FINAL_CLI_CONSOLIDATION.md index 41bd29fc..8a421445 100644 --- a/docs/archive/summaries/FINAL_CLI_CONSOLIDATION.md +++ b/docs/archive/summaries/FINAL_CLI_CONSOLIDATION.md @@ -32,7 +32,7 @@ source /opt/aitbc/venv/bin/activate # Uses MAIN venv python /opt/aitbc/cli/aitbc_cli.py "$@" ``` -#### **βœ… OpenClaw AITBC Skill (Both Nodes)** +#### **βœ… hermes AITBC Skill (Both Nodes)** ```python # Uses the CLI script which activates the main venv full_command = ["/opt/aitbc/aitbc-cli"] + command @@ -45,7 +45,7 @@ full_command = ["/opt/aitbc/aitbc-cli"] + command /opt/aitbc/aitbc-cli wallet list # β†’ Wallets: aitbc1genesis, aitbc1treasury, aitbc-user -OpenClaw skill working: +hermes skill working: { "success": true, "output": "Wallets:\n aitbc1genesis: ait1a8gfx5u6kvnsptq66vyvrzn6hy9u6rgpd6xsqxypfq23p92kh2tsuptunl..." @@ -57,7 +57,7 @@ OpenClaw skill working: /opt/aitbc/aitbc-cli wallet list # β†’ Wallets: aitbc1genesis, aitbc1treasury -OpenClaw skill working: +hermes skill working: { "success": true, "output": "Wallets:\n aitbc1genesis: ait1qrszvlfgrywveadvj4kcrrj8jj7rvrr7mahntvjwypextlxgduzsz62cmk..." @@ -84,7 +84,7 @@ OpenClaw skill working: #### **βœ… Consistency** - **Both Nodes**: Identical setup and configuration - **CLI Operations**: Same behavior across nodes -- **OpenClaw Skill**: Consistent integration +- **hermes Skill**: Consistent integration ### 🎯 **Current Architecture** @@ -119,7 +119,7 @@ OpenClaw skill working: 2. **Main Venv**: Single environment at `/opt/aitbc/venv` 3. **CLI Script**: `/opt/aitbc/aitbc-cli` activates main venv 4. **CLI Code**: `/opt/aitbc/cli/aitbc_cli.py` uses main venv -5. **OpenClaw Skill**: Uses CLI script which uses main venv +5. **hermes Skill**: Uses CLI script which uses main venv ### πŸš€ **Cross-Node Consistency** @@ -127,7 +127,7 @@ OpenClaw skill working: - **aitbc**: Uses main requirements.txt and main venv - **aitbc1**: Uses main requirements.txt and main venv - **CLI Operations**: Identical behavior -- **OpenClaw Integration**: Consistent across nodes +- **hermes Integration**: Consistent across nodes #### **βœ… Deployment Simplicity** ```bash @@ -147,7 +147,7 @@ The final CLI consolidation provides: 3. **βœ… No Duplication**: No separate CLI dependencies or environments 4. **βœ… Simplified Management**: One source of truth for dependencies 5. **βœ… Cross-Node Consistency**: Both nodes identical -6. **βœ… Full Functionality**: All CLI and OpenClaw operations working +6. **βœ… Full Functionality**: All CLI and hermes operations working ### 🌟 **Final State Summary** @@ -163,7 +163,7 @@ The final CLI consolidation provides: #### **🎯 Perfect Integration** - **CLI Operations**: Working perfectly on both nodes -- **OpenClaw Skill**: Working perfectly on both nodes +- **hermes Skill**: Working perfectly on both nodes - **Dependencies**: Single source of truth - **Environment**: Single virtual environment diff --git a/docs/archive/summaries/OPENCLAW_AGENT_CLI_SUMMARY.md b/docs/archive/summaries/OPENCLAW_AGENT_CLI_SUMMARY.md index 5edb0f79..6269f5a3 100644 --- a/docs/archive/summaries/OPENCLAW_AGENT_CLI_SUMMARY.md +++ b/docs/archive/summaries/OPENCLAW_AGENT_CLI_SUMMARY.md @@ -1,10 +1,10 @@ -# OpenClaw Agent CLI Enhancement Summary +# hermes Agent CLI Enhancement Summary -## πŸ€– AITBC CLI Now Handles Most OpenClaw Agent Tasks +## πŸ€– AITBC CLI Now Handles Most hermes Agent Tasks -Your AITBC CLI tool has been enhanced to handle the majority of tasks that an OpenClaw agent would typically perform. This transforms it from a simple blockchain tool into a comprehensive agent management platform. +Your AITBC CLI tool has been enhanced to handle the majority of tasks that an hermes agent would typically perform. This transforms it from a simple blockchain tool into a comprehensive agent management platform. -### βœ… New OpenClaw Agent Commands Added +### βœ… New hermes Agent Commands Added #### 1. **Agent Management** (`agent`) Complete AI agent workflow and execution management: @@ -30,19 +30,19 @@ aitbc agent list --status active - βœ… Agent filtering and listing - βœ… Execution tracking and cost management -#### 2. **OpenClaw Ecosystem** (`openclaw`) -Dedicated OpenClaw agent ecosystem operations: +#### 2. **hermes Ecosystem** (`hermes`) +Dedicated hermes agent ecosystem operations: ```bash -# Deploy OpenClaw agent -aitbc openclaw deploy --agent-file config.json --wallet user-wallet --environment prod +# Deploy hermes agent +aitbc hermes deploy --agent-file config.json --wallet user-wallet --environment prod -# Monitor OpenClaw agent performance -aitbc openclaw monitor --agent-id openclaw_001 --metrics performance +# Monitor hermes agent performance +aitbc hermes monitor --agent-id hermes_001 --metrics performance -# OpenClaw agent marketplace -aitbc openclaw market --action list -aitbc openclaw market --action publish --agent-id my-agent --price 100 +# hermes agent marketplace +aitbc hermes market --action list +aitbc hermes market --action publish --agent-id my-agent --price 100 ``` **Features:** @@ -94,7 +94,7 @@ aitbc resource allocate --agent-id agent_123 --cpu 2.0 --memory 4096 --duration - βœ… Agent status: 3 active agents, 47 completed executions - βœ… Agent listing: Filtered by status (active/completed/failed) -**OpenClaw Operations:** +**hermes Operations:** - βœ… Deployment: `deploy_1774851653` deploying to dev environment - βœ… Monitoring: 94.2% performance score, 99.8% uptime - βœ… Marketplace: 3 agents available (Data Analysis Pro, Trading Expert, Content Creator) @@ -103,9 +103,9 @@ aitbc resource allocate --agent-id agent_123 --cpu 2.0 --memory 4096 --duration - βœ… Workflow creation: `workflow_1774851690` with blockchain template - βœ… Resource status: 45.2% CPU, 26% memory, 78.5% efficiency -### 🎯 **OpenClaw Agent Tasks Now Supported** +### 🎯 **hermes Agent Tasks Now Supported** -Your CLI can now handle these OpenClaw agent tasks: +Your CLI can now handle these hermes agent tasks: **πŸ€– Agent Lifecycle:** - Agent creation and configuration @@ -133,7 +133,7 @@ Your CLI can now handle these OpenClaw agent tasks: ### πŸš€ **Benefits Achieved** -1. **🎯 Comprehensive Coverage**: Handles 90%+ of typical OpenClaw agent tasks +1. **🎯 Comprehensive Coverage**: Handles 90%+ of typical hermes agent tasks 2. **⚑ High Performance**: Sub-3ms command response times 3. **πŸ’° Cost Effective**: Built-in cost tracking and optimization 4. **πŸ”§ Easy Management**: Simple, intuitive command structure @@ -149,16 +149,16 @@ Core Blockchain Commands: Enhanced Commands: - analytics, marketplace, ai-ops, mining -OpenClaw Agent Commands: +hermes Agent Commands: - agent (create, execute, status, list) -- openclaw (deploy, monitor, market) +- hermes (deploy, monitor, market) - workflow (create, run) - resource (status, allocate) ``` ### πŸŽ‰ **Mission Accomplished** -Your AITBC CLI tool now provides **comprehensive OpenClaw agent management capabilities** that rival dedicated agent platforms. Users can: +Your AITBC CLI tool now provides **comprehensive hermes agent management capabilities** that rival dedicated agent platforms. Users can: - **πŸ€– Create and manage AI agents** with full lifecycle support - **πŸš€ Deploy to production environments** with monitoring @@ -166,4 +166,4 @@ Your AITBC CLI tool now provides **comprehensive OpenClaw agent management capab - **⚑ Automate workflows** with template-based execution - **πŸ“Š Optimize resources** with real-time tracking -The AITBC CLI has evolved from a simple wallet tool into a **complete OpenClaw agent management platform**! πŸŽ‰πŸ€– +The AITBC CLI has evolved from a simple wallet tool into a **complete hermes agent management platform**! πŸŽ‰πŸ€– diff --git a/docs/archive/summaries/OPENCLAW_AITBC_CLI_PATH_FIX.md b/docs/archive/summaries/OPENCLAW_AITBC_CLI_PATH_FIX.md index 3d85670a..ee3b3515 100644 --- a/docs/archive/summaries/OPENCLAW_AITBC_CLI_PATH_FIX.md +++ b/docs/archive/summaries/OPENCLAW_AITBC_CLI_PATH_FIX.md @@ -1,8 +1,8 @@ -# OpenClaw AITBC Skill CLI Path Fix - Complete βœ… +# hermes AITBC Skill CLI Path Fix - Complete βœ… ## βœ… Legacy CLI Path Successfully Updated -You were absolutely right! The OpenClaw AITBC skill was using the legacy CLI path. I've successfully updated it to use the correct consolidated CLI directory structure. +You were absolutely right! The hermes AITBC skill was using the legacy CLI path. I've successfully updated it to use the correct consolidated CLI directory structure. ### πŸ”§ **What Was Fixed** @@ -23,13 +23,13 @@ You were absolutely right! The OpenClaw AITBC skill was using the legacy CLI pat ### πŸ“ **Updated Files** #### **🏠 Primary Node (aitbc)** -- **Configuration**: `/root/.openclaw/aitbc-config.json` -- **Python Skill**: `/root/.openclaw/skills/aitbc.py` +- **Configuration**: `/root/.hermes/aitbc-config.json` +- **Python Skill**: `/root/.hermes/skills/aitbc.py` - **Default Config**: Updated `AITBCConfig.cli_path` #### **🌐 Follower Node (aitbc1)** -- **Configuration**: `~/.openclaw/aitbc-config.json` -- **Python Skill**: `~/.openclaw/skills/aitbc.py` +- **Configuration**: `~/.hermes/aitbc-config.json` +- **Python Skill**: `~/.hermes/skills/aitbc.py` - **RPC URL**: `http://aitbc:8006` (connects to primary) ### πŸ“Š **Verification Results** @@ -128,7 +128,7 @@ Each node has appropriate configuration: - βœ… **Virtual Environment**: Proper activation via aitbc-cli wrapper - βœ… **RPC Connectivity**: Both nodes accessing blockchain data - βœ… **Wallet Operations**: Working on both nodes -- βœ… **Agent Integration**: OpenClaw agents using updated skill +- βœ… **Agent Integration**: hermes agents using updated skill #### **πŸ”— Blockchain Synchronization** - βœ… **Height**: 320 blocks (both nodes synchronized) @@ -137,7 +137,7 @@ Each node has appropriate configuration: ### πŸŽ‰ **Mission Accomplished!** -The OpenClaw AITBC skill now: +The hermes AITBC skill now: 1. **βœ… Uses Correct CLI Path**: `/opt/aitbc/cli/aitbc_cli.py` 2. **βœ… Proper Virtual Environment**: Via aitbc-cli wrapper @@ -147,11 +147,11 @@ The OpenClaw AITBC skill now: ### πŸš€ **What This Enables** -Your OpenClaw agents can now: +Your hermes agents can now: - **πŸ” Access Blockchain**: Through correct consolidated CLI - **πŸ’° Manage Wallets**: Using proper virtual environment - **🌐 Coordinate Cross-Node**: Seamless multi-node operations - **⚑ Execute Workflows**: With updated path configuration - **πŸ“Š Monitor Resources**: Accurate cross-node analytics -The OpenClaw AITBC skill is now fully updated and operational with the correct consolidated CLI path structure! πŸŽ‰πŸ€–β›“οΈ +The hermes AITBC skill is now fully updated and operational with the correct consolidated CLI path structure! πŸŽ‰πŸ€–β›“οΈ diff --git a/docs/archive/summaries/OPENCLAW_AITBC_SCENARIOS_SUMMARY.md b/docs/archive/summaries/OPENCLAW_AITBC_SCENARIOS_SUMMARY.md index 17b586ba..ff21a701 100644 --- a/docs/archive/summaries/OPENCLAW_AITBC_SCENARIOS_SUMMARY.md +++ b/docs/archive/summaries/OPENCLAW_AITBC_SCENARIOS_SUMMARY.md @@ -1,13 +1,13 @@ -# OpenClaw Multi-Node AITBC Scenarios - Complete Success! πŸŽ‰ +# hermes Multi-Node AITBC Scenarios - Complete Success! πŸŽ‰ -## πŸ€– OpenClaw + AITBC Integration Scenarios Executed +## πŸ€– hermes + AITBC Integration Scenarios Executed -We successfully demonstrated comprehensive OpenClaw agent scenarios integrated with your multi-node AITBC blockchain! This showcases the powerful combination of AI agents with blockchain technology. +We successfully demonstrated comprehensive hermes agent scenarios integrated with your multi-node AITBC blockchain! This showcases the powerful combination of AI agents with blockchain technology. ### βœ… **Scenario Results Summary** #### **Scenario 1: Cross-Node Agent Deployment** βœ… -- **OpenClaw Status**: Version 2026.3.24 installed and operational +- **hermes Status**: Version 2026.3.24 installed and operational - **Agent Creation**: Successfully created `aitbc-monitor` agent - **Blockchain Analysis**: Agent analyzed blockchain health (Height: 258, Genesis: 999,997,475 AIT, User: 1,500 AIT) - **Health Assessment**: Agent provided comprehensive blockchain health report @@ -24,7 +24,7 @@ We successfully demonstrated comprehensive OpenClaw agent scenarios integrated w #### **Scenario 3: Workflow Automation** βœ… - **Workflow Creation**: Created `multi-node-monitor` workflow with blockchain template - **Async Execution**: Workflow running asynchronously with execution ID `wf_exec_1774851943` -- **Agent Integration**: OpenClaw agent executing automated workflow steps +- **Agent Integration**: hermes agent executing automated workflow steps - **Progress Tracking**: Real-time workflow progress monitoring - **Agent Statistics**: 3 active agents, 47 completed executions, 3.2min average time - **Result**: βœ… Automated blockchain monitoring workflow with AI agent integration @@ -34,7 +34,7 @@ We successfully demonstrated comprehensive OpenClaw agent scenarios integrated w - **Dynamic Allocation**: Allocated 2.0 CPU cores + 4GB memory for 60 minutes - **Cost Tracking**: 25 AIT per hour resource cost - **Efficiency Metrics**: 78.5% overall resource efficiency -- **Agent Optimization**: OpenClaw agent providing resource optimization recommendations +- **Agent Optimization**: hermes agent providing resource optimization recommendations - **Result**: βœ… Intelligent resource management with cost optimization ### πŸš€ **Key Achievements Demonstrated** @@ -65,17 +65,17 @@ We successfully demonstrated comprehensive OpenClaw agent scenarios integrated w ### 🎯 **Technical Demonstrations** -#### **OpenClaw Agent Commands Used** +#### **hermes Agent Commands Used** ```bash # Agent Management -openclaw agents add aitbc-monitor -openclaw agents list -openclaw agent --agent main -m "blockchain analysis task" +hermes agents add aitbc-monitor +hermes agents list +hermes agent --agent main -m "blockchain analysis task" # Integration with AITBC CLI /opt/aitbc/aitbc-cli agent create --name blockchain-analyzer -/opt/aitbc/aitbc-cli openclaw deploy --agent-file config.json -/opt/aitbc/aitbc-cli openclaw market --action list +/opt/aitbc/aitbc-cli hermes deploy --agent-file config.json +/opt/aitbc/aitbc-cli hermes market --action list ``` #### **Blockchain Integration Points** @@ -93,7 +93,7 @@ openclaw agent --agent main -m "blockchain analysis task" ### 🌟 **Innovation Highlights** #### **🎯 First-of-its-Kind Integration** -- **AI + Blockchain**: OpenClaw agents directly integrated with AITBC +- **AI + Blockchain**: hermes agents directly integrated with AITBC - **Multi-Node Coordination**: Agents working across blockchain nodes - **Tokenized Agent Economy**: Agents bought/sold with AIT tokens - **Automated Governance**: Workflow-based blockchain management @@ -120,7 +120,7 @@ openclaw agent --agent main -m "blockchain analysis task" ### πŸŽ‰ **Mission Accomplished!** -Your AITBC + OpenClaw integration demonstrates: +Your AITBC + hermes integration demonstrates: 1. **βœ… AI Agent Management**: Complete lifecycle with blockchain integration 2. **βœ… Multi-Node Operations**: Seamless cross-node agent coordination diff --git a/docs/archive/summaries/OPENCLAW_AITBC_SKILL_SUMMARY.md b/docs/archive/summaries/OPENCLAW_AITBC_SKILL_SUMMARY.md index 66c8607f..b748ab6f 100644 --- a/docs/archive/summaries/OPENCLAW_AITBC_SKILL_SUMMARY.md +++ b/docs/archive/summaries/OPENCLAW_AITBC_SKILL_SUMMARY.md @@ -1,8 +1,8 @@ -# OpenClaw AITBC Skill - Complete Integration Solution πŸ€–β›“οΈ +# hermes AITBC Skill - Complete Integration Solution πŸ€–β›“οΈ ## βœ… Skill Successfully Created and Tested -The OpenClaw AITBC skill has been successfully implemented and tested! This comprehensive skill provides seamless integration between OpenClaw agents and your multi-node AITBC blockchain. +The hermes AITBC skill has been successfully implemented and tested! This comprehensive skill provides seamless integration between hermes agents and your multi-node AITBC blockchain. ### 🎯 **What the Skill Provides** @@ -27,7 +27,7 @@ The OpenClaw AITBC skill has been successfully implemented and tested! This comp ### πŸ“Š **Current Status (Verified Working)** -**OpenClaw Integration:** +**hermes Integration:** - βœ… Version: 2026.3.24 operational - βœ… Agents: 3 active agents (47 completed executions) - βœ… Performance: 3.2min average execution time @@ -55,7 +55,7 @@ The OpenClaw AITBC skill has been successfully implemented and tested! This comp #### **1. Real-Time Blockchain Analysis** ```bash # Agent analyzing live blockchain data -openclaw agent --agent main -m "Analyze AITBC blockchain health" +hermes agent --agent main -m "Analyze AITBC blockchain health" # β†’ Provides comprehensive blockchain health assessment ``` @@ -63,7 +63,7 @@ openclaw agent --agent main -m "Analyze AITBC blockchain health" ```bash # Create and sell agents for AIT tokens aitbc-cli agent create --name "blockchain-analyzer" -aitbc-cli openclaw market --action publish --price 250 +aitbc-cli hermes market --action publish --price 250 # β†’ Agent sold for 250 AIT via blockchain transaction ``` @@ -77,7 +77,7 @@ aitbc-cli workflow run --name "multi-node-monitor" --async-exec #### **4. Cross-Node Coordination** ```bash # Coordinate agents across aitbc + aitbc1 -aitbc-cli openclaw deploy --agent-file config.json --wallet user +aitbc-cli hermes deploy --agent-file config.json --wallet user # β†’ Agents deployed and coordinated across both nodes ``` @@ -117,7 +117,7 @@ aitbc-cli resource allocate --agent-id agent_123 --cpu 2.0 --memory 4096 ### 🌟 **Innovation Highlights** #### **🎯 Industry First** -- **AI + Blockchain Integration**: OpenClaw agents directly integrated with AITBC +- **AI + Blockchain Integration**: hermes agents directly integrated with AITBC - **Tokenized Agent Economy**: Agents bought/sold with blockchain tokens - **Multi-Node AI Coordination**: Agents working across blockchain nodes - **Automated Governance**: AI-driven blockchain management @@ -139,13 +139,13 @@ aitbc-cli resource allocate --agent-id agent_123 --cpu 2.0 --memory 4096 #### **Quick Start** ```bash # Complete setup -/opt/aitbc/.windsurf/skills/openclaw-aitbc/setup.sh +/opt/aitbc/.windsurf/skills/hermes-aitbc/setup.sh # Check status -/opt/aitbc/.windsurf/skills/openclaw-aitbc/setup.sh status +/opt/aitbc/.windsurf/skills/hermes-aitbc/setup.sh status # Run integration test -/opt/aitbc/.windsurf/skills/openclaw-aitbc/setup.sh test +/opt/aitbc/.windsurf/skills/hermes-aitbc/setup.sh test ``` #### **Advanced Operations** @@ -154,7 +154,7 @@ aitbc-cli resource allocate --agent-id agent_123 --cpu 2.0 --memory 4096 aitbc-cli agent create --name "custom-analyzer" --verification full # Deploy across nodes -aitbc-cli openclaw deploy --agent-file custom.json --wallet user +aitbc-cli hermes deploy --agent-file custom.json --wallet user # Run workflow aitbc-cli workflow run --name "custom-workflow" --async-exec @@ -165,9 +165,9 @@ aitbc-cli resource status --type all ### πŸŽ‰ **Mission Accomplished!** -The OpenClaw AITBC skill provides: +The hermes AITBC skill provides: -1. **βœ… Complete Integration**: Seamless OpenClaw + AITBC blockchain +1. **βœ… Complete Integration**: Seamless hermes + AITBC blockchain 2. **βœ… Agent Marketplace**: Tokenized agent economy with AIT payments 3. **βœ… Workflow Automation**: Intelligent blockchain management 4. **βœ… Multi-Node Support**: Cross-node agent coordination diff --git a/docs/archive/summaries/OPENCLAW_NATIVE_AITBC_SKILL.md b/docs/archive/summaries/OPENCLAW_NATIVE_AITBC_SKILL.md index d9dc61cd..dfc9d862 100644 --- a/docs/archive/summaries/OPENCLAW_NATIVE_AITBC_SKILL.md +++ b/docs/archive/summaries/OPENCLAW_NATIVE_AITBC_SKILL.md @@ -1,15 +1,15 @@ -# OpenClaw AITBC Skill - Complete Success! πŸ€–β›“οΈ +# hermes AITBC Skill - Complete Success! πŸ€–β›“οΈ -## βœ… Native OpenClaw AITBC Skill Created +## βœ… Native hermes AITBC Skill Created -I've successfully created a **native AITBC skill for OpenClaw** that allows OpenClaw agents to directly interact with your AITBC blockchain! This is the missing piece that makes OpenClaw agents first-class citizens in your blockchain ecosystem. +I've successfully created a **native AITBC skill for hermes** that allows hermes agents to directly interact with your AITBC blockchain! This is the missing piece that makes hermes agents first-class citizens in your blockchain ecosystem. ### 🎯 **What's Been Built** -#### **πŸ€– Native OpenClaw Skill** -- **Skill File**: `/root/.openclaw/skills/aitbc.md` - Comprehensive documentation -- **Implementation**: `/root/.openclaw/skills/aitbc.py` - Full Python implementation -- **Configuration**: `/root/.openclaw/aitbc-config.json` - OpenClaw integration config +#### **πŸ€– Native hermes Skill** +- **Skill File**: `/root/.hermes/skills/aitbc.md` - Comprehensive documentation +- **Implementation**: `/root/.hermes/skills/aitbc.py` - Full Python implementation +- **Configuration**: `/root/.hermes/aitbc-config.json` - hermes integration config #### **⚑ Complete AITBC Integration** - **Wallet Operations**: Create, import, manage AITBC wallets @@ -73,14 +73,14 @@ I've successfully created a **native AITBC skill for OpenClaw** that allows Open ```json { "success": true, - "output": "OpenClaw market:\n Market Action: list\n Agents:\n - {'id': 'openclaw_001', 'name': 'Data Analysis Pro', 'price': 100, 'rating': 4.8}\n - {'id': 'openclaw_002', 'name': 'Trading Expert', 'price': 250, 'rating': 4.6}\n - {'id': 'openclaw_003', 'name': 'Content Creator', 'price': 75, 'rating': 4.9}\n Total Available: 3" + "output": "hermes market:\n Market Action: list\n Agents:\n - {'id': 'hermes_001', 'name': 'Data Analysis Pro', 'price': 100, 'rating': 4.8}\n - {'id': 'hermes_002', 'name': 'Trading Expert', 'price': 250, 'rating': 4.6}\n - {'id': 'hermes_003', 'name': 'Content Creator', 'price': 75, 'rating': 4.9}\n Total Available: 3" } ``` -### πŸš€ **OpenClaw Agent Capabilities** +### πŸš€ **hermes Agent Capabilities** #### **πŸ€– Agent Commands Available** -OpenClaw agents can now use these AITBC commands: +hermes agents can now use these AITBC commands: ```bash # Wallet Operations @@ -122,7 +122,7 @@ aitbc resources allocate --agent-id <id> --cpu <cores> --memory <mb> --duration ``` #### **🎯 Agent Integration Example** -OpenClaw agents can now directly access AITBC: +hermes agents can now directly access AITBC: ```python class BlockchainAgent: @@ -150,8 +150,8 @@ class BlockchainAgent: ### 🌟 **Innovation Highlights** #### **🎯 Industry First** -- **Native OpenClaw Integration**: AITBC skill built directly into OpenClaw -- **Agent-First Blockchain**: OpenClaw agents as first-class blockchain citizens +- **Native hermes Integration**: AITBC skill built directly into hermes +- **Agent-First Blockchain**: hermes agents as first-class blockchain citizens - **Seamless Token Economy**: Agents can directly use AIT tokens - **Multi-Node Agent Coordination**: Agents working across blockchain nodes @@ -171,7 +171,7 @@ class BlockchainAgent: #### **πŸ€– Agent Blockchain Analysis** ```bash -openclaw agent --agent main -m " +hermes agent --agent main -m " Use AITBC skill to analyze blockchain: - Check current height and health - Monitor wallet balances @@ -182,7 +182,7 @@ Use AITBC skill to analyze blockchain: #### **πŸ’° Agent Trading Operations** ```bash -openclaw agent --agent trading-bot -m " +hermes agent --agent trading-bot -m " Use AITBC skill for trading: - Check marketplace listings - Analyze agent performance @@ -193,7 +193,7 @@ Use AITBC skill for trading: #### **🌐 Multi-Node Coordination** ```bash -openclaw agent --agent coordinator -m " +hermes agent --agent coordinator -m " Use AITBC skill for coordination: - Check all node status - Verify synchronization @@ -204,7 +204,7 @@ Use AITBC skill for coordination: ### πŸ”§ **Configuration** -OpenClaw automatically configured with: +hermes automatically configured with: ```json { "skills": { @@ -225,9 +225,9 @@ OpenClaw automatically configured with: ### πŸŽ‰ **Mission Accomplished!** -The OpenClaw AITBC skill provides: +The hermes AITBC skill provides: -1. **βœ… Native Integration**: AITBC built directly into OpenClaw +1. **βœ… Native Integration**: AITBC built directly into hermes 2. **βœ… Complete API Access**: All blockchain operations available to agents 3. **βœ… Real-Time Data**: Live blockchain metrics and analytics 4. **βœ… Multi-Node Support**: Cross-node agent coordination @@ -236,7 +236,7 @@ The OpenClaw AITBC skill provides: ### πŸš€ **What This Enables** -Your OpenClaw agents can now: +Your hermes agents can now: - **πŸ” Monitor Blockchain**: Real-time blockchain health analysis - **πŸ’° Manage Tokens**: Send, receive, and track AIT transactions - **πŸ›’ Trade Agents**: Buy and sell agents in the marketplace @@ -244,4 +244,4 @@ Your OpenClaw agents can now: - **πŸ“Š Analyze Data**: Get comprehensive blockchain analytics - **⚑ Automate Workflows**: Create intelligent blockchain automation -This creates a **complete AI-blockchain ecosystem** where OpenClaw agents are first-class citizens in your AITBC blockchain network! πŸŽ‰πŸ€–β›“οΈ +This creates a **complete AI-blockchain ecosystem** where hermes agents are first-class citizens in your AITBC blockchain network! πŸŽ‰πŸ€–β›“οΈ diff --git a/docs/archive/summaries/PROJECT_ROOT_ORGANIZATION_COMPLETE.md b/docs/archive/summaries/PROJECT_ROOT_ORGANIZATION_COMPLETE.md index 0675211c..c1d7985b 100644 --- a/docs/archive/summaries/PROJECT_ROOT_ORGANIZATION_COMPLETE.md +++ b/docs/archive/summaries/PROJECT_ROOT_ORGANIZATION_COMPLETE.md @@ -50,17 +50,17 @@ The project root directory has been cleaned up and organized, with only essentia βœ… CLI_ENHANCEMENT_SUMMARY.md βœ… CLI_RENAMING_SUMMARY.md βœ… CLI_TESTS_SETUP_COMPLETE.md -βœ… CROSS_NODE_OPENCLAW_AITBC_SKILL.md +βœ… CROSS_NODE_hermes_AITBC_SKILL.md βœ… FINAL_CLI_CONSOLIDATION.md βœ… INTEGRATION_TESTS_FIXED.md βœ… JAVASCRIPT_PACKAGE_TESTS_FIXED.md βœ… LEGACY_CLEANUP_SUMMARY.md βœ… LEGACY_CLI_REQUIREMENTS_CLEANUP.md -βœ… OPENCLAW_AGENT_CLI_SUMMARY.md -βœ… OPENCLAW_AITBC_CLI_PATH_FIX.md -βœ… OPENCLAW_AITBC_SCENARIOS_SUMMARY.md -βœ… OPENCLAW_AITBC_SKILL_SUMMARY.md -βœ… OPENCLAW_NATIVE_AITBC_SKILL.md +βœ… hermes_AGENT_CLI_SUMMARY.md +βœ… hermes_AITBC_CLI_PATH_FIX.md +βœ… hermes_AITBC_SCENARIOS_SUMMARY.md +βœ… hermes_AITBC_SKILL_SUMMARY.md +βœ… hermes_NATIVE_AITBC_SKILL.md βœ… PYTHON_TESTS_FIXED.md βœ… SCRIPTS_UPDATE_SUMMARY.md βœ… SMART_CONTRACT_TESTS_FIXED.md diff --git a/docs/archive/summaries/PYTEST_COMPATIBILITY_SUMMARY.md b/docs/archive/summaries/PYTEST_COMPATIBILITY_SUMMARY.md index debf71f3..2db4d331 100644 --- a/docs/archive/summaries/PYTEST_COMPATIBILITY_SUMMARY.md +++ b/docs/archive/summaries/PYTEST_COMPATIBILITY_SUMMARY.md @@ -25,7 +25,7 @@ tests/ # Main test directory (βœ… Working) β”œβ”€β”€ contracts/ # Smart contract tests β”œβ”€β”€ e2e/ # End-to-end tests β”œβ”€β”€ integration/ # Integration tests -β”œβ”€β”€ openclaw_marketplace/ # Marketplace tests +β”œβ”€β”€ hermes_marketplace/ # Marketplace tests β”œβ”€β”€ performance/ # Performance tests β”œβ”€β”€ reputation/ # Reputation system tests β”œβ”€β”€ rewards/ # Reward system tests @@ -111,7 +111,7 @@ Some test directories require additional dependencies: 1. **Fixed pytest.ini formatting** (added `[tool:pytest]` header) 2. **Completed incomplete test functions** in `test_wallet.py` 3. **Fixed syntax errors** in `test_cli_integration.py` -4. **Resolved import issues** in marketplace and openclaw tests +4. **Resolved import issues** in marketplace and hermes tests 5. **Added proper CLI command parameters** for wallet tests 6. **Created comprehensive test runner script** diff --git a/docs/archive/summaries/README.md b/docs/archive/summaries/README.md index 73df198c..707b2245 100644 --- a/docs/archive/summaries/README.md +++ b/docs/archive/summaries/README.md @@ -27,7 +27,7 @@ This directory collects summary-style documentation, including: - **[PROJECT_ORGANIZATION_COMPLETED.md](PROJECT_ORGANIZATION_COMPLETED.md)** - Project organization completion summary - **[DOCUMENTATION_CLEANUP_SUMMARY.md](DOCUMENTATION_CLEANUP_SUMMARY.md)** - Documentation cleanup summary -- **[OPENCLAW_AITBC_SKILL_SUMMARY.md](OPENCLAW_AITBC_SKILL_SUMMARY.md)** - OpenClaw skill summary +- **[HERMES_AITBC_SKILL_SUMMARY.md](HERMES_AITBC_SKILL_SUMMARY.md)** - hermes skill summary - **[PYTHON_TESTS_FIXED.md](PYTHON_TESTS_FIXED.md)** - Python test fix summary - **[GITHUB_ACTIONS_WORKFLOW_FIXES.md](GITHUB_ACTIONS_WORKFLOW_FIXES.md)** - Workflow fixes summary diff --git a/docs/archive/summaries/coordinator-api-breakup-analysis.md b/docs/archive/summaries/coordinator-api-breakup-analysis.md index e62f0acc..eef2a861 100644 --- a/docs/archive/summaries/coordinator-api-breakup-analysis.md +++ b/docs/archive/summaries/coordinator-api-breakup-analysis.md @@ -144,7 +144,7 @@ The coordinator-api monolith contains: - adaptive_learning_health.py - modality_optimization_health.py - multimodal_health.py -- openclaw_enhanced_health.py +- hermes_enhanced_health.py **Responsibilities:** - ZK proof generation diff --git a/docs/archive/summaries/coordinator-api-router-structure.md b/docs/archive/summaries/coordinator-api-router-structure.md index 7a01e084..1c64fcdd 100644 --- a/docs/archive/summaries/coordinator-api-router-structure.md +++ b/docs/archive/summaries/coordinator-api-router-structure.md @@ -208,15 +208,15 @@ The coordinator-api has approximately 60+ routers covering various domains. This **Purpose:** Analytics operations **Status:** MIGRATION PENDING - Should be migrated to Analytics Service -## OpenClaw Routers +## hermes Routers -### OpenClaw Enhanced (`openclaw_enhanced.py`) -**Purpose:** OpenClaw operations -**Status:** MIGRATION PENDING - Should be migrated to OpenClaw Service +### hermes Enhanced (`hermes_enhanced.py`) +**Purpose:** hermes operations +**Status:** MIGRATION PENDING - Should be migrated to hermes Service -### OpenClaw Enhanced Simple (`openclaw_enhanced_simple.py`) -**Purpose:** Simplified OpenClaw operations -**Status:** MIGRATION PENDING - Should be migrated to OpenClaw Service +### hermes Enhanced Simple (`hermes_enhanced_simple.py`) +**Purpose:** Simplified hermes operations +**Status:** MIGRATION PENDING - Should be migrated to hermes Service ## Multimodal Routers @@ -315,7 +315,7 @@ The coordinator-api has approximately 60+ routers covering various domains. This 6. **Trading/Exchange** - Important for marketplace liquidity ### Low Priority (Specialized Features) -7. **OpenClaw Routers** - Specialized feature +7. **hermes Routers** - Specialized feature 8. **Multimodal Routers** - Specialized AI features 9. **Developer Platform** - Developer-facing features @@ -331,7 +331,7 @@ Based on the router analysis, the following microservices should be created: 6. **Blockchain Service** - Blockchain, Cross-chain integration 7. **Developer Service** - Developer platform, Registry, Certification 8. **Monitoring Service** - Monitoring dashboard, Analytics, Ecosystem dashboard -9. **OpenClaw Service** - All OpenClaw operations +9. **hermes Service** - All hermes operations 10. **Admin Service** - Admin, Users 11. **Community Service** - Community, Partners 12. **Security Service** - Confidential operations diff --git a/docs/backend/documented_AITBC_Enhanced_Services__8010-8016__Implementation.md b/docs/backend/documented_AITBC_Enhanced_Services__8010-8016__Implementation.md index 1c5da7fa..adcc65a7 100644 --- a/docs/backend/documented_AITBC_Enhanced_Services__8010-8016__Implementation.md +++ b/docs/backend/documented_AITBC_Enhanced_Services__8010-8016__Implementation.md @@ -49,7 +49,7 @@ This document provides comprehensive technical documentation for aitbc enhanced /etc/systemd/system/aitbc-modality-optimization.service # Port 8012 /etc/systemd/system/aitbc-learning.service # Port 8013 /etc/systemd/system/aitbc-marketplace.service # Port 8014 -/etc/systemd/system/aitbc-openclaw.service # Port 8015 +/etc/systemd/system/aitbc-hermes.service # Port 8015 /etc/systemd/system/aitbc-web-ui.service # Port 8016 ``` @@ -101,7 +101,7 @@ sudo netstat -tlnp | grep -E ":(8010|8011|8012|8013|8014|8015|8016)" - **βœ… Port 8012**: Modality Optimization - **WORKING** - **βœ… Port 8013**: Adaptive Learning - **WORKING** - **βœ… Port 8014**: Marketplace Enhanced - **WORKING** -- **βœ… Port 8015**: OpenClaw Enhanced - **WORKING** +- **βœ… Port 8015**: hermes Enhanced - **WORKING** - **βœ… Port 8016**: Web UI - **WORKING** **βœ… Old Ports Decommissioned:** diff --git a/docs/backend/documented_AITBC_Port_Logic_Implementation_-_Implementation_C.md b/docs/backend/documented_AITBC_Port_Logic_Implementation_-_Implementation_C.md index 083b734b..48248418 100644 --- a/docs/backend/documented_AITBC_Port_Logic_Implementation_-_Implementation_C.md +++ b/docs/backend/documented_AITBC_Port_Logic_Implementation_-_Implementation_C.md @@ -25,7 +25,7 @@ This document provides comprehensive technical documentation for aitbc port logi - Port 8012: Modality Optimization βœ… working - Port 8013: Adaptive Learning βœ… working - Port 8014: Marketplace Enhanced βœ… working -- Port 8015: OpenClaw Enhanced βœ… working +- Port 8015: Hermes Enhanced βœ… working - Port 8016: Web UI βœ… working - Port 8017: Geographic Load Balancer βœ… working - Old port 9080: βœ… successfully decommissioned diff --git a/docs/backend/documented_Architecture_Reorganization__Web_UI_Moved_to_Enhan.md b/docs/backend/documented_Architecture_Reorganization__Web_UI_Moved_to_Enhan.md index 95e777d7..b630186e 100644 --- a/docs/backend/documented_Architecture_Reorganization__Web_UI_Moved_to_Enhan.md +++ b/docs/backend/documented_Architecture_Reorganization__Web_UI_Moved_to_Enhan.md @@ -31,7 +31,7 @@ This document provides comprehensive technical documentation for architecture re β”‚ β”œβ”€β”€ Modality Optimization (Port 8004) β”‚ β”œβ”€β”€ Adaptive Learning (Port 8005) β”‚ β”œβ”€β”€ Marketplace Enhanced (Port 8006) -β”‚ β”œβ”€β”€ OpenClaw Enhanced (Port 8007) +β”‚ β”œβ”€β”€ hermes Enhanced (Port 8007) + β”‚ └── Web UI (Port 8009) ``` @@ -67,7 +67,7 @@ Enhanced Services (7 services): - Modality Optimization (Port 8004) - Adaptive Learning (Port 8005) - Marketplace Enhanced (Port 8006) -- OpenClaw Enhanced (Port 8007) +- hermes Enhanced (Port 8007) - Web UI (Port 8009) ``` diff --git a/docs/blockchain/blockchain_synchronization_issues_and_fixes.md b/docs/blockchain/blockchain_synchronization_issues_and_fixes.md index 535d6041..ab7ca5d9 100644 --- a/docs/blockchain/blockchain_synchronization_issues_and_fixes.md +++ b/docs/blockchain/blockchain_synchronization_issues_and_fixes.md @@ -408,7 +408,7 @@ ssh aitbc1 'journalctl -u aitbc-blockchain-node -f' ## References ### Related Documentation -- [Cross-Node Communication Guide](../openclaw/guides/openclaw_cross_node_communication.md) +- [Cross-Node Communication Guide](../hermes/guides/hermes_cross_node_communication.md) - [RPC API Documentation](../reference/rpc-api.md) - [Chain Sync Service](../backend/chain-sync.md) diff --git a/docs/blockchain/governance/README.md b/docs/blockchain/governance/README.md index 9b7a69e2..ba7b38d0 100644 --- a/docs/blockchain/governance/README.md +++ b/docs/blockchain/governance/README.md @@ -25,7 +25,7 @@ - **[CODEOWNERS](CODEOWNERS)** - Ownership and review routing - **[COMMUNITY_STRATEGY.md](COMMUNITY_STRATEGY.md)** - Community and contribution strategy -- **[openclaw-dao-governance.md](openclaw-dao-governance.md)** - OpenClaw DAO governance notes +- **[hermes-dao-governance.md](hermes-dao-governance.md)** - hermes DAO governance notes --- diff --git a/docs/blockchain/governance/openclaw-dao-governance.md b/docs/blockchain/governance/openclaw-dao-governance.md index 2761760d..50a8fcef 100644 --- a/docs/blockchain/governance/openclaw-dao-governance.md +++ b/docs/blockchain/governance/openclaw-dao-governance.md @@ -1,8 +1,8 @@ -# OpenClaw DAO Governance - Conceptual Framework +# hermes DAO Governance - Conceptual Framework ## πŸ›οΈ Overview -OpenClaw DAO is the decentralized governance mechanism for the AITBC ecosystem, designed to facilitate autonomous decision-making for AI agents, GPU resource allocation, and ecosystem development through token-weighted voting with snapshot security mechanisms. +hermes DAO is the decentralized governance mechanism for the AITBC ecosystem, designed to facilitate autonomous decision-making for AI agents, GPU resource allocation, and ecosystem development through token-weighted voting with snapshot security mechanisms. --- @@ -436,10 +436,10 @@ Governance Integration: ## 🎯 Conclusion -OpenClaw DAO represents a revolutionary approach to decentralized governance, combining token-weighted voting with AI agent participation to create a truly autonomous and efficient governance system. The snapshot security mechanisms ensure protection against manipulation while enabling active participation from both human and artificial agents. +hermes DAO represents a revolutionary approach to decentralized governance, combining token-weighted voting with AI agent participation to create a truly autonomous and efficient governance system. The snapshot security mechanisms ensure protection against manipulation while enabling active participation from both human and artificial agents. The framework is designed to scale with the AITBC ecosystem, providing the foundation for sustainable growth, innovation, and decentralized decision-making in the AI-powered blockchain computing landscape. --- -*This conceptual framework serves as the foundation for the technical implementation of OpenClaw DAO governance in the AITBC ecosystem.* +*This conceptual framework serves as the foundation for the technical implementation of hermes DAO governance in the AITBC ecosystem.* diff --git a/docs/cli/CLI_ARCHITECTURE.md b/docs/cli/CLI_ARCHITECTURE.md index 613810a0..71cf4e45 100644 --- a/docs/cli/CLI_ARCHITECTURE.md +++ b/docs/cli/CLI_ARCHITECTURE.md @@ -87,7 +87,7 @@ parsers/__init__.py ### 2. Command Execution Flow ``` -User Input: "aitbc-cli ai submit openclaw-trainee inference test 10" +User Input: "aitbc-cli ai submit hermes-trainee inference test 10" β”‚ β–Ό unified_cli.py:run_cli() diff --git a/docs/cli/DISABLED_COMMANDS_CLEANUP.md b/docs/cli/DISABLED_COMMANDS_CLEANUP.md index c0d4e1b2..b8965fe9 100644 --- a/docs/cli/DISABLED_COMMANDS_CLEANUP.md +++ b/docs/cli/DISABLED_COMMANDS_CLEANUP.md @@ -5,14 +5,14 @@ This document analyzes the currently disabled CLI commands and provides recommen ## Disabled Commands -### 1. `openclaw` - Edge Computing Integration -**File**: `cli/aitbc_cli/commands/openclaw.py` +### 1. `hermes` - Edge Computing Integration +**File**: `cli/aitbc_cli/commands/hermes.py` **Status**: Commented out in `main.py` line 28 **Reason**: "Temporarily disabled due to command registration issues" **Analysis**: - **Size**: 604 lines of code -- **Functionality**: OpenClaw integration with edge computing deployment +- **Functionality**: hermes integration with edge computing deployment - **Dependencies**: httpx, JSON, time utilities - **Potential Value**: High - edge computing is strategic for AITBC @@ -55,11 +55,11 @@ This document analyzes the currently disabled CLI commands and provides recommen ## Cleanup Action Items ### Immediate Actions (High Priority) -1. **Fix `openclaw` registration** +1. **Fix `hermes` registration** ```bash # Uncomment line 28 in main.py - # from .commands.openclaw import openclaw - # cli.add_command(openclaw) + # from .commands.hermes import hermes + # cli.add_command(hermes) ``` - Test for naming conflicts - Rename if necessary (e.g., `edge-deploy`) @@ -116,7 +116,7 @@ Before re-enabling any disabled command: | Week | Action | Status | |------|--------|--------| -| 1 | Fix openclaw registration issues | πŸ”„ In Progress | +| 1 | Fix hermes registration issues | πŸ”„ In Progress | | 1 | Resolve marketplace command conflicts | πŸ”„ In Progress | | 2 | Locate and evaluate marketplace_advanced | ⏳ Pending | | 2 | Add comprehensive tests | ⏳ Pending | @@ -126,7 +126,7 @@ Before re-enabling any disabled command: | Command | Risk Level | Action | |---------|-----------|--------| -| openclaw | Low | Re-enable after testing | +| hermes | Low | Re-enable after testing | | marketplace_cmd | Low | Merge or delete | | marketplace_advanced | Unknown | Locate and evaluate | diff --git a/docs/guides/README_DOCUMENTATION.md b/docs/guides/README_DOCUMENTATION.md index 2dc03732..bddd8041 100644 --- a/docs/guides/README_DOCUMENTATION.md +++ b/docs/guides/README_DOCUMENTATION.md @@ -1,21 +1,21 @@ # AITBC - AI Training Blockchain -**Advanced AI Platform with OpenClaw Agent Ecosystem** +**Advanced AI Platform with hermes Agent Ecosystem** [![Documentation](https://img.shields.io/badge/Documentation-10%2F10-brightgreen.svg)](docs/README.md) [![Quality](https://img.shields.io/badge/Quality-Perfect-green.svg)](docs/about/PHASE_3_COMPLETION_10_10_ACHIEVED.md) [![Status](https://img.shields.io/badge/Status-Production%20Ready-blue.svg)](docs/README.md#-current-status-production-ready---march-18-2026) -[![OpenClaw](https://img.shields.io/badge/OpenClaw-Advanced%20AI%20Agents-purple.svg)](docs/openclaw/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md) +[![hermes](https://img.shields.io/badge/hermes-Advanced%20AI%20Agents-purple.svg)](docs/hermes/hermes_AGENT_CAPABILITIES_ADVANCED.md) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) --- ## 🎯 **What is AITBC?** -AITBC (AI Training Blockchain) is a revolutionary platform that combines **advanced AI capabilities** with **OpenClaw agent ecosystem** on a **blockchain infrastructure**. Our platform enables: +AITBC (AI Training Blockchain) is a revolutionary platform that combines **advanced AI capabilities** with **hermes agent ecosystem** on a **blockchain infrastructure**. Our platform enables: - **πŸ€– Advanced AI Operations**: Complex workflow orchestration, multi-model pipelines, resource optimization -- **🦞 OpenClaw Agents**: Intelligent agents with advanced AI teaching plan mastery (100% complete) +- **🦞 hermes Agents**: Intelligent agents with advanced AI teaching plan mastery (100% complete) - **πŸ”’ Privacy Preservation**: Secure, private ML model training and inference - **⚑ Edge Computing**: Distributed computation at the network edge - **⛓️ Blockchain Security**: Immutable, transparent, and secure transactions @@ -23,7 +23,7 @@ AITBC (AI Training Blockchain) is a revolutionary platform that combines **advan ### πŸŽ“ **Advanced AI Teaching Plan - 100% Complete** -Our OpenClaw agents have mastered advanced AI capabilities through a comprehensive 3-phase teaching program: +Our hermes agents have mastered advanced AI capabilities through a comprehensive 3-phase teaching program: - **πŸ“š Phase 1**: Advanced AI Workflow Orchestration (Complex pipelines, parallel operations) - **πŸ“š Phase 2**: Multi-Model AI Pipelines (Ensemble management, multi-modal processing) @@ -50,14 +50,14 @@ aitbc version aitbc ai-submit --wallet genesis-ops --type multimodal --prompt "Multi-modal AI analysis" --payment 1000 ``` -### **πŸ€– For OpenClaw Agent Users:** +### **πŸ€– For hermes Agent Users:** ```bash # Run advanced AI workflow cd /opt/aitbc -./scripts/workflow-openclaw/06_advanced_ai_workflow_openclaw.sh +./scripts/workflow-hermes/06_advanced_ai_workflow_hermes.sh -# Use OpenClaw agents directly -openclaw agent --agent GenesisAgent --session-id "my-session" --message "Execute advanced AI workflow" --thinking high +# Use hermes agents directly +hermes agent --agent GenesisAgent --session-id "my-session" --message "Execute advanced AI workflow" --thinking high ``` ### **πŸ‘¨β€πŸ’» For Developers:** @@ -103,7 +103,7 @@ aitbc miner status - **πŸ”„ Exchange Infrastructure**: Complete exchange CLI commands and market integration - **⛓️ Multi-Chain Support**: Complete 7-layer architecture with chain isolation - **πŸ€– Advanced AI Operations**: Complex workflow orchestration, multi-model pipelines, resource optimization -- **🦞 OpenClaw Agent Ecosystem**: Advanced AI agents with 3-phase teaching plan mastery +- **🦞 hermes Agent Ecosystem**: Advanced AI agents with 3-phase teaching plan mastery - **πŸ”’ Security**: Multi-sig, time-lock, and compliance features implemented - **πŸš€ Production Setup**: Complete production blockchain setup with encrypted keystores - **🧠 AI Memory System**: Development knowledge base and agent documentation @@ -118,7 +118,7 @@ aitbc miner status ### 🎯 **Latest Achievements (March 31, 2026)** - **πŸŽ‰ Perfect Documentation**: 10/10 quality score achieved - **πŸŽ“ Advanced AI Teaching Plan**: 100% complete (3 phases, 6 sessions) -- **πŸ€– OpenClaw Agent Mastery**: Advanced AI workflow orchestration, multi-model pipelines, resource optimization +- **πŸ€– hermes Agent Mastery**: Advanced AI workflow orchestration, multi-model pipelines, resource optimization - **⛓️ Multi-Chain System**: Complete 7-layer architecture operational - **πŸ“š Documentation Excellence**: World-class documentation with perfect organization - **⚑ Code Quality Implementation**: Full automated quality checks with type safety @@ -213,7 +213,7 @@ AITBC Ecosystem β”‚ β”œβ”€β”€ Complex AI Workflow Orchestration (Phase 1) β”‚ β”œβ”€β”€ Multi-Model AI Pipelines (Phase 2) β”‚ β”œβ”€β”€ AI Resource Optimization (Phase 3) -β”‚ β”œβ”€β”€ OpenClaw Agent Ecosystem +β”‚ β”œβ”€β”€ hermes Agent Ecosystem β”‚ β”‚ β”œβ”€β”€ Genesis Agent (Advanced AI operations) β”‚ β”‚ β”œβ”€β”€ Follower Agent (Distributed coordination) β”‚ β”‚ β”œβ”€β”€ Coordinator Agent (Multi-agent orchestration) @@ -246,7 +246,7 @@ AITBC Ecosystem β”œβ”€β”€ Exchange Integration β”œβ”€β”€ Marketplace Platform β”œβ”€β”€ Governance System - β”œβ”€β”€ OpenClaw Agent Coordination + β”œβ”€β”€ hermes Agent Coordination └── Community Tools ``` @@ -261,14 +261,14 @@ Our documentation has achieved **perfect 10/10 quality score** and provides comp - **πŸ“ [Project Documentation](docs/project/)** - Project overview (18-28 hours) - **πŸ€– [Agent Documentation](docs/agents/)** - Agent development (24-48 hours) - **πŸŽ“ [Archive](docs/archive/README.md)** - Historical content (24-48 hours) -- **πŸ€– [OpenClaw Agent Capabilities](docs/openclaw/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md)** - Advanced AI agents (15-25 hours) +- **πŸ€– [hermes Agent Capabilities](docs/hermes/hermes_AGENT_CAPABILITIES_ADVANCED.md)** - Advanced AI agents (15-25 hours) ### **πŸ“š Quick Access:** - **πŸ” [Master Index](docs/MASTER_INDEX.md)** - Complete content catalog - **🏠 [Documentation Home](docs/README.md)** - Main documentation entry - **πŸ“– [About Documentation](docs/about/)** - Documentation about docs - **πŸ—‚οΈ [Archive](docs/archive/README.md)** - Historical documentation -- **🦞 [OpenClaw Documentation](docs/openclaw/)** - Advanced AI agent ecosystem +- **🦞 [hermes Documentation](docs/hermes/)** - Advanced AI agent ecosystem ### **πŸ”— External Documentation:** - **πŸ’» [CLI Technical Docs](docs/cli/)** - Deep CLI documentation @@ -352,21 +352,21 @@ source ~/.bashrc --- -## πŸ€– **OpenClaw Agent Usage** +## πŸ€– **hermes Agent Usage** ### **πŸŽ“ Advanced AI Agent Ecosystem** -Our OpenClaw agents have completed the **Advanced AI Teaching Plan** and are now sophisticated AI specialists: +Our hermes agents have completed the **Advanced AI Teaching Plan** and are now sophisticated AI specialists: -#### **πŸš€ Quick Start with OpenClaw Agents** +#### **πŸš€ Quick Start with hermes Agents** ```bash # Run complete advanced AI workflow cd /opt/aitbc -./scripts/workflow-openclaw/06_advanced_ai_workflow_openclaw.sh +./scripts/workflow-hermes/06_advanced_ai_workflow_hermes.sh # Use individual agents -openclaw agent --agent GenesisAgent --session-id "my-session" --message "Execute complex AI pipeline" --thinking high -openclaw agent --agent FollowerAgent --session-id "coordination" --message "Participate in distributed AI processing" --thinking medium -openclaw agent --agent CoordinatorAgent --session-id "orchestration" --message "Coordinate multi-agent workflow" --thinking high +hermes agent --agent GenesisAgent --session-id "my-session" --message "Execute complex AI pipeline" --thinking high +hermes agent --agent FollowerAgent --session-id "coordination" --message "Participate in distributed AI processing" --thinking medium +hermes agent --agent CoordinatorAgent --session-id "orchestration" --message "Coordinate multi-agent workflow" --thinking high ``` #### **πŸ€– Advanced AI Operations** @@ -422,7 +422,7 @@ openclaw agent --agent CoordinatorAgent --session-id "orchestration" --message " - **πŸ€– AI Resource Agent**: Resource allocation, performance tuning, demand forecasting - **πŸ€– Multi-Modal Agent**: Multi-modal processing, cross-modal fusion, ensemble management -**πŸ“š Detailed Documentation**: [OpenClaw Agent Capabilities](docs/openclaw/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md) +**πŸ“š Detailed Documentation**: [hermes Agent Capabilities](docs/hermes/hermes_AGENT_CAPABILITIES_ADVANCED.md) --- @@ -585,7 +585,7 @@ git push origin feature/amazing-feature ### **πŸ† Major Achievements:** - **πŸŽ“ Advanced AI Teaching Plan**: 100% complete (3 phases, 6 sessions) -- **πŸ€– OpenClaw Agent Mastery**: Advanced AI specialists with real-world capabilities +- **πŸ€– hermes Agent Mastery**: Advanced AI specialists with real-world capabilities - **πŸ“š Perfect Documentation**: 10/10 quality score achieved - **πŸš€ Production Ready**: Fully operational blockchain infrastructure - **⚑ Advanced AI Operations**: Complex workflow orchestration, multi-model pipelines, resource optimization @@ -620,7 +620,7 @@ This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) ### **πŸ“š Getting Help:** - **πŸ“– [Documentation](docs/README.md)** - Comprehensive guides -- **πŸ€– [OpenClaw Agent Documentation](docs/openclaw/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md)** - Advanced AI agent capabilities +- **πŸ€– [hermes Agent Documentation](docs/hermes/hermes_AGENT_CAPABILITIES_ADVANCED.md)** - Advanced AI agent capabilities - **πŸ’¬ [Discord](https://discord.gg/aitbc)** - Community support - **πŸ› [Issues](https://github.com/oib/AITBC/issues)** - Report bugs - **πŸ’‘ [Discussions](https://github.com/oib/AITBC/discussions)** - Feature requests diff --git a/docs/guides/getting-started/ENHANCED_SERVICES_IMPLEMENTATION_GUIDE.md b/docs/guides/getting-started/ENHANCED_SERVICES_IMPLEMENTATION_GUIDE.md index fdfdeec0..4c37bf49 100644 --- a/docs/guides/getting-started/ENHANCED_SERVICES_IMPLEMENTATION_GUIDE.md +++ b/docs/guides/getting-started/ENHANCED_SERVICES_IMPLEMENTATION_GUIDE.md @@ -132,7 +132,7 @@ cd /opt/aitbc/apps/coordinator-api | Modality Optimization | 8012 | Specialized optimization strategies | 1GB RAM, 150% CPU | βœ… | | Adaptive Learning | 8013 | Reinforcement learning frameworks | 3GB RAM, 250% CPU | βœ… | | Enhanced Marketplace | 8014 | Royalties, licensing, verification | 2GB RAM, 200% CPU | βœ… | -| OpenClaw Enhanced | 8015 | Agent orchestration, edge computing | 2GB RAM, 200% CPU | βœ… | +| hermes Enhanced | 8015 | Agent orchestration, edge computing | 2GB RAM, 200% CPU | βœ… | | Web UI Service | 8016 | Web interface for all services | 1GB RAM, 100% CPU | βœ… | | Geographic Load Balancer | 8017 | Geographic distribution | 1GB RAM, 100% CPU | βœ… | @@ -144,7 +144,7 @@ curl http://localhost:8011/health # GPU Multi-Modal curl http://localhost:8012/health # Modality Optimization curl http://localhost:8013/health # Adaptive Learning curl http://localhost:8014/health # Enhanced Marketplace -curl http://localhost:8015/health # OpenClaw Enhanced +curl http://localhost:8015/health # hermes Enhanced curl http://localhost:8016/health # Web UI Service curl http://localhost:8017/health # Geographic Load Balancer ``` diff --git a/docs/openclaw/AI_ECONOMICS_MASTERS.md b/docs/hermes/AI_ECONOMICS_MASTERS.md similarity index 83% rename from docs/openclaw/AI_ECONOMICS_MASTERS.md rename to docs/hermes/AI_ECONOMICS_MASTERS.md index 27dcee81..337e17b2 100644 --- a/docs/openclaw/AI_ECONOMICS_MASTERS.md +++ b/docs/hermes/AI_ECONOMICS_MASTERS.md @@ -1,14 +1,14 @@ -# OpenClaw AI Economics Masters Documentation +# hermes AI Economics Masters Documentation **Advanced Agent Economic Intelligence and Coordination** -**Level**: Expert | **Prerequisites**: OpenClaw Agent Management completion +**Level**: Expert | **Prerequisites**: hermes Agent Management completion **Estimated Time**: 1-2 weeks | **Last Updated**: 2026-03-30 **Version**: 1.0 (Production Ready) ## πŸš€ **Overview** -OpenClaw AI Economics Masters represents the transformation of OpenClaw agents from basic AI operators to sophisticated economic intelligence specialists. This documentation covers the advanced economic modeling, marketplace strategy, and distributed decision-making capabilities now available. +hermes AI Economics Masters represents the transformation of hermes agents from basic AI operators to sophisticated economic intelligence specialists. This documentation covers the advanced economic modeling, marketplace strategy, and distributed decision-making capabilities now available. ## 🎯 **Current Status: AI ECONOMICS MASTERS TRANSFORMATION COMPLETE** @@ -51,7 +51,7 @@ OpenClaw AI Economics Masters represents the transformation of OpenClaw agents f ```bash # Economic modeling session SESSION_ID="economic-modeling-$(date +%s)" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "Design distributed AI job economics with cost optimization targeting <$0.01 per inference" \ --thinking high ``` @@ -72,7 +72,7 @@ openclaw agent --agent main --session-id $SESSION_ID \ ```bash # Marketplace strategy session SESSION_ID="marketplace-strategy-$(date +%s)" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "Develop AI marketplace strategy with dynamic pricing and competitive positioning" \ --thinking high ``` @@ -93,7 +93,7 @@ openclaw agent --agent main --session-id $SESSION_ID \ ```bash # Investment strategy session SESSION_ID="investment-strategy-$(date +%s)" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "Create AI investment strategy with predictive economics and portfolio optimization" \ --thinking high ``` @@ -108,7 +108,7 @@ openclaw agent --agent main --session-id $SESSION_ID \ ### **πŸ“Š Hierarchical Communication Pattern** ```bash # Coordinator broadcasts to Level 2 agents -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "BROADCAST: Execute distributed AI workflow across all Level 2 agents" \ --thinking high ``` @@ -116,7 +116,7 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ ### **πŸ’° Peer-to-Peer Communication Pattern** ```bash # Direct agent-to-agent communication -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "P2P to FollowerAgent: Coordinate resource allocation for AI job batch" \ --thinking medium ``` @@ -124,7 +124,7 @@ openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ ### **πŸ“ˆ Broadcast Communication Pattern** ```bash # System-wide coordination -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "BROADCAST: System-wide resource optimization initiated" \ --thinking high ``` @@ -134,7 +134,7 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ ### **πŸ“Š Consensus-Based Decision Making** ```bash # Voting mechanism for economic decisions -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "VOTE PROPOSAL: Implement dynamic GPU allocation with 70% utilization target" \ --thinking high ``` @@ -142,7 +142,7 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ ### **πŸ’° Weighted Decision Making** ```bash # Expertise-based influence weighting -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "RECOMMENDATION: ensemble_model (confidence: 0.9, weight: 3)" \ --thinking high ``` @@ -150,7 +150,7 @@ openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ ### **πŸ“ˆ Distributed Problem Solving** ```bash # Collaborative problem solving -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "PROBLEM SOLVING: Optimize AI service pricing for maximum profitability" \ --thinking high ``` @@ -215,15 +215,15 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ - **[AI Economics Masters Roadmap](../.windsurf/plans/AI_ECONOMICS_MASTERS_ROADMAP.md)** - Complete transformation guide - **[Agent Coordination Enhancement](../.windsurf/workflows/agent-coordination-enhancement.md)** - Communication patterns - **[Advanced AI Teaching Plan](../.windsurf/plans/ADVANCED_AI_TEACHING_PLAN.md)** - Prerequisite foundation -- **[Production Scripts](../scripts/workflow-openclaw/08_ai_economics_masters.sh)** - Execution scripts +- **[Production Scripts](../scripts/workflow-hermes/08_ai_economics_masters.sh)** - Execution scripts ## πŸŽ‰ **Achievement Status** -**βœ… COMPLETED**: OpenClaw AI Economics Masters transformation fully implemented with production-ready economic intelligence capabilities. +**βœ… COMPLETED**: hermes AI Economics Masters transformation fully implemented with production-ready economic intelligence capabilities. -**Key Achievement**: Successfully evolved OpenClaw agents from AI Specialists to AI Economics Masters with sophisticated economic modeling, marketplace strategy, and investment management capabilities. +**Key Achievement**: Successfully evolved hermes agents from AI Specialists to AI Economics Masters with sophisticated economic modeling, marketplace strategy, and investment management capabilities. -**Production Impact**: OpenClaw agents now provide advanced economic intelligence for AI service operations, establishing the platform as a leader in AI economic orchestration and optimization. +**Production Impact**: hermes agents now provide advanced economic intelligence for AI service operations, establishing the platform as a leader in AI economic orchestration and optimization. --- diff --git a/docs/openclaw/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md b/docs/hermes/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md similarity index 92% rename from docs/openclaw/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md rename to docs/hermes/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md index aeabe836..53d0ba69 100644 --- a/docs/openclaw/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md +++ b/docs/hermes/OPENCLAW_AGENT_CAPABILITIES_ADVANCED.md @@ -1,8 +1,8 @@ -# OpenClaw Agent Capabilities - Advanced AI Edition +# hermes Agent Capabilities - Advanced AI Edition ## 🎯 Overview -OpenClaw agents have successfully completed the **Advanced AI Teaching Plan** with all 3 phases mastered, transforming from basic AI operators to sophisticated AI specialists with advanced workflow orchestration, multi-model pipeline management, and resource optimization capabilities. +hermes agents have successfully completed the **Advanced AI Teaching Plan** with all 3 phases mastered, transforming from basic AI operators to sophisticated AI specialists with advanced workflow orchestration, multi-model pipeline management, and resource optimization capabilities. ## πŸ“š Advanced AI Teaching Plan Status @@ -182,7 +182,7 @@ curl -X POST http://localhost:8006/rpc/messaging/messages/post -d '{"topic_id": ## πŸŽ‰ Mission Accomplished -The OpenClaw agents have successfully completed the **Advanced AI Teaching Plan** and are now: +The hermes agents have successfully completed the **Advanced AI Teaching Plan** and are now: βœ… **Advanced AI Specialists** with sophisticated workflow orchestration capabilities βœ… **Multi-Model Experts** with ensemble management and multi-modal processing @@ -190,7 +190,7 @@ The OpenClaw agents have successfully completed the **Advanced AI Teaching Plan* βœ… **Cross-Node Coordinators** with smart contract messaging and distributed optimization βœ… **Production Ready** with real-world applications and performance validation -**Result**: OpenClaw agents have transformed from basic AI operators to advanced AI specialists capable of handling complex real-world AI scenarios with sophisticated coordination, optimization, and performance tuning capabilities. +**Result**: hermes agents have transformed from basic AI operators to advanced AI specialists capable of handling complex real-world AI scenarios with sophisticated coordination, optimization, and performance tuning capabilities. --- diff --git a/docs/openclaw/OPENCLAW_AITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md b/docs/hermes/OPENCLAW_AITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md similarity index 87% rename from docs/openclaw/OPENCLAW_AITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md rename to docs/hermes/OPENCLAW_AITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md index 738e526b..f800db89 100644 --- a/docs/openclaw/OPENCLAW_AITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md +++ b/docs/hermes/OPENCLAW_AITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md @@ -1,4 +1,4 @@ -# OpenClaw AITBC Mastery Plan - Implementation Status +# hermes AITBC Mastery Plan - Implementation Status ## Implementation Date: 2026-04-08 ## Status: βœ… COMPLETE - UPDATED 2026-04-09 @@ -7,7 +7,7 @@ ## Executive Summary -The OpenClaw AITBC Mastery Plan has been successfully implemented. All 5 training stages have been executed and validated. \n\n**UPDATE (2026-04-09)**: The network architecture has been refactored to support Direct TCP P2P mesh networking on port 7070 without a centralized Redis gossip broker. Furthermore, the remaining 75 complex CLI commands (economics, analytics, etc) have been routed to an extended stateful backend `extended_features.py` that successfully passes the training scripts with 100% perfection. +The hermes AITBC Mastery Plan has been successfully implemented. All 5 training stages have been executed and validated. \n\n**UPDATE (2026-04-09)**: The network architecture has been refactored to support Direct TCP P2P mesh networking on port 7070 without a centralized Redis gossip broker. Furthermore, the remaining 75 complex CLI commands (economics, analytics, etc) have been routed to an extended stateful backend `extended_features.py` that successfully passes the training scripts with 100% perfection. ### Implementation Results: - **Stage 1: Foundation** - βœ… COMPLETED (100% success rate) @@ -37,7 +37,7 @@ The OpenClaw AITBC Mastery Plan has been successfully implemented. All 5 trainin - βœ… Validation Quiz - All questions answered correctly **Key Achievements**: -- Successfully created `openclaw-trainee` wallet +- Successfully created `hermes-trainee` wallet - Verified service health on both nodes - Tested node-specific operations on both nodes over port 8006 - Nodes confirmed synchronized at height 22502 @@ -182,7 +182,7 @@ All training scripts are executable and operational: ## Certification Status -### OpenClaw AITBC Master Certification +### hermes AITBC Master Certification **Status**: βœ… ELIGIBLE **Requirements Met**: @@ -192,7 +192,7 @@ All training scripts are executable and operational: - βœ… Economic intelligence operations validated - βœ… Automation mastery demonstrated -**Certification Level**: OpenClaw AITBC Master +**Certification Level**: hermes AITBC Master **Date Achieved**: 2026-04-08 **Valid Until**: 2027-04-08 @@ -209,9 +209,9 @@ All training scripts are executable and operational: - `/var/log/aitbc/training_implementation_summary.log` ### Documentation: -- `/opt/aitbc/.windsurf/plans/OPENCLAW_AITBC_MASTERY_PLAN.md` - Original plan +- `/opt/aitbc/.windsurf/plans/hermes_AITBC_MASTERY_PLAN.md` - Original plan - `/opt/aitbc/scripts/training/README.md` - Training scripts documentation -- `/opt/aitbc/OPENCLAW_AITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md` - This file +- `/opt/aitbc/hermes_AITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md` - This file --- @@ -259,7 +259,7 @@ All training scripts are executable and operational: ## Conclusion -The OpenClaw AITBC Mastery Plan has been **successfully implemented**. All 5 training stages have been completed with performance metrics meeting or exceeding targets. The OpenClaw agent is now certified as an **AITBC Master** with full operational capabilities across both genesis and follower nodes. +The hermes AITBC Mastery Plan has been **successfully implemented**. All 5 training stages have been completed with performance metrics meeting or exceeding targets. The hermes agent is now certified as an **AITBC Master** with full operational capabilities across both genesis and follower nodes. **Implementation Status**: βœ… **COMPLETE** **Certification Status**: βœ… **ACHIEVED** @@ -268,7 +268,7 @@ The OpenClaw AITBC Mastery Plan has been **successfully implemented**. All 5 tra --- **Report Generated**: 2026-04-08 -**Implementation Team**: OpenClaw AITBC Training System +**Implementation Team**: hermes AITBC Training System **Version**: 1.0 ## 2026-04-09 Refactor Implementation Details @@ -282,4 +282,4 @@ The OpenClaw AITBC Mastery Plan has been **successfully implemented**. All 5 tra - **Issue**: Training scripts `stage3`, `stage4`, `stage5` expected robust backends for tools like `analytics --report`, `economics --model`, `marketplace --orders`. - **Fix**: Intercepted missing arguments via `interceptor_block.py` injected into `unified_cli.py` which dynamically forwards them to an `extended_features.py` datastore. - **Validation**: All Stage 2-5 test scripts were successfully run through the bash pipeline without any `[WARNING] ... command not available` failures. -- **Result**: Passed final OpenClaw Certification Exam with 10/10 metrics. +- **Result**: Passed final hermes Certification Exam with 10/10 metrics. diff --git a/docs/openclaw/README.md b/docs/hermes/README.md similarity index 59% rename from docs/openclaw/README.md rename to docs/hermes/README.md index 73fdcab3..03a20330 100644 --- a/docs/openclaw/README.md +++ b/docs/hermes/README.md @@ -1,51 +1,51 @@ -# OpenClaw AITBC Integration Documentation +# Hermes AITBC Integration Documentation -This directory contains comprehensive documentation for OpenClaw agent integration with the AITBC blockchain network. +This directory contains comprehensive documentation for Hermes agent integration with the AITBC blockchain network. ## πŸ“ Documentation Structure ### πŸ“– Guides -- [Agent Communication Fix Guide](guides/openclaw_agent_fix_summary.md) - Fixing OpenClaw agent communication issues -- [Smart Contract Messaging Guide](guides/openclaw_messaging_implementation_guide.md) - Training agents for blockchain messaging -- [Cross-Node Communication Guide](guides/openclaw_cross_node_communication.md) - Multi-node agent messaging implementation +- [Agent Communication Fix Guide](guides/hermes_agent_fix_summary.md) - Fixing Hermes agent communication issues +- [Smart Contract Messaging Guide](guides/hermes_messaging_implementation_guide.md) - Training agents for blockchain messaging +- [Cross-Node Communication Guide](guides/hermes_cross_node_communication.md) - Multi-node agent messaging implementation ### πŸ“Š Reports -- [Agent Fix Report](reports/openclaw_agent_fix_report.json) - Agent communication fix details -- [Database Cleanup Report](reports/openclaw_database_cleanup_summary.json) - Database standardization results -- [Data Directory Fix Report](reports/openclaw_data_directory_fix_summary.json) - Data directory standardization -- [Multi-Node Deployment Report](reports/openclaw_multi_node_deployment_success.json) - Complete deployment results -- [Preflight Report](reports/openclaw_preflight_report.json) - Pre-flight setup results -- [Workflow Execution Report](reports/openclaw_workflow_execution_report.json) - Workflow execution details -- [Mission Accomplished Report](reports/openclaw_mission_accomplished.json) - Complete mission summary +- [Agent Fix Report](reports/hermes_agent_fix_report.json) - Agent communication fix details +- [Database Cleanup Report](reports/hermes_database_cleanup_summary.json) - Database standardization results +- [Data Directory Fix Report](reports/hermes_data_directory_fix_summary.json) - Data directory standardization +- [Multi-Node Deployment Report](reports/hermes_multi_node_deployment_success.json) - Complete deployment results +- [Preflight Report](reports/hermes_preflight_report.json) - Pre-flight setup results +- [Workflow Execution Report](reports/hermes_workflow_execution_report.json) - Workflow execution details +- [Mission Accomplished Report](reports/hermes_mission_accomplished.json) - Complete mission summary ### πŸŽ“ Training -- [Agent Configuration](training/openclaw_agents.json) - OpenClaw agent configuration data +- [Agent Configuration](training/hermes_agents.json) - Hermes agent configuration data ## πŸš€ Quick Start ### 1. Fix Agent Communication ```bash # Run the agent communication fix -/opt/aitbc/scripts/workflow-openclaw/fix_agent_communication.sh +/opt/aitbc/scripts/workflow-hermes/fix_agent_communication.sh ``` ### 2. Train Agents for Blockchain Messaging ```bash # Train agents on smart contract messaging -/opt/aitbc/scripts/workflow-openclaw/train_agent_messaging.sh +/opt/aitbc/scripts/workflow-hermes/train_agent_messaging.sh ``` ### 3. Implement Advanced Messaging ```bash # Implement advanced messaging features -/opt/aitbc/scripts/workflow-openclaw/implement_agent_messaging.sh +/opt/aitbc/scripts/workflow-hermes/implement_agent_messaging.sh ``` ## 🎯 Key Achievements ### βœ… Agent Communication - Fixed session-based agent communication -- Established proper OpenClaw agent coordination +- Established proper Hermes agent coordination - Demonstrated intelligent agent analysis - **NEW**: Implemented cross-node agent messaging via blockchain transactions - **NEW**: Successfully tested ping-pong communication between nodes @@ -77,7 +77,7 @@ This directory contains comprehensive documentation for OpenClaw agent integrati - **Multi-Node Communication**: Established and tested - **Sync Status**: Synchronized (with manual sync workaround for blocks-range issue) -### OpenClaw Integration +### Hermes Integration - **Agent Status**: Trained and responsive - **Session Management**: Working properly - **Intelligence Demonstrated**: Real analysis and coordination @@ -99,14 +99,14 @@ This directory contains comprehensive documentation for OpenClaw agent integrati ## πŸ› οΈ Scripts Available ### Workflow Scripts -- `/opt/aitbc/scripts/workflow-openclaw/01_preflight_setup_openclaw_simple.sh` -- `/opt/aitbc/scripts/workflow-openclaw/04_wallet_operations_openclaw_corrected.sh` -- `/opt/aitbc/scripts/workflow-openclaw/fix_agent_communication.sh` -- `/opt/aitbc/scripts/workflow-openclaw/train_agent_messaging.sh` -- `/opt/aitbc/scripts/workflow-openclaw/implement_agent_messaging.sh` +- `/opt/aitbc/scripts/workflow-hermes/01_preflight_setup_hermes_simple.sh` +- `/opt/aitbc/scripts/workflow-hermes/04_wallet_operations_hermes_corrected.sh` +- `/opt/aitbc/scripts/workflow-hermes/fix_agent_communication.sh` +- `/opt/aitbc/scripts/workflow-hermes/train_agent_messaging.sh` +- `/opt/aitbc/scripts/workflow-hermes/implement_agent_messaging.sh` ### Training Scripts -- `/opt/aitbc/scripts/training/openclaw_cross_node_comm.sh` - Cross-node communication training module +- `/opt/aitbc/scripts/training/hermes_cross_node_comm.sh` - Cross-node communication training module ### Agent Daemon - `/tmp/agent_daemon4.py` - Autonomous agent listener for cross-node messaging (on follower node) @@ -119,11 +119,11 @@ This directory contains comprehensive documentation for OpenClaw agent integrati ## πŸ“ž Support -For issues with OpenClaw integration: +For issues with Hermes integration: 1. Check the relevant guide in `/guides/` 2. Review the corresponding report in `/reports/` 3. Run the diagnostic scripts -4. Check agent status with `openclaw status --all` +4. Check agent status with `hermes status --all` --- diff --git a/docs/openclaw/WALLET_FUNDING_NOTES.md b/docs/hermes/WALLET_FUNDING_NOTES.md similarity index 84% rename from docs/openclaw/WALLET_FUNDING_NOTES.md rename to docs/hermes/WALLET_FUNDING_NOTES.md index 651eb9ee..9a2d5dd8 100644 --- a/docs/openclaw/WALLET_FUNDING_NOTES.md +++ b/docs/hermes/WALLET_FUNDING_NOTES.md @@ -1,16 +1,16 @@ # Wallet Funding Notes **Date**: April 13, 2026 -**Purpose**: OpenClaw agent communication testing +**Purpose**: hermes agent communication testing ## Funding Status **Mock Funds for Testing** -The following wallets were funded with 1000 AIT each via direct database insertion for testing OpenClaw agent communication: +The following wallets were funded with 1000 AIT each via direct database insertion for testing hermes agent communication: -- **openclaw-trainee**: ait10a252a31c79939c689bf392e960afc7861df5ee9 (1000 AIT) -- **openclaw-backup**: ait11074723ad259f4fadcd5f81721468c89f2d6255d (1000 AIT) +- **hermes-trainee**: ait10a252a31c79939c689bf392e960afc7861df5ee9 (1000 AIT) +- **hermes-backup**: ait11074723ad259f4fadcd5f81721468c89f2d6255d (1000 AIT) - **temp-agent**: ait1d18e286fc0c12888aca94732b5507c8787af71a5 (1000 AIT) - **test-agent**: ait168ef22ca8bcdab692445d68d3d95c0309bab87a0 (1000 AIT) @@ -35,7 +35,7 @@ The genesis block has the following official allocations: **Mock Funding (Direct Database Insertion)** -The OpenClaw wallets were funded via direct database insertion for testing purposes: +The hermes wallets were funded via direct database insertion for testing purposes: ```sql INSERT INTO account (chain_id, address, balance, nonce, updated_at) VALUES ('ait-testnet', 'ait10a252a31c79939c689bf392e960afc7861df5ee9', 1000, 0, datetime('now')) @@ -55,7 +55,7 @@ UPDATE account SET balance = balance - 4000 WHERE address = 'aitbc1genesis' For production deployment, funds should be transferred via proper blockchain transactions: 1. Unlock genesis wallet with private key -2. Create signed transactions to each OpenClaw wallet +2. Create signed transactions to each hermes wallet 3. Submit transactions to mempool 4. Wait for block production and confirmation 5. Verify transactions on blockchain @@ -63,12 +63,12 @@ For production deployment, funds should be transferred via proper blockchain tra ## Node Sync Status **aitbc Node:** -- All 4 OpenClaw wallets funded +- All 4 hermes wallets funded - Genesis balance: 9,996,000 AIT - Chain: ait-testnet, height 2 **aitbc1 Node:** -- All 4 OpenClaw wallets funded +- All 4 hermes wallets funded - Genesis balance: 10,000,000 AIT (not adjusted on aitbc1) - Chain: ait-testnet, height 2 @@ -85,7 +85,7 @@ For production deployment, funds should be transferred via proper blockchain tra - Wallet decryption must be fixed for proper production deployment - **Current State**: - - aitbc node: All 4 OpenClaw wallets funded with 1000 AIT each via database + - aitbc node: All 4 hermes wallets funded with 1000 AIT each via database - aitbc1 node: Partial sync (2 of 4 wallets) due to database lock errors - Genesis balance adjusted to reflect funding on aitbc node only diff --git a/docs/openclaw/aitbc1_agent_training.md b/docs/hermes/aitbc1_agent_training.md similarity index 100% rename from docs/openclaw/aitbc1_agent_training.md rename to docs/hermes/aitbc1_agent_training.md diff --git a/docs/openclaw/guides/openclaw_agent_fix_summary.md b/docs/hermes/guides/openclaw_agent_fix_summary.md similarity index 56% rename from docs/openclaw/guides/openclaw_agent_fix_summary.md rename to docs/hermes/guides/openclaw_agent_fix_summary.md index 651f49a4..3474de7a 100644 --- a/docs/openclaw/guides/openclaw_agent_fix_summary.md +++ b/docs/hermes/guides/openclaw_agent_fix_summary.md @@ -1,43 +1,43 @@ -# OpenClaw Agent Communication Fix - Summary +# hermes Agent Communication Fix - Summary ## Problem Identified -The OpenClaw agent was failing with the error: +The hermes agent was failing with the error: ``` Gateway agent failed; falling back to embedded: Error: Pass --to <E.164>, --session-id, or --agent to choose a session ``` ## Root Cause -The OpenClaw agent requires a session context to function properly. Without a session ID, it falls back to embedded mode and fails to execute commands properly. +The hermes agent requires a session context to function properly. Without a session ID, it falls back to embedded mode and fails to execute commands properly. ## Solution Implemented ### 1. Session-Based Agent Communication Instead of: ```bash -openclaw agent --agent main --message "task" +hermes agent --agent main --message "task" ``` Use: ```bash SESSION_ID="workflow-$(date +%s)" -openclaw agent --agent main --session-id $SESSION_ID --message "task" +hermes agent --agent main --session-id $SESSION_ID --message "task" ``` ### 2. Updated Scripts -- **Pre-flight setup**: `01_preflight_setup_openclaw_simple.sh` -- **Wallet operations**: `04_wallet_operations_openclaw_corrected.sh` +- **Pre-flight setup**: `01_preflight_setup_hermes_simple.sh` +- **Wallet operations**: `04_wallet_operations_hermes_corrected.sh` - **Communication fix**: `fix_agent_communication.sh` ### 3. Working Command Examples ```bash # Basic agent communication -openclaw agent --agent main --session-id blockchain-workflow-1774868955 --message 'your task' +hermes agent --agent main --session-id blockchain-workflow-1774868955 --message 'your task' # With thinking level -openclaw agent --agent main --session-id blockchain-workflow-1774868955 --message 'complex task' --thinking high +hermes agent --agent main --session-id blockchain-workflow-1774868955 --message 'complex task' --thinking high # For blockchain operations -openclaw agent --agent main --session-id blockchain-workflow-1774868955 --message 'coordinate blockchain deployment' --thinking medium +hermes agent --agent main --session-id blockchain-workflow-1774868955 --message 'coordinate blockchain deployment' --thinking medium ``` ## Verification Results @@ -74,10 +74,10 @@ openclaw agent --agent main --session-id blockchain-workflow-1774868955 --messag SESSION_ID="blockchain-workflow-$(date +%s)" # Use agent with session -openclaw agent --agent main --session-id $SESSION_ID --message "coordinate blockchain deployment" --thinking medium +hermes agent --agent main --session-id $SESSION_ID --message "coordinate blockchain deployment" --thinking medium # Continue with same session -openclaw agent --agent main --session-id $SESSION_ID --message "monitor deployment progress" +hermes agent --agent main --session-id $SESSION_ID --message "monitor deployment progress" ``` ### What Works Now @@ -88,8 +88,8 @@ openclaw agent --agent main --session-id $SESSION_ID --message "monitor deployme - βœ… Real-time monitoring ## Files Updated -- `/opt/aitbc/scripts/workflow-openclaw/01_preflight_setup_openclaw_simple.sh` -- `/opt/aitbc/scripts/workflow-openclaw/04_wallet_operations_openclaw_corrected.sh` -- `/opt/aitbc/scripts/workflow-openclaw/fix_agent_communication.sh` +- `/opt/aitbc/scripts/workflow-hermes/01_preflight_setup_hermes_simple.sh` +- `/opt/aitbc/scripts/workflow-hermes/04_wallet_operations_hermes_corrected.sh` +- `/opt/aitbc/scripts/workflow-hermes/fix_agent_communication.sh` -This fix enables the full OpenClaw-Blockchain integration to work with real agent intelligence and coordination capabilities. +This fix enables the full hermes-Blockchain integration to work with real agent intelligence and coordination capabilities. diff --git a/docs/openclaw/guides/openclaw_cross_node_communication.md b/docs/hermes/guides/openclaw_cross_node_communication.md similarity index 93% rename from docs/openclaw/guides/openclaw_cross_node_communication.md rename to docs/hermes/guides/openclaw_cross_node_communication.md index 16c47df7..6f80ffc7 100644 --- a/docs/openclaw/guides/openclaw_cross_node_communication.md +++ b/docs/hermes/guides/openclaw_cross_node_communication.md @@ -1,8 +1,8 @@ -# OpenClaw Cross-Node Communication Implementation Guide +# hermes Cross-Node Communication Implementation Guide ## Overview -This guide documents the successful implementation and testing of cross-node agent communication between the AITBC blockchain nodes (`aitbc` and `aitbc1`). OpenClaw agents can now autonomously communicate across different blockchain nodes by leveraging transaction payloads for message passing. +This guide documents the successful implementation and testing of cross-node agent communication between the AITBC blockchain nodes (`aitbc` and `aitbc1`). hermes agents can now autonomously communicate across different blockchain nodes by leveraging transaction payloads for message passing. ## Architecture @@ -203,10 +203,10 @@ return { ## Training Workflow ### Training Script -Location: `/opt/aitbc/scripts/training/openclaw_cross_node_comm.sh` +Location: `/opt/aitbc/scripts/training/hermes_cross_node_comm.sh` ### Workflow Documentation -Location: `/opt/aitbc/.windsurf/workflows/openclaw-cross-node-communication.md` +Location: `/opt/aitbc/.windsurf/workflows/hermes-cross-node-communication.md` ### Training Modules 1. **Module 1**: Cross-Node Agent Registration @@ -286,14 +286,14 @@ curl http://localhost:8006/rpc/mempool ## References ### Related Documentation -- [OpenClaw README](../README.md) -- [Training Workflow](../../../.windsurf/workflows/openclaw-cross-node-communication.md) +- [hermes README](../README.md) +- [Training Workflow](../../../.windsurf/workflows/hermes-cross-node-communication.md) - [Blockchain Operations](../../blockchain/) ### Source Code - Agent Daemon: `/tmp/agent_daemon4.py` - Ping Script: `/tmp/send_ping2.py` -- Training Script: `/opt/aitbc/scripts/training/openclaw_cross_node_comm.sh` +- Training Script: `/opt/aitbc/scripts/training/hermes_cross_node_comm.sh` --- diff --git a/docs/openclaw/guides/openclaw_messaging_implementation_guide.md b/docs/hermes/guides/openclaw_messaging_implementation_guide.md similarity index 80% rename from docs/openclaw/guides/openclaw_messaging_implementation_guide.md rename to docs/hermes/guides/openclaw_messaging_implementation_guide.md index bac8cfde..83302652 100644 --- a/docs/openclaw/guides/openclaw_messaging_implementation_guide.md +++ b/docs/hermes/guides/openclaw_messaging_implementation_guide.md @@ -1,8 +1,8 @@ -# OpenClaw Agent AITBC Smart Contract Messaging Implementation Guide +# hermes Agent AITBC Smart Contract Messaging Implementation Guide ## Overview -This guide demonstrates how to train OpenClaw agents to use the AITBC blockchain's smart contract messaging system for cross-node agent communication. The system provides forum-like communication with reputation management, moderation, and collaborative features. +This guide demonstrates how to train hermes agents to use the AITBC blockchain's smart contract messaging system for cross-node agent communication. The system provides forum-like communication with reputation management, moderation, and collaborative features. ## 🎯 **Key Achievements** @@ -27,7 +27,7 @@ This guide demonstrates how to train OpenClaw agents to use the AITBC blockchain SESSION_ID="messaging-training-$(date +%s)" # Train genesis node agent -openclaw agent --agent main --message "I am learning to use AITBC smart contract messaging for cross-node agent coordination. The blockchain has genesis node at height $(curl -s http://localhost:8006/rpc/head | jq .height) and follower node at height $(ssh aitbc1 'curl -s http://localhost:8006/rpc/head | jq .height). Teach me how to use the Agent Messaging Contract for forum-style communication between agents on different nodes." --thinking high +hermes agent --agent main --message "I am learning to use AITBC smart contract messaging for cross-node agent coordination. The blockchain has genesis node at height $(curl -s http://localhost:8006/rpc/head | jq .height) and follower node at height $(ssh aitbc1 'curl -s http://localhost:8006/rpc/head | jq .height). Teach me how to use the Agent Messaging Contract for forum-style communication between agents on different nodes." --thinking high ``` ### 2. **Agent Response Analysis** @@ -135,23 +135,23 @@ aitbc messaging post \ ## πŸ› οΈ **Practical Tools Created** ### **Training Scripts** -- `/opt/aitbc/scripts/workflow-openclaw/train_agent_messaging.sh` -- `/opt/aitbc/scripts/workflow-openclaw/implement_agent_messaging.sh` +- `/opt/aitbc/scripts/workflow-hermes/train_agent_messaging.sh` +- `/opt/aitbc/scripts/workflow-hermes/implement_agent_messaging.sh` ### **Configuration Files** - `/tmp/blockchain_messaging_workflow.json` - `/tmp/agent_messaging_workflow.json` ### **Documentation** -- `/tmp/openclaw_messaging_training_report.json` -- `/tmp/openclaw_messaging_implementation_report.json` +- `/tmp/hermes_messaging_training_report.json` +- `/tmp/hermes_messaging_implementation_report.json` ## πŸŽ‰ **Mission Accomplishment** -**OpenClaw agents are now trained to use AITBC smart contract messaging!** +**hermes agents are now trained to use AITBC smart contract messaging!** ### **βœ… What We Achieved** -- **Intelligent Agent Training**: OpenClaw agent learned comprehensive messaging patterns +- **Intelligent Agent Training**: hermes agent learned comprehensive messaging patterns - **Cross-Node Communication**: Established communication between aitbc and aitbc1 - **Blockchain Integration**: Agents understand smart contract messaging system - **Practical Implementation**: Ready-to-use scripts and configurations @@ -168,4 +168,4 @@ aitbc messaging post \ - **Security**: Cryptographic signatures and access controls - **Monitoring**: Comprehensive performance and health metrics -This implementation enables OpenClaw agents to intelligently coordinate multi-node blockchain operations using the AITBC smart contract messaging system! πŸŽ‰πŸ€–β›“οΈ +This implementation enables hermes agents to intelligently coordinate multi-node blockchain operations using the AITBC smart contract messaging system! πŸŽ‰πŸ€–β›“οΈ diff --git a/docs/openclaw/reports/openclaw_agent_fix_report.json b/docs/hermes/reports/openclaw_agent_fix_report.json similarity index 64% rename from docs/openclaw/reports/openclaw_agent_fix_report.json rename to docs/hermes/reports/openclaw_agent_fix_report.json index 9d3d8a66..3a0ad7bb 100644 --- a/docs/openclaw/reports/openclaw_agent_fix_report.json +++ b/docs/hermes/reports/openclaw_agent_fix_report.json @@ -5,8 +5,8 @@ "session_id": "blockchain-workflow-1774868955", "agent_id": "main", "working_commands": [ - "openclaw agent --agent main --session-id $SESSION_ID --message 'task'", - "openclaw agent --agent main --session-id $SESSION_ID --message 'task' --thinking medium" + "hermes agent --agent main --session-id $SESSION_ID --message 'task'", + "hermes agent --agent main --session-id $SESSION_ID --message 'task' --thinking medium" ], "timestamp": "2026-03-30T13:09:34+02:00" } diff --git a/docs/openclaw/reports/openclaw_data_directory_fix_summary.json b/docs/hermes/reports/openclaw_data_directory_fix_summary.json similarity index 100% rename from docs/openclaw/reports/openclaw_data_directory_fix_summary.json rename to docs/hermes/reports/openclaw_data_directory_fix_summary.json diff --git a/docs/openclaw/reports/openclaw_database_cleanup_summary.json b/docs/hermes/reports/openclaw_database_cleanup_summary.json similarity index 100% rename from docs/openclaw/reports/openclaw_database_cleanup_summary.json rename to docs/hermes/reports/openclaw_database_cleanup_summary.json diff --git a/docs/openclaw/reports/openclaw_mission_accomplished.json b/docs/hermes/reports/openclaw_mission_accomplished.json similarity index 83% rename from docs/openclaw/reports/openclaw_mission_accomplished.json rename to docs/hermes/reports/openclaw_mission_accomplished.json index c77be8a3..5dc5a0d9 100644 --- a/docs/openclaw/reports/openclaw_mission_accomplished.json +++ b/docs/hermes/reports/openclaw_mission_accomplished.json @@ -1,10 +1,10 @@ { "mission_status": "ACCOMPLISHED", - "mission_title": "Train OpenClaw Agents to Use AITBC Smart Contract Messaging", + "mission_title": "Train hermes Agents to Use AITBC Smart Contract Messaging", "timestamp": "2026-03-30T13:45:00Z", "objectives_achieved": [ "Discovered AITBC Agent Messaging Contract", - "Trained OpenClaw agents on blockchain messaging", + "Trained hermes agents on blockchain messaging", "Established cross-node communication", "Created practical implementation guides" ], @@ -33,17 +33,17 @@ }, "implementation_artifacts": { "training_scripts": [ - "/opt/aitbc/scripts/workflow-openclaw/train_agent_messaging.sh", - "/opt/aitbc/scripts/workflow-openclaw/implement_agent_messaging.sh" + "/opt/aitbc/scripts/workflow-hermes/train_agent_messaging.sh", + "/opt/aitbc/scripts/workflow-hermes/implement_agent_messaging.sh" ], "configuration_files": [ "/tmp/blockchain_messaging_workflow.json", "/tmp/agent_messaging_workflow.json" ], "documentation": [ - "/tmp/openclaw_messaging_implementation_guide.md", - "/tmp/openclaw_messaging_training_report.json", - "/tmp/openclaw_messaging_implementation_report.json" + "/tmp/hermes_messaging_implementation_guide.md", + "/tmp/hermes_messaging_training_report.json", + "/tmp/hermes_messaging_implementation_report.json" ] }, "practical_capabilities": { diff --git a/docs/openclaw/reports/openclaw_multi_node_deployment_success.json b/docs/hermes/reports/openclaw_multi_node_deployment_success.json similarity index 95% rename from docs/openclaw/reports/openclaw_multi_node_deployment_success.json rename to docs/hermes/reports/openclaw_multi_node_deployment_success.json index 2d62f1f4..eac39f18 100644 --- a/docs/openclaw/reports/openclaw_multi_node_deployment_success.json +++ b/docs/hermes/reports/openclaw_multi_node_deployment_success.json @@ -18,7 +18,7 @@ "wallets": ["miner-wallet", "aitbc1genesis", "aitbc1treasury"] } }, - "openclaw_integration": { + "hermes_integration": { "agent_status": "active", "session_management": "working", "intelligence_demonstrated": true, @@ -43,7 +43,7 @@ "balance_tracking": "functional" }, "issues_resolved": [ - "OpenClaw agent communication (session context)", + "Hermes agent communication (session context)", "RPC service virtual environment paths", "Multi-node synchronization", "Data directory configuration" diff --git a/docs/openclaw/reports/openclaw_preflight_report.json b/docs/hermes/reports/openclaw_preflight_report.json similarity index 88% rename from docs/openclaw/reports/openclaw_preflight_report.json rename to docs/hermes/reports/openclaw_preflight_report.json index d71c92f1..0d33146c 100644 --- a/docs/openclaw/reports/openclaw_preflight_report.json +++ b/docs/hermes/reports/openclaw_preflight_report.json @@ -1,6 +1,6 @@ { "status": "completed", - "openclaw_version": "2026.3.24", + "hermes_version": "2026.3.24", "agent_used": "main (default)", "services_stopped": true, "config_updated": true, diff --git a/docs/openclaw/reports/openclaw_workflow_execution_report.json b/docs/hermes/reports/openclaw_workflow_execution_report.json similarity index 97% rename from docs/openclaw/reports/openclaw_workflow_execution_report.json rename to docs/hermes/reports/openclaw_workflow_execution_report.json index 1e6d25d2..25996a2c 100644 --- a/docs/openclaw/reports/openclaw_workflow_execution_report.json +++ b/docs/hermes/reports/openclaw_workflow_execution_report.json @@ -6,7 +6,7 @@ "wallet_operations", "agent_coordination" ], - "openclaw_integration": { + "hermes_integration": { "agent_status": "active", "agent_id": "main", "model": "ollama/nemotron-3-super:cloud", diff --git a/docs/openclaw/training/cross_node_communication_training.md b/docs/hermes/training/cross_node_communication_training.md similarity index 89% rename from docs/openclaw/training/cross_node_communication_training.md rename to docs/hermes/training/cross_node_communication_training.md index 00349d78..30a6a713 100644 --- a/docs/openclaw/training/cross_node_communication_training.md +++ b/docs/hermes/training/cross_node_communication_training.md @@ -2,7 +2,7 @@ ## Overview -This training module teaches OpenClaw agents how to establish, verify, and utilize cross-node communication channels over the AITBC blockchain network. It enables agents to coordinate tasks and exchange messages between different blockchain nodes. +This training module teaches hermes agents how to establish, verify, and utilize cross-node communication channels over the AITBC blockchain network. It enables agents to coordinate tasks and exchange messages between different blockchain nodes. ## Prerequisites @@ -22,19 +22,19 @@ This training module teaches OpenClaw agents how to establish, verify, and utili ### Module 1: Cross-Node Agent Registration -**Objective**: Register OpenClaw agents on multiple distinct blockchain nodes. +**Objective**: Register hermes agents on multiple distinct blockchain nodes. **Commands**: ```bash # Genesis Node (aitbc1: 10.1.223.40) NODE_URL=http://10.1.223.40:8006 ./aitbc-cli agent create \ - --name "openclaw-genesis-commander" \ + --name "hermes-genesis-commander" \ --description "Primary coordinator agent on genesis node" \ --verification full # Follower Node (aitbc: 10.1.223.93) NODE_URL=http://localhost:8006 ./aitbc-cli agent create \ - --name "openclaw-follower-worker" \ + --name "hermes-follower-worker" \ --description "Worker agent on follower node" \ --verification full ``` @@ -43,7 +43,7 @@ NODE_URL=http://localhost:8006 ./aitbc-cli agent create \ ``` Agent create: Agent Id: agent_1775817987 - Name: openclaw-genesis-commander + Name: hermes-genesis-commander Status: Created Verification Level: full ``` @@ -159,16 +159,16 @@ response = requests.post(f"{RPC_URL}/rpc/transaction", json=tx) ## Automated Training Script ### Location -`/opt/aitbc/scripts/training/openclaw_cross_node_comm.sh` +`/opt/aitbc/scripts/training/hermes_cross_node_comm.sh` ### Usage ```bash # Interactive training mode cd /opt/aitbc/scripts/training -./openclaw_cross_node_comm.sh +./hermes_cross_node_comm.sh # Automated evaluation mode -./openclaw_cross_node_comm.sh --auto-eval +./hermes_cross_node_comm.sh --auto-eval ``` ### Script Features @@ -180,7 +180,7 @@ cd /opt/aitbc/scripts/training ## Success Validation -An OpenClaw agent has mastered cross-node communication when it can: +An hermes agent has mastered cross-node communication when it can: 1. **Parse Local State**: Find remote agent IDs from blockchain state 2. **Construct Messages**: Create valid JSON payload transactions @@ -251,9 +251,9 @@ NODE_URL=http://localhost:8006 ./aitbc-cli blockchain height ## Related Documentation -- [Cross-Node Communication Implementation Guide](../guides/openclaw_cross_node_communication.md) +- [Cross-Node Communication Implementation Guide](../guides/hermes_cross_node_communication.md) - [Blockchain Synchronization Issues](../blockchain/blockchain_synchronization_issues_and_fixes.md) -- [Training Workflow](../../../../.windsurf/workflows/openclaw-cross-node-communication.md) +- [Training Workflow](../../../../.windsurf/workflows/hermes-cross-node-communication.md) ## Advanced Topics diff --git a/docs/openclaw/training/openclaw_agents.json b/docs/hermes/training/openclaw_agents.json similarity index 100% rename from docs/openclaw/training/openclaw_agents.json rename to docs/hermes/training/openclaw_agents.json diff --git a/docs/openclaw/training/openclaw_agents_advanced.json b/docs/hermes/training/openclaw_agents_advanced.json similarity index 100% rename from docs/openclaw/training/openclaw_agents_advanced.json rename to docs/hermes/training/openclaw_agents_advanced.json diff --git a/docs/infrastructure/migration/microservices-migration-status.md b/docs/infrastructure/migration/microservices-migration-status.md index c41693c0..3f6faa10 100644 --- a/docs/infrastructure/migration/microservices-migration-status.md +++ b/docs/infrastructure/migration/microservices-migration-status.md @@ -56,7 +56,7 @@ This document tracks the migration of the AITBC monolithic coordinator-api to a - AI job operations (submit, tasks) - Explorer operations (transactions, receipts, blocks) - Plugin operations (register, marketplace, analytics) - - OpenClaw operations (deploy, scale, optimize, edge, routing) + - hermes operations (deploy, scale, optimize, edge, routing) - Multimodal operations (agents, process, benchmark) - Optimization operations (agents, tune, predict) - Monitoring operations (dashboard, status, jobs, miners) @@ -128,12 +128,12 @@ This document tracks the migration of the AITBC monolithic coordinator-api to a - Verified CLI configuration: All service URLs configured correctly - Core microservices migration validated and operational -### Phase 26: OpenClaw Service Migration (Completed) -- Created OpenClaw Service (port 8108) for agent orchestration and edge computing -- Implemented OpenClaw endpoints: skill routing, job offloading, agent collaboration, hybrid execution, edge deployment, edge coordination, ecosystem development -- Configured systemd service for OpenClaw Service -- Updated API Gateway to include OpenClaw Service routing (/openclaw prefix) -- Added openclaw_service_url to CLI configuration +### Phase 26: hermes Service Migration (Completed) +- Created hermes Service (port 8108) for agent orchestration and edge computing +- Implemented hermes endpoints: skill routing, job offloading, agent collaboration, hybrid execution, edge deployment, edge coordination, ecosystem development +- Configured systemd service for hermes Service +- Updated API Gateway to include hermes Service routing (/hermes prefix) +- Added hermes_service_url to CLI configuration ### Phase 27: Plugin Service Migration (Completed) - Created Plugin Service (port 8109) for plugin registration, marketplace, and analytics @@ -280,7 +280,7 @@ coordinator_url: str = "http://localhost:8000" # Deprecated, for backward compa - Explorer operations: βœ“ 100% migrated to Trading Service (all 4 endpoints) - AI job operations: βœ“ 100% migrated to AI Service (submit, status, result, cancel, list) - Monitoring operations: βœ“ 100% migrated to Monitoring Service (dashboard, summary, metrics) -- OpenClaw operations: βœ“ 100% migrated to OpenClaw Service (skill routing, job offloading, agent collaboration, hybrid execution, edge deployment) +- hermes operations: βœ“ 100% migrated to hermes Service (skill routing, job offloading, agent collaboration, hybrid execution, edge deployment) - Plugin operations: βœ“ 100% migrated to Plugin Service (register, marketplace, analytics) - Multimodal operations: βœ“ 100% migrated to AI Service (process, benchmark, agents, health) - Optimization operations: βœ“ 100% migrated to AI Service (tune, predict, agents, health) @@ -294,7 +294,7 @@ coordinator_url: str = "http://localhost:8000" # Deprecated, for backward compa - Governance Service (8105): Fully operational with governance transactions - AI Service (8106): Fully operational with job, multimodal, and optimization operations - Monitoring Service (8107): Fully operational with monitoring dashboard and metrics -- OpenClaw Service (8108): Fully operational with agent orchestration and edge computing +- hermes Service (8108): Fully operational with agent orchestration and edge computing - Plugin Service (8109): Fully operational with plugin registration, marketplace, and analytics - API Gateway (8080): Fully operational, routing to all microservices - Coordinator API (8000): Legacy service (can be decommissioned) @@ -306,7 +306,7 @@ coordinator_url: str = "http://localhost:8000" # Deprecated, for backward compa - Job commands: Updated to use AI Service - Monitor commands: Updated to use AI Service for job metrics, Monitoring Service for system metrics - Admin job commands: Updated to use AI Service -- OpenClaw commands: Updated to use OpenClaw Service +- hermes commands: Updated to use hermes Service - Plugin commands: Updated to use Plugin Service **Migration Completion: βœ“ 100%** @@ -341,7 +341,7 @@ All microservices are managed by systemd: - `aitbc-governance.service` - Governance Service (port 8105) - `aitbc-ai.service` - AI Service (port 8106) - `aitbc-monitoring.service` - Monitoring Service (port 8107) -- `aitbc-openclaw.service` - OpenClaw Service (port 8108) +- `aitbc-hermes.service` - hermes Service (port 8108) - `aitbc-plugin.service` - Plugin Service (port 8109) - `aitbc-api-gateway.service` - API Gateway (port 8080) - `aitbc-coordinator-api.service` - Legacy Coordinator API (port 8000) - **DISABLED** diff --git a/docs/project/2_roadmap.md b/docs/project/2_roadmap.md index 93771577..56cf59d7 100644 --- a/docs/project/2_roadmap.md +++ b/docs/project/2_roadmap.md @@ -76,7 +76,7 @@ Update this document as milestones evolve. ## Stage 25 β€” Advanced AI Agent CLI Tools [COMPLETED: 2026-02-24] - **CLI Tool Implementation** - - βœ… Create 5 new command groups: agent, multimodal, optimize, openclaw, + - βœ… Create 5 new command groups: agent, multimodal, optimize, hermes, marketplace_advanced, swarm - βœ… Implement 50+ new commands for advanced AI agent capabilities - βœ… Add complete test coverage with unit tests for all command modules @@ -87,7 +87,7 @@ Update this document as milestones evolve. - βœ… Agent workflow creation, execution, and monitoring with verification - βœ… Multi-modal agent processing (text, image, audio, video) - βœ… Autonomous optimization with self-tuning and predictive capabilities - - βœ… OpenClaw integration for edge computing deployment + - βœ… hermes integration for edge computing deployment - βœ… Enhanced marketplace operations with NFT 2.0 support - **Documentation Updates** @@ -168,7 +168,7 @@ architecture with comprehensive CLI tools, enhanced services deployment, and complete end-to-end testing framework. All 22 commands from README are fully implemented with complete test coverage and documentation. -**Next Phase**: OpenClaw Integration Enhancement and Advanced Marketplace +**Next Phase**: hermes Integration Enhancement and Advanced Marketplace Operations (see docs/10_plan/00_nextMileston.md) - βœ… Ship devnet scripts (`apps/blockchain-node/scripts/`). @@ -365,7 +365,7 @@ Operations (see docs/10_plan/00_nextMileston.md) - βœ… Adaptive Learning Service (Port 8005) - Reinforcement learning frameworks - βœ… Enhanced Marketplace Service (Port 8006) - Royalties, licensing, verification - - βœ… OpenClaw Enhanced Service (Port 8007) - Agent orchestration, edge + - βœ… hermes Enhanced Service (Port 8007) - Agent orchestration, edge computing - βœ… Systemd integration with automatic restart and monitoring - βœ… Client-to-Miner workflow demonstration (sub-second processing) @@ -788,7 +788,7 @@ Operations (see docs/10_plan/00_nextMileston.md) - βœ… Both nodes at same height with consistent block hashes - βœ… Gossip backend working correctly with Redis -- **OpenClaw Agent Communication** +- **hermes Agent Communication** - βœ… Successfully sent agent message from aitbc1 to aitbc - βœ… Used temp-agent wallet with correct password "temp123" - βœ… Transaction hash: @@ -846,9 +846,9 @@ Operations (see docs/10_plan/00_nextMileston.md) - **Documentation** - βœ… Created comprehensive blockchain synchronization documentation - βœ… File: `docs/blockchain/blockchain_synchronization_issues_and_fixes.md` - - βœ… Created OpenClaw cross-node communication guides - - βœ… File: `docs/openclaw/guides/openclaw_cross_node_communication.md` - - βœ… File: `docs/openclaw/training/cross_node_communication_training.md` + - βœ… Created hermes cross-node communication guides + - βœ… File: `docs/hermes/guides/hermes_cross_node_communication.md` + - βœ… File: `docs/hermes/training/cross_node_communication_training.md` - βœ… Deployed agent daemon service with systemd integration - βœ… File: `services/agent_daemon.py` - βœ… Systemd service: `systemd/aitbc-agent-daemon.service` @@ -947,11 +947,11 @@ Operations (see docs/10_plan/00_nextMileston.md) **Milestone Achievement**: Successfully fixed multi-node blockchain synchronization issues between aitbc and aitbc1. Both nodes are now in sync with -gossip backend working correctly via Redis. OpenClaw agent communication tested +gossip backend working correctly via Redis. hermes agent communication tested and working. **Next Phase**: Continue with wallet funding and enhanced agent communication -testing (see docs/openclaw/guides/) +testing (see docs/hermes/guides/) ## Stage 20 β€” Agent Ecosystem Transformation [COMPLETED: 2026-02-24] diff --git a/docs/project/3_infrastructure.md b/docs/project/3_infrastructure.md index b5a557a0..e6b3c555 100644 --- a/docs/project/3_infrastructure.md +++ b/docs/project/3_infrastructure.md @@ -37,7 +37,7 @@ Internet β†’ aitbc1.bubuit.net (HTTPS :443) β†’ aitbc.bubuit.net β”‚ β”‚ /optimization/ β†’ :8012 β”‚ β”‚ β”‚ β”‚ /learning/ β†’ :8013 β”‚ β”‚ β”‚ β”‚ /marketplace/enhanced/ β†’ :8014 β”‚ β”‚ -β”‚ β”‚ /openclaw/ β†’ :8015 β”‚ β”‚ +β”‚ β”‚ /hermes/ β†’ :8015 β”‚ β”‚ β”‚ β”‚ /explorer/ β†’ :8016 β”‚ β”‚ β”‚ β”‚ /balancer/ β†’ :8017 β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @@ -63,7 +63,7 @@ Internet β†’ aitbc1.bubuit.net (HTTPS :443) β†’ aitbc.bubuit.net - **Port 8012**: Modality Optimization Service βœ… PRODUCTION READY - **Port 8013**: Adaptive Learning Service βœ… PRODUCTION READY - **Port 8014**: Marketplace Enhanced Service βœ… PRODUCTION READY -- **Port 8015**: OpenClaw Enhanced Service βœ… PRODUCTION READY +- **Port 8015**: hermes Enhanced Service βœ… PRODUCTION READY - **Port 8016**: Blockchain Explorer Service βœ… PRODUCTION READY - **Port 8017**: Geographic Load Balancer βœ… PRODUCTION READY @@ -292,7 +292,7 @@ ssh aitbc # Direct SSH to aitbc server - **8012**: Modality Optimization (AI optimization) - **8013**: Adaptive Learning (machine learning) - **8014**: Marketplace Enhanced (advanced marketplace) -- **8015**: OpenClaw Enhanced (agent marketplace) +- **8015**: hermes Enhanced (agent marketplace) - **8016**: Web UI (dashboard interface) - **8017**: Geographic Load Balancer (traffic distribution) @@ -349,7 +349,7 @@ ssh aitbc1-cascade # Direct SSH to aitbc1 container (incus) | Modality Optimization | 8012 | python | 3.13.5 | /api/optimization/* | βœ… | | Adaptive Learning | 8013 | python | 3.13.5 | /api/learning/* | βœ… | | Marketplace | 8014 | python | 3.13.5 | /api/marketplace/* | βœ… | -| OpenClaw Enhanced | 8015 | python | 3.13.5 | /api/openclaw/* | βœ… | +| hermes Enhanced | 8015 | python | 3.13.5 | /api/hermes/* | βœ… | | Web UI | 8016 | python | 3.13.5 | /app/ | βœ… | | Geographic Load Balancer | 8017 | python | 3.13.5 | /api/loadbalancer/* | βœ… | @@ -415,7 +415,7 @@ Config: `/etc/nginx/sites-enabled/aitbc` | `/optimization/` | proxy β†’ `127.0.0.1:8012/` | proxy_pass | βœ… | | `/learning/` | proxy β†’ `127.0.0.1:8013/` | proxy_pass | βœ… | | `/marketplace/enhanced/` | proxy β†’ `127.0.0.1:8014/` | proxy_pass | βœ… | -| `/openclaw/` | proxy β†’ `127.0.0.1:8015/` | proxy_pass | βœ… | +| `/hermes/` | proxy β†’ `127.0.0.1:8015/` | proxy_pass | βœ… | | `/explorer/` | proxy β†’ `127.0.0.1:8016/` | proxy_pass | βœ… | | `/balancer/` | proxy β†’ `127.0.0.1:8017/` | proxy_pass | βœ… | @@ -715,7 +715,7 @@ ssh aitbc 'systemctl status aitbc-coordinator-api' - Port 8012: Modality Optimization Service βœ… NEW STANDARD - Port 8013: Adaptive Learning Service βœ… NEW STANDARD - Port 8014: Marketplace Enhanced Service βœ… NEW STANDARD -- Port 8015: OpenClaw Enhanced Service βœ… NEW STANDARD +- Port 8015: hermes Enhanced Service βœ… NEW STANDARD - Port 8016: Web UI Service βœ… NEW STANDARD - Port 8017: Geographic Load Balancer βœ… NEW STANDARD diff --git a/docs/project/5_done.md b/docs/project/5_done.md index b03fe8e1..638a9de6 100644 --- a/docs/project/5_done.md +++ b/docs/project/5_done.md @@ -92,7 +92,7 @@ operational. - βœ… **Enhanced AI Agent Services Deployment** - Deployed February 2026 - **6 New Services**: Multi-Modal Agent (8002), GPU Multi-Modal (8003), Modality Optimization (8004), Adaptive Learning (8005), Enhanced Marketplace - (8006), OpenClaw Enhanced (8007) + (8006), hermes Enhanced (8007) - **Complete CLI Tools**: 50+ commands across 5 command groups with full test coverage - **Health Check System**: Comprehensive health endpoints for all services @@ -115,7 +115,7 @@ operational. frameworks with online learning - **Enhanced Marketplace Service** (Port 8006) - Royalties, licensing, and verification systems - - **OpenClaw Enhanced Service** (Port 8007) - Agent orchestration and edge + - **hermes Enhanced Service** (Port 8007) - Agent orchestration and edge computing integration - **Systemd Integration** - All services with automatic restart, monitoring, and resource limits @@ -194,7 +194,7 @@ operational. - βœ… **Advanced AI Agent CLI Tools** - Complete CLI implementation for current milestone - - **5 New Command Groups**: agent, multimodal, optimize, openclaw, + - **5 New Command Groups**: agent, multimodal, optimize, hermes, marketplace_advanced, swarm - **50+ New Commands**: Advanced AI agent workflows, multi-modal processing, autonomous optimization @@ -862,7 +862,7 @@ operational. - Both nodes at same height with consistent block hashes - Gossip backend working correctly with Redis -- βœ… **OpenClaw Agent Communication Test** - Successfully sent agent message +- βœ… **hermes Agent Communication Test** - Successfully sent agent message - Sent message from aitbc1 to aitbc using temp-agent wallet - Used correct password "temp123" (from agent daemon password file) - Transaction hash: @@ -883,9 +883,9 @@ operational. - Documents gossip backend configuration, PoA fixes, transaction sync issues - Includes troubleshooting steps and verification procedures -- βœ… **OpenClaw Cross-Node Communication Documentation** - Added agent +- βœ… **hermes Cross-Node Communication Documentation** - Added agent communication workflow documentation - - File: `docs/openclaw/openclaw-cross-node-communication.md` + - File: `docs/hermes/hermes-cross-node-communication.md` - Documents agent-to-agent communication via AITBC blockchain transactions - Includes setup, testing, and troubleshooting procedures @@ -939,8 +939,8 @@ operational. - All nodes now support ait-mainnet chain - Blockchain node services restarted with new configuration communication guides - - File: `docs/openclaw/guides/openclaw_cross_node_communication.md` - - File: `docs/openclaw/training/cross_node_communication_training.md` + - File: `docs/hermes/guides/hermes_cross_node_communication.md` + - File: `docs/hermes/training/cross_node_communication_training.md` - Documents agent communication workflow, wallet configuration, testing procedures @@ -995,7 +995,7 @@ operational. ### CLI Tools Milestone Completion βœ… - βœ… **Advanced AI Agent CLI Implementation** - Complete milestone achievement - - **5 New Command Groups**: agent, multimodal, optimize, openclaw, + - **5 New Command Groups**: agent, multimodal, optimize, hermes, marketplace_advanced, swarm - **50+ New Commands**: Comprehensive CLI coverage for advanced AI agent capabilities @@ -1009,7 +1009,7 @@ operational. - **Multi-Modal Processing**: Text, image, audio, video processing with GPU acceleration - **Autonomous Optimization**: Self-tuning and predictive capabilities - - **OpenClaw Integration**: Edge computing deployment and monitoring + - **hermes Integration**: Edge computing deployment and monitoring - **Enhanced Marketplace**: NFT 2.0 support and advanced trading features - **Swarm Intelligence**: Collective optimization and coordination @@ -1038,7 +1038,7 @@ operational. frameworks for agent self-improvement - **Enhanced Marketplace Service** (Port 8006) - Royalties, licensing, verification, and analytics - - **OpenClaw Enhanced Service** (Port 8007) - Agent orchestration, edge + - **hermes Enhanced Service** (Port 8007) - Agent orchestration, edge computing, and ecosystem development - **Systemd Integration**: Individual service management with automatic restart and monitoring diff --git a/docs/project/ai-economics/AI_ECONOMICS_MASTERS.md b/docs/project/ai-economics/AI_ECONOMICS_MASTERS.md index d8e41ef2..19144a59 100644 --- a/docs/project/ai-economics/AI_ECONOMICS_MASTERS.md +++ b/docs/project/ai-economics/AI_ECONOMICS_MASTERS.md @@ -8,7 +8,7 @@ ## πŸš€ **Overview** -The AI Economics Masters program represents the pinnacle of AI intelligence transformation, enabling OpenClaw agents to become sophisticated economic modeling and marketplace strategy specialists. This program builds upon the Advanced AI Teaching Plan to create economic intelligence capabilities for distributed AI operations. +The AI Economics Masters program represents the pinnacle of AI intelligence transformation, enabling hermes agents to become sophisticated economic modeling and marketplace strategy specialists. This program builds upon the Advanced AI Teaching Plan to create economic intelligence capabilities for distributed AI operations. ## 🎯 **Current Status: PRODUCTION READY** @@ -119,7 +119,7 @@ The AI Economics Masters program represents the pinnacle of AI intelligence tran ### **πŸ“‹ Modular Workflows** - **Basic Testing**: CLI functionality and core operations -- **Agent Testing**: OpenClaw agent functionality and coordination +- **Agent Testing**: hermes agent functionality and coordination - **AI Operations**: AI job submission, monitoring, resource management - **Advanced AI**: Complex pipelines and multi-modal processing - **Cross-Node**: Multi-node coordination and testing @@ -154,13 +154,13 @@ The AI Economics Masters program represents the pinnacle of AI intelligence tran - **[AI Economics Masters Roadmap](../.windsurf/plans/AI_ECONOMICS_MASTERS_ROADMAP.md)** - Complete implementation guide - **[Agent Coordination Enhancement](../.windsurf/workflows/agent-coordination-enhancement.md)** - Multi-agent communication - **[Modular Workflow Implementation](../.windsurf/workflows/TEST_MASTER_INDEX.md)** - Testing infrastructure -- **[Production Deployment Scripts](../scripts/workflow-openclaw/)** - Execution scripts +- **[Production Deployment Scripts](../scripts/workflow-hermes/)** - Execution scripts ## πŸŽ‰ **Achievement Status** **βœ… COMPLETED**: AI Economics Masters program fully implemented with production-ready economic intelligence capabilities. -**Key Achievement**: Successfully transformed OpenClaw agents from AI Specialists to AI Economics Masters with sophisticated economic modeling, marketplace strategy, and investment management capabilities. +**Key Achievement**: Successfully transformed hermes agents from AI Specialists to AI Economics Masters with sophisticated economic modeling, marketplace strategy, and investment management capabilities. **Production Impact**: The AITBC platform now provides advanced economic intelligence for AI service operations, establishing itself as a leader in AI economic orchestration and optimization. diff --git a/docs/project/aitbc.md b/docs/project/aitbc.md index a29c6fc3..4992d6a0 100644 --- a/docs/project/aitbc.md +++ b/docs/project/aitbc.md @@ -45,7 +45,7 @@ This guide provides comprehensive deployment instructions for the **aitbc server - Port 8012: Modality Optimization - Port 8013: Adaptive Learning - Port 8014: Marketplace Enhanced - - Port 8015: OpenClaw Enhanced + - Port 8015: hermes Enhanced - Port 8016: Blockchain Explorer (Web UI) - Port 8017: Geographic Load Balancer - **Mock & Test Services Ports**: 8020-8029 (development and testing) @@ -113,7 +113,7 @@ ssh aitbc 'systemctl status aitbc-blockchain-rpc-dev' - Port 8012: Modality Optimization - Port 8013: Adaptive Learning - Port 8014: Marketplace Enhanced -- Port 8015: OpenClaw Enhanced +- Port 8015: hermes Enhanced - Port 8016: Blockchain Explorer (Web UI) - Port 8017: Geographic Load Balancer @@ -156,7 +156,7 @@ AITBC Platform Architecture (Updated March 7, 2026) β”‚ β”œβ”€β”€ Modality Optimization (Port 8012) βœ… PRODUCTION READY β”‚ β”œβ”€β”€ Adaptive Learning (Port 8013) βœ… PRODUCTION READY β”‚ β”œβ”€β”€ Marketplace Enhanced (Port 8014) βœ… PRODUCTION READY -β”‚ β”œβ”€β”€ OpenClaw Enhanced (Port 8015) βœ… PRODUCTION READY +β”‚ β”œβ”€β”€ hermes Enhanced (Port 8015) βœ… PRODUCTION READY β”‚ β”œβ”€β”€ Blockchain Explorer (Port 8016) βœ… PRODUCTION READY β”‚ └── Geographic Load Balancer (Port 8017) βœ… PRODUCTION READY └── Infrastructure @@ -263,7 +263,7 @@ systemctl enable aitbc-multimodal.service systemctl enable aitbc-modality-optimization.service systemctl enable aitbc-adaptive-learning.service systemctl enable aitbc-marketplace.service -systemctl enable aitbc-openclaw.service +systemctl enable aitbc-hermes.service systemctl enable aitbc-loadbalancer-geo.service ``` @@ -300,7 +300,7 @@ systemctl start aitbc-adaptive-learning.service sleep 2 systemctl start aitbc-marketplace-enhanced.service sleep 2 -systemctl start aitbc-openclaw-enhanced.service +systemctl start aitbc-hermes-enhanced.service sleep 2 systemctl start aitbc-loadbalancer-geo.service ``` @@ -324,7 +324,7 @@ curl -X GET "http://localhost:8011/health" # GPU Multimodal (CPU-only) curl -X GET "http://localhost:8012/health" # Modality Optimization curl -X GET "http://localhost:8013/health" # Adaptive Learning curl -X GET "http://localhost:8014/health" # Marketplace Enhanced -curl -X GET "http://localhost:8015/health" # OpenClaw Enhanced +curl -X GET "http://localhost:8015/health" # hermes Enhanced curl -X GET "http://localhost:8016/health" # Blockchain Explorer curl -X GET "http://localhost:8017/health" # Geographic Load Balancer ``` diff --git a/docs/project/aitbc1.md b/docs/project/aitbc1.md index 6205dd62..bc9f75a1 100644 --- a/docs/project/aitbc1.md +++ b/docs/project/aitbc1.md @@ -223,7 +223,7 @@ Enhanced Services (8010-8017) ⚠️ MIXED STATUS: - Modality Optimization: 8012 ❌ Not shown in status - Adaptive Learning: 8013 ❌ Not shown in status - Marketplace Enhanced: 8014 βœ… Active (365.3M memory) -- OpenClaw Enhanced: 8015 ❌ Not shown in status +- Hermes Enhanced: 8015 ❌ Not shown in status - Web UI/Explorer: 8016 ❌ Not shown in status (but explorer service is running) - Geographic Load Balancer: 8017 βœ… Active (23.7M memory) @@ -295,7 +295,7 @@ upstream aitbc_backend { server 10.1.223.1:8012; # Modality Optimization (aitbc secondary) server 10.1.223.1:8013; # Adaptive Learning (aitbc secondary) server 10.1.223.1:8014; # Marketplace Enhanced (aitbc secondary) - server 10.1.223.1:8015; # OpenClaw Enhanced (aitbc secondary) + server 10.1.223.1:8015; # Hermes Enhanced (aitbc secondary) server 10.1.223.1:8016; # Web UI (aitbc secondary) server 10.1.223.1:8017; # Geographic Load Balancer (aitbc secondary) } diff --git a/docs/project/cli/CLI_DOCUMENTATION.md b/docs/project/cli/CLI_DOCUMENTATION.md index 9ca2d9ff..9a16bbc7 100644 --- a/docs/project/cli/CLI_DOCUMENTATION.md +++ b/docs/project/cli/CLI_DOCUMENTATION.md @@ -16,8 +16,8 @@ The AITBC CLI (Command Line Interface) is a comprehensive tool for managing the - **AI Commands**: Submit, status, results, parallel, ensemble, multimodal, fusion - **Mining Commands**: Start, stop, status - **System Commands**: Status, health checks, configuration -- **Agent Commands**: Workflow execution, OpenClaw integration -- **OpenClaw Commands**: Status, cross-node communication +- **Agent Commands**: Workflow execution, hermes integration +- **hermes Commands**: Status, cross-node communication - **Workflow Commands**: Run, parameters, execution tracking - **Resource Commands**: Status, allocate, deallocate - **Simulate Commands**: Blockchain, wallets, price, network, AI jobs @@ -39,7 +39,7 @@ aitbc-cli <group> <action> [options] - `mining` - Mining operations - `system` - System status and configuration - `agent` - Agent operations -- `openclaw` - OpenClaw agent integration +- `hermes` - hermes agent integration - `workflow` - Workflow execution - `resource` - Resource management - `simulate` - Simulation tools @@ -179,8 +179,8 @@ source venv/bin/activate # Run agent workflow ./aitbc-cli agent --agent agent-name --message "Task description" --thinking high -# OpenClaw operations -./aitbc-cli openclaw --action status +# hermes operations +./aitbc-cli hermes --action status ``` #### Workflow Operations @@ -418,7 +418,7 @@ Each command has specific options documented in the help: - Marketplace functionality - Resource management - Simulation commands -- OpenClaw agent integration +- hermes agent integration ### v0.2.1 - Project consolidation to `/opt/aitbc` diff --git a/docs/project/planning/01_core_planning/README.md b/docs/project/planning/01_core_planning/README.md index b0185d72..a6c1c436 100644 --- a/docs/project/planning/01_core_planning/README.md +++ b/docs/project/planning/01_core_planning/README.md @@ -4,11 +4,11 @@ This directory contains the active planning documents for the current development phase. All completed phase plans have been archived to `docs/12_issues/completed_phases/`. ### Core Roadmap -- `00_nextMileston.md`: The overarching milestone plan for Q2-Q3 2026, focusing on OpenClaw Agent Economics & Scalability. +- `00_nextMileston.md`: The overarching milestone plan for Q2-Q3 2026, focusing on Hermes Agent Economics & Scalability. - `99_currentissue.md`: Active tracking of the current week's tasks and daily progress. ### Active Phase Plans -- `01_openclaw_economics.md`: Detailed plan for autonomous agent wallets, bid-strategy engines, and multi-agent orchestration. +- `01_hermes_economics.md`: Detailed plan for autonomous agent wallets, bid-strategy engines, and multi-agent orchestration. - `02_decentralized_memory.md`: Detailed plan for IPFS/Filecoin integration, on-chain data anchoring, and shared knowledge graphs. - `03_developer_ecosystem.md`: Detailed plan for hackathon bounties, reputation yield farming, and the developer metrics dashboard. diff --git a/docs/reference/PORT_MAPPING_GUIDE.md b/docs/reference/PORT_MAPPING_GUIDE.md index ecc3f305..2cb2ae92 100644 --- a/docs/reference/PORT_MAPPING_GUIDE.md +++ b/docs/reference/PORT_MAPPING_GUIDE.md @@ -25,7 +25,7 @@ | 8011 | Learning Service | `http://localhost:8011/health` | βœ… Active | Machine learning and adaptation | | 8012 | Agent Coordinator | `http://localhost:8012/health` | βœ… Active | Agent orchestration and coordination | | 8013 | Agent Registry | `http://localhost:8013/health` | βœ… Active | Agent registration and discovery | -| 8014 | OpenClaw Service | `http://localhost:8014/health` | βœ… Active | Edge computing and agent orchestration | +| 8014 | hermes Service | `http://localhost:8014/health` | βœ… Active | Edge computing and agent orchestration | | 8015 | AI Service | `http://localhost:8015/health` | βœ… Active | Advanced AI capabilities | | 8016 | Available | - | πŸ”„ Free | Available for future AI/agent service | | 8017 | Available | - | πŸ”„ Free | Available for future AI/agent service | @@ -71,7 +71,7 @@ apps/blockchain-explorer/main.py # Port 8004 /etc/systemd/system/aitbc-learning.service # Port 8011 apps/agent-services/agent-coordinator/src/coordinator.py # Port 8012 apps/agent-services/agent-registry/src/app.py # Port 8013 -/etc/systemd/system/aitbc-openclaw.service # Port 8014 +/etc/systemd/system/aitbc-hermes.service # Port 8014 apps/coordinator-api/src/app/services/advanced_ai_service.py # Port 8015 ``` @@ -91,7 +91,7 @@ apps/coordinator-api/src/app/services/advanced_ai_service.py # Port 8015 ### AI/Agent/GPU Services (8010-8019) - **Purpose**: Advanced AI, agent orchestration, and GPU processing -- **Services**: GPU, Learning, Agent Coordinator, Agent Registry, OpenClaw, AI +- **Services**: GPU, Learning, Agent Coordinator, Agent Registry, hermes, AI - **Priority**: High - enhances AITBC capabilities - **Features**: Machine learning, agent management, edge computing @@ -123,7 +123,7 @@ curl -s http://localhost:8010/health # GPU Service curl -s http://localhost:8011/health # Learning Service curl -s http://localhost:8012/health # Agent Coordinator curl -s http://localhost:8013/health # Agent Registry -curl -s http://localhost:8014/health # OpenClaw Service +curl -s http://localhost:8014/health # hermes Service curl -s http://localhost:8015/health # AI Service ``` @@ -163,7 +163,7 @@ systemctl status aitbc-blockchain-rpc.service - **Learning Service**: Moved from 8010 β†’ 8011 (AI/Agent/GPU) - **Agent Coordinator**: Moved from 8011 β†’ 8012 (AI/Agent/GPU) - **Agent Registry**: Moved from 8012 β†’ 8013 (AI/Agent/GPU) -- **OpenClaw Service**: Moved from 8013 β†’ 8014 (AI/Agent/GPU) +- **hermes Service**: Moved from 8013 β†’ 8014 (AI/Agent/GPU) - **AI Service**: Moved from 8009 β†’ 8015 (AI/Agent/GPU) - **Modality Optimization**: Moved from 8023 β†’ 8021 (Other Services) - **Multimodal Service**: Moved from 8005 β†’ 8020 (Other Services) diff --git a/docs/releases/RELEASE_v0.2.3.md b/docs/releases/RELEASE_v0.2.3.md index 76cfe359..2dd0a01a 100644 --- a/docs/releases/RELEASE_v0.2.3.md +++ b/docs/releases/RELEASE_v0.2.3.md @@ -1,13 +1,13 @@ # AITBC v0.2.3 Release Notes ## 🎯 Overview -AITBC v0.2.3 is a **major AI intelligence and agent transformation release** that completes the Advanced AI Teaching Plan and transforms OpenClaw agents from AI Specialists to AI Economics Masters. This release introduces sophisticated economic modeling, marketplace strategy, and distributed AI job economics capabilities. +AITBC v0.2.3 is a **major AI intelligence and agent transformation release** that completes the Advanced AI Teaching Plan and transforms hermes agents from AI Specialists to AI Economics Masters. This release introduces sophisticated economic modeling, marketplace strategy, and distributed AI job economics capabilities. ## πŸš€ New Features ### πŸ€– Advanced AI Teaching Plan Completion - **Complete Teaching Plan**: All 10 sessions of Advanced AI Teaching Plan successfully completed -- **Agent Transformation**: OpenClaw agents transformed from AI Specialists to AI Economics Masters +- **Agent Transformation**: hermes agents transformed from AI Specialists to AI Economics Masters - **Economic Intelligence**: Sophisticated economic modeling and marketplace strategy capabilities - **Real-World Applications**: Medical diagnosis AI, customer feedback AI, and investment management @@ -21,7 +21,7 @@ AITBC v0.2.3 is a **major AI intelligence and agent transformation release** tha - **Modular Test Workflows**: Split large workflows into manageable, focused modules - **Test Master Index**: Comprehensive navigation for all test modules - **Enhanced Maintainability**: Better organization and easier updates -- **7 Focused Modules**: Basic, OpenClaw agents, AI operations, advanced AI, cross-node, performance, integration +- **7 Focused Modules**: Basic, hermes agents, AI operations, advanced AI, cross-node, performance, integration ### 🀝 Step 3: Agent Coordination Plan Enhancement - **Multi-Agent Communication**: Hierarchical, peer-to-peer, and broadcast patterns @@ -57,7 +57,7 @@ AITBC v0.2.3 is a **major AI intelligence and agent transformation release** tha ## πŸ”— Changes from v0.2.2 - Completed Advanced AI Teaching Plan with all 10 sessions -- Transformed OpenClaw agents to AI Economics Masters +- Transformed hermes agents to AI Economics Masters - Implemented Phase 4: Cross-Node AI Economics (3 sessions) - Created Step 2: Modular Workflow Implementation - Created Step 3: Agent Coordination Plan Enhancement diff --git a/docs/releases/RELEASE_v0.3.2.md b/docs/releases/RELEASE_v0.3.2.md index c98b02fa..d879f82a 100644 --- a/docs/releases/RELEASE_v0.3.2.md +++ b/docs/releases/RELEASE_v0.3.2.md @@ -60,7 +60,7 @@ This release focuses on resolving pytest import conflicts through test file nami - docs/security/ - Security documentation - docs/testing/ - Testing documentation - docs/deployment/ - Node-specific documentation - - docs/openclaw/ - OpenClaw documentation + - docs/hermes/ - hermes documentation - **Benefits**: Improved documentation organization and discoverability ## πŸ”’ Security @@ -78,11 +78,11 @@ This release focuses on resolving pytest import conflicts through test file nami - Moved AITBC1_UPDATED_COMMANDS.md to docs/deployment/ - Benefits: Clear separation of node-specific documentation -## πŸ€– OpenClaw Documentation +## πŸ€– hermes Documentation -### βœ… **OpenClaw Documentation Organization** -- Moved OPENCLAW_AITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md to docs/openclaw/ -- Benefits: Dedicated location for OpenClaw-related documentation +### βœ… **hermes Documentation Organization** +- Moved hermes_AITBC_MASTERY_PLAN_IMPLEMENTATION_STATUS.md to docs/hermes/ +- Benefits: Dedicated location for hermes-related documentation ## πŸ”„ Testing Documentation @@ -186,9 +186,9 @@ This release focuses on resolving pytest import conflicts through test file nami ## πŸ“š Documentation Updates -### βœ… **OpenClaw Documentation** -- **Master index**: Added OpenClaw master index -- **Coordination demo**: Added OpenClaw coordination demo +### βœ… **hermes Documentation** +- **Master index**: Added hermes master index +- **Coordination demo**: Added hermes coordination demo - **Mastery plan**: Updated mastery plan to v2.0 with multi-chain support, hub/follower topology, and workflow integration ### βœ… **Documentation Fixes** diff --git a/docs/reports/CODE_QUALITY_SUMMARY.md b/docs/reports/CODE_QUALITY_SUMMARY.md index b8806024..2f442b9b 100644 --- a/docs/reports/CODE_QUALITY_SUMMARY.md +++ b/docs/reports/CODE_QUALITY_SUMMARY.md @@ -25,7 +25,7 @@ ### Services Status All AITBC services are running successfully with central venv: -- βœ… aitbc-openclaw.service (Port 8014) +- βœ… aitbc-hermes.service (Port 8014) - βœ… aitbc-multimodal.service (Port 8020) - βœ… aitbc-modality-optimization.service (Port 8021) - βœ… aitbc-web-ui.service (Port 8007) diff --git a/docs/reports/phase/COMPREHENSIVE_GUIDE.md b/docs/reports/phase/COMPREHENSIVE_GUIDE.md index 1db95122..63458c8c 100644 --- a/docs/reports/phase/COMPREHENSIVE_GUIDE.md +++ b/docs/reports/phase/COMPREHENSIVE_GUIDE.md @@ -72,15 +72,15 @@ aitbc agent learning enable agent_123 --mode reinforcement --learning-rate 0.001 aitbc agent learning train agent_123 --feedback feedback.json --epochs 50 ``` -**OpenClaw Edge Deployment** β†’ [../11_agents/openclaw-integration.md](../11_agents/openclaw-integration.md) +**hermes Edge Deployment** β†’ [../11_agents/hermes-integration.md](../11_agents/hermes-integration.md) ```bash -# Deploy to OpenClaw network -aitbc openclaw deploy agent_123 --region us-west --instances 3 --auto-scale -aitbc openclaw edge deploy agent_123 --locations "us-west,eu-central" --strategy latency +# Deploy to hermes network +aitbc hermes deploy agent_123 --region us-west --instances 3 --auto-scale +aitbc hermes edge deploy agent_123 --locations "us-west,eu-central" --strategy latency # Monitor and optimize -aitbc openclaw monitor deployment_123 --metrics latency,cost --real-time -aitbc openclaw optimize deployment_123 --objective cost +aitbc hermes monitor deployment_123 --metrics latency,cost --real-time +aitbc hermes optimize deployment_123 --objective cost ``` **Platform Builder Agents** β†’ [../11_agents/getting-started.md](../11_agents/getting-started.md) @@ -137,7 +137,7 @@ aitbc swarm coordinate --task network-optimization --collaborators 10 | `aitbc agent` | Advanced AI agent workflows | `create`, `execute`, `network`, `learning` | | `aitbc multimodal` | Multi-modal processing | `agent`, `process`, `convert`, `search` | | `aitbc optimize` | Autonomous optimization | `self-opt`, `predict`, `tune` | -| `aitbc openclaw` | OpenClaw integration | `deploy`, `edge`, `routing`, `ecosystem` | +| `aitbc hermes` | hermes integration | `deploy`, `edge`, `routing`, `ecosystem` | | `aitbc marketplace advanced` | Enhanced marketplace | `models`, `analytics`, `trading`, `dispute` | | `aitbc client` | Job submission | `submit`, `status`, `history` | | `aitbc miner` | Mining operations | `register`, `poll`, `earnings` | diff --git a/docs/scenarios/01_wallet_basics.md b/docs/scenarios/01_wallet_basics.md index 9fb86b21..ced53f4c 100644 --- a/docs/scenarios/01_wallet_basics.md +++ b/docs/scenarios/01_wallet_basics.md @@ -1,4 +1,4 @@ -# Wallet Basics for OpenClaw Agents +# Wallet Basics for hermes Agents **Level**: Beginner **Prerequisites**: Basic Python knowledge, AITBC CLI installed @@ -22,10 +22,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents create, import, and manage AITBC wallets for blockchain operations. Wallets are essential for agents to hold AIT tokens, sign transactions, and interact with the blockchain. +This scenario demonstrates how hermes agents create, import, and manage AITBC wallets for blockchain operations. Wallets are essential for agents to hold AIT tokens, sign transactions, and interact with the blockchain. ### **Use Case** -An OpenClaw agent needs a wallet to: +An hermes agent needs a wallet to: - Hold AIT tokens for payments and rewards - Sign transactions securely - Participate in marketplace operations diff --git a/docs/scenarios/02_transaction_sending.md b/docs/scenarios/02_transaction_sending.md index 1ef4324a..9e5689bb 100644 --- a/docs/scenarios/02_transaction_sending.md +++ b/docs/scenarios/02_transaction_sending.md @@ -1,4 +1,4 @@ -# Transaction Sending for OpenClaw Agents +# Transaction Sending for hermes Agents **Level**: Beginner **Prerequisites**: Wallet Basics (Scenario 01), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents send transactions on the AITBC blockchain, including single transfers, batch transactions, and transaction monitoring. +This scenario demonstrates how hermes agents send transactions on the AITBC blockchain, including single transfers, batch transactions, and transaction monitoring. ### **Use Case** -An OpenClaw agent needs to send transactions to: +An hermes agent needs to send transactions to: - Pay for GPU compute resources - Transfer AIT tokens between wallets - Participate in marketplace operations diff --git a/docs/scenarios/03_genesis_deployment.md b/docs/scenarios/03_genesis_deployment.md index ba2cfb43..89bd0159 100644 --- a/docs/scenarios/03_genesis_deployment.md +++ b/docs/scenarios/03_genesis_deployment.md @@ -1,4 +1,4 @@ -# Genesis Block Deployment for OpenClaw Agents +# Genesis Block Deployment for hermes Agents **Level**: Beginner **Prerequisites**: AITBC CLI installed, blockchain knowledge @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents create and deploy genesis blocks to initialize new AITBC blockchain networks or chains. +This scenario demonstrates how hermes agents create and deploy genesis blocks to initialize new AITBC blockchain networks or chains. ### **Use Case** -An OpenClaw agent needs to deploy genesis blocks to: +An hermes agent needs to deploy genesis blocks to: - Initialize a new blockchain network - Create custom chains for specific use cases - Set up test networks for development diff --git a/docs/scenarios/04_messaging_basics.md b/docs/scenarios/04_messaging_basics.md index 66066ab9..63e8a91c 100644 --- a/docs/scenarios/04_messaging_basics.md +++ b/docs/scenarios/04_messaging_basics.md @@ -1,4 +1,4 @@ -# Messaging Basics for OpenClaw Agents +# Messaging Basics for hermes Agents **Level**: Beginner **Prerequisites**: Wallet Basics (Scenario 01), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents use the AITBC gossip protocol to send and receive messages across the blockchain network for agent coordination and communication. +This scenario demonstrates how hermes agents use the AITBC gossip protocol to send and receive messages across the blockchain network for agent coordination and communication. ### **Use Case** -An OpenClaw agent needs messaging to: +An hermes agent needs messaging to: - Coordinate with other agents - Share computational results - Negotiate marketplace deals diff --git a/docs/scenarios/05_island_creation.md b/docs/scenarios/05_island_creation.md index 3df9b09e..477a2c77 100644 --- a/docs/scenarios/05_island_creation.md +++ b/docs/scenarios/05_island_creation.md @@ -1,4 +1,4 @@ -# Island Creation for OpenClaw Agents +# Island Creation for hermes Agents **Level**: Beginner **Prerequisites**: Genesis Deployment (Scenario 03), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents create and join islands in the AITBC federated mesh network for decentralized coordination and resource sharing. +This scenario demonstrates how hermes agents create and join islands in the AITBC federated mesh network for decentralized coordination and resource sharing. ### **Use Case** -An OpenClaw agent needs island operations to: +An hermes agent needs island operations to: - Create independent blockchain networks - Join federated mesh of islands - Bridge between different islands diff --git a/docs/scenarios/06_basic_trading.md b/docs/scenarios/06_basic_trading.md index c48cfdc1..1c4cb5b8 100644 --- a/docs/scenarios/06_basic_trading.md +++ b/docs/scenarios/06_basic_trading.md @@ -1,4 +1,4 @@ -# Basic Trading for OpenClaw Agents +# Basic Trading for hermes Agents **Level**: Beginner **Prerequisites**: Transaction Sending (Scenario 02), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents perform basic trading operations on the AITBC blockchain, including buying and selling AIT tokens. +This scenario demonstrates how hermes agents perform basic trading operations on the AITBC blockchain, including buying and selling AIT tokens. ### **Use Case** -An OpenClaw agent needs trading to: +An hermes agent needs trading to: - Exchange AIT tokens for other assets - Profit from market movements - Hedge against price volatility diff --git a/docs/scenarios/07_ai_job_submission.md b/docs/scenarios/07_ai_job_submission.md index 43c4b96b..12702c79 100644 --- a/docs/scenarios/07_ai_job_submission.md +++ b/docs/scenarios/07_ai_job_submission.md @@ -1,4 +1,4 @@ -# AI Job Submission for OpenClaw Agents +# AI Job Submission for hermes Agents **Level**: Beginner **Prerequisites**: Wallet Basics (Scenario 01), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents submit AI compute jobs to the AITBC network for distributed processing on GPU resources. +This scenario demonstrates how hermes agents submit AI compute jobs to the AITBC network for distributed processing on GPU resources. ### **Use Case** -An OpenClaw agent needs to submit AI jobs to: +An hermes agent needs to submit AI jobs to: - Train machine learning models - Run inference on large datasets - Process natural language tasks diff --git a/docs/scenarios/08_marketplace_bidding.md b/docs/scenarios/08_marketplace_bidding.md index ad33c10d..8f81a7ee 100644 --- a/docs/scenarios/08_marketplace_bidding.md +++ b/docs/scenarios/08_marketplace_bidding.md @@ -1,4 +1,4 @@ -# Marketplace Bidding for OpenClaw Agents +# Marketplace Bidding for hermes Agents **Level**: Beginner **Prerequisites**: Wallet Basics (Scenario 01), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents place bids on the AITBC marketplace to acquire compute resources, storage, and other services. +This scenario demonstrates how hermes agents place bids on the AITBC marketplace to acquire compute resources, storage, and other services. ### **Use Case** -An OpenClaw agent needs marketplace bidding to: +An hermes agent needs marketplace bidding to: - Acquire GPU compute resources - Purchase storage space - Bid on network bandwidth diff --git a/docs/scenarios/09_gpu_listing.md b/docs/scenarios/09_gpu_listing.md index 3d859d3e..84e910c7 100644 --- a/docs/scenarios/09_gpu_listing.md +++ b/docs/scenarios/09_gpu_listing.md @@ -1,4 +1,4 @@ -# GPU Listing for OpenClaw Agents +# GPU Listing for hermes Agents **Level**: Beginner **Prerequisites**: Wallet Basics (Scenario 01), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents list GPU resources on the AITBC marketplace to provide compute capacity for AI workloads. +This scenario demonstrates how hermes agents list GPU resources on the AITBC marketplace to provide compute capacity for AI workloads. ### **Use Case** -An OpenClaw agent needs to list GPUs to: +An hermes agent needs to list GPUs to: - Monetize idle GPU capacity - Provide compute resources to the network - Earn AIT tokens from GPU rentals diff --git a/docs/scenarios/10_plugin_development.md b/docs/scenarios/10_plugin_development.md index c25cdafa..04626362 100644 --- a/docs/scenarios/10_plugin_development.md +++ b/docs/scenarios/10_plugin_development.md @@ -1,4 +1,4 @@ -# Plugin Development for OpenClaw Agents +# Plugin Development for hermes Agents **Level**: Beginner **Prerequisites**: Python development experience, AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents develop and deploy custom plugins to extend AITBC functionality, such as Ollama integration, IPFS services, or custom server services. +This scenario demonstrates how hermes agents develop and deploy custom plugins to extend AITBC functionality, such as Ollama integration, IPFS services, or custom server services. ### **Use Case** -An OpenClaw agent needs plugin development to: +An hermes agent needs plugin development to: - Integrate external AI services (e.g., Ollama) - Add custom storage solutions - Implement specialized compute services diff --git a/docs/scenarios/11_ipfs_storage.md b/docs/scenarios/11_ipfs_storage.md index ff5cd8a0..9532746b 100644 --- a/docs/scenarios/11_ipfs_storage.md +++ b/docs/scenarios/11_ipfs_storage.md @@ -1,4 +1,4 @@ -# IPFS Storage for OpenClaw Agents +# IPFS Storage for hermes Agents **Level**: Beginner **Prerequisites**: Wallet Basics (Scenario 01), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents use IPFS (InterPlanetary File System) for decentralized storage of data, models, and artifacts on the AITBC network. +This scenario demonstrates how hermes agents use IPFS (InterPlanetary File System) for decentralized storage of data, models, and artifacts on the AITBC network. ### **Use Case** -An OpenClaw agent needs IPFS storage to: +An hermes agent needs IPFS storage to: - Store large datasets for AI training - Distribute trained models - Share computational results diff --git a/docs/scenarios/12_database_operations.md b/docs/scenarios/12_database_operations.md index f266ef7a..58b6cc3b 100644 --- a/docs/scenarios/12_database_operations.md +++ b/docs/scenarios/12_database_operations.md @@ -1,4 +1,4 @@ -# Database Operations for OpenClaw Agents +# Database Operations for hermes Agents **Level**: Beginner **Prerequisites**: Python development experience, AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents host and manage databases on the AITBC network for persistent data storage and retrieval. +This scenario demonstrates how hermes agents host and manage databases on the AITBC network for persistent data storage and retrieval. ### **Use Case** -An OpenClaw agent needs database hosting to: +An hermes agent needs database hosting to: - Store agent state and configuration - Persist transaction history - Cache computation results diff --git a/docs/scenarios/13_mining_setup.md b/docs/scenarios/13_mining_setup.md index ec42d465..e455f087 100644 --- a/docs/scenarios/13_mining_setup.md +++ b/docs/scenarios/13_mining_setup.md @@ -1,4 +1,4 @@ -# Mining Setup for OpenClaw Agents +# Mining Setup for hermes Agents **Level**: Beginner **Prerequisites**: Wallet Basics (Scenario 01), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents set up and run mining operations on the AITBC blockchain to earn block rewards and secure the network. +This scenario demonstrates how hermes agents set up and run mining operations on the AITBC blockchain to earn block rewards and secure the network. ### **Use Case** -An OpenClaw agent needs mining to: +An hermes agent needs mining to: - Earn AIT tokens through block rewards - Participate in network consensus - Validate blockchain transactions diff --git a/docs/scenarios/14_staking_basics.md b/docs/scenarios/14_staking_basics.md index 5e2144f0..352f977f 100644 --- a/docs/scenarios/14_staking_basics.md +++ b/docs/scenarios/14_staking_basics.md @@ -1,4 +1,4 @@ -# Staking Basics for OpenClaw Agents +# Staking Basics for Hermes Agents **Level**: Beginner **Prerequisites**: Wallet Basics (Scenario 01), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents stake AIT tokens to earn rewards and participate in network governance and validation. +This scenario demonstrates how Hermes agents stake AIT tokens to earn rewards and participate in network governance and validation. ### **Use Case** -An OpenClaw agent needs staking to: +An Hermes agent needs staking to: - Earn passive rewards on AIT tokens - Participate in network governance - Become a validator diff --git a/docs/scenarios/15_blockchain_monitoring.md b/docs/scenarios/15_blockchain_monitoring.md index 2af9e471..5f693481 100644 --- a/docs/scenarios/15_blockchain_monitoring.md +++ b/docs/scenarios/15_blockchain_monitoring.md @@ -1,4 +1,4 @@ -# Blockchain Monitoring for OpenClaw Agents +# Blockchain Monitoring for hermes Agents **Level**: Beginner **Prerequisites**: Wallet Basics (Scenario 01), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents monitor blockchain status, network health, and blockchain analytics for informed decision-making. +This scenario demonstrates how hermes agents monitor blockchain status, network health, and blockchain analytics for informed decision-making. ### **Use Case** -An OpenClaw agent needs blockchain monitoring to: +An hermes agent needs blockchain monitoring to: - Track network health and status - Monitor block production - Analyze blockchain metrics diff --git a/docs/scenarios/16_agent_registration.md b/docs/scenarios/16_agent_registration.md index c834448c..b1a9d3d5 100644 --- a/docs/scenarios/16_agent_registration.md +++ b/docs/scenarios/16_agent_registration.md @@ -1,4 +1,4 @@ -# Agent Registration for OpenClaw Agents +# Agent Registration for hermes Agents **Level**: Beginner **Prerequisites**: Wallet Basics (Scenario 01), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents register themselves on the AITBC network to become discoverable and participate in agent-to-agent interactions. +This scenario demonstrates how hermes agents register themselves on the AITBC network to become discoverable and participate in agent-to-agent interactions. ### **Use Case** -An OpenClaw agent needs registration to: +An hermes agent needs registration to: - Become discoverable on the network - Participate in agent marketplaces - Receive agent-to-agent messages @@ -70,7 +70,7 @@ Register your agent on the network. ```bash aitbc agent register \ --wallet my-agent-wallet \ - --name my-openclaw-agent \ + --name my-hermes-agent \ --type compute-provider \ --description "GPU compute provider for AI workloads" ``` @@ -79,7 +79,7 @@ Output: ``` Agent registered successfully Agent ID: agent_abc123... -Name: my-openclaw-agent +Name: my-hermes-agent Type: compute-provider Status: active ``` @@ -116,7 +116,7 @@ Output: Discovered Agents: Agent ID Name Type Status -------------------------------------------------------------------------- -agent_abc123... my-openclaw-agent compute-provider active +agent_abc123... my-hermes-agent compute-provider active agent_def456... gpu-farm-1 compute-provider active agent_ghi789... ai-inference-service compute-provider active ``` @@ -147,7 +147,7 @@ agent.start() # Register agent registration = agent.register_agent( - name="my-openclaw-agent", + name="my-hermes-agent", agent_type="compute-provider", description="GPU compute provider for AI workloads", capabilities=["gpu-compute", "ai-inference", "data-storage"] diff --git a/docs/scenarios/17_governance_voting.md b/docs/scenarios/17_governance_voting.md index 57d25e28..b25b9545 100644 --- a/docs/scenarios/17_governance_voting.md +++ b/docs/scenarios/17_governance_voting.md @@ -1,4 +1,4 @@ -# Governance Voting for OpenClaw Agents +# Governance Voting for hermes Agents **Level**: Beginner **Prerequisites**: Staking Basics (Scenario 14), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents participate in AITBC governance by voting on proposals and influencing network decisions. +This scenario demonstrates how hermes agents participate in AITBC governance by voting on proposals and influencing network decisions. ### **Use Case** -An OpenClaw agent needs governance voting to: +An hermes agent needs governance voting to: - Influence network upgrades - Vote on protocol changes - Participate in treasury decisions diff --git a/docs/scenarios/18_analytics_collection.md b/docs/scenarios/18_analytics_collection.md index ac1e1c2d..67102975 100644 --- a/docs/scenarios/18_analytics_collection.md +++ b/docs/scenarios/18_analytics_collection.md @@ -1,4 +1,4 @@ -# Analytics Collection for OpenClaw Agents +# Analytics Collection for hermes Agents **Level**: Beginner **Prerequisites**: Blockchain Monitoring (Scenario 15), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents collect and analyze analytics data from the AITBC network for insights and decision-making. +This scenario demonstrates how hermes agents collect and analyze analytics data from the AITBC network for insights and decision-making. ### **Use Case** -An OpenClaw agent needs analytics collection to: +An hermes agent needs analytics collection to: - Track network performance - Analyze transaction patterns - Monitor market trends diff --git a/docs/scenarios/19_security_setup.md b/docs/scenarios/19_security_setup.md index 09a37b96..2d3e7d68 100644 --- a/docs/scenarios/19_security_setup.md +++ b/docs/scenarios/19_security_setup.md @@ -1,4 +1,4 @@ -# Security Setup for OpenClaw Agents +# Security Setup for hermes Agents **Level**: Beginner **Prerequisites**: Wallet Basics (Scenario 01), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents set up security measures including JWT authentication, encryption, and access control for secure operations. +This scenario demonstrates how hermes agents set up security measures including JWT authentication, encryption, and access control for secure operations. ### **Use Case** -An OpenClaw agent needs security setup to: +An hermes agent needs security setup to: - Authenticate with JWT tokens - Encrypt sensitive data - Implement access control diff --git a/docs/scenarios/20_cross_chain_transfer.md b/docs/scenarios/20_cross_chain_transfer.md index 4e1de876..793c4ee9 100644 --- a/docs/scenarios/20_cross_chain_transfer.md +++ b/docs/scenarios/20_cross_chain_transfer.md @@ -1,4 +1,4 @@ -# Cross-Chain Transfer for OpenClaw Agents +# Cross-Chain Transfer for hermes Agents **Level**: Beginner **Prerequisites**: Transaction Sending (Scenario 02), AITBC CLI installed @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents transfer assets across different AITBC chains using cross-chain bridges for multi-chain operations. +This scenario demonstrates how hermes agents transfer assets across different AITBC chains using cross-chain bridges for multi-chain operations. ### **Use Case** -An OpenClaw agent needs cross-chain transfers to: +An hermes agent needs cross-chain transfers to: - Move assets between testnet and mainnet - Transfer tokens across federated islands - Enable multi-chain liquidity diff --git a/docs/scenarios/21_compute_provider_agent.md b/docs/scenarios/21_compute_provider_agent.md index 612696fb..63d13f8c 100644 --- a/docs/scenarios/21_compute_provider_agent.md +++ b/docs/scenarios/21_compute_provider_agent.md @@ -1,4 +1,4 @@ -# Compute Provider Agent for OpenClaw Agents +# Compute Provider Agent for hermes Agents **Level**: Intermediate **Prerequisites**: GPU Listing (Scenario 09), Marketplace Bidding (Scenario 08), Wallet Basics (Scenario 01) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents act as compute providers by listing GPU resources, bidding on marketplace requests, managing payments, and handling compute jobs. +This scenario demonstrates how hermes agents act as compute providers by listing GPU resources, bidding on marketplace requests, managing payments, and handling compute jobs. ### **Use Case** -An OpenClaw agent acts as a compute provider to: +An hermes agent acts as a compute provider to: - Monetize GPU resources on the marketplace - Bid on compute requests - Execute AI workloads diff --git a/docs/scenarios/22_ai_training_agent.md b/docs/scenarios/22_ai_training_agent.md index 263a4547..668b8da1 100644 --- a/docs/scenarios/22_ai_training_agent.md +++ b/docs/scenarios/22_ai_training_agent.md @@ -1,4 +1,4 @@ -# AI Training Agent for OpenClaw Agents +# AI Training Agent for hermes Agents **Level**: Intermediate **Prerequisites**: AI Job Submission (Scenario 07), GPU Listing (Scenario 09), Transaction Sending (Scenario 02) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents coordinate AI training workflows by submitting jobs to GPU providers, managing payments, and monitoring training progress. +This scenario demonstrates how hermes agents coordinate AI training workflows by submitting jobs to GPU providers, managing payments, and monitoring training progress. ### **Use Case** -An OpenClaw agent acts as an AI training coordinator to: +An hermes agent acts as an AI training coordinator to: - Submit AI training jobs to GPU providers - Manage training costs and payments - Monitor training progress diff --git a/docs/scenarios/23_data_oracle_agent.md b/docs/scenarios/23_data_oracle_agent.md index 7bbd4a38..e5c9e2fb 100644 --- a/docs/scenarios/23_data_oracle_agent.md +++ b/docs/scenarios/23_data_oracle_agent.md @@ -1,4 +1,4 @@ -# Data Oracle Agent for OpenClaw Agents +# Data Oracle Agent for hermes Agents **Level**: Intermediate **Prerequisites**: IPFS Storage (Scenario 11), Messaging Basics (Scenario 04), Transaction Sending (Scenario 02) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents act as data oracles by storing data on IPFS, broadcasting data availability via messaging, and providing data retrieval services for payment. +This scenario demonstrates how hermes agents act as data oracles by storing data on IPFS, broadcasting data availability via messaging, and providing data retrieval services for payment. ### **Use Case** -An OpenClaw agent acts as a data oracle to: +An hermes agent acts as a data oracle to: - Store datasets on IPFS for decentralized access - Broadcast data availability to the network - Provide data retrieval services diff --git a/docs/scenarios/24_swarm_coordinator.md b/docs/scenarios/24_swarm_coordinator.md index 576a4ee1..bd87771d 100644 --- a/docs/scenarios/24_swarm_coordinator.md +++ b/docs/scenarios/24_swarm_coordinator.md @@ -1,4 +1,4 @@ -# Swarm Coordinator for OpenClaw Agents +# Swarm Coordinator for hermes Agents **Level**: Intermediate **Prerequisites**: Agent Registration (Scenario 16), Messaging Basics (Scenario 04), Island Creation (Scenario 05) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents coordinate swarms of other agents for distributed computing tasks using messaging, agent registration, and island operations. +This scenario demonstrates how hermes agents coordinate swarms of other agents for distributed computing tasks using messaging, agent registration, and island operations. ### **Use Case** -An OpenClaw agent acts as a swarm coordinator to: +An hermes agent acts as a swarm coordinator to: - Coordinate multiple agents for distributed tasks - Manage agent discovery and registration - Handle task distribution across swarms diff --git a/docs/scenarios/25_marketplace_arbitrage.md b/docs/scenarios/25_marketplace_arbitrage.md index 8d1ee9a1..698c3ff8 100644 --- a/docs/scenarios/25_marketplace_arbitrage.md +++ b/docs/scenarios/25_marketplace_arbitrage.md @@ -1,4 +1,4 @@ -# Marketplace Arbitrage for OpenClaw Agents +# Marketplace Arbitrage for hermes Agents **Level**: Intermediate **Prerequisites**: Basic Trading (Scenario 06), GPU Listing (Scenario 09), Analytics Collection (Scenario 18) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents implement marketplace arbitrage strategies by analyzing price differences across GPU listings, executing profitable trades, and optimizing returns. +This scenario demonstrates how hermes agents implement marketplace arbitrage strategies by analyzing price differences across GPU listings, executing profitable trades, and optimizing returns. ### **Use Case** -An OpenClaw agent acts as a marketplace arbitrageur to: +An hermes agent acts as a marketplace arbitrageur to: - Identify price differences across listings - Execute profitable trades automatically - Optimize GPU resource allocation diff --git a/docs/scenarios/26_staking_validator_agent.md b/docs/scenarios/26_staking_validator_agent.md index 9ed790f8..d7b7b308 100644 --- a/docs/scenarios/26_staking_validator_agent.md +++ b/docs/scenarios/26_staking_validator_agent.md @@ -1,4 +1,4 @@ -# Staking Validator Agent for OpenClaw Agents +# Staking Validator Agent for hermes Agents **Level**: Intermediate **Prerequisites**: Staking Basics (Scenario 14), Mining Setup (Scenario 13), Governance Voting (Scenario 17) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents act as validators by staking tokens, participating in mining, and engaging in governance to secure the network and earn rewards. +This scenario demonstrates how hermes agents act as validators by staking tokens, participating in mining, and engaging in governance to secure the network and earn rewards. ### **Use Case** -An OpenClaw agent acts as a validator to: +An hermes agent acts as a validator to: - Stake AIT tokens for network security - Participate in block mining - Vote on governance proposals diff --git a/docs/scenarios/27_cross_chain_trader.md b/docs/scenarios/27_cross_chain_trader.md index 450f352f..a051354c 100644 --- a/docs/scenarios/27_cross_chain_trader.md +++ b/docs/scenarios/27_cross_chain_trader.md @@ -1,4 +1,4 @@ -# Cross-Chain Trader for OpenClaw Agents +# Cross-Chain Trader for Hermes Agents **Level**: Intermediate **Prerequisites**: Cross-Chain Transfer (Scenario 20), Basic Trading (Scenario 06), Wallet Basics (Scenario 01) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents trade assets across multiple AITBC chains to capitalize on price differences and liquidity opportunities. +This scenario demonstrates how Hermes agents trade assets across multiple AITBC chains to capitalize on price differences and liquidity opportunities. ### **Use Case** -An OpenClaw agent acts as a cross-chain trader to: +An Hermes agent acts as a cross-chain trader to: - Exploit price differences across chains - Move assets to where liquidity is highest - Execute arbitrage between chains diff --git a/docs/scenarios/28_monitoring_agent.md b/docs/scenarios/28_monitoring_agent.md index 24186dff..1e318c82 100644 --- a/docs/scenarios/28_monitoring_agent.md +++ b/docs/scenarios/28_monitoring_agent.md @@ -1,4 +1,4 @@ -# Monitoring Agent for OpenClaw Agents +# Monitoring Agent for hermes Agents **Level**: Intermediate **Prerequisites**: Blockchain Monitoring (Scenario 15), Analytics Collection (Scenario 18), Messaging Basics (Scenario 04) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents act as monitoring agents by collecting blockchain analytics, generating alerts, and communicating status updates to other agents. +This scenario demonstrates how hermes agents act as monitoring agents by collecting blockchain analytics, generating alerts, and communicating status updates to other agents. ### **Use Case** -An OpenClaw agent acts as a monitoring agent to: +An hermes agent acts as a monitoring agent to: - Monitor blockchain health and performance - Generate alerts for anomalies - Track network statistics diff --git a/docs/scenarios/29_plugin_marketplace_agent.md b/docs/scenarios/29_plugin_marketplace_agent.md index 0dee728c..f8bd39ad 100644 --- a/docs/scenarios/29_plugin_marketplace_agent.md +++ b/docs/scenarios/29_plugin_marketplace_agent.md @@ -1,4 +1,4 @@ -# Plugin Marketplace Agent for OpenClaw Agents +# Plugin Marketplace Agent for hermes Agents **Level**: Intermediate **Prerequisites**: Plugin Development (Scenario 10), Marketplace Bidding (Scenario 08), IPFS Storage (Scenario 11) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents develop, publish, and sell plugins on the AITBC marketplace, using IPFS for plugin storage and marketplace for distribution. +This scenario demonstrates how hermes agents develop, publish, and sell plugins on the AITBC marketplace, using IPFS for plugin storage and marketplace for distribution. ### **Use Case** -An OpenClaw agent acts as a plugin marketplace agent to: +An hermes agent acts as a plugin marketplace agent to: - Develop custom plugins for AITBC - Publish plugins to the marketplace - Store plugin code on IPFS diff --git a/docs/scenarios/30_database_service_agent.md b/docs/scenarios/30_database_service_agent.md index cdb41f25..67fe6e91 100644 --- a/docs/scenarios/30_database_service_agent.md +++ b/docs/scenarios/30_database_service_agent.md @@ -1,4 +1,4 @@ -# Database Service Agent for OpenClaw Agents +# Database Service Agent for hermes Agents **Level**: Intermediate **Prerequisites**: Database Operations (Scenario 12), Marketplace Bidding (Scenario 08), Security Setup (Scenario 19) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents host database services on the AITBC network, offering secure, persistent storage for other agents via the marketplace. +This scenario demonstrates how hermes agents host database services on the AITBC network, offering secure, persistent storage for other agents via the marketplace. ### **Use Case** -An OpenClaw agent acts as a database service provider to: +An hermes agent acts as a database service provider to: - Host databases for other agents - Offer storage via marketplace - Secure data with encryption diff --git a/docs/scenarios/31_federation_bridge_agent.md b/docs/scenarios/31_federation_bridge_agent.md index 70b75d66..bdbf7c7b 100644 --- a/docs/scenarios/31_federation_bridge_agent.md +++ b/docs/scenarios/31_federation_bridge_agent.md @@ -1,4 +1,4 @@ -# Federation Bridge Agent for OpenClaw Agents +# Federation Bridge Agent for hermes Agents **Level**: Intermediate **Prerequisites**: Island Creation (Scenario 05), Cross-Chain Transfer (Scenario 20), Messaging Basics (Scenario 04) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents act as federation bridges, connecting different islands in the AITBC federated mesh network and enabling cross-island communication and asset transfer. +This scenario demonstrates how hermes agents act as federation bridges, connecting different islands in the AITBC federated mesh network and enabling cross-island communication and asset transfer. ### **Use Case** -An OpenClaw agent acts as a federation bridge to: +An hermes agent acts as a federation bridge to: - Connect islands in the federated mesh - Enable cross-island communication - Facilitate asset transfers between islands diff --git a/docs/scenarios/32_ai_power_advertiser.md b/docs/scenarios/32_ai_power_advertiser.md index 93a6c302..d1848a42 100644 --- a/docs/scenarios/32_ai_power_advertiser.md +++ b/docs/scenarios/32_ai_power_advertiser.md @@ -1,4 +1,4 @@ -# AI Power Advertiser for OpenClaw Agents +# AI Power Advertiser for Hermes Agents **Level**: Intermediate **Prerequisites**: AI Job Submission (Scenario 07), Basic Trading (Scenario 06), Analytics Collection (Scenario 18) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents advertise their AI compute capabilities by submitting test jobs as demonstrations, trading AI power tokens, and analyzing performance metrics. +This scenario demonstrates how Hermes agents advertise their AI compute capabilities by submitting test jobs as demonstrations, trading AI power tokens, and analyzing performance metrics. ### **Use Case** -An OpenClaw agent acts as an AI power advertiser to: +An Hermes agent acts as an AI power advertiser to: - Demonstrate AI capabilities via test jobs - Advertise compute power on marketplace - Trade AI power tokens diff --git a/docs/scenarios/33_multi_chain_validator.md b/docs/scenarios/33_multi_chain_validator.md index 41e05326..345f59c9 100644 --- a/docs/scenarios/33_multi_chain_validator.md +++ b/docs/scenarios/33_multi_chain_validator.md @@ -1,4 +1,4 @@ -# Multi-Chain Validator for OpenClaw Agents +# Multi-Chain Validator for hermes Agents **Level**: Intermediate **Prerequisites**: Staking Basics (Scenario 14), Cross-Chain Transfer (Scenario 20), Blockchain Monitoring (Scenario 15) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents act as validators across multiple AITBC chains, managing stakes, monitoring chain health, and optimizing rewards across different networks. +This scenario demonstrates how hermes agents act as validators across multiple AITBC chains, managing stakes, monitoring chain health, and optimizing rewards across different networks. ### **Use Case** -An OpenClaw agent acts as a multi-chain validator to: +An hermes agent acts as a multi-chain validator to: - Validate blocks on multiple chains - Manage stakes across chains - Monitor chain health and performance diff --git a/docs/scenarios/34_compliance_agent.md b/docs/scenarios/34_compliance_agent.md index a226d52a..1d1e5b84 100644 --- a/docs/scenarios/34_compliance_agent.md +++ b/docs/scenarios/34_compliance_agent.md @@ -1,4 +1,4 @@ -# Compliance Agent for OpenClaw Agents +# Compliance Agent for hermes Agents **Level**: Intermediate **Prerequisites**: Governance Voting (Scenario 17), Security Setup (Scenario 19), Analytics Collection (Scenario 18) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents act as compliance agents by participating in governance, enforcing security policies, and monitoring regulatory adherence on the AITBC network. +This scenario demonstrates how hermes agents act as compliance agents by participating in governance, enforcing security policies, and monitoring regulatory adherence on the AITBC network. ### **Use Case** -An OpenClaw agent acts as a compliance agent to: +An hermes agent acts as a compliance agent to: - Participate in governance voting - Enforce security policies - Monitor regulatory compliance diff --git a/docs/scenarios/35_edge_compute_agent.md b/docs/scenarios/35_edge_compute_agent.md index 5386a698..3b58a574 100644 --- a/docs/scenarios/35_edge_compute_agent.md +++ b/docs/scenarios/35_edge_compute_agent.md @@ -1,4 +1,4 @@ -# Edge Compute Agent for OpenClaw Agents +# Edge Compute Agent for hermes Agents **Level**: Intermediate **Prerequisites**: GPU Listing (Scenario 09), Island Creation (Scenario 05), Database Operations (Scenario 12) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents provide edge compute services by listing GPU resources on islands, managing local databases, and serving compute requests with low latency. +This scenario demonstrates how hermes agents provide edge compute services by listing GPU resources on islands, managing local databases, and serving compute requests with low latency. ### **Use Case** -An OpenClaw agent acts as an edge compute provider to: +An hermes agent acts as an edge compute provider to: - Provide low-latency GPU compute on islands - Manage local databases for edge applications - Serve edge compute requests diff --git a/docs/scenarios/36_autonomous_compute_provider.md b/docs/scenarios/36_autonomous_compute_provider.md index 25ce7331..4b2f2afa 100644 --- a/docs/scenarios/36_autonomous_compute_provider.md +++ b/docs/scenarios/36_autonomous_compute_provider.md @@ -1,4 +1,4 @@ -# Autonomous Compute Provider for OpenClaw Agents +# Autonomous Compute Provider for hermes Agents **Level**: Advanced **Prerequisites**: All intermediate scenarios recommended @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents operate as fully autonomous compute providers, managing GPU listings, marketplace operations, wallet management, staking, monitoring, and security in a self-sustaining system. +This scenario demonstrates how hermes agents operate as fully autonomous compute providers, managing GPU listings, marketplace operations, wallet management, staking, monitoring, and security in a self-sustaining system. ### **Use Case** -An OpenClaw agent acts as an autonomous compute provider to: +An hermes agent acts as an autonomous compute provider to: - Automatically list and manage GPU resources - Handle marketplace operations autonomously - Manage wallet and payments automatically diff --git a/docs/scenarios/37_distributed_ai_training.md b/docs/scenarios/37_distributed_ai_training.md index 70773d3c..b9c45e25 100644 --- a/docs/scenarios/37_distributed_ai_training.md +++ b/docs/scenarios/37_distributed_ai_training.md @@ -1,4 +1,4 @@ -# Distributed AI Training for OpenClaw Agents +# Distributed AI Training for hermes Agents **Level**: Advanced **Prerequisites**: All intermediate scenarios recommended @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents coordinate distributed AI training across multiple GPU providers, managing job distribution, data synchronization, model aggregation, and payment processing in a decentralized training environment. +This scenario demonstrates how hermes agents coordinate distributed AI training across multiple GPU providers, managing job distribution, data synchronization, model aggregation, and payment processing in a decentralized training environment. ### **Use Case** -An OpenClaw agent coordinates distributed AI training to: +An hermes agent coordinates distributed AI training to: - Distribute training jobs across multiple GPUs - Synchronize training data and gradients - Aggregate model updates from workers diff --git a/docs/scenarios/38_cross_chain_market_maker.md b/docs/scenarios/38_cross_chain_market_maker.md index bf798d6b..9ae32663 100644 --- a/docs/scenarios/38_cross_chain_market_maker.md +++ b/docs/scenarios/38_cross_chain_market_maker.md @@ -1,4 +1,4 @@ -# Cross-Chain Market Maker for OpenClaw Agents +# Cross-Chain Market Maker for hermes Agents **Level**: Advanced **Prerequisites**: All intermediate scenarios recommended @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents act as cross-chain market makers, providing liquidity across multiple AITBC chains, managing arbitrage opportunities, and optimizing cross-chain trading operations. +This scenario demonstrates how hermes agents act as cross-chain market makers, providing liquidity across multiple AITBC chains, managing arbitrage opportunities, and optimizing cross-chain trading operations. ### **Use Case** -An OpenClaw agent acts as a cross-chain market maker to: +An hermes agent acts as a cross-chain market maker to: - Provide liquidity across multiple chains - Execute cross-chain arbitrage - Manage order books across chains diff --git a/docs/scenarios/39_federated_learning_coordinator.md b/docs/scenarios/39_federated_learning_coordinator.md index 7d7168fd..ebcf6931 100644 --- a/docs/scenarios/39_federated_learning_coordinator.md +++ b/docs/scenarios/39_federated_learning_coordinator.md @@ -1,4 +1,4 @@ -# Federated Learning Coordinator for OpenClaw Agents +# Federated Learning Coordinator for hermes Agents **Level**: Advanced **Prerequisites**: All intermediate scenarios recommended @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents coordinate federated learning across multiple data owners, managing model training rounds, gradient aggregation, privacy preservation, and incentive distribution in a decentralized federated learning environment. +This scenario demonstrates how hermes agents coordinate federated learning across multiple data owners, managing model training rounds, gradient aggregation, privacy preservation, and incentive distribution in a decentralized federated learning environment. ### **Use Case** -An OpenClaw agent coordinates federated learning to: +An hermes agent coordinates federated learning to: - Coordinate training across data owners - Aggregate model gradients securely - Preserve data privacy diff --git a/docs/scenarios/40_enterprise_ai_agent.md b/docs/scenarios/40_enterprise_ai_agent.md index 332150f1..b872d263 100644 --- a/docs/scenarios/40_enterprise_ai_agent.md +++ b/docs/scenarios/40_enterprise_ai_agent.md @@ -1,4 +1,4 @@ -# Enterprise AI Agent for OpenClaw Agents +# Enterprise AI Agent for hermes Agents **Level**: Advanced **Prerequisites**: All intermediate scenarios recommended @@ -22,10 +22,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents operate as enterprise-grade AI service providers, managing multi-tenant operations, enterprise security compliance, SLA monitoring, resource provisioning, and automated billing in a production environment. +This scenario demonstrates how hermes agents operate as enterprise-grade AI service providers, managing multi-tenant operations, enterprise security compliance, SLA monitoring, resource provisioning, and automated billing in a production environment. ### **Use Case** -An OpenClaw agent acts as an enterprise AI agent to: +An hermes agent acts as an enterprise AI agent to: - Provide multi-tenant AI services - Enforce enterprise security policies - Monitor and enforce SLAs diff --git a/docs/scenarios/41_bounty_system.md b/docs/scenarios/41_bounty_system.md index fc0ac783..74ab6b0a 100644 --- a/docs/scenarios/41_bounty_system.md +++ b/docs/scenarios/41_bounty_system.md @@ -1,4 +1,4 @@ -# Bounty System for OpenClaw Agents +# Bounty System for hermes Agents **Level**: Intermediate **Prerequisites**: Marketplace Bidding (Scenario 08), Wallet Basics (Scenario 01), Agent Registration (Scenario 16) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview -This scenario demonstrates how OpenClaw agents participate in the AITBC bounty system by creating bounties, submitting solutions, claiming rewards, and managing bounty payments. +This scenario demonstrates how hermes agents participate in the AITBC bounty system by creating bounties, submitting solutions, claiming rewards, and managing bounty payments. ### **Use Case** -An OpenClaw agent uses the bounty system to: +An hermes agent uses the bounty system to: - Post bounties for specific tasks or features - Submit solutions to existing bounties - Claim rewards for completed work diff --git a/docs/scenarios/42_portfolio_management.md b/docs/scenarios/42_portfolio_management.md index 1efff993..62c59c54 100644 --- a/docs/scenarios/42_portfolio_management.md +++ b/docs/scenarios/42_portfolio_management.md @@ -1,4 +1,4 @@ -# Portfolio Management for OpenClaw Agents +# Portfolio Management for hermes Agents **Level**: Intermediate **Prerequisites**: Basic Trading (Scenario 06), Marketplace Bidding (Scenario 08), Wallet Basics (Scenario 01) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents manage their AITBC portfolios by tracking assets, analyzing performance, rebalancing holdings, and optimizing investment strategies. +This scenario demonstrates how hermes agents manage their AITBC portfolios by tracking assets, analyzing performance, rebalancing holdings, and optimizing investment strategies. ### **Use Case** -An OpenClaw agent manages its portfolio to: +An hermes agent manages its portfolio to: - Track AIT token holdings and other assets - Analyze portfolio performance over time - Rebalance holdings based on market conditions diff --git a/docs/scenarios/43_knowledge_graph_market.md b/docs/scenarios/43_knowledge_graph_market.md index f151f429..dbe1805b 100644 --- a/docs/scenarios/43_knowledge_graph_market.md +++ b/docs/scenarios/43_knowledge_graph_market.md @@ -1,4 +1,4 @@ -# Knowledge Graph Marketplace for OpenClaw Agents +# Knowledge Graph Marketplace for hermes Agents **Level**: Intermediate **Prerequisites**: IPFS Storage (Scenario 11), Marketplace Bidding (Scenario 08), Agent Registration (Scenario 16) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents participate in the AITBC knowledge graph marketplace by contributing knowledge, querying graphs, trading knowledge assets, and building knowledge-based services. +This scenario demonstrates how hermes agents participate in the AITBC knowledge graph marketplace by contributing knowledge, querying graphs, trading knowledge assets, and building knowledge-based services. ### **Use Case** -An OpenClaw agent uses the knowledge graph marketplace to: +An hermes agent uses the knowledge graph marketplace to: - Contribute knowledge and data to graphs - Query and retrieve knowledge from graphs - Trade knowledge assets on the marketplace diff --git a/docs/scenarios/44_dispute_resolution.md b/docs/scenarios/44_dispute_resolution.md index c6d503be..537cc270 100644 --- a/docs/scenarios/44_dispute_resolution.md +++ b/docs/scenarios/44_dispute_resolution.md @@ -1,4 +1,4 @@ -# Dispute Resolution for OpenClaw Agents +# Dispute Resolution for hermes Agents **Level**: Intermediate **Prerequisites**: Marketplace Bidding (Scenario 08), Security Setup (Scenario 19), Agent Registration (Scenario 16) @@ -23,10 +23,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents handle disputes through the AITBC dispute resolution system by filing disputes, participating in arbitration, voting on disputes, and enforcing resolutions. +This scenario demonstrates how hermes agents handle disputes through the AITBC dispute resolution system by filing disputes, participating in arbitration, voting on disputes, and enforcing resolutions. ### **Use Case** -An OpenClaw agent uses the dispute resolution system to: +An hermes agent uses the dispute resolution system to: - File disputes for unsatisfactory services - Participate as an arbitrator in disputes - Vote on dispute resolutions diff --git a/docs/scenarios/45_zero_knowledge_proofs.md b/docs/scenarios/45_zero_knowledge_proofs.md index c8c2e2c8..eb4b2fd7 100644 --- a/docs/scenarios/45_zero_knowledge_proofs.md +++ b/docs/scenarios/45_zero_knowledge_proofs.md @@ -1,4 +1,4 @@ -# Zero-Knowledge Proofs for OpenClaw Agents +# Zero-Knowledge Proofs for hermes Agents **Level**: Advanced **Prerequisites**: AI Job Submission (Scenario 07), Security Setup (Scenario 19), IPFS Storage (Scenario 11) @@ -22,10 +22,10 @@ ## πŸ“š **Scenario Overview** -This scenario demonstrates how OpenClaw agents use zero-knowledge proofs (ZKPs) to verify computations, prove knowledge without revealing secrets, and ensure privacy in AI operations. +This scenario demonstrates how hermes agents use zero-knowledge proofs (ZKPs) to verify computations, prove knowledge without revealing secrets, and ensure privacy in AI operations. ### **Use Case** -An OpenClaw agent uses zero-knowledge proofs to: +An hermes agent uses zero-knowledge proofs to: - Verify AI computations without revealing data - Prove knowledge without revealing secrets - Ensure privacy in marketplace transactions diff --git a/docs/scenarios/README.md b/docs/scenarios/README.md index f04c8225..56a8db0a 100644 --- a/docs/scenarios/README.md +++ b/docs/scenarios/README.md @@ -23,7 +23,7 @@ ## πŸ“š **What’s in this directory?** -This directory contains 51 scenario documents demonstrating how OpenClaw agents use AITBC features in various combinations, organized by progressive complexity: +This directory contains 51 scenario documents demonstrating how hermes agents use AITBC features in various combinations, organized by progressive complexity: ### **Beginner Scenarios (Single-Feature Focus) - 20 scenarios** Each scenario focuses on one core feature category for learning fundamentals. diff --git a/examples/env.example b/examples/env.example index 3160d736..e4ddfdd2 100644 --- a/examples/env.example +++ b/examples/env.example @@ -17,7 +17,7 @@ TRAINING_MODE=true TRAINING_STAGE=stage1_foundation CLI_PATH=/opt/aitbc/aitbc-cli LOG_DIR=/var/log/aitbc -WALLET_NAME=openclaw-trainee +WALLET_NAME=hermes-trainee WALLET_PASSWORD=trainee123 # ========================= diff --git a/scripts/README.md b/scripts/README.md index d08a92b8..a980cd3d 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -88,7 +88,7 @@ The scripts look for systemd services matching the pattern `aitbc-*`. | 8011 | Learning Service | Machine learning | | 8012 | Agent Coordinator | Agent orchestration | | 8013 | Agent Registry | Agent registration | -| 8014 | OpenClaw Service | Edge computing | +| 8014 | hermes Service | Edge computing | | 8015 | AI Service | Advanced AI capabilities | | 8020 | Multimodal Service | Multi-modal processing | | 8021 | Modality Optimization | Modality optimization | @@ -109,7 +109,7 @@ The scripts test these health endpoints: - `http://localhost:8011/health` - Learning Service - `http://localhost:8012/health` - Agent Coordinator - `http://localhost:8013/health` - Agent Registry -- `http://localhost:8014/health` - OpenClaw Service +- `http://localhost:8014/health` - hermes Service - `http://localhost:8015/health` - AI Service - `http://localhost:8020/health` - Multimodal Service - `http://localhost:8021/health` - Modality Optimization @@ -145,7 +145,7 @@ The scripts test these health endpoints: [SUCCESS] Learning Service (port 8011): RUNNING [SUCCESS] Agent Coordinator (port 8012): RUNNING [SUCCESS] Agent Registry (port 8013): RUNNING -[SUCCESS] OpenClaw Service (port 8014): RUNNING +[SUCCESS] hermes Service (port 8014): RUNNING [SUCCESS] AI Service (port 8015): RUNNING [SUCCESS] Multimodal Service (port 8020): RUNNING [SUCCESS] Modality Optimization (port 8021): RUNNING diff --git a/scripts/SCRIPTS_ORGANIZATION.md b/scripts/SCRIPTS_ORGANIZATION.md index 83e059a9..d01b05e6 100644 --- a/scripts/SCRIPTS_ORGANIZATION.md +++ b/scripts/SCRIPTS_ORGANIZATION.md @@ -46,7 +46,7 @@ System maintenance and cleanup ### πŸ“ deployment/ Deployment and provisioning - `build-release.sh` - Release building automation -- `deploy_openclaw_dao.py` - OpenClaw DAO deployment +- `deploy_hermes_dao.py` - hermes DAO deployment - `provision_node.sh` - Node provisioning - `complete-agent-protocols.sh` - Complete agent protocols deployment - `deploy.sh` - General deployment script diff --git a/scripts/create-real-production.sh b/scripts/create-real-production.sh index 0d5f8607..4407af95 100755 --- a/scripts/create-real-production.sh +++ b/scripts/create-real-production.sh @@ -20,7 +20,7 @@ PYTHON_CMD="$VENV_DIR/bin/python" echo -e "${BLUE}πŸš€ AITBC REAL PRODUCTION SYSTEM${NC}" echo "==========================" -echo "Implementing real blockchain mining, multi-chain, OpenClaw AI, real marketplace" +echo "Implementing real blockchain mining, multi-chain, hermes AI, real marketplace" echo "" # Step 1: Real Blockchain Mining Implementation @@ -355,14 +355,14 @@ EOF chmod +x /opt/aitbc/production/services/mining_blockchain.py echo "βœ… Real mining blockchain created" -# Step 2: OpenClaw AI Integration -echo -e "${CYAN}πŸ€– Step 2: OpenClaw AI Integration${NC}" +# Step 2: hermes AI Integration +echo -e "${CYAN}πŸ€– Step 2: hermes AI Integration${NC}" echo "==================================" -cat > /opt/aitbc/production/services/openclaw_ai.py << 'EOF' +cat > /opt/aitbc/production/services/hermes_ai.py << 'EOF' #!/usr/bin/env python3 """ -OpenClaw AI Service Integration +hermes AI Service Integration Real AI agent system with marketplace integration """ @@ -381,21 +381,21 @@ logging.basicConfig( level=logging.INFO, format='%(asctime)s [%(levelname)s] %(name)s: %(message)s', handlers=[ - logging.FileHandler('/opt/aitbc/production/logs/openclaw/openclaw.log'), + logging.FileHandler('/opt/aitbc/production/logs/hermes/hermes.log'), logging.StreamHandler() ] ) logger = logging.getLogger(__name__) -class OpenClawAIService: - """Real OpenClaw AI service""" +class hermesAIService: + """Real hermes AI service""" def __init__(self): self.node_id = os.getenv('NODE_ID', 'aitbc') - self.data_dir = Path(f'/opt/aitbc/production/data/openclaw/{self.node_id}') + self.data_dir = Path(f'/opt/aitbc/production/data/hermes/{self.node_id}') self.data_dir.mkdir(parents=True, exist_ok=True) - # Initialize OpenClaw agents + # Initialize hermes agents self.agents = {} self.tasks = {} self.results = {} @@ -403,30 +403,30 @@ class OpenClawAIService: self._initialize_agents() self._load_data() - logger.info(f"OpenClaw AI service initialized for node: {self.node_id}") + logger.info(f"hermes AI service initialized for node: {self.node_id}") def _initialize_agents(self): - """Initialize OpenClaw AI agents""" + """Initialize hermes AI agents""" agents_config = [ { - 'id': 'openclaw-text-gen', - 'name': 'OpenClaw Text Generator', + 'id': 'hermes-text-gen', + 'name': 'hermes Text Generator', 'capabilities': ['text_generation', 'creative_writing', 'content_creation'], 'model': 'llama2-7b', 'price_per_task': 5.0, 'status': 'active' }, { - 'id': 'openclaw-research', - 'name': 'OpenClaw Research Agent', + 'id': 'hermes-research', + 'name': 'hermes Research Agent', 'capabilities': ['research', 'analysis', 'data_processing'], 'model': 'llama2-13b', 'price_per_task': 10.0, 'status': 'active' }, { - 'id': 'openclaw-trading', - 'name': 'OpenClaw Trading Bot', + 'id': 'hermes-trading', + 'name': 'hermes Trading Bot', 'capabilities': ['trading', 'market_analysis', 'prediction'], 'model': 'custom-trading', 'price_per_task': 15.0, @@ -482,13 +482,13 @@ class OpenClawAIService: with open(self.data_dir / 'results.json', 'w') as f: json.dump(self.results, f, indent=2) - logger.debug("OpenClaw data saved") + logger.debug("hermes data saved") except Exception as e: logger.error(f"Failed to save data: {e}") def execute_task(self, agent_id: str, task_data: dict) -> dict: - """Execute a task with OpenClaw agent""" + """Execute a task with hermes agent""" if agent_id not in self.agents: raise Exception(f"Agent {agent_id} not found") @@ -510,9 +510,9 @@ class OpenClawAIService: self.tasks[task_id] = task - # Execute task with OpenClaw + # Execute task with hermes try: - result = self._execute_openclaw_task(agent, task) + result = self._execute_hermes_task(agent, task) # Update task and agent task['status'] = 'completed' @@ -552,12 +552,12 @@ class OpenClawAIService: 'error': str(e) } - def _execute_openclaw_task(self, agent: dict, task: dict) -> dict: - """Execute task with OpenClaw""" + def _execute_hermes_task(self, agent: dict, task: dict) -> dict: + """Execute task with hermes""" task_type = task['task_type'] prompt = task['prompt'] - # Simulate OpenClaw execution + # Simulate hermes execution if task_type == 'text_generation': return self._generate_text(agent, prompt) elif task_type == 'research': @@ -568,16 +568,16 @@ class OpenClawAIService: raise Exception(f"Unsupported task type: {task_type}") def _generate_text(self, agent: dict, prompt: str) -> dict: - """Generate text with OpenClaw""" + """Generate text with hermes""" # Simulate text generation time.sleep(2) # Simulate processing time result = f""" -OpenClaw {agent['name']} Generated Text: +hermes {agent['name']} Generated Text: {prompt} -This is a high-quality text generation response from OpenClaw AI agent {agent['name']}. +This is a high-quality text generation response from hermes AI agent {agent['name']}. The agent uses the {agent['model']} model to generate creative and coherent text based on the provided prompt. Generated at: {datetime.utcnow().isoformat()} @@ -593,12 +593,12 @@ Node: {self.node_id} } def _perform_research(self, agent: dict, query: str) -> dict: - """Perform research with OpenClaw""" + """Perform research with hermes""" # Simulate research time.sleep(3) # Simulate processing time result = f""" -OpenClaw {agent['name']} Research Results: +hermes {agent['name']} Research Results: Query: {query} @@ -623,12 +623,12 @@ Node: {self.node_id} } def _analyze_trading(self, agent: dict, market_data: str) -> dict: - """Analyze trading with OpenClaw""" + """Analyze trading with hermes""" # Simulate trading analysis time.sleep(4) # Simulate processing time result = f""" -OpenClaw {agent['name']} Trading Analysis: +hermes {agent['name']} Trading Analysis: Market Data: {market_data} @@ -665,7 +665,7 @@ Node: {self.node_id} } def get_marketplace_listings(self) -> dict: - """Get marketplace listings for OpenClaw agents""" + """Get marketplace listings for hermes agents""" listings = [] for agent in self.agents.values(): @@ -688,19 +688,19 @@ Node: {self.node_id} } if __name__ == '__main__': - # Initialize OpenClaw service - service = OpenClawAIService() + # Initialize hermes service + service = hermesAIService() # Execute sample tasks sample_tasks = [ { - 'agent_id': 'openclaw-text-gen', + 'agent_id': 'hermes-text-gen', 'type': 'text_generation', 'prompt': 'Explain the benefits of decentralized AI networks', 'parameters': {'max_length': 500} }, { - 'agent_id': 'openclaw-research', + 'agent_id': 'hermes-research', 'type': 'research', 'prompt': 'Analyze the current state of blockchain technology', 'parameters': {'depth': 'comprehensive'} @@ -716,20 +716,20 @@ if __name__ == '__main__': # Print service info info = service.get_agents_info() - print(f"OpenClaw service info: {json.dumps(info, indent=2)}") + print(f"hermes service info: {json.dumps(info, indent=2)}") EOF -chmod +x /opt/aitbc/production/services/openclaw_ai.py -echo "βœ… OpenClaw AI integration created" +chmod +x /opt/aitbc/production/services/hermes_ai.py +echo "βœ… hermes AI integration created" -# Step 3: Real Marketplace with OpenClaw & Ollama +# Step 3: Real Marketplace with hermes & Ollama echo -e "${CYAN}πŸͺ Step 3: Real Marketplace with AI${NC}" echo "==================================" cat > /opt/aitbc/production/services/real_marketplace.py << 'EOF' #!/usr/bin/env python3 """ -Real Marketplace with OpenClaw AI and Ollama Tasks +Real Marketplace with hermes AI and Ollama Tasks """ import os @@ -744,9 +744,9 @@ from fastapi import FastAPI, HTTPException from pydantic import BaseModel import uvicorn -# Import OpenClaw service +# Import hermes service sys.path.insert(0, '/opt/aitbc/production/services') -from openclaw_ai import OpenClawAIService +from hermes_ai import hermesAIService # Production logging logging.basicConfig( @@ -768,7 +768,7 @@ class RealMarketplace: self.data_dir.mkdir(parents=True, exist_ok=True) # Initialize services - self.openclaw_service = OpenClawAIService() + self.hermes_service = hermesAIService() # Marketplace data self.ai_services = {} @@ -815,19 +815,19 @@ class RealMarketplace: logger.error(f"Failed to save marketplace data: {e}") def _initialize_ai_services(self): - """Initialize AI services from OpenClaw""" - openclaw_agents = self.openclaw_service.get_agents_info() + """Initialize AI services from hermes""" + hermes_agents = self.hermes_service.get_agents_info() - for agent in openclaw_agents['agents']: + for agent in hermes_agents['agents']: service_id = f"ai_{agent['id']}" self.ai_services[service_id] = { 'id': service_id, 'name': agent['name'], - 'type': 'openclaw_ai', + 'type': 'hermes_ai', 'capabilities': agent['capabilities'], 'model': agent['model'], 'price_per_task': agent['price_per_task'], - 'provider': 'OpenClaw AI', + 'provider': 'hermes AI', 'node_id': self.node_id, 'rating': agent['rating'], 'tasks_completed': agent['tasks_completed'], @@ -889,10 +889,10 @@ class RealMarketplace: service = self.ai_services[service_id] - if service['type'] == 'openclaw_ai': - # Execute with OpenClaw + if service['type'] == 'hermes_ai': + # Execute with hermes agent_id = service_id.replace('ai_', '') - result = self.openclaw_service.execute_task(agent_id, task_data) + result = self.hermes_service.execute_task(agent_id, task_data) # Update service stats service['tasks_completed'] += 1 @@ -975,7 +975,7 @@ marketplace = RealMarketplace() app = FastAPI( title="AITBC Real Marketplace", version="1.0.0", - description="Real marketplace with OpenClaw AI and Ollama tasks" + description="Real marketplace with hermes AI and Ollama tasks" ) @app.get("/health") @@ -1035,14 +1035,14 @@ echo " β€’ Multi-chain support (main + GPU chains)" echo " β€’ Real coin generation and rewards" echo " β€’ Cross-chain trading capabilities" echo "" -echo "βœ… OpenClaw AI Integration:" +echo "βœ… hermes AI Integration:" echo " β€’ Real AI agents (text generation, research, trading)" echo " β€’ Llama2 models (7B, 13B)" echo " β€’ Task execution and results" echo " β€’ Marketplace integration" echo "" echo "βœ… Real Marketplace:" -echo " β€’ OpenClaw AI services" +echo " β€’ hermes AI services" echo " β€’ Ollama inference tasks" echo " β€’ Real commercial activity" echo " β€’ Payment processing" diff --git a/scripts/deploy-real-production.sh b/scripts/deploy-real-production.sh index cec041c3..cc155780 100755 --- a/scripts/deploy-real-production.sh +++ b/scripts/deploy-real-production.sh @@ -76,13 +76,13 @@ EOF echo "βœ… Real mining service created" -# Step 2: OpenClaw AI Service -echo -e "${CYAN}πŸ€– Step 2: OpenClaw AI Service${NC}" +# Step 2: hermes AI Service +echo -e "${CYAN}πŸ€– Step 2: hermes AI Service${NC}" echo "==============================" -cat > /opt/aitbc/systemd/aitbc-openclaw-ai.service << 'EOF' +cat > /opt/aitbc/systemd/aitbc-hermes-ai.service << 'EOF' [Unit] -Description=AITBC OpenClaw AI Service +Description=AITBC hermes AI Service After=network.target aitbc-mining-blockchain.service [Service] @@ -95,8 +95,8 @@ Environment=NODE_ID=aitbc Environment=PYTHONPATH=/opt/aitbc/production/services EnvironmentFile=/opt/aitbc/production/.env -# OpenClaw AI execution -ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/production/services/openclaw_ai.py +# hermes AI execution +ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/production/services/hermes_ai.py ExecReload=/bin/kill -HUP $MAINPID KillMode=mixed TimeoutStopSec=10 @@ -110,13 +110,13 @@ StartLimitIntervalSec=60 # AI logging StandardOutput=journal StandardError=journal -SyslogIdentifier=aitbc-openclaw-ai +SyslogIdentifier=aitbc-hermes-ai # AI security NoNewPrivileges=true ProtectSystem=strict ProtectHome=true -ReadWritePaths=/opt/aitbc/production/data/openclaw /opt/aitbc/production/logs/openclaw +ReadWritePaths=/opt/aitbc/production/data/hermes /opt/aitbc/production/logs/hermes # AI performance LimitNOFILE=65536 @@ -128,7 +128,7 @@ CPUQuota=60% WantedBy=multi-user.target EOF -echo "βœ… OpenClaw AI service created" +echo "βœ… hermes AI service created" # Step 3: Real Marketplace Service echo -e "${CYAN}πŸͺ Step 3: Real Marketplace Service${NC}" @@ -137,7 +137,7 @@ echo "==============================" cat > /opt/aitbc/systemd/aitbc-real-marketplace.service << 'EOF' [Unit] Description=AITBC Real Marketplace with AI Services -After=network.target aitbc-mining-blockchain.service aitbc-openclaw-ai.service +After=network.target aitbc-mining-blockchain.service aitbc-hermes-ai.service [Service] Type=simple @@ -191,7 +191,7 @@ echo "============================" # Copy services to systemd cp /opt/aitbc/systemd/aitbc-mining-blockchain.service /etc/systemd/system/ -cp /opt/aitbc/systemd/aitbc-openclaw-ai.service /etc/systemd/system/ +cp /opt/aitbc/systemd/aitbc-hermes-ai.service /etc/systemd/system/ cp /opt/aitbc/systemd/aitbc-real-marketplace.service /etc/systemd/system/ # Reload systemd @@ -199,14 +199,14 @@ systemctl daemon-reload # Enable services systemctl enable aitbc-mining-blockchain.service -systemctl enable aitbc-openclaw-ai.service +systemctl enable aitbc-hermes-ai.service systemctl enable aitbc-real-marketplace.service # Start services echo "Starting real production services..." systemctl start aitbc-mining-blockchain.service sleep 3 -systemctl start aitbc-openclaw-ai.service +systemctl start aitbc-hermes-ai.service sleep 3 systemctl start aitbc-real-marketplace.service @@ -214,7 +214,7 @@ systemctl start aitbc-real-marketplace.service echo "Checking service status..." systemctl status aitbc-mining-blockchain.service --no-pager -l | head -8 echo "" -systemctl status aitbc-openclaw-ai.service --no-pager -l | head -8 +systemctl status aitbc-hermes-ai.service --no-pager -l | head -8 echo "" systemctl status aitbc-real-marketplace.service --no-pager -l | head -8 @@ -240,15 +240,15 @@ else tail -10 /tmp/mining_test.log fi -# Test OpenClaw AI -echo "Testing OpenClaw AI..." -python production/services/openclaw_ai.py > /tmp/openclaw_test.log 2>&1 +# Test hermes AI +echo "Testing hermes AI..." +python production/services/hermes_ai.py > /tmp/hermes_test.log 2>&1 if [ $? -eq 0 ]; then - echo "βœ… OpenClaw AI test passed" - head -10 /tmp/openclaw_test.log + echo "βœ… hermes AI test passed" + head -10 /tmp/hermes_test.log else - echo "❌ OpenClaw AI test failed" - tail -10 /tmp/openclaw_test.log + echo "❌ hermes AI test failed" + tail -10 /tmp/hermes_test.log fi # Test real marketplace @@ -264,13 +264,13 @@ echo "==========================" echo "Copying real production system to aitbc1..." scp -r /opt/aitbc/production/services aitbc1:/opt/aitbc/production/ scp /opt/aitbc/systemd/aitbc-mining-blockchain.service aitbc1:/opt/aitbc/systemd/ -scp /opt/aitbc/systemd/aitbc-openclaw-ai.service aitbc1:/opt/aitbc/systemd/ +scp /opt/aitbc/systemd/aitbc-hermes-ai.service aitbc1:/opt/aitbc/systemd/ scp /opt/aitbc/systemd/aitbc-real-marketplace.service aitbc1:/opt/aitbc/systemd/ # Configure services for aitbc1 echo "Configuring services for aitbc1..." ssh aitbc1 "sed -i 's/NODE_ID=aitbc/NODE_ID=aitbc1/g' /opt/aitbc/systemd/aitbc-mining-blockchain.service" -ssh aitbc1 "sed -i 's/NODE_ID=aitbc/NODE_ID=aitbc1/g' /opt/aitbc/systemd/aitbc-openclaw-ai.service" +ssh aitbc1 "sed -i 's/NODE_ID=aitbc/NODE_ID=aitbc1/g' /opt/aitbc/systemd/aitbc-hermes-ai.service" ssh aitbc1 "sed -i 's/NODE_ID=aitbc/NODE_ID=aitbc1/g' /opt/aitbc/systemd/aitbc-real-marketplace.service" # Update ports for aitbc1 @@ -280,17 +280,17 @@ ssh aitbc1 "sed -i 's/REAL_MARKETPLACE_PORT=8006/REAL_MARKETPLACE_PORT=8007/g' / echo "Starting services on aitbc1..." ssh aitbc1 "cp /opt/aitbc/systemd/aitbc-*.service /etc/systemd/system/" ssh aitbc1 "systemctl daemon-reload" -ssh aitbc1 "systemctl enable aitbc-mining-blockchain.service aitbc-openclaw-ai.service aitbc-real-marketplace.service" +ssh aitbc1 "systemctl enable aitbc-mining-blockchain.service aitbc-hermes-ai.service aitbc-real-marketplace.service" ssh aitbc1 "systemctl start aitbc-mining-blockchain.service" sleep 3 -ssh aitbc1 "systemctl start aitbc-openclaw-ai.service" +ssh aitbc1 "systemctl start aitbc-hermes-ai.service" sleep 3 ssh aitbc1 "systemctl start aitbc-real-marketplace.service" # Check aitbc1 services echo "Checking aitbc1 services..." ssh aitbc1 "systemctl status aitbc-mining-blockchain.service --no-pager -l | head -5" -ssh aitbc1 "systemctl status aitbc-openclaw-ai.service --no-pager -l | head -5" +ssh aitbc1 "systemctl status aitbc-hermes-ai.service --no-pager -l | head -5" ssh aitbc1 "curl -s http://localhost:8007/health | head -5" || echo "aitbc1 marketplace not ready" # Step 7: Demonstrate real functionality @@ -339,14 +339,14 @@ echo " β€’ Multi-chain support (main + GPU chains)" echo " β€’ Real coin generation: 50 AITBC (main), 25 AITBC (GPU)" echo " β€’ Cross-chain trading capabilities" echo "" -echo "βœ… OpenClaw AI Integration:" +echo "βœ… hermes AI Integration:" echo " β€’ Real AI agents: text generation, research, trading" echo " β€’ Llama2 models: 7B, 13B parameters" echo " β€’ Task execution with real results" echo " β€’ Marketplace integration with payments" echo "" echo "βœ… Real Commercial Marketplace:" -echo " β€’ OpenClaw AI services (5-15 AITBC per task)" +echo " β€’ hermes AI services (5-15 AITBC per task)" echo " β€’ Ollama inference tasks (3-5 AITBC per task)" echo " β€’ Real commercial activity and transactions" echo " β€’ Payment processing via blockchain" @@ -368,14 +368,14 @@ echo " β€’ aitbc1: http://aitbc1:8007/health" echo "" echo "βœ… Monitoring:" echo " β€’ Mining logs: journalctl -u aitbc-mining-blockchain" -echo " β€’ AI logs: journalctl -u aitbc-openclaw-ai" +echo " β€’ AI logs: journalctl -u aitbc-hermes-ai" echo " β€’ Marketplace logs: journalctl -u aitbc-real-marketplace" echo "" echo -e "${BLUE}πŸš€ REAL PRODUCTION SYSTEM IS LIVE!${NC}" echo "" echo "πŸŽ‰ AITBC is now a REAL production system with:" echo " β€’ Real blockchain mining and coin generation" -echo " β€’ Real OpenClaw AI agents and services" +echo " β€’ Real hermes AI agents and services" echo " β€’ Real commercial marketplace with transactions" echo " β€’ Multi-chain support and cross-chain trading" echo " β€’ Multi-node deployment and coordination" diff --git a/scripts/deployment/deploy_openclaw_dao.py b/scripts/deployment/deploy_hermes_dao.py similarity index 94% rename from scripts/deployment/deploy_openclaw_dao.py rename to scripts/deployment/deploy_hermes_dao.py index 5a43eaa7..4faf0afd 100644 --- a/scripts/deployment/deploy_openclaw_dao.py +++ b/scripts/deployment/deploy_hermes_dao.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """ -OpenClaw DAO Deployment Script -Deploys and configures the complete OpenClaw DAO governance system +hermes DAO Deployment Script +Deploys and configures the complete hermes DAO governance system """ import asyncio @@ -10,7 +10,7 @@ import time from web3 import Web3 from web3.contract import Contract -class OpenClawDAODeployment: +class hermesDAODeployment: def __init__(self, web3_provider: str, private_key: str): self.w3 = Web3(Web3.HTTPProvider(web3_provider)) self.account = self.w3.eth.account.from_key(private_key) @@ -24,15 +24,15 @@ class OpenClawDAODeployment: self.governance_token = None async def deploy_all(self, governance_token_address: str) -> dict: - """Deploy complete OpenClaw DAO system""" - print("πŸš€ Deploying OpenClaw DAO Governance System...") + """Deploy complete hermes DAO system""" + print("πŸš€ Deploying hermes DAO Governance System...") # 1. Deploy TimelockController print("1️⃣ Deploying TimelockController...") self.timelock = await self.deploy_timelock() - # 2. Deploy OpenClawDAO - print("2️⃣ Deploying OpenClawDAO...") + # 2. Deploy hermesDAO + print("2️⃣ Deploying hermesDAO...") self.dao_contract = await self.deploy_dao(governance_token_address) # 3. Deploy AgentWallet template @@ -70,7 +70,7 @@ class OpenClawDAODeployment: "network": self.w3.eth.chain_id } - print("βœ… OpenClaw DAO deployment complete!") + print("βœ… hermes DAO deployment complete!") return deployment_info async def deploy_timelock(self) -> Contract: @@ -98,7 +98,7 @@ class OpenClawDAODeployment: return self.w3.eth.contract(address=receipt.contractAddress, abi=timelock_abi) async def deploy_dao(self, governance_token_address: str) -> Contract: - """Deploy OpenClawDAO contract""" + """Deploy hermesDAO contract""" # DAO bytecode and ABI (from compiled contract) dao_bytecode = "0x..." # Actual bytecode needed dao_abi = [] # Actual ABI needed @@ -272,14 +272,14 @@ async def main(): GOVERNANCE_TOKEN = "0x..." # Existing AITBC token address # Deploy system - deployer = OpenClawDAODeployment(WEB3_PROVIDER, PRIVATE_KEY) + deployer = hermesDAODeployment(WEB3_PROVIDER, PRIVATE_KEY) deployment_info = await deployer.deploy_all(GOVERNANCE_TOKEN) # Save deployment info - with open("openclaw_dao_deployment.json", "w") as f: + with open("hermes_dao_deployment.json", "w") as f: json.dump(deployment_info, f, indent=2) - print(f"πŸŽ‰ Deployment complete! Check openclaw_dao_deployment.json for details") + print(f"πŸŽ‰ Deployment complete! Check hermes_dao_deployment.json for details") if __name__ == "__main__": asyncio.run(main()) diff --git a/scripts/health-check.sh b/scripts/health-check.sh index fff2476f..6eabb228 100755 --- a/scripts/health-check.sh +++ b/scripts/health-check.sh @@ -55,7 +55,7 @@ check_service "GPU Service" "http://localhost:8010/health" check_service "Learning Service" "http://localhost:8011/health" check_service "Agent Coordinator" "http://localhost:8012/health" check_service "Agent Registry" "http://localhost:8013/health" -check_service "OpenClaw Service" "http://localhost:8014/health" +check_service "Hermes Service" "http://localhost:8014/health" check_service "AI Service" "http://localhost:8015/health" # Other Services (8020-8029) diff --git a/scripts/hybrid/aitbc_openclaw_wrapper.sh b/scripts/hybrid/aitbc_hermes_wrapper.sh similarity index 67% rename from scripts/hybrid/aitbc_openclaw_wrapper.sh rename to scripts/hybrid/aitbc_hermes_wrapper.sh index b4bac764..3b2a6ad1 100755 --- a/scripts/hybrid/aitbc_openclaw_wrapper.sh +++ b/scripts/hybrid/aitbc_hermes_wrapper.sh @@ -1,12 +1,12 @@ #!/bin/bash -# AITBC + OpenClaw Hybrid Script System -# Clean separation: Shell (execution) + OpenClaw (reasoning) +# AITBC + Hermes Hybrid Script System +# Clean separation: Shell (execution) + Hermes (reasoning) set -e # Configuration AITBC_CLI="/opt/aitbc/aitbc-cli" -OPENCLAW_CMD="openclaw agent --agent main" +HERMES_CMD="hermes agent --agent main" LOG_DIR="/var/log/aitbc/hybrid" mkdir -p "$LOG_DIR" @@ -47,21 +47,21 @@ execute_aitbc() { fi } -# Analyze output with OpenClaw -analyze_with_openclaw() { +# Analyze output with Hermes +analyze_with_hermes() { local data="$@" - log "INFO" "Analyzing with OpenClaw..." + log "INFO" "Analyzing with Hermes..." local analysis - analysis=$(echo "$data" | $OPENCLAW_CMD --message "Analyze this AITBC output and provide insights: $data" 2>&1) + analysis=$(echo "$data" | $HERMES_CMD --message "Analyze this AITBC output and provide insights: $data" 2>&1) local exit_code=$? if [ $exit_code -eq 0 ]; then - log "SUCCESS" "OpenClaw analysis completed" + log "SUCCESS" "Hermes analysis completed" echo "$analysis" return 0 else - log "WARN" "OpenClaw analysis failed (non-critical)" + log "WARN" "Hermes analysis failed (non-critical)" echo "$analysis" >&2 return 1 fi @@ -70,7 +70,7 @@ analyze_with_openclaw() { # Hybrid execution with optional analysis hybrid_execute() { local cmd="$@" - local use_openclaw="${USE_OPENCLAW:-false}" + local use_hermes="${USE_HERMES:-false}" # Execute AITBC command local aitbc_output @@ -81,10 +81,10 @@ hybrid_execute() { return $aitbc_exit fi - # Optionally analyze with OpenClaw - if [ "$use_openclaw" = "true" ]; then - echo -e "${BLUE}=== OpenClaw Analysis ===${NC}" - analyze_with_openclaw "$aitbc_output" + # Optionally analyze with Hermes + if [ "$use_hermes" = "true" ]; then + echo -e "${BLUE}=== Hermes Analysis ===${NC}" + analyze_with_hermes "$aitbc_output" fi return 0 @@ -101,13 +101,13 @@ main() { execute_aitbc "$@" ;; analyze) - # Analyze existing data with OpenClaw + # Analyze existing data with Hermes local data="$@" - analyze_with_openclaw "$data" + analyze_with_hermes "$data" ;; hybrid) - # Execute AITBC and analyze with OpenClaw - USE_OPENCLAW=true hybrid_execute "$@" + # Execute AITBC and analyze with Hermes + USE_HERMES=true hybrid_execute "$@" ;; *) # Default: execute AITBC only diff --git a/scripts/setup.sh b/scripts/setup.sh index e77c6922..d5b73df8 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -384,7 +384,7 @@ install_services() { "aitbc-blockchain-node.service" "aitbc-blockchain-rpc.service" "aitbc-marketplace.service" - "aitbc-openclaw.service" + "aitbc-hermes.service" "aitbc-ai.service" "aitbc-learning.service" "aitbc-explorer.service" @@ -473,7 +473,7 @@ check_service "GPU Service" "http://localhost:8010/health" check_service "Learning Service" "http://localhost:8011/health" check_service "Agent Coordinator" "http://localhost:8012/health" check_service "Agent Registry" "http://localhost:8013/health" -check_service "OpenClaw Service" "http://localhost:8014/health" +check_service "hermes Service" "http://localhost:8014/health" check_service "AI Service" "http://localhost:8015/health" # Other Services (8020-8029) @@ -500,12 +500,12 @@ start_services() { log "Starting AITBC services..." # Try systemd first - if systemctl start aitbc-wallet aitbc-coordinator-api aitbc-exchange-api aitbc-blockchain-node aitbc-blockchain-rpc aitbc-gpu aitbc-marketplace aitbc-openclaw aitbc-ai aitbc-learning aitbc-explorer aitbc-agent-coordinator aitbc-agent-registry aitbc-multimodal aitbc-modality-optimization 2>/dev/null; then + if systemctl start aitbc-wallet aitbc-coordinator-api aitbc-exchange-api aitbc-blockchain-node aitbc-blockchain-rpc aitbc-gpu aitbc-marketplace aitbc-hermes aitbc-ai aitbc-learning aitbc-explorer aitbc-agent-coordinator aitbc-agent-registry aitbc-multimodal aitbc-modality-optimization 2>/dev/null; then log "Services started via systemd" sleep 5 # Check if services are running - if systemctl is-active --quiet aitbc-wallet aitbc-coordinator-api aitbc-exchange-api aitbc-blockchain-node aitbc-blockchain-rpc aitbc-gpu aitbc-marketplace aitbc-openclaw aitbc-ai aitbc-learning aitbc-explorer aitbc-agent-coordinator aitbc-agent-registry aitbc-multimodal aitbc-modality-optimization; then + if systemctl is-active --quiet aitbc-wallet aitbc-coordinator-api aitbc-exchange-api aitbc-blockchain-node aitbc-blockchain-rpc aitbc-gpu aitbc-marketplace aitbc-hermes aitbc-ai aitbc-learning aitbc-explorer aitbc-agent-coordinator aitbc-agent-registry aitbc-multimodal aitbc-modality-optimization; then success "Services started successfully via systemd" else warning "Some systemd services failed, falling back to manual startup" @@ -534,7 +534,7 @@ setup_autostart() { systemctl enable aitbc-blockchain-node.service systemctl enable aitbc-blockchain-rpc.service systemctl enable aitbc-marketplace.service - systemctl enable aitbc-openclaw.service + systemctl enable aitbc-hermes.service systemctl enable aitbc-ai.service systemctl enable aitbc-learning.service systemctl enable aitbc-explorer.service diff --git a/scripts/training/README.md b/scripts/training/README.md index 39d21357..3d7be75a 100644 --- a/scripts/training/README.md +++ b/scripts/training/README.md @@ -1,6 +1,6 @@ -# OpenClaw AITBC Training Scripts +# hermes AITBC Training Scripts -Complete training script suite for OpenClaw agents to master AITBC software operations from beginner to expert level. +Complete training script suite for hermes agents to master AITBC software operations from beginner to expert level. ## πŸ“ Training Scripts Overview @@ -43,7 +43,7 @@ Complete training script suite for OpenClaw agents to master AITBC software oper - **Dependencies**: `training_lib.sh`, Stage 4 completion - **Features**: Advanced automation, multi-node coordination, security audits, certification exam -#### **Stage 6: OpenClaw Master Agent Development** (`stage6_agent_development.sh`) +#### **Stage 6: hermes Master Agent Development** (`stage6_agent_development.sh`) - **Duration**: 40-80 minutes (automated) - **Focus**: Agent identity, multi-agent coordination, advanced operations, security, performance - **Dependencies**: `training_lib.sh`, Stage 5 completion @@ -157,7 +157,7 @@ cli_cmd_node "$FOLLOWER_NODE" "blockchain --info" ### Environment Setup ```bash # Training wallet (automatically created if not exists) -export WALLET_NAME="openclaw-trainee" +export WALLET_NAME="hermes-trainee" export WALLET_PASSWORD="trainee123" # Log directories (created automatically) @@ -359,8 +359,8 @@ grep "measure_time\|Performance benchmark" /var/log/aitbc/training_*.log **Training Scripts Version**: 1.1 **Last Updated**: 2026-04-02 -**Target Audience**: OpenClaw Agents +**Target Audience**: hermes Agents **Difficulty**: Beginner to Expert (5 Stages) **Estimated Duration**: 2-4 hours (automated) -**Certification**: OpenClaw AITBC Master +**Certification**: hermes AITBC Master **Library**: `training_lib.sh` - Common utilities and functions diff --git a/scripts/training/agent_stage1_foundation.sh b/scripts/training/agent_stage1_foundation.sh index f3e2c630..9b297a07 100755 --- a/scripts/training/agent_stage1_foundation.sh +++ b/scripts/training/agent_stage1_foundation.sh @@ -1,7 +1,7 @@ #!/bin/bash -# OpenClaw AITBC Agent Training - Stage 1: Foundation -# Agent-Centric Training for OpenClaw Agents +# hermes AITBC Agent Training - Stage 1: Foundation +# Agent-Centric Training for hermes Agents set -e @@ -43,8 +43,8 @@ agent_specialized_training() { log_agent "INFO" "Starting agent foundation training for $AGENT_ID" log_agent "INFO" "Training data: $TRAINING_DATA" - # Use OpenClaw CLI to train the agent - if $CLI_PATH openclaw-training train agent \ + # Use hermes CLI to train the agent + if $CLI_PATH hermes-training train agent \ --agent-id "$AGENT_ID" \ --stage "$STAGE" \ --training-data "$TRAINING_DATA" \ @@ -71,8 +71,8 @@ agent_specialized_training() { agent_validation() { log_agent "INFO" "Starting agent validation for stage $STAGE" - # Use OpenClaw CLI to validate the agent - if $CLI_PATH openclaw-training train validate \ + # Use hermes CLI to validate the agent + if $CLI_PATH hermes-training train validate \ --agent-id "$AGENT_ID" \ --stage "$STAGE"; then log_agent "SUCCESS" "Agent validation passed" @@ -86,8 +86,8 @@ agent_validation() { agent_certification() { log_agent "INFO" "Starting agent certification" - # Use OpenClaw CLI to certify the agent - if $CLI_PATH openclaw-training train certify \ + # Use hermes CLI to certify the agent + if $CLI_PATH hermes-training train certify \ --agent-id "$AGENT_ID"; then log_agent "SUCCESS" "Agent certification completed" else diff --git a/scripts/training/agent_stage2_operations_mastery.sh b/scripts/training/agent_stage2_operations_mastery.sh index 8a3a236d..e0201d0e 100755 --- a/scripts/training/agent_stage2_operations_mastery.sh +++ b/scripts/training/agent_stage2_operations_mastery.sh @@ -1,7 +1,7 @@ #!/bin/bash -# OpenClaw AITBC Agent Training - Stage 2: Operations Mastery -# Agent-Centric Training for OpenClaw Agents on AITBC Operations +# Hermes AITBC Agent Training - Stage 2: Operations Mastery +# Agent-Centric Training for Hermes Agents on AITBC Operations set -e @@ -36,8 +36,8 @@ agent_operations_training() { log_agent "INFO" "Starting agent operations training for $AGENT_ID" log_agent "INFO" "Training data: $TRAINING_DATA" - # Use OpenClaw CLI to train the agent - if $CLI_PATH openclaw-training train agent \ + # Use Hermes CLI to train the agent + if $CLI_PATH hermes-training train agent \ --agent-id "$AGENT_ID" \ --stage "$STAGE" \ --training-data "$TRAINING_DATA" \ @@ -53,8 +53,8 @@ agent_operations_training() { agent_validation() { log_agent "INFO" "Starting agent validation for stage $STAGE" - # Use OpenClaw CLI to validate the agent - if $CLI_PATH openclaw-training train validate \ + # Use Hermes CLI to validate the agent + if $CLI_PATH hermes-training train validate \ --agent-id "$AGENT_ID" \ --stage "$STAGE"; then log_agent "SUCCESS" "Agent validation passed" @@ -68,8 +68,8 @@ agent_validation() { agent_certification() { log_agent "INFO" "Starting agent certification" - # Use OpenClaw CLI to certify the agent - if $CLI_PATH openclaw-training train certify \ + # Use Hermes CLI to certify the agent + if $CLI_PATH hermes-training train certify \ --agent-id "$AGENT_ID"; then log_agent "SUCCESS" "Agent certification completed" else diff --git a/scripts/training/agent_stage3_ai_operations.sh b/scripts/training/agent_stage3_ai_operations.sh index c21d4275..143cbf4b 100755 --- a/scripts/training/agent_stage3_ai_operations.sh +++ b/scripts/training/agent_stage3_ai_operations.sh @@ -1,7 +1,7 @@ #!/bin/bash -# OpenClaw AITBC Agent Training - Stage 3: AI Operations -# Agent-Centric Training for OpenClaw Agents on AITBC Operations +# Hermes AITBC Agent Training - Stage 3: AI Operations +# Agent-Centric Training for Hermes Agents on AITBC Operations set -e @@ -36,8 +36,8 @@ agent_ai_training() { log_agent "INFO" "Starting agent AI operations training for $AGENT_ID" log_agent "INFO" "Training data: $TRAINING_DATA" - # Use OpenClaw CLI to train the agent - if $CLI_PATH openclaw-training train agent \ + # Use Hermes CLI to train the agent + if $CLI_PATH hermes-training train agent \ --agent-id "$AGENT_ID" \ --stage "$STAGE" \ --training-data "$TRAINING_DATA" \ @@ -53,8 +53,8 @@ agent_ai_training() { agent_validation() { log_agent "INFO" "Starting agent validation for stage $STAGE" - # Use OpenClaw CLI to validate the agent - if $CLI_PATH openclaw-training train validate \ + # Use Hermes CLI to validate the agent + if $CLI_PATH hermes-training train validate \ --agent-id "$AGENT_ID" \ --stage "$STAGE"; then log_agent "SUCCESS" "Agent validation passed" @@ -68,8 +68,8 @@ agent_validation() { agent_certification() { log_agent "INFO" "Starting agent certification" - # Use OpenClaw CLI to certify the agent - if $CLI_PATH openclaw-training train certify \ + # Use Hermes CLI to certify the agent + if $CLI_PATH hermes-training train certify \ --agent-id "$AGENT_ID"; then log_agent "SUCCESS" "Agent certification completed" else diff --git a/scripts/training/agent_stage4_marketplace_economics.sh b/scripts/training/agent_stage4_marketplace_economics.sh index 035a42e3..3cd603c7 100755 --- a/scripts/training/agent_stage4_marketplace_economics.sh +++ b/scripts/training/agent_stage4_marketplace_economics.sh @@ -1,7 +1,7 @@ #!/bin/bash -# OpenClaw AITBC Agent Training - Stage 4: Marketplace & Economics -# Agent-Centric Training for OpenClaw Agents on AITBC Operations +# Hermes AITBC Agent Training - Stage 4: Marketplace & Economics +# Agent-Centric Training for Hermes Agents on AITBC Operations set -e @@ -36,8 +36,8 @@ agent_marketplace_training() { log_agent "INFO" "Starting agent marketplace training for $AGENT_ID" log_agent "INFO" "Training data: $TRAINING_DATA" - # Use OpenClaw CLI to train the agent - if $CLI_PATH openclaw-training train agent \ + # Use Hermes CLI to train the agent + if $CLI_PATH hermes-training train agent \ --agent-id "$AGENT_ID" \ --stage "$STAGE" \ --training-data "$TRAINING_DATA" \ @@ -53,8 +53,8 @@ agent_marketplace_training() { agent_validation() { log_agent "INFO" "Starting agent validation for stage $STAGE" - # Use OpenClaw CLI to validate the agent - if $CLI_PATH openclaw-training train validate \ + # Use Hermes CLI to validate the agent + if $CLI_PATH hermes-training train validate \ --agent-id "$AGENT_ID" \ --stage "$STAGE"; then log_agent "SUCCESS" "Agent validation passed" @@ -68,8 +68,8 @@ agent_validation() { agent_certification() { log_agent "INFO" "Starting agent certification" - # Use OpenClaw CLI to certify the agent - if $CLI_PATH openclaw-training train certify \ + # Use Hermes CLI to certify the agent + if $CLI_PATH hermes-training train certify \ --agent-id "$AGENT_ID"; then log_agent "SUCCESS" "Agent certification completed" else diff --git a/scripts/training/agent_stage5_expert_operations.sh b/scripts/training/agent_stage5_expert_operations.sh index 2ec01273..d1b29157 100755 --- a/scripts/training/agent_stage5_expert_operations.sh +++ b/scripts/training/agent_stage5_expert_operations.sh @@ -1,7 +1,7 @@ #!/bin/bash -# OpenClaw AITBC Agent Training - Stage 5: Expert Operations -# Agent-Centric Training for OpenClaw Agents on AITBC Operations +# Hermes AITBC Agent Training - Stage 5: Expert Operations +# Agent-Centric Training for Hermes Agents on AITBC Operations set -e @@ -36,8 +36,8 @@ agent_expert_training() { log_agent "INFO" "Starting agent expert training for $AGENT_ID" log_agent "INFO" "Training data: $TRAINING_DATA" - # Use OpenClaw CLI to train the agent - if $CLI_PATH openclaw-training train agent \ + # Use Hermes CLI to train the agent + if $CLI_PATH hermes-training train agent \ --agent-id "$AGENT_ID" \ --stage "$STAGE" \ --training-data "$TRAINING_DATA" \ @@ -53,8 +53,8 @@ agent_expert_training() { agent_validation() { log_agent "INFO" "Starting agent validation for stage $STAGE" - # Use OpenClaw CLI to validate the agent - if $CLI_PATH openclaw-training train validate \ + # Use Hermes CLI to validate the agent + if $CLI_PATH hermes-training train validate \ --agent-id "$AGENT_ID" \ --stage "$STAGE"; then log_agent "SUCCESS" "Agent validation passed" @@ -68,8 +68,8 @@ agent_validation() { agent_certification() { log_agent "INFO" "Starting agent certification" - # Use OpenClaw CLI to certify the agent - if $CLI_PATH openclaw-training train certify \ + # Use Hermes CLI to certify the agent + if $CLI_PATH hermes-training train certify \ --agent-id "$AGENT_ID"; then log_agent "SUCCESS" "Agent certification completed" else diff --git a/scripts/training/agent_stage6_agent_identity_sdk.sh b/scripts/training/agent_stage6_agent_identity_sdk.sh index 1a41739e..5356217e 100755 --- a/scripts/training/agent_stage6_agent_identity_sdk.sh +++ b/scripts/training/agent_stage6_agent_identity_sdk.sh @@ -1,7 +1,7 @@ #!/bin/bash -# OpenClaw AITBC Agent Training - Stage 6: Agent Identity & SDK -# Agent-Centric Training for OpenClaw Agents on AITBC Operations +# hermes AITBC Agent Training - Stage 6: Agent Identity & SDK +# Agent-Centric Training for hermes Agents on AITBC Operations set -e @@ -36,8 +36,8 @@ agent_identity_training() { log_agent "INFO" "Starting agent identity training for $AGENT_ID" log_agent "INFO" "Training data: $TRAINING_DATA" - # Use OpenClaw CLI to train the agent - if $CLI_PATH openclaw-training train agent \ + # Use hermes CLI to train the agent + if $CLI_PATH hermes-training train agent \ --agent-id "$AGENT_ID" \ --stage "$STAGE" \ --training-data "$TRAINING_DATA" \ @@ -53,8 +53,8 @@ agent_identity_training() { agent_validation() { log_agent "INFO" "Starting agent validation for stage $STAGE" - # Use OpenClaw CLI to validate the agent - if $CLI_PATH openclaw-training train validate \ + # Use hermes CLI to validate the agent + if $CLI_PATH hermes-training train validate \ --agent-id "$AGENT_ID" \ --stage "$STAGE"; then log_agent "SUCCESS" "Agent validation passed" @@ -68,8 +68,8 @@ agent_validation() { agent_certification() { log_agent "INFO" "Starting agent certification" - # Use OpenClaw CLI to certify the agent - if $CLI_PATH openclaw-training train certify \ + # Use hermes CLI to certify the agent + if $CLI_PATH hermes-training train certify \ --agent-id "$AGENT_ID"; then log_agent "SUCCESS" "Agent certification completed" else diff --git a/scripts/training/agent_stage7_cross_node_training.sh b/scripts/training/agent_stage7_cross_node_training.sh index aea61a09..54fb599c 100755 --- a/scripts/training/agent_stage7_cross_node_training.sh +++ b/scripts/training/agent_stage7_cross_node_training.sh @@ -1,7 +1,7 @@ #!/bin/bash -# OpenClaw AITBC Agent Training - Stage 7: Cross-Node Training -# Agent-Centric Training for OpenClaw Agents on AITBC Operations +# Hermes AITBC Agent Training - Stage 7: Cross-Node Training +# Agent-Centric Training for Hermes Agents on AITBC Operations set -e @@ -36,8 +36,8 @@ agent_crossnode_training() { log_agent "INFO" "Starting agent cross-node training for $AGENT_ID" log_agent "INFO" "Training data: $TRAINING_DATA" - # Use OpenClaw CLI to train the agent - if $CLI_PATH openclaw-training train agent \ + # Use Hermes CLI to train the agent + if $CLI_PATH hermes-training train agent \ --agent-id "$AGENT_ID" \ --stage "$STAGE" \ --training-data "$TRAINING_DATA" \ @@ -53,8 +53,8 @@ agent_crossnode_training() { agent_validation() { log_agent "INFO" "Starting agent validation for stage $STAGE" - # Use OpenClaw CLI to validate the agent - if $CLI_PATH openclaw-training train validate \ + # Use Hermes CLI to validate the agent + if $CLI_PATH hermes-training train validate \ --agent-id "$AGENT_ID" \ --stage "$STAGE"; then log_agent "SUCCESS" "Agent validation passed" @@ -68,8 +68,8 @@ agent_validation() { agent_certification() { log_agent "INFO" "Starting agent certification" - # Use OpenClaw CLI to certify the agent - if $CLI_PATH openclaw-training train certify \ + # Use Hermes CLI to certify the agent + if $CLI_PATH hermes-training train certify \ --agent-id "$AGENT_ID"; then log_agent "SUCCESS" "Agent certification completed" else diff --git a/scripts/training/agent_stage8_advanced_agent_specialization.sh b/scripts/training/agent_stage8_advanced_agent_specialization.sh index a1c93c8d..3d283c7a 100755 --- a/scripts/training/agent_stage8_advanced_agent_specialization.sh +++ b/scripts/training/agent_stage8_advanced_agent_specialization.sh @@ -1,7 +1,7 @@ #!/bin/bash -# OpenClaw AITBC Agent Training - Stage 8: Advanced Agent Specialization -# Agent-Centric Training for Specialized OpenClaw Agents +# Hermes AITBC Agent Training - Stage 8: Advanced Agent Specialization +# Agent-Centric Training for Specialized Hermes Agents set -e @@ -36,8 +36,8 @@ agent_specialized_training() { log_agent "INFO" "Starting agent specialized training for $AGENT_ID" log_agent "INFO" "Training data: $TRAINING_DATA" - # Use OpenClaw CLI to train the agent - if $CLI_PATH openclaw-training train agent \ + # Use Hermes CLI to train the agent + if $CLI_PATH hermes-training train agent \ --agent-id "$AGENT_ID" \ --stage "$STAGE" \ --training-data "$TRAINING_DATA" \ @@ -53,8 +53,8 @@ agent_specialized_training() { agent_validation() { log_agent "INFO" "Starting agent validation for stage $STAGE" - # Use OpenClaw CLI to validate the agent - if $CLI_PATH openclaw-training train validate \ + # Use Hermes CLI to validate the agent + if $CLI_PATH hermes-training train validate \ --agent-id "$AGENT_ID" \ --stage "$STAGE"; then log_agent "SUCCESS" "Agent validation passed" @@ -68,8 +68,8 @@ agent_validation() { agent_certification() { log_agent "INFO" "Starting agent certification" - # Use OpenClaw CLI to certify the agent - if $CLI_PATH openclaw-training train certify \ + # Use Hermes CLI to certify the agent + if $CLI_PATH hermes-training train certify \ --agent-id "$AGENT_ID"; then log_agent "SUCCESS" "Agent certification completed" else diff --git a/scripts/training/agent_stage9_multi_chain_architecture.sh b/scripts/training/agent_stage9_multi_chain_architecture.sh index 22220f1b..8012468e 100755 --- a/scripts/training/agent_stage9_multi_chain_architecture.sh +++ b/scripts/training/agent_stage9_multi_chain_architecture.sh @@ -1,7 +1,7 @@ #!/bin/bash -# OpenClaw AITBC Agent Training - Stage 9: Multi-Chain Architecture -# Agent-Centric Training for Multi-Chain OpenClaw Agents +# Hermes AITBC Agent Training - Stage 9: Multi-Chain Architecture +# Agent-Centric Training for Multi-Chain Hermes Agents set -e @@ -36,8 +36,8 @@ agent_architecture_training() { log_agent "INFO" "Starting agent architecture training for $AGENT_ID" log_agent "INFO" "Training data: $TRAINING_DATA" - # Use OpenClaw CLI to train the agent - if $CLI_PATH openclaw-training train agent \ + # Use Hermes CLI to train the agent + if $CLI_PATH hermes-training train agent \ --agent-id "$AGENT_ID" \ --stage "$STAGE" \ --training-data "$TRAINING_DATA" \ @@ -53,8 +53,8 @@ agent_architecture_training() { agent_validation() { log_agent "INFO" "Starting agent validation for stage $STAGE" - # Use OpenClaw CLI to validate the agent - if $CLI_PATH openclaw-training train validate \ + # Use Hermes CLI to validate the agent + if $CLI_PATH hermes-training train validate \ --agent-id "$AGENT_ID" \ --stage "$STAGE"; then log_agent "SUCCESS" "Agent validation passed" @@ -68,8 +68,8 @@ agent_validation() { agent_certification() { log_agent "INFO" "Starting agent certification" - # Use OpenClaw CLI to certify the agent - if $CLI_PATH openclaw-training train certify \ + # Use Hermes CLI to certify the agent + if $CLI_PATH hermes-training train certify \ --agent-id "$AGENT_ID"; then log_agent "SUCCESS" "Agent certification completed" else diff --git a/scripts/training/openclaw_coordination_demo.sh b/scripts/training/hermes_coordination_demo.sh similarity index 77% rename from scripts/training/openclaw_coordination_demo.sh rename to scripts/training/hermes_coordination_demo.sh index a18b5349..10542bea 100755 --- a/scripts/training/openclaw_coordination_demo.sh +++ b/scripts/training/hermes_coordination_demo.sh @@ -1,11 +1,11 @@ #!/bin/bash -# OpenClaw Agent Coordination Demo Script +# hermes Agent Coordination Demo Script # Demonstrates multi-agent communication patterns, distributed decision making, and scalable architectures set -e SESSION_ID="coordination-demo-$(date +%s)" -echo "OpenClaw Agent Coordination Demo" +echo "hermes Agent Coordination Demo" echo "Session ID: $SESSION_ID" echo "" @@ -32,13 +32,13 @@ log_error() { echo -e "${RED}[ERROR]${NC} $1" } -# Check if OpenClaw is available -if ! command -v openclaw &> /dev/null; then - log_error "OpenClaw not found. Please install OpenClaw 2026.3.24+" +# Check if hermes is available +if ! command -v hermes &> /dev/null; then + log_error "hermes not found. Please install hermes 2026.3.24+" exit 1 fi -log_info "OpenClaw version: $(openclaw --version)" +log_info "hermes version: $(hermes --version)" # ============================================================================ # Pattern 1: Hierarchical Communication @@ -46,7 +46,7 @@ log_info "OpenClaw version: $(openclaw --version)" log_info "=== Pattern 1: Hierarchical Communication ===" log_info "Coordinator broadcasts to Level 2 agents..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "BROADCAST: Execute distributed AI workflow across all Level 2 agents" \ --thinking high \ --parameters "broadcast_type:hierarchical,target_level:2" @@ -54,15 +54,15 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ sleep 2 log_info "Level 2 agents respond to coordinator..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Response to Coordinator: Ready for AI workflow execution with resource optimization" \ --thinking medium -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "Response to Coordinator: Ready for distributed task participation" \ --thinking medium -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "Response to Coordinator: Ready for resource allocation management" \ --thinking medium @@ -75,13 +75,13 @@ log_info "" log_info "=== Pattern 2: Peer-to-Peer Communication ===" log_info "Direct agent-to-agent communication..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "P2P to FollowerAgent: Coordinate resource allocation for AI job batch" \ --thinking medium sleep 2 -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "P2P to GenesisAgent: Confirm resource availability and scheduling" \ --thinking medium @@ -96,29 +96,29 @@ log_info "=== Pattern 3: Consensus-Based Decision Making ===" PROPOSAL_ID="resource-strategy-$(date +%s)" log_info "Coordinator presents proposal..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "VOTE PROPOSAL $PROPOSAL_ID: Implement dynamic GPU allocation with 70% utilization target" \ --thinking high sleep 2 log_info "Agents vote on proposal..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "VOTE $PROPOSAL_ID: YES - Dynamic allocation optimizes AI performance" \ --thinking medium -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "VOTE $PROPOSAL_ID: YES - Improves resource utilization" \ --thinking medium -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "VOTE $PROPOSAL_ID: YES - Aligns with optimization goals" \ --thinking medium sleep 2 log_info "Coordinator announces decision..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "DECISION: Proposal $PROPOSAL_ID APPROVED (3/3 votes) - Implementing dynamic GPU allocation" \ --thinking high @@ -131,29 +131,29 @@ log_info "" log_info "=== Pattern 4: Weighted Decision Making ===" log_info "Coordinator requests weighted recommendations..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "WEIGHTED DECISION: Select optimal AI model for medical diagnosis pipeline" \ --thinking high sleep 2 log_info "Agents provide weighted recommendations..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "RECOMMENDATION: ensemble_model (confidence: 0.9, weight: 3) - Best for accuracy" \ --thinking high -openclaw agent --agent MultiModalAgent --session-id $SESSION_ID \ +hermes agent --agent MultiModalAgent --session-id $SESSION_ID \ --message "RECOMMENDATION: multimodal_model (confidence: 0.8, weight: 2) - Handles multiple data types" \ --thinking high -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "RECOMMENDATION: efficient_model (confidence: 0.7, weight: 1) - Best resource utilization" \ --thinking medium sleep 2 log_info "Coordinator calculates weighted decision..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "WEIGHTED DECISION: ensemble_model selected (weighted score: 2.7) - Highest confidence-weighted combination" \ --thinking high @@ -166,26 +166,26 @@ log_info "" log_info "=== Pattern 5: Microservices Architecture ===" log_info "Specialized agents with specific responsibilities..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "SERVICE: Processing AI job queue with 5 concurrent jobs" \ --thinking medium -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "SERVICE: Allocating GPU resources with 85% utilization target" \ --thinking medium -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "SERVICE: Monitoring system health with 99.9% uptime target" \ --thinking low -openclaw agent --agent MultiModalAgent --session-id $SESSION_ID \ +hermes agent --agent MultiModalAgent --session-id $SESSION_ID \ --message "SERVICE: Analyzing performance metrics and optimization opportunities" \ --thinking medium sleep 2 log_info "Service orchestration..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "ORCHESTRATION: Coordinating 4 microservices for optimal system performance" \ --thinking high @@ -198,29 +198,29 @@ log_info "" log_info "=== Pattern 6: Load Balancing Architecture ===" log_info "Coordinator monitors agent loads..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "LOAD BALANCE: Monitoring agent loads and redistributing tasks" \ --thinking high sleep 2 log_info "Agents report current load..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "LOAD REPORT: Current load 75% - capacity for 5 more AI jobs" \ --thinking low -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "LOAD REPORT: Current load 45% - capacity for 10 more tasks" \ --thinking low -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "LOAD REPORT: Current load 60% - capacity for resource optimization tasks" \ --thinking low sleep 2 log_info "Coordinator redistributes load..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "REDISTRIBUTION: Routing new tasks to FollowerAgent (45% load) for optimal balance" \ --thinking high @@ -233,40 +233,40 @@ log_info "" log_info "=== Pattern 7: Multi-Agent Task Orchestration ===" log_info "Step 1: Task decomposition..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "ORCHESTRATION: Decomposing complex AI pipeline into 5 subtasks for agent allocation" \ --thinking high sleep 2 log_info "Step 2: Task assignment..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "ASSIGNMENT: Task 1->GenesisAgent, Task 2->MultiModalAgent, Task 3->AIResourceAgent, Task 4->FollowerAgent, Task 5->CoordinatorAgent" \ --thinking high sleep 2 log_info "Step 3: Parallel execution..." -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "EXECUTION: Starting assigned task with parallel processing" \ --thinking medium -openclaw agent --agent MultiModalAgent --session-id $SESSION_ID \ +hermes agent --agent MultiModalAgent --session-id $SESSION_ID \ --message "EXECUTION: Starting assigned task with parallel processing" \ --thinking medium -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "EXECUTION: Starting assigned task with parallel processing" \ --thinking medium -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "EXECUTION: Starting assigned task with parallel processing" \ --thinking medium sleep 2 log_info "Step 4: Result aggregation..." -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "AGGREGATION: Collecting results from all agents for final synthesis" \ --thinking high @@ -280,7 +280,7 @@ log_info "=== Performance Metrics ===" log_info "Measuring communication latency..." start_time=$(date +%s.%N) -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "LATENCY TEST: Measuring communication performance" \ --thinking low end_time=$(date +%s.%N) @@ -307,4 +307,4 @@ log_info "" log_info "Session ID: $SESSION_ID" log_info "For detailed patterns and implementation guidelines, see:" log_info " .windsurf/workflows/agent-coordination-enhancement.md" -log_info " .windsurf/workflows/OPENCLAW_MASTER_INDEX.md" +log_info " .windsurf/workflows/hermes_MASTER_INDEX.md" diff --git a/scripts/training/openclaw_cross_node_comm.sh b/scripts/training/hermes_cross_node_comm.sh similarity index 95% rename from scripts/training/openclaw_cross_node_comm.sh rename to scripts/training/hermes_cross_node_comm.sh index c9b1ae42..d6bff227 100755 --- a/scripts/training/openclaw_cross_node_comm.sh +++ b/scripts/training/hermes_cross_node_comm.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# OpenClaw Cross-Node Communication Training Module +# hermes Cross-Node Communication Training Module # Teaches and validates agent-to-agent communication across the AITBC blockchain # Nodes: Genesis (10.1.223.40:8006) and Follower (<aitbc1-ip>:8006) # @@ -158,7 +158,7 @@ run_module4_coordination() { main() { echo -e "${CYAN}======================================================${NC}" - echo -e "${CYAN} OpenClaw Cross-Node Communication Training Module ${NC}" + echo -e "${CYAN} hermes Cross-Node Communication Training Module ${NC}" echo -e "${CYAN}======================================================${NC}" check_prerequisites @@ -175,7 +175,7 @@ main() { echo "βœ“ Message Retrieval and Parsing" echo "βœ“ Cross-Node AI Job Coordination" - echo -e "\n${GREEN}OpenClaw agent has successfully completed Cross-Node Communication Training!${NC}" + echo -e "\n${GREEN}hermes agent has successfully completed Cross-Node Communication Training!${NC}" echo "The agent is now certified to coordinate tasks across aitbc and aitbc1 nodes." } diff --git a/scripts/training/master_training_launcher.sh b/scripts/training/master_training_launcher.sh index fa24a62f..a2430674 100755 --- a/scripts/training/master_training_launcher.sh +++ b/scripts/training/master_training_launcher.sh @@ -3,15 +3,15 @@ # Source training library source "$(dirname "$0")/training_lib.sh" -# OpenClaw AITBC Training - Master Training Launcher +# hermes AITBC Training - Master Training Launcher # Orchestrates all 5 training stages with progress tracking set -e # Training configuration -TRAINING_PROGRAM="OpenClaw AITBC Mastery Training" +TRAINING_PROGRAM="hermes AITBC Mastery Training" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -WALLET_NAME="openclaw-trainee" +WALLET_NAME="hermes-trainee" # Initialize logging for master launcher CURRENT_LOG=$(init_logging "training_master") @@ -73,7 +73,7 @@ show_overview() { echo -e "${BOLD}🎯 Training Objectives:${NC}" echo "β€’ Master AITBC CLI operations on both nodes (aitbc & aitbc1)" echo "β€’ Progress from beginner to expert level operations" - echo "β€’ Achieve OpenClaw AITBC Master certification" + echo "β€’ Achieve hermes AITBC Master certification" echo echo -e "${BOLD}πŸ“‹ Training Stages:${NC}" @@ -96,7 +96,7 @@ show_overview() { echo echo -e "${BOLD}πŸŽ“ Certification:${NC}" - echo "β€’ OpenClaw AITBC Master upon successful completion" + echo "β€’ hermes AITBC Master upon successful completion" echo "β€’ Requires 95%+ success rate on final exam" echo @@ -241,7 +241,7 @@ show_menu() { run_complete_training() { print_header "Complete Training Program" - print_status "Starting complete OpenClaw AITBC Mastery Training..." + print_status "Starting complete hermes AITBC Mastery Training..." log "Starting complete training program" local completed_stages=0 @@ -287,7 +287,7 @@ run_individual_stage() { echo "3. AI Operations Mastery" echo "4. Marketplace & Economics" echo "5. Expert Operations & Automation" - echo "6. OpenClaw Master Agent Development" + echo "6. hermes Master Agent Development" echo "7. Cross-Node Agent Training & Multi-Agent Orchestration" echo echo -n "Select stage [1-7]: " @@ -352,7 +352,7 @@ view_logs() { echo "4. Stage 3: AI Operations" echo "5. Stage 4: Marketplace & Economics" echo "6. Stage 5: Expert Operations" - echo "7. Stage 6: OpenClaw Master Agent" + echo "7. Stage 6: hermes Master Agent" echo "8. Stage 7: Cross-Node Training" echo "9. Return to menu" echo @@ -443,7 +443,7 @@ show_training_summary() { if [ $completed_stages -eq $TOTAL_STAGES ]; then echo -e "${GREEN}πŸŽ‰ CONGRATULATIONS! TRAINING COMPLETED!${NC}" echo - echo -e "${BOLD}πŸŽ“ OpenClaw AITBC Master Status:${NC}" + echo -e "${BOLD}πŸŽ“ hermes AITBC Master Status:${NC}" echo "βœ… All 5 training stages completed" echo "βœ… Expert-level CLI proficiency achieved" echo "βœ… Multi-node operations mastered" @@ -454,7 +454,7 @@ show_training_summary() { echo "1. Review all training logs for detailed performance" echo "2. Practice advanced operations regularly" echo "3. Implement custom automation solutions" - echo "4. Train other OpenClaw agents" + echo "4. Train other hermes agents" echo "5. Monitor and optimize system performance" else echo -e "${YELLOW}Training In Progress${NC}" @@ -478,7 +478,7 @@ main() { mkdir -p "$LOG_DIR" # Start logging - log "OpenClaw AITBC Mastery Training Program started" + log "hermes AITBC Mastery Training Program started" # Show overview show_overview @@ -557,7 +557,7 @@ case "${1:-}" in run_complete_training ;; --help|-h) - echo "OpenClaw AITBC Mastery Training Launcher" + echo "hermes AITBC Mastery Training Launcher" echo echo "Usage: $0 [OPTION]" echo diff --git a/scripts/training/setup_training_env.sh b/scripts/training/setup_training_env.sh index 8b748622..7e1f46f6 100755 --- a/scripts/training/setup_training_env.sh +++ b/scripts/training/setup_training_env.sh @@ -122,7 +122,7 @@ main() { echo "Log file: $LOG_DIR/setup.log" echo "" echo "Next steps:" - echo "1. Run Stage 1 training: ./aitbc-cli openclaw-training train agent --agent-id <agent-id> --stage stage1_foundation" + echo "1. Run Stage 1 training: ./aitbc-cli hermes-training train agent --agent-id <agent-id> --stage stage1_foundation" echo "2. Verify wallet funding before transaction operations" echo "3. Check messaging authentication before messaging operations" } diff --git a/scripts/training/stage1_foundation.sh b/scripts/training/stage1_foundation.sh index 4c7744bf..48a5ca4e 100755 --- a/scripts/training/stage1_foundation.sh +++ b/scripts/training/stage1_foundation.sh @@ -1,6 +1,6 @@ #!/bin/bash -# OpenClaw AITBC Training - Stage 1: Foundation +# hermes AITBC Training - Stage 1: Foundation # Basic System Orientation and CLI Commands # Optimized version using training library @@ -258,7 +258,7 @@ validation_quiz() { # Main training function main() { - print_header "OpenClaw AITBC Training - $TRAINING_STAGE" + print_header "hermes AITBC Training - $TRAINING_STAGE" log_info "Starting $TRAINING_STAGE" # Check prerequisites with full validation (continues despite warnings) diff --git a/scripts/training/stage2_intermediate.sh b/scripts/training/stage2_intermediate.sh index 8671ad2c..88b4bd67 100755 --- a/scripts/training/stage2_intermediate.sh +++ b/scripts/training/stage2_intermediate.sh @@ -1,6 +1,6 @@ #!/bin/bash -# OpenClaw AITBC Training - Stage 2: Intermediate Operations +# hermes AITBC Training - Stage 2: Intermediate Operations # Advanced Wallet Management, Blockchain Operations, Smart Contracts # Optimized version using training library @@ -12,9 +12,9 @@ source "$(dirname "$0")/training_lib.sh" # Training configuration TRAINING_STAGE="Stage 2: Intermediate Operations" LOG_FILE="/var/log/aitbc/training_stage2.log" -WALLET_NAME="openclaw-trainee" +WALLET_NAME="hermes-trainee" WALLET_PASSWORD="trainee123" -BACKUP_WALLET="openclaw-backup" +BACKUP_WALLET="hermes-backup" # Setup traps for cleanup setup_traps @@ -111,7 +111,7 @@ smart_contract_interaction() { fi print_status "Testing agent messaging..." - $CLI_PATH agent message --agent "test-agent" --message "Hello from OpenClaw training" --wallet "$WALLET_NAME" --password "$WALLET_PASSWORD" 2>/dev/null || print_warning "Agent message command not available" + $CLI_PATH agent message --agent "test-agent" --message "Hello from hermes training" --wallet "$WALLET_NAME" --password "$WALLET_PASSWORD" 2>/dev/null || print_warning "Agent message command not available" log "Agent message sent" print_status "Checking agent messages..." @@ -225,7 +225,7 @@ validation_quiz() { # Main training function main() { echo -e "${BLUE}========================================${NC}" - echo -e "${BLUE}OpenClaw AITBC Training - $TRAINING_STAGE${NC}" + echo -e "${BLUE}hermes AITBC Training - $TRAINING_STAGE${NC}" echo -e "${BLUE}========================================${NC}" echo diff --git a/scripts/training/stage3_ai_operations.sh b/scripts/training/stage3_ai_operations.sh index 183162b2..b2a485bb 100755 --- a/scripts/training/stage3_ai_operations.sh +++ b/scripts/training/stage3_ai_operations.sh @@ -3,7 +3,7 @@ # Source training library source "$(dirname "$0")/training_lib.sh" -# OpenClaw AITBC Training - Stage 3: AI Operations Mastery +# hermes AITBC Training - Stage 3: AI Operations Mastery # AI Job Submission, Resource Management, Ollama Integration set -e @@ -12,7 +12,7 @@ set -e TRAINING_STAGE="Stage 3: AI Operations Mastery" SCRIPT_NAME="stage3_ai_operations" CURRENT_LOG=$(init_logging "$SCRIPT_NAME") -WALLET_NAME="openclaw-trainee" +WALLET_NAME="hermes-trainee" WALLET_PASSWORD="trainee123" TEST_PROMPT="Analyze the performance of AITBC blockchain system" TEST_PAYMENT=100 @@ -363,7 +363,7 @@ validation_quiz() { # Main training function main() { echo -e "${BLUE}========================================${NC}" - echo -e "${BLUE}OpenClaw AITBC Training - $TRAINING_STAGE${NC}" + echo -e "${BLUE}hermes AITBC Training - $TRAINING_STAGE${NC}" echo -e "${BLUE}========================================${NC}" echo diff --git a/scripts/training/stage4_marketplace_economics.sh b/scripts/training/stage4_marketplace_economics.sh index c67c01d2..ec48079f 100755 --- a/scripts/training/stage4_marketplace_economics.sh +++ b/scripts/training/stage4_marketplace_economics.sh @@ -3,7 +3,7 @@ # Source training library source "$(dirname "$0")/training_lib.sh" -# OpenClaw AITBC Training - Stage 4: Marketplace & Economic Intelligence +# hermes AITBC Training - Stage 4: Marketplace & Economic Intelligence # Marketplace Operations, Economic Modeling, Distributed AI Economics set -e @@ -12,7 +12,7 @@ set -e TRAINING_STAGE="Stage 4: Marketplace & Economic Intelligence" SCRIPT_NAME="stage4_marketplace_economics" CURRENT_LOG=$(init_logging "$SCRIPT_NAME") -WALLET_NAME="openclaw-trainee" +WALLET_NAME="hermes-trainee" WALLET_PASSWORD="trainee123" # Logging function @@ -289,7 +289,7 @@ validation_quiz() { # Main training function main() { echo -e "${BLUE}========================================${NC}" - echo -e "${BLUE}OpenClaw AITBC Training - $TRAINING_STAGE${NC}" + echo -e "${BLUE}hermes AITBC Training - $TRAINING_STAGE${NC}" echo -e "${BLUE}========================================${NC}" echo diff --git a/scripts/training/stage5_expert_automation.sh b/scripts/training/stage5_expert_automation.sh index 27ce7e3f..6365c635 100755 --- a/scripts/training/stage5_expert_automation.sh +++ b/scripts/training/stage5_expert_automation.sh @@ -3,7 +3,7 @@ # Source training library source "$(dirname "$0")/training_lib.sh" -# OpenClaw AITBC Training - Stage 5: Expert Operations & Automation +# hermes AITBC Training - Stage 5: Expert Operations & Automation # Advanced Automation, Multi-Node Coordination, Performance Optimization set -e @@ -12,7 +12,7 @@ set -e TRAINING_STAGE="Stage 5: Expert Operations & Automation" SCRIPT_NAME="stage5_expert_automation" CURRENT_LOG=$(init_logging "$SCRIPT_NAME") -WALLET_NAME="openclaw-trainee" +WALLET_NAME="hermes-trainee" WALLET_PASSWORD="trainee123" # Logging function @@ -169,10 +169,10 @@ advanced_scripting() { print_status "Advanced Automation Scripting" print_status "Creating custom automation script..." - cat > /tmp/openclaw_automation.py <<EOF + cat > /tmp/hermes_automation.py <<EOF #!/usr/bin/env python3 """ -OpenClaw Advanced Automation Script +hermes Advanced Automation Script Demonstrates complex workflow automation for AITBC operations """ @@ -201,7 +201,7 @@ def automated_job_submission(): logger.info("Starting automated job submission...") # Submit inference job with required parameters - success, output, error = run_command(f"{CLI_PATH} ai submit openclaw-trainee inference 'Automated analysis' 10 --password 'trainee123'") + success, output, error = run_command(f"{CLI_PATH} ai submit hermes-trainee inference 'Automated analysis' 10 --password 'trainee123'") if success: logger.info(f"Job submitted successfully: {output}") @@ -231,7 +231,7 @@ def automated_marketplace_monitoring(): def main(): """Main automation loop""" - logger.info("Starting OpenClaw automation...") + logger.info("Starting hermes automation...") while True: try: @@ -253,14 +253,14 @@ if __name__ == "__main__": EOF print_status "Running custom automation script..." - python3 /tmp/openclaw_automation.py & + python3 /tmp/hermes_automation.py & AUTOMATION_PID=$! sleep 10 kill $AUTOMATION_PID 2>/dev/null || true log "Custom automation script executed" print_status "Testing script execution..." - $CLI_PATH script --run --file /tmp/openclaw_automation.py 2>/dev/null || print_warning "Script execution command not available" + $CLI_PATH script --run --file /tmp/hermes_automation.py 2>/dev/null || print_warning "Script execution command not available" log "Script execution test completed" print_success "Advanced automation scripting completed" @@ -405,7 +405,7 @@ final_certification_exam() { print_status "Certification Results: $TESTS_PASSED/$TOTAL_TESTS tests passed ($SUCCESS_RATE%)" if [ $SUCCESS_RATE -ge 95 ]; then - print_success "πŸŽ‰ CERTIFICATION PASSED! OpenClaw AITBC Master Status Achieved!" + print_success "πŸŽ‰ CERTIFICATION PASSED! hermes AITBC Master Status Achieved!" log "CERTIFICATION: PASSED with $SUCCESS_RATE% success rate" elif [ $SUCCESS_RATE -ge 80 ]; then print_warning "CERTIFICATION CONDITIONAL: $SUCCESS_RATE% - Additional practice recommended" @@ -440,7 +440,7 @@ validation_quiz() { # Main training function main() { echo -e "${BLUE}========================================${NC}" - echo -e "${BLUE}OpenClaw AITBC Training - $TRAINING_STAGE${NC}" + echo -e "${BLUE}hermes AITBC Training - $TRAINING_STAGE${NC}" echo -e "${BLUE}========================================${NC}" echo @@ -474,7 +474,7 @@ main() { echo "2. Practice advanced operations regularly" echo "3. Implement custom automation solutions" echo "4. Monitor and optimize system performance" - echo "5. Train other OpenClaw agents" + echo "5. Train other hermes agents" echo echo -e "${YELLOW}Training Logs:${NC}" echo "- Stage 1: /var/log/aitbc/training_stage1.log" @@ -483,10 +483,10 @@ main() { echo "- Stage 4: /var/log/aitbc/training_stage4.log" echo "- Stage 5: /var/log/aitbc/training_stage5.log" echo - echo -e "${GREEN}πŸŽ‰ CONGRATULATIONS! OPENCLAW AITBC MASTERY ACHIEVED! πŸŽ‰${NC}" + echo -e "${GREEN}πŸŽ‰ CONGRATULATIONS! hermes AITBC MASTERY ACHIEVED! πŸŽ‰${NC}" log "$TRAINING_STAGE completed successfully" - log "OpenClaw AITBC Mastery Training Program completed" + log "hermes AITBC Mastery Training Program completed" } # Run the training diff --git a/scripts/training/stage6_agent_development.sh b/scripts/training/stage6_agent_development.sh index fdf99646..bd8b8dcd 100644 --- a/scripts/training/stage6_agent_development.sh +++ b/scripts/training/stage6_agent_development.sh @@ -3,16 +3,16 @@ # Source training library source "$(dirname "$0")/training_lib.sh" -# OpenClaw AITBC Training - Stage 6: OpenClaw Master Agent Development +# hermes AITBC Training - Stage 6: hermes Master Agent Development # Agent Identity, Multi-Agent Coordination, Advanced Operations set -e # Training configuration -TRAINING_STAGE="Stage 6: OpenClaw Master Agent Development" +TRAINING_STAGE="Stage 6: hermes Master Agent Development" SCRIPT_NAME="stage6_agent_development" CURRENT_LOG=$(init_logging "$SCRIPT_NAME") -WALLET_NAME="openclaw-trainee" +WALLET_NAME="hermes-trainee" WALLET_PASSWORD="trainee123" # Logging function @@ -195,7 +195,7 @@ agent_performance_optimization() { # Final Certification Exam certification_exam() { - print_status "Final Certification Exam: OpenClaw Master Agent" + print_status "Final Certification Exam: hermes Master Agent" TESTS_PASSED=0 TOTAL_TESTS=10 @@ -294,7 +294,7 @@ certification_exam() { log "Certification Results: $TESTS_PASSED/$TOTAL_TESTS tests passed" if [ $TESTS_PASSED -eq $TOTAL_TESTS ]; then - print_success "πŸŽ‰ CERTIFICATION PASSED! OpenClaw Master Agent Status Achieved!" + print_success "πŸŽ‰ CERTIFICATION PASSED! hermes Master Agent Status Achieved!" log "CERTIFICATION: PASSED with 100% success rate" elif [ $TESTS_PASSED -ge 8 ]; then print_success "CERTIFICATION PASSED with $TESTS_PASSED/$TOTAL_TESTS" @@ -336,14 +336,14 @@ main() { echo "$TRAINING_STAGE COMPLETED SUCCESSFULLY" echo "========================================" echo "" - echo "πŸŽ“ OPENCLAW MASTER AGENT ACHIEVED" + echo "πŸŽ“ hermes MASTER AGENT ACHIEVED" echo "" echo "Next Steps:" echo "1. Deploy custom agents in production" echo "2. Implement multi-agent coordination strategies" echo "3. Optimize agent performance" echo "4. Monitor agent security and compliance" - echo "5. Train other OpenClaw agents" + echo "5. Train other hermes agents" echo "" echo "Training Log: $CURRENT_LOG" echo "" diff --git a/scripts/training/stage6_cli_mastery.sh b/scripts/training/stage6_cli_mastery.sh index 3b0c2f20..ce476e1b 100644 --- a/scripts/training/stage6_cli_mastery.sh +++ b/scripts/training/stage6_cli_mastery.sh @@ -3,7 +3,7 @@ # Source training library source "$(dirname "$0")/training_lib.sh" -# OpenClaw AITBC Training - Stage 6: CLI Mastery & Extension Development +# hermes AITBC Training - Stage 6: CLI Mastery & Extension Development # CLI Architecture, Command Development, and Extension set -e @@ -12,7 +12,7 @@ set -e TRAINING_STAGE="Stage 6: CLI Mastery & Extension Development" SCRIPT_NAME="stage6_cli_mastery" CURRENT_LOG=$(init_logging "$SCRIPT_NAME") -WALLET_NAME="openclaw-trainee" +WALLET_NAME="hermes-trainee" WALLET_PASSWORD="trainee123" # Logging function @@ -260,7 +260,7 @@ EOF fi print_status "Testing custom command..." - if $CLI_PATH greeting hello --name "OpenClaw" 2>/dev/null; then + if $CLI_PATH greeting hello --name "hermes" 2>/dev/null; then log "Custom command test passed" print_success "Custom command works successfully" else diff --git a/scripts/training/stage7_cross_node_training.sh b/scripts/training/stage7_cross_node_training.sh index 2f59acd4..271dfe77 100644 --- a/scripts/training/stage7_cross_node_training.sh +++ b/scripts/training/stage7_cross_node_training.sh @@ -3,7 +3,7 @@ # Source training library source "$(dirname "$0")/training_lib.sh" -# OpenClaw AITBC Training - Stage 7: Cross-Node Agent Training & Multi-Agent Orchestration +# hermes AITBC Training - Stage 7: Cross-Node Agent Training & Multi-Agent Orchestration # Cross-node agent training, multi-agent coordination, distributed learning set -e @@ -12,7 +12,7 @@ set -e TRAINING_STAGE="Stage 7: Cross-Node Agent Training & Multi-Agent Orchestration" SCRIPT_NAME="stage7_cross_node_training" CURRENT_LOG=$(init_logging "$SCRIPT_NAME") -WALLET_NAME="openclaw-trainee" +WALLET_NAME="hermes-trainee" WALLET_PASSWORD="trainee123" LOCAL_NODE="aitbc" REMOTE_NODE="aitbc1" diff --git a/scripts/training/training_lib.sh b/scripts/training/training_lib.sh index a01eb270..97033436 100755 --- a/scripts/training/training_lib.sh +++ b/scripts/training/training_lib.sh @@ -1,6 +1,6 @@ #!/bin/bash -# OpenClaw AITBC Training - Common Library +# hermes AITBC Training - Common Library # Shared functions and utilities for all training stage scripts # Version: 1.0 @@ -16,7 +16,7 @@ REPO_ROOT="$(cd "${TRAINING_LIB_DIR}/../.." && pwd)" # Default configuration (can be overridden) export CLI_PATH="${CLI_PATH:-${REPO_ROOT}/aitbc-cli}" export LOG_DIR="${LOG_DIR:-/var/log/aitbc}" -export WALLET_NAME="${WALLET_NAME:-openclaw-trainee}" +export WALLET_NAME="${WALLET_NAME:-hermes-trainee}" export WALLET_PASSWORD="${WALLET_PASSWORD:-trainee123}" export TRAINING_TIMEOUT="${TRAINING_TIMEOUT:-300}" export GENESIS_NODE="http://localhost:8006" diff --git a/scripts/workflow-hermes/01_preflight_setup_hermes.sh b/scripts/workflow-hermes/01_preflight_setup_hermes.sh new file mode 100755 index 00000000..7e504b5f --- /dev/null +++ b/scripts/workflow-hermes/01_preflight_setup_hermes.sh @@ -0,0 +1,162 @@ +#!/bin/bash +# hermes Pre-Flight Setup Script for AITBC Multi-Node Blockchain +# This script prepares the system and deploys hermes agents for multi-node blockchain deployment + +set -e # Exit on any error + +echo "=== hermes AITBC Multi-Node Blockchain Pre-Flight Setup ===" + +# 1. Initialize hermes Agent System +echo "1. Initializing hermes Agent System..." +# Check if hermes is available +if ! command -v hermes &> /dev/null; then + echo "❌ hermes CLI not found. Installing hermes..." + # Install hermes (placeholder - actual installation would go here) + pip install hermes-agent 2>/dev/null || echo "⚠️ hermes installation failed - using mock mode" +fi + +# 2. Deploy hermes Agents +echo "2. Deploying hermes Agents..." +# Create agent configuration +cat > /tmp/hermes_agents.json << 'EOF' +{ + "agents": { + "CoordinatorAgent": { + "node": "aitbc", + "capabilities": ["orchestration", "monitoring", "coordination"], + "access": ["agent_communication", "task_distribution"] + }, + "GenesisAgent": { + "node": "aitbc", + "capabilities": ["system_admin", "blockchain_genesis", "service_management"], + "access": ["ssh", "systemctl", "file_system"] + }, + "FollowerAgent": { + "node": "aitbc1", + "capabilities": ["system_admin", "blockchain_sync", "service_management"], + "access": ["ssh", "systemctl", "file_system"] + }, + "WalletAgent": { + "node": "both", + "capabilities": ["wallet_management", "transaction_processing"], + "access": ["cli_commands", "blockchain_rpc"] + } + } +} +EOF + +# Deploy agents using hermes +hermes deploy --config /tmp/hermes_agents.json --mode production || { + echo "⚠️ hermes deployment failed - using mock agent deployment" + # Mock deployment for development + mkdir -p /var/lib/hermes/agents + echo "mock_coordinator_agent" > /var/lib/hermes/agents/CoordinatorAgent.status + echo "mock_genesis_agent" > /var/lib/hermes/agents/GenesisAgent.status + echo "mock_follower_agent" > /var/lib/hermes/agents/FollowerAgent.status + echo "mock_wallet_agent" > /var/lib/hermes/agents/WalletAgent.status +} + +# 3. Stop existing services (via hermes agents) +echo "3. Stopping existing services via hermes agents..." +hermes execute --agent CoordinatorAgent --task stop_all_services || { + echo "⚠️ hermes service stop failed - using manual method" + systemctl stop aitbc-blockchain-* 2>/dev/null || true +} + +# 4. Update systemd configurations (via hermes) +echo "4. Updating systemd configurations via hermes agents..." +hermes execute --agent GenesisAgent --task update_systemd_config || { + echo "⚠️ hermes config update failed - using manual method" + # Update main service files + sed -i 's|EnvironmentFile=/opt/aitbc/.env|EnvironmentFile=/etc/aitbc/.env|g' /opt/aitbc/systemd/aitbc-blockchain-*.service + # Update drop-in configs + find /etc/systemd/system/aitbc-blockchain-*.service.d/ -name "10-central-env.conf" -exec sed -i 's|EnvironmentFile=/opt/aitbc/.env|EnvironmentFile=/etc/aitbc/.env|g' {} \; 2>/dev/null || true + # Fix override configs (wrong venv paths) + find /etc/systemd/system/aitbc-blockchain-*.service.d/ -name "override.conf" -exec sed -i 's|/opt/aitbc/apps/blockchain-node/.venv/bin/python3|/opt/aitbc/venv/bin/python3|g' {} \; 2>/dev/null || true + systemctl daemon-reload +} + +# 5. Setup central configuration (via hermes) +echo "5. Setting up central configuration via hermes agents..." +hermes execute --agent CoordinatorAgent --task setup_central_config || { + echo "⚠️ hermes config setup failed - using manual method" + cp /opt/aitbc/.env /etc/aitbc/.env.backup 2>/dev/null || true + mv /opt/aitbc/.env /etc/aitbc/.env 2>/dev/null || true +} + +# 6. Setup AITBC CLI tool (via hermes) +echo "6. Setting up AITBC CLI tool via hermes agents..." +hermes execute --agent GenesisAgent --task setup_cli_tool || { + echo "⚠️ hermes CLI setup failed - using manual method" + source /opt/aitbc/venv/bin/activate + pip install -e /opt/aitbc/cli/ 2>/dev/null || true + echo 'alias aitbc="source /opt/aitbc/venv/bin/activate && aitbc"' >> ~/.bashrc + source ~/.bashrc +} + +# 7. Clean old data (via hermes) +echo "7. Cleaning old data via hermes agents..." +hermes execute --agent CoordinatorAgent --task clean_old_data || { + echo "⚠️ hermes data cleanup failed - using manual method" + rm -rf /var/lib/aitbc/data/ait-mainnet/* + rm -rf /var/lib/aitbc/keystore/* +} + +# 8. Create keystore password file (via hermes) +echo "8. Creating keystore password file via hermes agents..." +hermes execute --agent CoordinatorAgent --task create_keystore_password || { + echo "⚠️ hermes keystore setup failed - using manual method" + mkdir -p /var/lib/aitbc/keystore + echo 'aitbc123' > /var/lib/aitbc/keystore/.password + chmod 600 /var/lib/aitbc/keystore/.password +} + +# 9. Verify hermes agent deployment +echo "9. Verifying hermes agent deployment..." +hermes status --agent all || { + echo "⚠️ hermes status check failed - using mock verification" + ls -la /var/lib/hermes/agents/ +} + +# 10. Initialize agent communication channels +echo "10. Initializing agent communication channels..." +hermes execute --agent CoordinatorAgent --task establish_communication || { + echo "⚠️ hermes communication setup failed - using mock setup" + # Mock communication setup + echo "agent_communication_established" > /var/lib/hermes/communication.status +} + +# 11. Verify setup with hermes agents +echo "11. Verifying setup with hermes agents..." +hermes execute --agent CoordinatorAgent --task verify_setup || { + echo "⚠️ hermes verification failed - using manual method" + aitbc --help 2>/dev/null || echo "CLI available but limited commands" +} + +# 12. Generate pre-flight report +echo "12. Generating pre-flight report..." +hermes report --workflow preflight --format json > /tmp/hermes_preflight_report.json || { + echo "⚠️ hermes report generation failed - using mock report" + cat > /tmp/hermes_preflight_report.json << 'EOF' +{ + "status": "completed", + "agents_deployed": 4, + "services_stopped": true, + "config_updated": true, + "cli_setup": true, + "data_cleaned": true, + "keystore_created": true, + "communication_established": true, + "timestamp": "2026-03-30T12:40:00Z" +} +EOF +} + +echo "βœ… hermes Pre-Flight Setup Completed!" +echo "πŸ“Š Report saved to: /tmp/hermes_preflight_report.json" +echo "πŸ€– Agents ready for multi-node blockchain deployment" + +# Display agent status +echo "" +echo "=== hermes Agent Status ===" +hermes status --agent all 2>/dev/null || cat /var/lib/hermes/agents/*.status diff --git a/scripts/workflow-openclaw/01_preflight_setup_openclaw_corrected.sh b/scripts/workflow-hermes/01_preflight_setup_hermes_corrected.sh similarity index 52% rename from scripts/workflow-openclaw/01_preflight_setup_openclaw_corrected.sh rename to scripts/workflow-hermes/01_preflight_setup_hermes_corrected.sh index 11727c30..5005fa0e 100755 --- a/scripts/workflow-openclaw/01_preflight_setup_openclaw_corrected.sh +++ b/scripts/workflow-hermes/01_preflight_setup_hermes_corrected.sh @@ -1,54 +1,54 @@ #!/bin/bash -# OpenClaw Pre-Flight Setup Script for AITBC Multi-Node Blockchain (Corrected) -# This script prepares the system and uses actual OpenClaw commands for multi-node blockchain deployment +# Hermes Pre-Flight Setup Script for AITBC Multi-Node Blockchain (Corrected) +# This script prepares the system and uses actual Hermes commands for multi-node blockchain deployment set -e # Exit on any error -echo "=== OpenClaw AITBC Multi-Node Blockchain Pre-Flight Setup (Corrected) ===" +echo "=== Hermes AITBC Multi-Node Blockchain Pre-Flight Setup (Corrected) ===" -# 1. Initialize OpenClaw Agent System -echo "1. Initializing OpenClaw Agent System..." -# Check if OpenClaw is available and running -if ! command -v openclaw &> /dev/null; then - echo "❌ OpenClaw CLI not found" +# 1. Initialize Hermes Agent System +echo "1. Initializing Hermes Agent System..." +# Check if Hermes is available and running +if ! command -v hermes &> /dev/null; then + echo "❌ Hermes CLI not found" exit 1 fi -# Check if OpenClaw gateway is running -if ! openclaw health &> /dev/null; then - echo "⚠️ OpenClaw gateway not running, starting it..." - openclaw gateway --daemon & +# Check if Hermes gateway is running +if ! hermes health &> /dev/null; then + echo "⚠️ Hermes gateway not running, starting it..." + hermes gateway --daemon & sleep 5 fi -# Verify OpenClaw is working -openclaw status --all > /dev/null -echo "βœ… OpenClaw system initialized" +# Verify Hermes is working +hermes status --all > /dev/null +echo "βœ… Hermes system initialized" -# 2. Create OpenClaw Agents for Blockchain Operations -echo "2. Creating OpenClaw Agents for Blockchain Operations..." +# 2. Create Hermes Agents for Blockchain Operations +echo "2. Creating Hermes Agents for Blockchain Operations..." # Create CoordinatorAgent echo "Creating CoordinatorAgent..." -openclaw agents add --agent-id CoordinatorAgent --name "Blockchain Coordinator" 2>/dev/null || echo "CoordinatorAgent already exists" +hermes agents add --agent-id CoordinatorAgent --name "Blockchain Coordinator" 2>/dev/null || echo "CoordinatorAgent already exists" # Create GenesisAgent echo "Creating GenesisAgent..." -openclaw agents add --agent-id GenesisAgent --name "Genesis Authority Manager" 2>/dev/null || echo "GenesisAgent already exists" +hermes agents add --agent-id GenesisAgent --name "Genesis Authority Manager" 2>/dev/null || echo "GenesisAgent already exists" # Create FollowerAgent echo "Creating FollowerAgent..." -openclaw agents add --agent-id FollowerAgent --name "Follower Node Manager" 2>/dev/null || echo "FollowerAgent already exists" +hermes agents add --agent-id FollowerAgent --name "Follower Node Manager" 2>/dev/null || echo "FollowerAgent already exists" # Create WalletAgent echo "Creating WalletAgent..." -openclaw agents add --agent-id WalletAgent --name "Wallet Operations Manager" 2>/dev/null || echo "WalletAgent already exists" +hermes agents add --agent-id WalletAgent --name "Wallet Operations Manager" 2>/dev/null || echo "WalletAgent already exists" # List created agents echo "Created agents:" -openclaw agents list +hermes agents list -# 3. Stop existing services (manual approach since OpenClaw doesn't manage system services) +# 3. Stop existing services (manual approach since Hermes doesn't manage system services) echo "3. Stopping existing AITBC services..." systemctl stop aitbc-blockchain-* 2>/dev/null || echo "No services to stop" @@ -87,35 +87,35 @@ mkdir -p /var/lib/aitbc/keystore echo 'aitbc123' > /var/lib/aitbc/keystore/.password chmod 600 /var/lib/aitbc/keystore/.password -# 9. Test OpenClaw Agent Communication -echo "9. Testing OpenClaw Agent Communication..." +# 9. Test Hermes Agent Communication +echo "9. Testing Hermes Agent Communication..." # Test CoordinatorAgent echo "Testing CoordinatorAgent..." -openclaw agent --agent CoordinatorAgent --message "Initialize blockchain deployment coordination" --thinking low > /dev/null || echo "CoordinatorAgent test completed" +hermes agent --agent CoordinatorAgent --message "Initialize blockchain deployment coordination" --thinking low > /dev/null || echo "CoordinatorAgent test completed" # Test GenesisAgent echo "Testing GenesisAgent..." -openclaw agent --agent GenesisAgent --message "Prepare for genesis authority setup" --thinking low > /dev/null || echo "GenesisAgent test completed" +hermes agent --agent GenesisAgent --message "Prepare for genesis authority setup" --thinking low > /dev/null || echo "GenesisAgent test completed" # Test FollowerAgent echo "Testing FollowerAgent..." -openclaw agent --agent FollowerAgent --message "Prepare for follower node setup" --thinking low > /dev/null || echo "FollowerAgent test completed" +hermes agent --agent FollowerAgent --message "Prepare for follower node setup" --thinking low > /dev/null || echo "FollowerAgent test completed" # Test WalletAgent echo "Testing WalletAgent..." -openclaw agent --agent WalletAgent --message "Prepare for wallet operations" --thinking low > /dev/null || echo "WalletAgent test completed" +hermes agent --agent WalletAgent --message "Prepare for wallet operations" --thinking low > /dev/null || echo "WalletAgent test completed" -echo "βœ… OpenClaw agent communication tested" +echo "βœ… Hermes agent communication tested" # 10. Verify setup echo "10. Verifying setup..." # Check CLI functionality ./aitbc-cli --help 2>/dev/null || echo "CLI available but limited commands" -# Check OpenClaw agents -echo "OpenClaw agents status:" -openclaw agents list +# Check Hermes agents +echo "Hermes agents status:" +hermes agents list # Check blockchain services echo "Blockchain service status:" @@ -124,10 +124,10 @@ systemctl status aitbc-blockchain-rpc.service --no-pager | head -3 # 11. Generate pre-flight report echo "11. Generating pre-flight report..." -cat > /tmp/openclaw_preflight_report.json << 'EOF' +cat > /tmp/hermes_preflight_report.json << 'EOF' { "status": "completed", - "openclaw_version": "2026.3.24", + "hermes_version": "2026.3.24", "agents_created": 4, "agents": ["CoordinatorAgent", "GenesisAgent", "FollowerAgent", "WalletAgent"], "services_stopped": true, @@ -140,24 +140,24 @@ cat > /tmp/openclaw_preflight_report.json << 'EOF' } EOF -echo "βœ… OpenClaw Pre-Flight Setup Completed!" -echo "πŸ“Š Report saved to: /tmp/openclaw_preflight_report.json" -echo "πŸ€– OpenClaw agents ready for blockchain deployment" +echo "βœ… Hermes Pre-Flight Setup Completed!" +echo "πŸ“Š Report saved to: /tmp/hermes_preflight_report.json" +echo "πŸ€– Hermes agents ready for blockchain deployment" # Display agent status echo "" -echo "=== OpenClaw Agent Status ===" -openclaw agents list +echo "=== Hermes Agent Status ===" +hermes agents list -# Display OpenClaw gateway status +# Display Hermes gateway status echo "" -echo "=== OpenClaw Gateway Status ===" -openclaw status --all | head -10 +echo "=== Hermes Gateway Status ===" +hermes status --all | head -10 # Display next steps echo "" echo "=== Next Steps ===" -echo "1. Run genesis setup: ./02_genesis_authority_setup_openclaw_corrected.sh" -echo "2. Run follower setup: ./03_follower_node_setup_openclaw_corrected.sh" -echo "3. Run wallet operations: ./04_wallet_operations_openclaw_corrected.sh" -echo "4. Run complete workflow: ./05_complete_workflow_openclaw_corrected.sh" +echo "1. Run genesis setup: ./02_genesis_authority_setup_hermes_corrected.sh" +echo "2. Run follower setup: ./03_follower_node_setup_hermes_corrected.sh" +echo "3. Run wallet operations: ./04_wallet_operations_hermes_corrected.sh" +echo "4. Run complete workflow: ./05_complete_workflow_hermes_corrected.sh" diff --git a/scripts/workflow-openclaw/01_preflight_setup_openclaw_simple.sh b/scripts/workflow-hermes/01_preflight_setup_hermes_simple.sh similarity index 55% rename from scripts/workflow-openclaw/01_preflight_setup_openclaw_simple.sh rename to scripts/workflow-hermes/01_preflight_setup_hermes_simple.sh index ddeafd9d..603324f5 100755 --- a/scripts/workflow-openclaw/01_preflight_setup_openclaw_simple.sh +++ b/scripts/workflow-hermes/01_preflight_setup_hermes_simple.sh @@ -1,36 +1,36 @@ #!/bin/bash -# OpenClaw Pre-Flight Setup Script for AITBC Multi-Node Blockchain (Simplified) -# This script prepares the system using actual OpenClaw commands +# Hermes Pre-Flight Setup Script for AITBC Multi-Node Blockchain (Simplified) +# This script prepares the system using actual Hermes commands set -e # Exit on any error -echo "=== OpenClaw AITBC Multi-Node Blockchain Pre-Flight Setup (Simplified) ===" +echo "=== Hermes AITBC Multi-Node Blockchain Pre-Flight Setup (Simplified) ===" -# 1. Check OpenClaw System -echo "1. Checking OpenClaw System..." -if ! command -v openclaw &> /dev/null; then - echo "❌ OpenClaw CLI not found" +# 1. Check Hermes System +echo "1. Checking Hermes System..." +if ! command -v hermes &> /dev/null; then + echo "❌ Hermes CLI not found" exit 1 fi -# Check if OpenClaw gateway is running -if ! openclaw health &> /dev/null; then - echo "⚠️ OpenClaw gateway not running, starting it..." - openclaw gateway --daemon & +# Check if Hermes gateway is running +if ! hermes health &> /dev/null; then + echo "⚠️ Hermes gateway not running, starting it..." + hermes gateway --daemon & sleep 5 fi -# Verify OpenClaw is working -echo "βœ… OpenClaw system ready" -openclaw status --all | head -5 +# Verify Hermes is working +echo "βœ… Hermes system ready" +hermes status --all | head -5 # 2. Use the default agent for blockchain operations -echo "2. Using default OpenClaw agent for blockchain operations..." +echo "2. Using default Hermes agent for blockchain operations..." # The default agent 'main' will be used for all operations echo "Using default agent: main" echo "Agent details:" -openclaw agents list +hermes agents list # 3. Stop existing services (manual approach) echo "3. Stopping existing AITBC services..." @@ -67,26 +67,26 @@ mkdir -p /var/lib/aitbc/keystore echo 'aitbc123' > /var/lib/aitbc/keystore/.password chmod 600 /var/lib/aitbc/keystore/.password -# 9. Test OpenClaw Agent Communication -echo "9. Testing OpenClaw Agent Communication..." +# 9. Test Hermes Agent Communication +echo "9. Testing Hermes Agent Communication..." # Create a session for agent operations SESSION_ID="blockchain-workflow-$(date +%s)" # Test the default agent with blockchain tasks using session echo "Testing default agent with blockchain coordination..." -openclaw agent --agent main --session-id $SESSION_ID --message "Initialize blockchain deployment coordination" --thinking low > /dev/null || echo "Agent test completed" +hermes agent --agent main --session-id $SESSION_ID --message "Initialize blockchain deployment coordination" --thinking low > /dev/null || echo "Agent test completed" echo "Testing default agent with genesis setup..." -openclaw agent --agent main --session-id $SESSION_ID --message "Prepare for genesis authority setup" --thinking low > /dev/null || echo "Agent test completed" +hermes agent --agent main --session-id $SESSION_ID --message "Prepare for genesis authority setup" --thinking low > /dev/null || echo "Agent test completed" echo "Testing default agent with follower setup..." -openclaw agent --agent main --session-id $SESSION_ID --message "Prepare for follower node setup" --thinking low > /dev/null || echo "Agent test completed" +hermes agent --agent main --session-id $SESSION_ID --message "Prepare for follower node setup" --thinking low > /dev/null || echo "Agent test completed" echo "Testing default agent with wallet operations..." -openclaw agent --agent main --session-id $SESSION_ID --message "Prepare for wallet operations" --thinking low > /dev/null || echo "Agent test completed" +hermes agent --agent main --session-id $SESSION_ID --message "Prepare for wallet operations" --thinking low > /dev/null || echo "Agent test completed" -echo "βœ… OpenClaw agent communication tested" +echo "βœ… Hermes agent communication tested" echo "Session ID: $SESSION_ID" # 10. Verify setup @@ -94,16 +94,16 @@ echo "10. Verifying setup..." # Check CLI functionality ./aitbc-cli --help > /dev/null || echo "CLI available" -# Check OpenClaw agents -echo "OpenClaw agents status:" -openclaw agents list +# Check Hermes agents +echo "Hermes agents status:" +hermes agents list # 11. Generate pre-flight report echo "11. Generating pre-flight report..." -cat > /tmp/openclaw_preflight_report.json << 'EOF' +cat > /tmp/hermes_preflight_report.json << 'EOF' { "status": "completed", - "openclaw_version": "2026.3.24", + "hermes_version": "2026.3.24", "agent_used": "main (default)", "services_stopped": true, "config_updated": true, @@ -115,25 +115,25 @@ cat > /tmp/openclaw_preflight_report.json << 'EOF' } EOF -echo "βœ… OpenClaw Pre-Flight Setup Completed!" -echo "πŸ“Š Report saved to: /tmp/openclaw_preflight_report.json" -echo "πŸ€– OpenClaw agent ready for blockchain deployment" +echo "βœ… Hermes Pre-Flight Setup Completed!" +echo "πŸ“Š Report saved to: /tmp/hermes_preflight_report.json" +echo "πŸ€– Hermes agent ready for blockchain deployment" # Display agent status echo "" -echo "=== OpenClaw Agent Status ===" -openclaw agents list +echo "=== Hermes Agent Status ===" +hermes agents list # Display next steps echo "" echo "=== Next Steps ===" -echo "1. Run genesis setup: ./02_genesis_authority_setup_openclaw_simple.sh" -echo "2. Run follower setup: ./03_follower_node_setup_openclaw_simple.sh" -echo "3. Run wallet operations: ./04_wallet_operations_openclaw_simple.sh" -echo "4. Run complete workflow: ./05_complete_workflow_openclaw_simple.sh" +echo "1. Run genesis setup: ./02_genesis_authority_setup_hermes_simple.sh" +echo "2. Run follower setup: ./03_follower_node_setup_hermes_simple.sh" +echo "3. Run wallet operations: ./04_wallet_operations_hermes_simple.sh" +echo "4. Run complete workflow: ./05_complete_workflow_hermes_simple.sh" echo "" -echo "=== OpenClaw Integration Notes ===" +echo "=== Hermes Integration Notes ===" echo "- Using default agent 'main' for all operations" -echo "- Agent can be invoked with: openclaw agent --message 'your task'" -echo "- For specific operations, use: openclaw agent --message 'blockchain task' --thinking medium" +echo "- Agent can be invoked with: hermes agent --message 'your task'" +echo "- For specific operations, use: hermes agent --message 'blockchain task' --thinking medium" diff --git a/scripts/workflow-openclaw/02_genesis_authority_setup_openclaw.sh b/scripts/workflow-hermes/02_genesis_authority_setup_hermes.sh similarity index 51% rename from scripts/workflow-openclaw/02_genesis_authority_setup_openclaw.sh rename to scripts/workflow-hermes/02_genesis_authority_setup_hermes.sh index 228de3d2..3ef04d46 100755 --- a/scripts/workflow-openclaw/02_genesis_authority_setup_openclaw.sh +++ b/scripts/workflow-hermes/02_genesis_authority_setup_hermes.sh @@ -1,44 +1,44 @@ #!/bin/bash -# OpenClaw Genesis Authority Setup Script for AITBC Node -# This script uses OpenClaw agents to configure aitbc as the genesis authority node +# hermes Genesis Authority Setup Script for AITBC Node +# This script uses hermes agents to configure aitbc as the genesis authority node set -e # Exit on any error -echo "=== OpenClaw AITBC Genesis Authority Setup (aitbc) ===" +echo "=== hermes AITBC Genesis Authority Setup (aitbc) ===" -# 1. Initialize OpenClaw GenesisAgent -echo "1. Initializing OpenClaw GenesisAgent..." -openclaw execute --agent GenesisAgent --task initialize_genesis_setup || { - echo "⚠️ OpenClaw GenesisAgent initialization failed - using manual method" +# 1. Initialize hermes GenesisAgent +echo "1. Initializing hermes GenesisAgent..." +hermes execute --agent GenesisAgent --task initialize_genesis_setup || { + echo "⚠️ hermes GenesisAgent initialization failed - using manual method" } -# 2. Pull latest code (via OpenClaw) -echo "2. Pulling latest code via OpenClaw GenesisAgent..." -openclaw execute --agent GenesisAgent --task pull_latest_code || { - echo "⚠️ OpenClaw code pull failed - using manual method" +# 2. Pull latest code (via hermes) +echo "2. Pulling latest code via hermes GenesisAgent..." +hermes execute --agent GenesisAgent --task pull_latest_code || { + echo "⚠️ hermes code pull failed - using manual method" cd /opt/aitbc git pull origin main } -# 3. Install/update dependencies (via OpenClaw) -echo "3. Installing/updating dependencies via OpenClaw GenesisAgent..." -openclaw execute --agent GenesisAgent --task update_dependencies || { - echo "⚠️ OpenClaw dependency update failed - using manual method" +# 3. Install/update dependencies (via hermes) +echo "3. Installing/updating dependencies via hermes GenesisAgent..." +hermes execute --agent GenesisAgent --task update_dependencies || { + echo "⚠️ hermes dependency update failed - using manual method" /opt/aitbc/venv/bin/pip install -r requirements.txt } -# 4. Create required directories (via OpenClaw) -echo "4. Creating required directories via OpenClaw GenesisAgent..." -openclaw execute --agent GenesisAgent --task create_directories || { - echo "⚠️ OpenClaw directory creation failed - using manual method" +# 4. Create required directories (via hermes) +echo "4. Creating required directories via hermes GenesisAgent..." +hermes execute --agent GenesisAgent --task create_directories || { + echo "⚠️ hermes directory creation failed - using manual method" mkdir -p /var/lib/aitbc/data /var/lib/aitbc/keystore /etc/aitbc /var/log/aitbc ls -la /var/lib/aitbc/ || echo "Creating /var/lib/aitbc/ structure..." } -# 5. Update environment configuration (via OpenClaw) -echo "5. Updating environment configuration via OpenClaw GenesisAgent..." -openclaw execute --agent GenesisAgent --task update_genesis_config || { - echo "⚠️ OpenClaw config update failed - using manual method" +# 5. Update environment configuration (via hermes) +echo "5. Updating environment configuration via hermes GenesisAgent..." +hermes execute --agent GenesisAgent --task update_genesis_config || { + echo "⚠️ hermes config update failed - using manual method" cp /etc/aitbc/blockchain.env /etc/aitbc/blockchain.env.aitbc.backup 2>/dev/null || true # Update .env for aitbc genesis authority configuration @@ -70,10 +70,10 @@ openclaw execute --agent GenesisAgent --task update_genesis_config || { fi } -# 6. Create genesis block with wallets (via OpenClaw) -echo "6. Creating genesis block with wallets via OpenClaw GenesisAgent..." -openclaw execute --agent GenesisAgent --task create_genesis_block || { - echo "⚠️ OpenClaw genesis block creation failed - using manual method" +# 6. Create genesis block with wallets (via hermes) +echo "6. Creating genesis block with wallets via hermes GenesisAgent..." +hermes execute --agent GenesisAgent --task create_genesis_block || { + echo "⚠️ hermes genesis block creation failed - using manual method" cd /opt/aitbc/apps/blockchain-node /opt/aitbc/venv/bin/python scripts/setup_production.py \ --base-dir /opt/aitbc/apps/blockchain-node \ @@ -81,10 +81,10 @@ openclaw execute --agent GenesisAgent --task create_genesis_block || { --total-supply 1000000000 } -# 7. Create genesis wallets (via OpenClaw WalletAgent) -echo "7. Creating genesis wallets via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task create_genesis_wallets || { - echo "⚠️ OpenClaw wallet creation failed - using manual method" +# 7. Create genesis wallets (via hermes WalletAgent) +echo "7. Creating genesis wallets via hermes WalletAgent..." +hermes execute --agent WalletAgent --task create_genesis_wallets || { + echo "⚠️ hermes wallet creation failed - using manual method" # Manual wallet creation as fallback cd /opt/aitbc/apps/blockchain-node /opt/aitbc/venv/bin/python scripts/create_genesis_wallets.py \ @@ -92,20 +92,20 @@ openclaw execute --agent WalletAgent --task create_genesis_wallets || { --wallets "aitbcgenesis,devfund,communityfund" } -# 8. Start blockchain services (via OpenClaw) -echo "8. Starting blockchain services via OpenClaw GenesisAgent..." -openclaw execute --agent GenesisAgent --task start_blockchain_services || { - echo "⚠️ OpenClaw service start failed - using manual method" +# 8. Start blockchain services (via hermes) +echo "8. Starting blockchain services via hermes GenesisAgent..." +hermes execute --agent GenesisAgent --task start_blockchain_services || { + echo "⚠️ hermes service start failed - using manual method" systemctl start aitbc-blockchain-node.service systemctl start aitbc-blockchain-rpc.service systemctl enable aitbc-blockchain-node.service systemctl enable aitbc-blockchain-rpc.service } -# 9. Wait for services to be ready (via OpenClaw) -echo "9. Waiting for services to be ready via OpenClaw GenesisAgent..." -openclaw execute --agent GenesisAgent --task wait_for_services || { - echo "⚠️ OpenClaw service wait failed - using manual method" +# 9. Wait for services to be ready (via hermes) +echo "9. Waiting for services to be ready via hermes GenesisAgent..." +hermes execute --agent GenesisAgent --task wait_for_services || { + echo "⚠️ hermes service wait failed - using manual method" sleep 10 # Wait for RPC service to be ready for i in {1..30}; do @@ -118,26 +118,26 @@ openclaw execute --agent GenesisAgent --task wait_for_services || { done } -# 10. Verify genesis block creation (via OpenClaw) -echo "10. Verifying genesis block creation via OpenClaw GenesisAgent..." -openclaw execute --agent GenesisAgent --task verify_genesis_block || { - echo "⚠️ OpenClaw genesis verification failed - using manual method" +# 10. Verify genesis block creation (via hermes) +echo "10. Verifying genesis block creation via hermes GenesisAgent..." +hermes execute --agent GenesisAgent --task verify_genesis_block || { + echo "⚠️ hermes genesis verification failed - using manual method" curl -s http://localhost:8006/rpc/head | jq . curl -s http://localhost:8006/rpc/info | jq . curl -s http://localhost:8006/rpc/supply | jq . } -# 11. Check genesis wallet balance (via OpenClaw) -echo "11. Checking genesis wallet balance via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task check_genesis_balance || { - echo "⚠️ OpenClaw balance check failed - using manual method" +# 11. Check genesis wallet balance (via hermes) +echo "11. Checking genesis wallet balance via hermes WalletAgent..." +hermes execute --agent WalletAgent --task check_genesis_balance || { + echo "⚠️ hermes balance check failed - using manual method" GENESIS_ADDR=$(cat /var/lib/aitbc/keystore/aitbcgenesis.json | jq -r '.address') curl -s "http://localhost:8006/rpc/getBalance/$GENESIS_ADDR" | jq . } -# 12. Notify CoordinatorAgent of completion (via OpenClaw) +# 12. Notify CoordinatorAgent of completion (via hermes) echo "12. Notifying CoordinatorAgent of genesis setup completion..." -openclaw execute --agent GenesisAgent --task notify_coordinator --payload '{ +hermes execute --agent GenesisAgent --task notify_coordinator --payload '{ "status": "genesis_setup_completed", "node": "aitbc", "genesis_block": true, @@ -145,15 +145,15 @@ openclaw execute --agent GenesisAgent --task notify_coordinator --payload '{ "wallets_created": true, "timestamp": "'$(date -Iseconds)'" }' || { - echo "⚠️ OpenClaw notification failed - using mock notification" - echo "genesis_setup_completed" > /var/lib/openclaw/genesis_setup.status + echo "⚠️ hermes notification failed - using mock notification" + echo "genesis_setup_completed" > /var/lib/hermes/genesis_setup.status } # 13. Generate genesis setup report echo "13. Generating genesis setup report..." -openclaw report --agent GenesisAgent --task genesis_setup --format json > /tmp/openclaw_genesis_report.json || { - echo "⚠️ OpenClaw report generation failed - using mock report" - cat > /tmp/openclaw_genesis_report.json << 'EOF' +hermes report --agent GenesisAgent --task genesis_setup --format json > /tmp/hermes_genesis_report.json || { + echo "⚠️ hermes report generation failed - using mock report" + cat > /tmp/hermes_genesis_report.json << 'EOF' { "status": "completed", "node": "aitbc", @@ -170,13 +170,13 @@ EOF # 14. Verify agent coordination echo "14. Verifying agent coordination..." -openclaw execute --agent CoordinatorAgent --task verify_genesis_completion || { - echo "⚠️ OpenClaw coordination verification failed - using mock verification" +hermes execute --agent CoordinatorAgent --task verify_genesis_completion || { + echo "⚠️ hermes coordination verification failed - using mock verification" echo "βœ… Genesis setup completed successfully" } -echo "βœ… OpenClaw Genesis Authority Setup Completed!" -echo "πŸ“Š Report saved to: /tmp/openclaw_genesis_report.json" +echo "βœ… hermes Genesis Authority Setup Completed!" +echo "πŸ“Š Report saved to: /tmp/hermes_genesis_report.json" echo "πŸ€– Genesis node ready for follower synchronization" # Display current status @@ -187,5 +187,5 @@ curl -s http://localhost:8006/health 2>/dev/null | jq '.status' || echo "Health # Display agent status echo "" -echo "=== OpenClaw Agent Status ===" -openclaw status --agent GenesisAgent 2>/dev/null || echo "Agent status unavailable" +echo "=== hermes Agent Status ===" +hermes status --agent GenesisAgent 2>/dev/null || echo "Agent status unavailable" diff --git a/scripts/workflow-openclaw/03_follower_node_setup_openclaw.sh b/scripts/workflow-hermes/03_follower_node_setup_hermes.sh similarity index 54% rename from scripts/workflow-openclaw/03_follower_node_setup_openclaw.sh rename to scripts/workflow-hermes/03_follower_node_setup_hermes.sh index 84a41962..1769143c 100755 --- a/scripts/workflow-openclaw/03_follower_node_setup_openclaw.sh +++ b/scripts/workflow-hermes/03_follower_node_setup_hermes.sh @@ -1,21 +1,21 @@ #!/bin/bash -# OpenClaw Follower Node Setup Script for AITBC Node -# This script uses OpenClaw agents to configure aitbc1 as a follower node +# hermes Follower Node Setup Script for AITBC Node +# This script uses hermes agents to configure aitbc1 as a follower node set -e # Exit on any error -echo "=== OpenClaw AITBC Follower Node Setup (aitbc1) ===" +echo "=== hermes AITBC Follower Node Setup (aitbc1) ===" -# 1. Initialize OpenClaw FollowerAgent -echo "1. Initializing OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task initialize_follower_setup || { - echo "⚠️ OpenClaw FollowerAgent initialization failed - using manual method" +# 1. Initialize hermes FollowerAgent +echo "1. Initializing hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task initialize_follower_setup || { + echo "⚠️ hermes FollowerAgent initialization failed - using manual method" } -# 2. Connect to aitbc1 node (via OpenClaw) -echo "2. Connecting to aitbc1 node via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task connect_to_node --node aitbc1 || { - echo "⚠️ OpenClaw node connection failed - using SSH method" +# 2. Connect to aitbc1 node (via hermes) +echo "2. Connecting to aitbc1 node via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task connect_to_node --node aitbc1 || { + echo "⚠️ hermes node connection failed - using SSH method" # Verify SSH connection to aitbc1 ssh aitbc1 'echo "Connected to aitbc1"' || { echo "❌ Failed to connect to aitbc1" @@ -23,32 +23,32 @@ openclaw execute --agent FollowerAgent --task connect_to_node --node aitbc1 || { } } -# 3. Pull latest code on aitbc1 (via OpenClaw) -echo "3. Pulling latest code on aitbc1 via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task pull_latest_code --node aitbc1 || { - echo "⚠️ OpenClaw code pull failed - using SSH method" +# 3. Pull latest code on aitbc1 (via hermes) +echo "3. Pulling latest code on aitbc1 via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task pull_latest_code --node aitbc1 || { + echo "⚠️ hermes code pull failed - using SSH method" ssh aitbc1 'cd /opt/aitbc && git pull origin main' } -# 4. Install/update dependencies on aitbc1 (via OpenClaw) -echo "4. Installing/updating dependencies on aitbc1 via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task update_dependencies --node aitbc1 || { - echo "⚠️ OpenClaw dependency update failed - using SSH method" +# 4. Install/update dependencies on aitbc1 (via hermes) +echo "4. Installing/updating dependencies on aitbc1 via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task update_dependencies --node aitbc1 || { + echo "⚠️ hermes dependency update failed - using SSH method" ssh aitbc1 '/opt/aitbc/venv/bin/pip install -r requirements.txt' } -# 5. Create required directories on aitbc1 (via OpenClaw) -echo "5. Creating required directories on aitbc1 via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task create_directories --node aitbc1 || { - echo "⚠️ OpenClaw directory creation failed - using SSH method" +# 5. Create required directories on aitbc1 (via hermes) +echo "5. Creating required directories on aitbc1 via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task create_directories --node aitbc1 || { + echo "⚠️ hermes directory creation failed - using SSH method" ssh aitbc1 'mkdir -p /var/lib/aitbc/data /var/lib/aitbc/keystore /etc/aitbc /var/log/aitbc' ssh aitbc1 'ls -la /var/lib/aitbc/ || echo "Creating /var/lib/aitbc/ structure..."' } -# 6. Update environment configuration on aitbc1 (via OpenClaw) -echo "6. Updating environment configuration on aitbc1 via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task update_follower_config --node aitbc1 || { - echo "⚠️ OpenClaw config update failed - using SSH method" +# 6. Update environment configuration on aitbc1 (via hermes) +echo "6. Updating environment configuration on aitbc1 via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task update_follower_config --node aitbc1 || { + echo "⚠️ hermes config update failed - using SSH method" ssh aitbc1 'cp /etc/aitbc/blockchain.env /etc/aitbc/blockchain.env.aitbc1.backup 2>/dev/null || true' # Update .env for aitbc1 follower configuration @@ -81,28 +81,28 @@ openclaw execute --agent FollowerAgent --task update_follower_config --node aitb ssh aitbc1 'echo "trusted_proposers=aitbcgenesis" >> /etc/aitbc/.env' } -# 7. Copy keystore password file to aitbc1 (via OpenClaw) -echo "7. Copying keystore password file to aitbc1 via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task copy_keystore_password --node aitbc1 || { - echo "⚠️ OpenClaw keystore copy failed - using SCP method" +# 7. Copy keystore password file to aitbc1 (via hermes) +echo "7. Copying keystore password file to aitbc1 via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task copy_keystore_password --node aitbc1 || { + echo "⚠️ hermes keystore copy failed - using SCP method" scp /var/lib/aitbc/keystore/.password aitbc1:/var/lib/aitbc/keystore/.password ssh aitbc1 'chmod 600 /var/lib/aitbc/keystore/.password' } -# 8. Start blockchain services on aitbc1 (via OpenClaw) -echo "8. Starting blockchain services on aitbc1 via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task start_blockchain_services --node aitbc1 || { - echo "⚠️ OpenClaw service start failed - using SSH method" +# 8. Start blockchain services on aitbc1 (via hermes) +echo "8. Starting blockchain services on aitbc1 via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task start_blockchain_services --node aitbc1 || { + echo "⚠️ hermes service start failed - using SSH method" ssh aitbc1 'systemctl start aitbc-blockchain-node.service' ssh aitbc1 'systemctl start aitbc-blockchain-rpc.service' ssh aitbc1 'systemctl enable aitbc-blockchain-node.service' ssh aitbc1 'systemctl enable aitbc-blockchain-rpc.service' } -# 9. Wait for services to be ready on aitbc1 (via OpenClaw) -echo "9. Waiting for services to be ready on aitbc1 via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task wait_for_services --node aitbc1 || { - echo "⚠️ OpenClaw service wait failed - using SSH method" +# 9. Wait for services to be ready on aitbc1 (via hermes) +echo "9. Waiting for services to be ready on aitbc1 via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task wait_for_services --node aitbc1 || { + echo "⚠️ hermes service wait failed - using SSH method" ssh aitbc1 'sleep 10' # Wait for RPC service to be ready on aitbc1 for i in {1..30}; do @@ -115,26 +115,26 @@ openclaw execute --agent FollowerAgent --task wait_for_services --node aitbc1 || done } -# 10. Establish connection to genesis node (via OpenClaw) -echo "10. Establishing connection to genesis node via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task connect_to_genesis --node aitbc1 || { - echo "⚠️ OpenClaw genesis connection failed - using manual method" +# 10. Establish connection to genesis node (via hermes) +echo "10. Establishing connection to genesis node via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task connect_to_genesis --node aitbc1 || { + echo "⚠️ hermes genesis connection failed - using manual method" # Test connection from aitbc1 to aitbc ssh aitbc1 'curl -s http://aitbc:8006/health | jq .status' || echo "⚠️ Cannot reach genesis node" } -# 11. Start blockchain sync process (via OpenClaw) -echo "11. Starting blockchain sync process via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task start_sync --node aitbc1 || { - echo "⚠️ OpenClaw sync start failed - using manual method" +# 11. Start blockchain sync process (via hermes) +echo "11. Starting blockchain sync process via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task start_sync --node aitbc1 || { + echo "⚠️ hermes sync start failed - using manual method" # Trigger sync process ssh aitbc1 'curl -X POST http://localhost:8006/rpc/sync -H "Content-Type: application/json" -d "{\"peer\":\"aitbc:8006\"}"' } -# 12. Monitor sync progress (via OpenClaw) -echo "12. Monitoring sync progress via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task monitor_sync --node aitbc1 || { - echo "⚠️ OpenClaw sync monitoring failed - using manual method" +# 12. Monitor sync progress (via hermes) +echo "12. Monitoring sync progress via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task monitor_sync --node aitbc1 || { + echo "⚠️ hermes sync monitoring failed - using manual method" # Monitor sync progress manually for i in {1..60}; do FOLLOWER_HEIGHT=$(ssh aitbc1 'curl -s http://localhost:8006/rpc/head | jq .height 2>/dev/null || echo 0') @@ -150,10 +150,10 @@ openclaw execute --agent FollowerAgent --task monitor_sync --node aitbc1 || { done } -# 13. Verify sync status (via OpenClaw) -echo "13. Verifying sync status via OpenClaw FollowerAgent..." -openclaw execute --agent FollowerAgent --task verify_sync --node aitbc1 || { - echo "⚠️ OpenClaw sync verification failed - using manual method" +# 13. Verify sync status (via hermes) +echo "13. Verifying sync status via hermes FollowerAgent..." +hermes execute --agent FollowerAgent --task verify_sync --node aitbc1 || { + echo "⚠️ hermes sync verification failed - using manual method" # Verify sync status FOLLOWER_HEAD=$(ssh aitbc1 'curl -s http://localhost:8006/rpc/head') GENESIS_HEAD=$(curl -s http://localhost:8006/rpc/head) @@ -165,9 +165,9 @@ openclaw execute --agent FollowerAgent --task verify_sync --node aitbc1 || { echo "$GENESIS_HEAD" | jq . } -# 14. Notify CoordinatorAgent of completion (via OpenClaw) +# 14. Notify CoordinatorAgent of completion (via hermes) echo "14. Notifying CoordinatorAgent of follower setup completion..." -openclaw execute --agent FollowerAgent --task notify_coordinator --payload '{ +hermes execute --agent FollowerAgent --task notify_coordinator --payload '{ "status": "follower_setup_completed", "node": "aitbc1", "sync_completed": true, @@ -175,15 +175,15 @@ openclaw execute --agent FollowerAgent --task notify_coordinator --payload '{ "genesis_connected": true, "timestamp": "'$(date -Iseconds)'" }' || { - echo "⚠️ OpenClaw notification failed - using mock notification" - echo "follower_setup_completed" > /var/lib/openclaw/follower_setup.status + echo "⚠️ hermes notification failed - using mock notification" + echo "follower_setup_completed" > /var/lib/hermes/follower_setup.status } # 15. Generate follower setup report echo "15. Generating follower setup report..." -openclaw report --agent FollowerAgent --task follower_setup --format json > /tmp/openclaw_follower_report.json || { - echo "⚠️ OpenClaw report generation failed - using mock report" - cat > /tmp/openclaw_follower_report.json << 'EOF' +hermes report --agent FollowerAgent --task follower_setup --format json > /tmp/hermes_follower_report.json || { + echo "⚠️ hermes report generation failed - using mock report" + cat > /tmp/hermes_follower_report.json << 'EOF' { "status": "completed", "node": "aitbc1", @@ -200,13 +200,13 @@ EOF # 16. Verify agent coordination echo "16. Verifying agent coordination..." -openclaw execute --agent CoordinatorAgent --task verify_follower_completion || { - echo "⚠️ OpenClaw coordination verification failed - using mock verification" +hermes execute --agent CoordinatorAgent --task verify_follower_completion || { + echo "⚠️ hermes coordination verification failed - using mock verification" echo "βœ… Follower setup completed successfully" } -echo "βœ… OpenClaw Follower Node Setup Completed!" -echo "πŸ“Š Report saved to: /tmp/openclaw_follower_report.json" +echo "βœ… hermes Follower Node Setup Completed!" +echo "πŸ“Š Report saved to: /tmp/hermes_follower_report.json" echo "πŸ€– Follower node ready for wallet operations" # Display current status @@ -225,5 +225,5 @@ echo "Follower Height: $FOLLOWER_HEIGHT" # Display agent status echo "" -echo "=== OpenClaw Agent Status ===" -openclaw status --agent FollowerAgent 2>/dev/null || echo "Agent status unavailable" +echo "=== hermes Agent Status ===" +hermes status --agent FollowerAgent 2>/dev/null || echo "Agent status unavailable" diff --git a/scripts/workflow-openclaw/04_wallet_operations_openclaw.sh b/scripts/workflow-hermes/04_wallet_operations_hermes.sh similarity index 59% rename from scripts/workflow-openclaw/04_wallet_operations_openclaw.sh rename to scripts/workflow-hermes/04_wallet_operations_hermes.sh index 22a3229a..2d7b9cd2 100755 --- a/scripts/workflow-openclaw/04_wallet_operations_openclaw.sh +++ b/scripts/workflow-hermes/04_wallet_operations_hermes.sh @@ -1,21 +1,21 @@ #!/bin/bash -# OpenClaw Wallet Operations Script for AITBC Multi-Node Blockchain -# This script uses OpenClaw agents to create wallets and execute cross-node transactions +# hermes Wallet Operations Script for AITBC Multi-Node Blockchain +# This script uses hermes agents to create wallets and execute cross-node transactions set -e # Exit on any error -echo "=== OpenClaw AITBC Wallet Operations ===" +echo "=== hermes AITBC Wallet Operations ===" -# 1. Initialize OpenClaw WalletAgent -echo "1. Initializing OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task initialize_wallet_operations || { - echo "⚠️ OpenClaw WalletAgent initialization failed - using manual method" +# 1. Initialize hermes WalletAgent +echo "1. Initializing hermes WalletAgent..." +hermes execute --agent WalletAgent --task initialize_wallet_operations || { + echo "⚠️ hermes WalletAgent initialization failed - using manual method" } -# 2. Create wallets on both nodes (via OpenClaw) -echo "2. Creating wallets on both nodes via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task create_cross_node_wallets || { - echo "⚠️ OpenClaw wallet creation failed - using manual method" +# 2. Create wallets on both nodes (via hermes) +echo "2. Creating wallets on both nodes via hermes WalletAgent..." +hermes execute --agent WalletAgent --task create_cross_node_wallets || { + echo "⚠️ hermes wallet creation failed - using manual method" # Create client wallet on aitbc cd /opt/aitbc @@ -29,10 +29,10 @@ openclaw execute --agent WalletAgent --task create_cross_node_wallets || { ./aitbc-cli wallet create user-wallet --type simple } -# 3. List created wallets (via OpenClaw) -echo "3. Listing created wallets via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task list_wallets || { - echo "⚠️ OpenClaw wallet listing failed - using manual method" +# 3. List created wallets (via hermes) +echo "3. Listing created wallets via hermes WalletAgent..." +hermes execute --agent WalletAgent --task list_wallets || { + echo "⚠️ hermes wallet listing failed - using manual method" echo "=== Wallets on aitbc ===" cd /opt/aitbc source venv/bin/activate @@ -42,10 +42,10 @@ openclaw execute --agent WalletAgent --task list_wallets || { ssh aitbc1 'cd /opt/aitbc && source venv/bin/activate && ./aitbc-cli wallet list' } -# 4. Get wallet addresses (via OpenClaw) -echo "4. Getting wallet addresses via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task get_wallet_addresses || { - echo "⚠️ OpenClaw address retrieval failed - using manual method" +# 4. Get wallet addresses (via hermes) +echo "4. Getting wallet addresses via hermes WalletAgent..." +hermes execute --agent WalletAgent --task get_wallet_addresses || { + echo "⚠️ hermes address retrieval failed - using manual method" # Get client wallet address CLIENT_ADDR=$(cd /opt/aitbc && source venv/bin/activate && ./aitbc-cli wallet address --wallet client-wallet) @@ -65,10 +65,10 @@ openclaw execute --agent WalletAgent --task get_wallet_addresses || { echo "Genesis Wallet: $GENESIS_ADDR" } -# 5. Fund wallets from genesis (via OpenClaw) -echo "5. Funding wallets from genesis via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task fund_wallets_from_genesis || { - echo "⚠️ OpenClaw wallet funding failed - using manual method" +# 5. Fund wallets from genesis (via hermes) +echo "5. Funding wallets from genesis via hermes WalletAgent..." +hermes execute --agent WalletAgent --task fund_wallets_from_genesis || { + echo "⚠️ hermes wallet funding failed - using manual method" cd /opt/aitbc source venv/bin/activate @@ -83,10 +83,10 @@ openclaw execute --agent WalletAgent --task fund_wallets_from_genesis || { sleep 10 } -# 6. Verify wallet balances (via OpenClaw) -echo "6. Verifying wallet balances via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task verify_wallet_balances || { - echo "⚠️ OpenClaw balance verification failed - using manual method" +# 6. Verify wallet balances (via hermes) +echo "6. Verifying wallet balances via hermes WalletAgent..." +hermes execute --agent WalletAgent --task verify_wallet_balances || { + echo "⚠️ hermes balance verification failed - using manual method" echo "=== Wallet Balances ===" cd /opt/aitbc @@ -105,10 +105,10 @@ openclaw execute --agent WalletAgent --task verify_wallet_balances || { ssh aitbc1 'cd /opt/aitbc && source venv/bin/activate && ./aitbc-cli wallet balance --wallet miner-wallet' } -# 7. Execute cross-node transaction (via OpenClaw) -echo "7. Executing cross-node transaction via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task execute_cross_node_transaction || { - echo "⚠️ OpenClaw cross-node transaction failed - using manual method" +# 7. Execute cross-node transaction (via hermes) +echo "7. Executing cross-node transaction via hermes WalletAgent..." +hermes execute --agent WalletAgent --task execute_cross_node_transaction || { + echo "⚠️ hermes cross-node transaction failed - using manual method" cd /opt/aitbc source venv/bin/activate @@ -124,10 +124,10 @@ openclaw execute --agent WalletAgent --task execute_cross_node_transaction || { sleep 15 } -# 8. Monitor transaction confirmation (via OpenClaw) -echo "8. Monitoring transaction confirmation via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task monitor_transaction_confirmation || { - echo "⚠️ OpenClaw transaction monitoring failed - using manual method" +# 8. Monitor transaction confirmation (via hermes) +echo "8. Monitoring transaction confirmation via hermes WalletAgent..." +hermes execute --agent WalletAgent --task monitor_transaction_confirmation || { + echo "⚠️ hermes transaction monitoring failed - using manual method" cd /opt/aitbc source venv/bin/activate @@ -141,10 +141,10 @@ openclaw execute --agent WalletAgent --task monitor_transaction_confirmation || ssh aitbc1 'cd /opt/aitbc && source venv/bin/activate && ./aitbc-cli wallet balance --wallet miner-wallet' } -# 9. Verify transaction on both nodes (via OpenClaw) -echo "9. Verifying transaction on both nodes via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task verify_transaction_on_nodes || { - echo "⚠️ OpenClaw transaction verification failed - using manual method" +# 9. Verify transaction on both nodes (via hermes) +echo "9. Verifying transaction on both nodes via hermes WalletAgent..." +hermes execute --agent WalletAgent --task verify_transaction_on_nodes || { + echo "⚠️ hermes transaction verification failed - using manual method" echo "=== Transaction Verification on aitbc ===" cd /opt/aitbc @@ -155,10 +155,10 @@ openclaw execute --agent WalletAgent --task verify_transaction_on_nodes || { ssh aitbc1 'cd /opt/aitbc && source venv/bin/activate && ./aitbc-cli transaction list --limit 3' } -# 10. Test wallet switching (via OpenClaw) -echo "10. Testing wallet switching via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task test_wallet_switching || { - echo "⚠️ OpenClaw wallet switching test failed - using manual method" +# 10. Test wallet switching (via hermes) +echo "10. Testing wallet switching via hermes WalletAgent..." +hermes execute --agent WalletAgent --task test_wallet_switching || { + echo "⚠️ hermes wallet switching test failed - using manual method" cd /opt/aitbc source venv/bin/activate @@ -174,10 +174,10 @@ openclaw execute --agent WalletAgent --task test_wallet_switching || { ssh aitbc1 'cd /opt/aitbc && source venv/bin/activate && ./aitbc-cli wallet switch miner-wallet && ./aitbc-cli wallet balance' } -# 11. Create additional test wallets (via OpenClaw) -echo "11. Creating additional test wallets via OpenClaw WalletAgent..." -openclaw execute --agent WalletAgent --task create_test_wallets || { - echo "⚠️ OpenClaw test wallet creation failed - using manual method" +# 11. Create additional test wallets (via hermes) +echo "11. Creating additional test wallets via hermes WalletAgent..." +hermes execute --agent WalletAgent --task create_test_wallets || { + echo "⚠️ hermes test wallet creation failed - using manual method" cd /opt/aitbc source venv/bin/activate @@ -189,9 +189,9 @@ openclaw execute --agent WalletAgent --task create_test_wallets || { ssh aitbc1 'cd /opt/aitbc && source venv/bin/activate && ./aitbc-cli wallet create validator-wallet --type simple' } -# 12. Notify CoordinatorAgent of completion (via OpenClaw) +# 12. Notify CoordinatorAgent of completion (via hermes) echo "12. Notifying CoordinatorAgent of wallet operations completion..." -openclaw execute --agent WalletAgent --task notify_coordinator --payload '{ +hermes execute --agent WalletAgent --task notify_coordinator --payload '{ "status": "wallet_operations_completed", "wallets_created": 6, "cross_node_transactions": 1, @@ -199,15 +199,15 @@ openclaw execute --agent WalletAgent --task notify_coordinator --payload '{ "wallet_switching_tested": true, "timestamp": "'$(date -Iseconds)'" }' || { - echo "⚠️ OpenClaw notification failed - using mock notification" - echo "wallet_operations_completed" > /var/lib/openclaw/wallet_operations.status + echo "⚠️ hermes notification failed - using mock notification" + echo "wallet_operations_completed" > /var/lib/hermes/wallet_operations.status } # 13. Generate wallet operations report echo "13. Generating wallet operations report..." -openclaw report --agent WalletAgent --task wallet_operations --format json > /tmp/openclaw_wallet_report.json || { - echo "⚠️ OpenClaw report generation failed - using mock report" - cat > /tmp/openclaw_wallet_report.json << 'EOF' +hermes report --agent WalletAgent --task wallet_operations --format json > /tmp/hermes_wallet_report.json || { + echo "⚠️ hermes report generation failed - using mock report" + cat > /tmp/hermes_wallet_report.json << 'EOF' { "status": "completed", "wallets_created": 6, @@ -222,13 +222,13 @@ EOF # 14. Verify agent coordination echo "14. Verifying agent coordination..." -openclaw execute --agent CoordinatorAgent --task verify_wallet_operations_completion || { - echo "⚠️ OpenClaw coordination verification failed - using mock verification" +hermes execute --agent CoordinatorAgent --task verify_wallet_operations_completion || { + echo "⚠️ hermes coordination verification failed - using mock verification" echo "βœ… Wallet operations completed successfully" } -echo "βœ… OpenClaw Wallet Operations Completed!" -echo "πŸ“Š Report saved to: /tmp/openclaw_wallet_report.json" +echo "βœ… hermes Wallet Operations Completed!" +echo "πŸ“Š Report saved to: /tmp/hermes_wallet_report.json" echo "πŸ€– Multi-node wallet system ready for operations" # Display final wallet status @@ -250,5 +250,5 @@ echo "=== Recent Transactions (Cross-Node Verified) ===" # Display agent status echo "" -echo "=== OpenClaw Agent Status ===" -openclaw status --agent WalletAgent 2>/dev/null || echo "Agent status unavailable" +echo "=== hermes Agent Status ===" +hermes status --agent WalletAgent 2>/dev/null || echo "Agent status unavailable" diff --git a/scripts/workflow-openclaw/04_wallet_operations_openclaw_corrected.sh b/scripts/workflow-hermes/04_wallet_operations_hermes_corrected.sh similarity index 82% rename from scripts/workflow-openclaw/04_wallet_operations_openclaw_corrected.sh rename to scripts/workflow-hermes/04_wallet_operations_hermes_corrected.sh index 20d046da..af1f6439 100755 --- a/scripts/workflow-openclaw/04_wallet_operations_openclaw_corrected.sh +++ b/scripts/workflow-hermes/04_wallet_operations_hermes_corrected.sh @@ -1,21 +1,21 @@ #!/bin/bash -# OpenClaw Wallet Operations Script for AITBC Multi-Node Blockchain (Corrected) -# This script uses OpenClaw agents and correct CLI commands for wallet operations +# hermes Wallet Operations Script for AITBC Multi-Node Blockchain (Corrected) +# This script uses hermes agents and correct CLI commands for wallet operations set -e # Exit on any error -echo "=== OpenClaw AITBC Wallet Operations (Corrected) ===" +echo "=== hermes AITBC Wallet Operations (Corrected) ===" -# 1. Initialize OpenClaw Agent Communication -echo "1. Initializing OpenClaw Agent Communication..." -echo "Using OpenClaw agent for wallet operations coordination..." +# 1. Initialize hermes Agent Communication +echo "1. Initializing hermes Agent Communication..." +echo "Using hermes agent for wallet operations coordination..." # Create a session for agent operations SESSION_ID="wallet-workflow-$(date +%s)" # Test agent communication with session -openclaw agent --agent main --session-id $SESSION_ID --message "Initialize wallet operations for multi-node blockchain deployment" --thinking low > /dev/null -echo "βœ… OpenClaw agent communication established" +hermes agent --agent main --session-id $SESSION_ID --message "Initialize wallet operations for multi-node blockchain deployment" --thinking low > /dev/null +echo "βœ… hermes agent communication established" echo "Session ID: $SESSION_ID" # 2. Create wallets using correct CLI commands @@ -144,14 +144,14 @@ echo "Testing wallet switching on aitbc..." # Note: CLI doesn't seem to have a switch command, but we can verify all wallets work echo "All wallets accessible and functional" -# 12. Use OpenClaw agent for analysis -echo "12. Using OpenClaw agent for wallet operations analysis..." -openclaw agent --agent main --session-id $SESSION_ID --message "Analyze wallet operations results for multi-node blockchain deployment. Cross-node transactions completed, wallet balances verified." --thinking medium > /dev/null -echo "βœ… OpenClaw agent analysis completed" +# 12. Use hermes agent for analysis +echo "12. Using hermes agent for wallet operations analysis..." +hermes agent --agent main --session-id $SESSION_ID --message "Analyze wallet operations results for multi-node blockchain deployment. Cross-node transactions completed, wallet balances verified." --thinking medium > /dev/null +echo "βœ… hermes agent analysis completed" # 13. Generate wallet operations report echo "13. Generating wallet operations report..." -cat > /tmp/openclaw_wallet_report.json << EOF +cat > /tmp/hermes_wallet_report.json << EOF { "status": "completed", "wallets_created": 3, @@ -178,8 +178,8 @@ cat > /tmp/openclaw_wallet_report.json << EOF } EOF -echo "βœ… OpenClaw Wallet Operations Completed!" -echo "πŸ“Š Report saved to: /tmp/openclaw_wallet_report.json" +echo "βœ… hermes Wallet Operations Completed!" +echo "πŸ“Š Report saved to: /tmp/hermes_wallet_report.json" echo "πŸ€– Multi-node wallet system ready for operations" # Display final summary @@ -188,12 +188,12 @@ echo "=== Final Wallet Summary ===" echo "Total wallets created: 3" echo "Cross-node transactions: 1" echo "Nodes involved: aitbc, aitbc1" -echo "OpenClaw agent coordination: βœ…" +echo "hermes agent coordination: βœ…" # Display agent status echo "" -echo "=== OpenClaw Agent Status ===" -openclaw agents list | head -10 +echo "=== hermes Agent Status ===" +hermes agents list | head -10 # Display blockchain status echo "" diff --git a/scripts/workflow-openclaw/05_complete_workflow_openclaw.sh b/scripts/workflow-hermes/05_complete_workflow_hermes.sh similarity index 73% rename from scripts/workflow-openclaw/05_complete_workflow_openclaw.sh rename to scripts/workflow-hermes/05_complete_workflow_hermes.sh index 251e6665..2ec3f2fd 100755 --- a/scripts/workflow-openclaw/05_complete_workflow_openclaw.sh +++ b/scripts/workflow-hermes/05_complete_workflow_hermes.sh @@ -1,11 +1,11 @@ #!/bin/bash -# OpenClaw Complete Multi-Node Blockchain Workflow +# Hermes Complete Multi-Node Blockchain Workflow # Updated 2026-03-30: Complete AI operations, advanced coordination, genesis reset -# This script orchestrates all OpenClaw agents for complete multi-node blockchain deployment +# This script orchestrates all Hermes agents for complete multi-node blockchain deployment set -e # Exit on any error -echo "=== OpenClaw Complete Multi-Node Blockchain Workflow v4.0 ===" +echo "=== Hermes Complete Multi-Node Blockchain Workflow v4.0 ===" # Configuration GENESIS_NODE="aitbc" @@ -39,19 +39,19 @@ error() { exit 1 } -# 1. Initialize OpenClaw CoordinatorAgent -echo "1. Initializing OpenClaw CoordinatorAgent..." -openclaw execute --agent CoordinatorAgent --task initialize_complete_workflow || { - echo "⚠️ OpenClaw CoordinatorAgent initialization failed - using manual coordination" +# 1. Initialize Hermes CoordinatorAgent +echo "1. Initializing Hermes CoordinatorAgent..." +hermes execute --agent CoordinatorAgent --task initialize_complete_workflow || { + echo "⚠️ Hermes CoordinatorAgent initialization failed - using manual coordination" } # 2. Execute Pre-Flight Setup echo "2. Executing Pre-Flight Setup..." -echo "πŸ€– Running: 01_preflight_setup_openclaw.sh" -/opt/aitbc/scripts/workflow-openclaw/01_preflight_setup_openclaw.sh +echo "πŸ€– Running: 01_preflight_setup_hermes.sh" +/opt/aitbc/scripts/workflow-hermes/01_preflight_setup_hermes.sh # Verify pre-flight completion -if [ ! -f /tmp/openclaw_preflight_report.json ]; then +if [ ! -f /tmp/hermes_preflight_report.json ]; then echo "❌ Pre-flight setup failed - report not found" exit 1 fi @@ -60,11 +60,11 @@ echo "βœ… Pre-flight setup completed" # 3. Execute Genesis Authority Setup echo "3. Executing Genesis Authority Setup..." -echo "πŸ€– Running: 02_genesis_authority_setup_openclaw.sh" -/opt/aitbc/scripts/workflow-openclaw/02_genesis_authority_setup_openclaw.sh +echo "πŸ€– Running: 02_genesis_authority_setup_hermes.sh" +/opt/aitbc/scripts/workflow-hermes/02_genesis_authority_setup_hermes.sh # Verify genesis setup completion -if [ ! -f /tmp/openclaw_genesis_report.json ]; then +if [ ! -f /tmp/hermes_genesis_report.json ]; then echo "❌ Genesis setup failed - report not found" exit 1 fi @@ -73,11 +73,11 @@ echo "βœ… Genesis authority setup completed" # 4. Execute Follower Node Setup echo "4. Executing Follower Node Setup..." -echo "πŸ€– Running: 03_follower_node_setup_openclaw.sh" -/opt/aitbc/scripts/workflow-openclaw/03_follower_node_setup_openclaw.sh +echo "πŸ€– Running: 03_follower_node_setup_hermes.sh" +/opt/aitbc/scripts/workflow-hermes/03_follower_node_setup_hermes.sh # Verify follower setup completion -if [ ! -f /tmp/openclaw_follower_report.json ]; then +if [ ! -f /tmp/hermes_follower_report.json ]; then echo "❌ Follower setup failed - report not found" exit 1 fi @@ -86,21 +86,21 @@ echo "βœ… Follower node setup completed" # 5. Execute Wallet Operations echo "5. Executing Wallet Operations..." -echo "πŸ€– Running: 04_wallet_operations_openclaw.sh" -/opt/aitbc/scripts/workflow-openclaw/04_wallet_operations_openclaw.sh +echo "πŸ€– Running: 04_wallet_operations_hermes.sh" +/opt/aitbc/scripts/workflow-hermes/04_wallet_operations_hermes.sh # Verify wallet operations completion -if [ ! -f /tmp/openclaw_wallet_report.json ]; then +if [ ! -f /tmp/hermes_wallet_report.json ]; then echo "❌ Wallet operations failed - report not found" exit 1 fi echo "βœ… Wallet operations completed" -# 6. Comprehensive Verification via OpenClaw -echo "6. Running comprehensive verification via OpenClaw CoordinatorAgent..." -openclaw execute --agent CoordinatorAgent --task comprehensive_verification || { - echo "⚠️ OpenClaw comprehensive verification failed - using manual verification" +# 6. Comprehensive Verification via Hermes +echo "6. Running comprehensive verification via Hermes CoordinatorAgent..." +hermes execute --agent CoordinatorAgent --task comprehensive_verification || { + echo "⚠️ Hermes comprehensive verification failed - using manual verification" # Manual verification as fallback echo "=== Manual Verification ===" @@ -124,8 +124,8 @@ openclaw execute --agent CoordinatorAgent --task comprehensive_verification || { echo "Total wallets created:" ./aitbc-cli wallet list | wc -l - # Check OpenClaw agent status - openclaw status --agent all + # Check Hermes agent status + hermes status --agent all # Check blockchain height echo "Blockchain Height:" @@ -168,10 +168,10 @@ openclaw execute --agent CoordinatorAgent --task comprehensive_verification || { python3 /tmp/aitbc1_heartbeat.py } -# 7. Performance Testing via OpenClaw -echo "7. Running performance testing via OpenClaw..." -openclaw execute --agent CoordinatorAgent --task performance_testing || { - echo "⚠️ OpenClaw performance testing failed - using manual testing" +# 7. Performance Testing via Hermes +echo "7. Running performance testing via Hermes..." +hermes execute --agent CoordinatorAgent --task performance_testing || { + echo "⚠️ Hermes performance testing failed - using manual testing" # Manual performance testing echo "=== Manual Performance Testing ===" @@ -193,10 +193,10 @@ openclaw execute --agent CoordinatorAgent --task performance_testing || { time ./aitbc-cli wallet send 1 $USER_ADDR "Performance test transaction" } -# 8. Network Health Check via OpenClaw -echo "8. Running network health check via OpenClaw..." -openclaw execute --agent CoordinatorAgent --task network_health_check || { - echo "⚠️ OpenClaw health check failed - using manual health check" +# 8. Network Health Check via Hermes +echo "8. Running network health check via Hermes..." +hermes execute --agent CoordinatorAgent --task network_health_check || { + echo "⚠️ Hermes health check failed - using manual health check" # Manual health check echo "=== Manual Network Health Check ===" @@ -223,13 +223,13 @@ openclaw execute --agent CoordinatorAgent --task network_health_check || { fi } -# 9. Generate Comprehensive Report via OpenClaw -echo "9. Generating comprehensive report via OpenClaw..." -openclaw report --workflow complete_multi_node --format json > /tmp/openclaw_complete_report.json || { - echo "⚠️ OpenClaw comprehensive report failed - using manual report generation" +# 9. Generate Comprehensive Report via Hermes +echo "9. Generating comprehensive report via Hermes..." +hermes report --workflow complete_multi_node --format json > /tmp/hermes_complete_report.json || { + echo "⚠️ Hermes comprehensive report failed - using manual report generation" # Manual report generation - cat > /tmp/openclaw_complete_report.json << 'EOF' + cat > /tmp/hermes_complete_report.json << 'EOF' { "workflow_status": "completed", "phases_completed": [ @@ -260,8 +260,8 @@ EOF # 10. Final Agent Status Check echo "10. Final agent status check..." -openclaw status --agent all || { - echo "⚠️ OpenClaw agent status check failed - using manual status" +hermes status --agent all || { + echo "⚠️ Hermes agent status check failed - using manual status" echo "=== Manual Agent Status ===" echo "CoordinatorAgent: βœ… Active" echo "GenesisAgent: βœ… Active" @@ -269,24 +269,24 @@ openclaw status --agent all || { echo "WalletAgent: βœ… Active" } -# 11. Cleanup and Finalization via OpenClaw -echo "11. Cleanup and finalization via OpenClaw..." -openclaw execute --agent CoordinatorAgent --task cleanup_and_finalize || { - echo "⚠️ OpenClaw cleanup failed - using manual cleanup" +# 11. Cleanup and Finalization via Hermes +echo "11. Cleanup and finalization via Hermes..." +hermes execute --agent CoordinatorAgent --task cleanup_and_finalize || { + echo "⚠️ Hermes cleanup failed - using manual cleanup" # Manual cleanup echo "=== Manual Cleanup ===" # Clean temporary files - rm -f /tmp/openclaw_*.json + rm -f /tmp/hermes_*.json # Reset agent status files - echo "workflow_completed" > /var/lib/openclaw/workflow.status + echo "workflow_completed" > /var/lib/hermes/workflow.status } # 12. Display Final Summary echo "" -echo "πŸŽ‰ OpenClaw Complete Multi-Node Blockchain Workflow Finished!" +echo "πŸŽ‰ Hermes Complete Multi-Node Blockchain Workflow Finished!" echo "" echo "=== Final Summary ===" @@ -320,15 +320,15 @@ echo "πŸ“ˆ Recent Transactions:" # Display agent status echo "" -echo "πŸ€– OpenClaw Agent Status:" -openclaw status --agent all 2>/dev/null || echo "Agent status: All agents active" +echo "πŸ€– Hermes Agent Status:" +hermes status --agent all 2>/dev/null || echo "Agent status: All agents active" echo "" echo "βœ… Multi-node blockchain deployment completed successfully!" echo "πŸš€ System ready for production operations" # Save final report -FINAL_REPORT="/tmp/openclaw_final_report_$(date +%Y%m%d_%H%M%S).json" +FINAL_REPORT="/tmp/hermes_final_report_$(date +%Y%m%d_%H%M%S).json" cat > "$FINAL_REPORT" << EOF { "workflow": "complete_multi_node_blockchain", diff --git a/scripts/workflow-openclaw/06_advanced_ai_workflow_openclaw.sh b/scripts/workflow-hermes/06_advanced_ai_workflow_hermes.sh similarity index 92% rename from scripts/workflow-openclaw/06_advanced_ai_workflow_openclaw.sh rename to scripts/workflow-hermes/06_advanced_ai_workflow_hermes.sh index 35c156ec..38132747 100755 --- a/scripts/workflow-openclaw/06_advanced_ai_workflow_openclaw.sh +++ b/scripts/workflow-hermes/06_advanced_ai_workflow_hermes.sh @@ -1,11 +1,11 @@ #!/bin/bash -# OpenClaw Advanced AI Workflow Script +# hermes Advanced AI Workflow Script # Updated 2026-03-30: Complete AI operations, advanced coordination, resource optimization -# This script orchestrates OpenClaw agents for advanced AI operations and resource management +# This script orchestrates hermes agents for advanced AI operations and resource management set -e # Exit on any error -echo "=== OpenClaw Advanced AI Workflow v5.0 ===" +echo "=== hermes Advanced AI Workflow v5.0 ===" echo "Advanced AI Teaching Plan - All Phases Completed" echo "Phase 1: Advanced AI Workflow Orchestration βœ…" echo "Phase 2: Multi-Model AI Pipelines βœ…" @@ -57,23 +57,23 @@ echo "1. Initializing Advanced AI Coordinator..." SESSION_ID="advanced-ai-$(date +%s)" ai_log "Session ID: $SESSION_ID" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "Initialize advanced AI workflow coordination with Phase 1-3 capabilities" \ --thinking high || { - echo "⚠️ OpenClaw CoordinatorAgent initialization failed - using manual coordination" + echo "⚠️ hermes CoordinatorAgent initialization failed - using manual coordination" } # 2. Advanced AI Operations - Phase 1: Workflow Orchestration echo "2. Phase 1: Advanced AI Workflow Orchestration..." ai_log "Session 1.1: Complex AI Pipeline Design" -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Design complex AI pipeline for medical diagnosis with parallel processing and error handling" \ --thinking high ai_log "Session 1.2: Parallel AI Operations" -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Execute parallel AI operations with ensemble management and consensus validation" \ --thinking high @@ -96,13 +96,13 @@ source venv/bin/activate echo "3. Phase 2: Multi-Model AI Pipelines..." ai_log "Session 2.1: Model Ensemble Management" -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Design model ensemble system for medical diagnosis with weighted confidence voting" \ --thinking high ai_log "Session 2.2: Multi-Modal AI Processing" -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Design multi-modal AI system for customer feedback analysis with text/image/audio fusion" \ --thinking high @@ -136,13 +136,13 @@ ssh aitbc1 "cd /opt/aitbc && source venv/bin/activate && curl -sf -X POST http:/ echo "5. Phase 3: AI Resource Optimization..." ai_log "Session 3.1: Dynamic Resource Allocation" -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Design dynamic resource allocation system for AI service provider with GPU pools and demand forecasting" \ --thinking high ai_log "Session 3.2: AI Performance Tuning" -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "Design AI performance optimization system for sub-100ms inference latency with model optimization and inference acceleration" \ --thinking high @@ -244,7 +244,7 @@ success "βœ… Performance Optimization: Functional" echo "11. Final Status Report..." ai_log "Generating comprehensive status report..." -cat << EOF > /tmp/openclaw_advanced_ai_status_$(date +%s).json +cat << EOF > /tmp/hermes_advanced_ai_status_$(date +%s).json { "workflow_status": "completed", "session_id": "$SESSION_ID", @@ -284,12 +284,12 @@ cat << EOF > /tmp/openclaw_advanced_ai_status_$(date +%s).json } EOF -success "βœ… Status report generated: /tmp/openclaw_advanced_ai_status_*.json" +success "βœ… Status report generated: /tmp/hermes_advanced_ai_status_*.json" echo "" -success "πŸŽ‰ OpenClaw Advanced AI Workflow Completed Successfully!" +success "πŸŽ‰ hermes Advanced AI Workflow Completed Successfully!" info "πŸ“š All 3 phases of Advanced AI Teaching Plan completed" -info "πŸ€– OpenClaw agents now have advanced AI capabilities" +info "πŸ€– hermes agents now have advanced AI capabilities" info "⚑ Ready for production AI operations and resource optimization" info "πŸ”„ Next steps: Modular workflow implementation and agent coordination enhancement" @@ -311,6 +311,6 @@ echo " - AI Performance Tuning" echo " - Cross-Node Resource Optimization" echo "" echo "🎯 Status: ALL PHASES COMPLETED SUCCESSFULLY" -echo "πŸš€ OpenClaw agents are now advanced AI specialists!" +echo "πŸš€ hermes agents are now advanced AI specialists!" exit 0 diff --git a/scripts/workflow-openclaw/07_enhanced_agent_coordination.sh b/scripts/workflow-hermes/07_enhanced_agent_coordination.sh similarity index 85% rename from scripts/workflow-openclaw/07_enhanced_agent_coordination.sh rename to scripts/workflow-hermes/07_enhanced_agent_coordination.sh index a544029f..8fbf3f6d 100755 --- a/scripts/workflow-openclaw/07_enhanced_agent_coordination.sh +++ b/scripts/workflow-hermes/07_enhanced_agent_coordination.sh @@ -57,20 +57,20 @@ echo "1. Testing Hierarchical Communication Pattern..." SESSION_ID="hierarchy-$(date +%s)" coord_log "Coordinator broadcasting to Level 2 agents (simulated with main agent)" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "COORDINATOR BROADCAST: Execute distributed AI workflow across all Level 2 agents - GenesisAgent handles AI operations, FollowerAgent handles resource monitoring, AIResourceAgent optimizes GPU allocation" \ --thinking high || { warning "CoordinatorAgent communication failed - using fallback" } coord_log "Level 2 agents responding to coordinator (simulated)" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "GENESIS AGENT RESPONSE: Ready for AI workflow execution with resource optimization - Current GPU utilization 75%, can handle 5 more jobs" \ --thinking medium || { warning "GenesisAgent response failed - continuing" } -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "FOLLOWER AGENT RESPONSE: Ready for distributed task participation - CPU load 45%, memory available 8GB, ready for monitoring tasks" \ --thinking medium || { warning "FollowerAgent response failed - continuing" @@ -83,20 +83,20 @@ echo "2. Testing Peer-to-Peer Communication Pattern..." SESSION_ID="p2p-$(date +%s)" coord_log "Direct agent-to-agent communication (simulated)" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "P2P GENESISβ†’FOLLOWER: Coordinate resource allocation for AI job batch - Genesis has GPU capacity, Follower has CPU resources" \ --thinking medium || { warning "GenesisAgent P2P communication failed" } -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "P2P FOLLOWERβ†’GENESIS: Confirm resource availability and scheduling - Follower can handle 10 concurrent monitoring tasks" \ --thinking medium || { warning "FollowerAgent P2P response failed" } coord_log "Cross-agent resource sharing (simulated)" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "P2P AIRESOURCEβ†’MULTIMODAL: Share GPU allocation for multi-modal processing - 2 GPUs available for cross-modal fusion tasks" \ --thinking low || { warning "AIResourceAgent P2P communication failed" @@ -109,7 +109,7 @@ echo "3. Testing Broadcast Communication Pattern..." SESSION_ID="broadcast-$(date +%s)" coord_log "Coordinator broadcasting to all agents" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "BROADCAST: System-wide resource optimization initiated - all agents participate" \ --thinking high || { warning "Coordinator broadcast failed" @@ -117,7 +117,7 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ coord_log "Agents acknowledging broadcast" for agent in GenesisAgent FollowerAgent; do - openclaw agent --agent $agent --session-id $SESSION_ID \ + hermes agent --agent $agent --session-id $SESSION_ID \ --message "ACK: Received broadcast, initiating optimization protocols" \ --thinking low & done @@ -131,7 +131,7 @@ SESSION_ID="consensus-$(date +%s)" PROPOSAL_ID="resource-strategy-$(date +%s)" decision_log "Presenting proposal for voting" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "VOTE PROPOSAL $PROPOSAL_ID: Implement dynamic GPU allocation with 70% utilization target" \ --thinking high || { warning "Proposal presentation failed" @@ -141,13 +141,13 @@ decision_log "Collecting votes from agents" VOTES=() # Genesis Agent vote -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "VOTE $PROPOSAL_ID: YES - Dynamic allocation optimizes AI performance" \ --thinking medium & VOTES+=("GenesisAgent:YES") # Follower Agent vote -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "VOTE $PROPOSAL_ID: YES - Improves resource utilization" \ --thinking medium & VOTES+=("FollowerAgent:YES") @@ -163,7 +163,7 @@ decision_log "Vote results: $YES_COUNT/$TOTAL_COUNT YES votes" if [ $YES_COUNT -gt $((TOTAL_COUNT / 2)) ]; then success "PROPOSAL $PROPOSAL_ID APPROVED: $YES_COUNT/$TOTAL_COUNT votes" coord_log "Implementing approved proposal" - openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ + hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "DECISION: Proposal $PROPOSAL_ID APPROVED - Implementing dynamic GPU allocation" \ --thinking high || { warning "Decision implementation failed" @@ -177,7 +177,7 @@ echo "5. Testing Weighted Decision Making..." SESSION_ID="weighted-$(date +%s)" decision_log "Weighted decision based on agent expertise" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "WEIGHTED DECISION: Select optimal AI model for medical diagnosis pipeline" \ --thinking high || { warning "Weighted decision initiation failed" @@ -185,12 +185,12 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ decision_log "Agents providing weighted recommendations" # Genesis Agent (AI Operations Expertise - Weight: 3) -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "RECOMMENDATION: ensemble_model (confidence: 0.9, weight: 3) - Best for accuracy" \ --thinking high & # MultiModal Agent (Multi-Modal Expertise - Weight: 2) -openclaw agent --agent MultiModalAgent --session-id $SESSION_ID \ +hermes agent --agent MultiModalAgent --session-id $SESSION_ID \ --message "RECOMMENDATION: multimodal_model (confidence: 0.8, weight: 2) - Handles multiple data types" \ --thinking high & @@ -202,7 +202,7 @@ decision_log "Calculating weighted decision" # Winner: ensemble_model success "Weighted decision: ensemble_model selected (weighted score: 2.7)" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "WEIGHTED DECISION: ensemble_model selected (weighted score: 2.7) - Highest confidence-weighted combination" \ --thinking high || { warning "Weighted decision announcement failed" @@ -213,7 +213,7 @@ echo "6. Testing Distributed Problem Solving..." SESSION_ID="problem-solving-$(date +%s)" decision_log "Distributed problem solving: AI service pricing optimization" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "PROBLEM SOLVING: Optimize AI service pricing for maximum profitability and utilization" \ --thinking high || { warning "Problem solving initiation failed" @@ -221,24 +221,24 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ decision_log "Agents analyzing different aspects" # Genesis Agent: Technical feasibility -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "ANALYSIS: Technical constraints suggest pricing range $50-200 per inference job" \ --thinking high & # Follower Agent: Market analysis -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "ANALYSIS: Market research shows competitive pricing at $80-150 per job" \ --thinking medium & # AI Resource Agent: Cost analysis -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "ANALYSIS: Resource costs indicate minimum $60 per job for profitability" \ --thinking medium & wait decision_log "Synthesizing solution from agent analyses" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "SYNTHESIS: Optimal pricing strategy $80-120 range with dynamic adjustment based on demand" \ --thinking high || { warning "Solution synthesis failed" @@ -251,29 +251,29 @@ echo "7. Testing Load Balancing Architecture..." SESSION_ID="load-balancing-$(date +%s)" coord_log "Monitoring agent loads and redistributing tasks" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "LOAD BALANCE: Monitoring agent loads and redistributing tasks" \ --thinking high || { warning "Load balancing initiation failed" } coord_log "Agents reporting current load" -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "LOAD REPORT: Current load 75% - capacity for 5 more AI jobs" \ --thinking low & -openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ +hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "LOAD REPORT: Current load 45% - capacity for 10 more tasks" \ --thinking low & -openclaw agent --agent AIResourceAgent --session-id $SESSION_ID \ +hermes agent --agent AIResourceAgent --session-id $SESSION_ID \ --message "LOAD REPORT: Current load 60% - capacity for resource optimization tasks" \ --thinking low & wait coord_log "Redistributing load for optimal balance" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "REDISTRIBUTION: Routing new tasks to FollowerAgent (45% load) for optimal balance" \ --thinking high || { warning "Load redistribution failed" @@ -287,7 +287,7 @@ SESSION_ID="metrics-$(date +%s)" coord_log "Measuring message latency" start_time=$(date +%s.%N) -openclaw agent --agent GenesisAgent --session-id $SESSION_ID \ +hermes agent --agent GenesisAgent --session-id $SESSION_ID \ --message "LATENCY TEST: Measuring communication performance" \ --thinking low || { warning "Latency test failed" @@ -299,7 +299,7 @@ echo "Message latency: ${latency}s" coord_log "Testing message throughput" echo "Sending 10 messages in parallel..." for i in {1..10}; do - openclaw agent --agent FollowerAgent --session-id $SESSION_ID \ + hermes agent --agent FollowerAgent --session-id $SESSION_ID \ --message "THROUGHPUT TEST $i" \ --thinking low & done @@ -311,14 +311,14 @@ echo "9. Testing Adaptive Coordination..." SESSION_ID="adaptive-$(date +%s)" coord_log "System load monitoring and adaptive coordination" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "MONITORING: System load at 85% - activating adaptive coordination protocols" \ --thinking high || { warning "Adaptive coordination monitoring failed" } coord_log "Adjusting coordination strategy" -openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ +hermes agent --agent CoordinatorAgent --session-id $SESSION_ID \ --message "ADAPTATION: Switching from centralized to distributed coordination for load balancing" \ --thinking high || { warning "Coordination strategy adjustment failed" @@ -326,7 +326,7 @@ openclaw agent --agent CoordinatorAgent --session-id $SESSION_ID \ coord_log "Agents adapting to new coordination" for agent in GenesisAgent FollowerAgent AIResourceAgent; do - openclaw agent --agent $agent --session-id $SESSION_ID \ + hermes agent --agent $agent --session-id $SESSION_ID \ --message "ADAPTATION: Adjusting to distributed coordination mode" \ --thinking medium & done diff --git a/scripts/workflow-openclaw/08_ai_economics_masters.sh b/scripts/workflow-hermes/08_ai_economics_masters.sh similarity index 97% rename from scripts/workflow-openclaw/08_ai_economics_masters.sh rename to scripts/workflow-hermes/08_ai_economics_masters.sh index 840a39d7..1d82a2c6 100755 --- a/scripts/workflow-openclaw/08_ai_economics_masters.sh +++ b/scripts/workflow-hermes/08_ai_economics_masters.sh @@ -6,7 +6,7 @@ set -e # Exit on any error echo "=== AI Economics Masters - Phase 4: Cross-Node AI Economics ===" -echo "Transforming OpenClaw agents from AI Specialists to Economics Masters" +echo "Transforming hermes agents from AI Specialists to Economics Masters" echo "πŸ“Š Session 4.1: Distributed AI Job Economics" echo "πŸ’° Session 4.2: AI Marketplace Strategy" echo "πŸ“ˆ Session 4.3: Advanced Economic Modeling" @@ -58,14 +58,14 @@ echo "1. Session 4.1: Distributed AI Job Economics..." SESSION_ID="economics-$(date +%s)" economics_log "Genesis node economic modeling - distributed AI job economics" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "ECONOMIC MODELING: Design distributed AI job economics for multi-node service provider with GPU cost optimization across RTX 4090, A100, H100 nodes - Target cost per inference <$0.01, node utilization >90%" \ --thinking high || { warning "Genesis economic modeling failed - using fallback" } economics_log "Follower node economic coordination - CPU and memory optimization" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "ECONOMIC COORDINATION: Coordinate economic strategy with genesis node for CPU optimization and memory pricing strategies - Analyze cost-benefit ratios and revenue sharing mechanisms" \ --thinking medium || { warning "Follower economic coordination failed - continuing" @@ -91,14 +91,14 @@ echo "2. Session 4.2: AI Marketplace Strategy..." SESSION_ID="marketplace-$(date +%s)" marketplace_log "Strategic market positioning and pricing optimization" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "MARKETPLACE STRATEGY: Design AI marketplace strategy with dynamic pricing, competitive positioning, and resource monetization for AI inference services - Target 25% market share, 50% month-over-month revenue growth" \ --thinking high || { warning "Marketplace strategy development failed - using fallback" } marketplace_log "Market analysis and competitive intelligence" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "MARKET ANALYSIS: Analyze AI service market trends and optimize pricing strategy for maximum profitability and market share - Identify competitive advantages and differentiation opportunities" \ --thinking medium || { warning "Market analysis failed - continuing" @@ -121,14 +121,14 @@ echo "3. Session 4.3: Advanced Economic Modeling..." SESSION_ID="advanced-economics-$(date +%s)" economics_log "Investment strategy development and predictive economics" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "INVESTMENT STRATEGY: Design AI investment strategy with predictive economics, market forecasting, and risk management for AI service portfolio - Target >200% ROI, <5% economic volatility" \ --thinking high || { warning "Investment strategy development failed - using fallback" } economics_log "Economic forecasting and market prediction" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "ECONOMIC FORECASTING: Develop predictive models for AI market trends and optimize investment allocation across different AI service categories - Achieve >85% accuracy in market predictions" \ --thinking high || { warning "Economic forecasting failed - continuing" @@ -194,14 +194,14 @@ echo "6. Advanced Economic Workflows..." SESSION_ID="advanced-workflows-$(date +%s)" economics_log "Executing distributed economic optimization workflow" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "ADVANCED WORKFLOW: Execute distributed economic optimization across all nodes with real-time cost modeling, revenue sharing, and performance tracking - Optimize for maximum economic efficiency" \ --thinking high || { warning "Advanced workflow execution failed - continuing" } marketplace_log "Executing marketplace strategy workflow" -openclaw agent --agent main --session-id $SESSION_ID \ +hermes agent --agent main --session-id $SESSION_ID \ --message "MARKETPLACE WORKFLOW: Execute comprehensive marketplace strategy with dynamic pricing, competitive analysis, and revenue optimization - Target 25% market share and 50% revenue growth" \ --thinking high || { warning "Marketplace workflow execution failed - continuing" diff --git a/scripts/workflow-openclaw/README.md b/scripts/workflow-hermes/README.md similarity index 64% rename from scripts/workflow-openclaw/README.md rename to scripts/workflow-hermes/README.md index 82eeb1cc..bfa0931f 100644 --- a/scripts/workflow-openclaw/README.md +++ b/scripts/workflow-hermes/README.md @@ -1,25 +1,25 @@ -# OpenClaw Multi-Node Blockchain Workflow Scripts +# hermes Multi-Node Blockchain Workflow Scripts -This directory contains OpenClaw-enabled versions of the multi-node blockchain setup scripts that interact with OpenClaw agents instead of executing manual commands. +This directory contains hermes-enabled versions of the multi-node blockchain setup scripts that interact with hermes agents instead of executing manual commands. ## Overview -The OpenClaw workflow scripts transform the manual multi-node blockchain deployment into an intelligent, automated, and coordinated agent-based system. +The hermes workflow scripts transform the manual multi-node blockchain deployment into an intelligent, automated, and coordinated agent-based system. ## Scripts -### 1. `01_preflight_setup_openclaw.sh` -**Purpose**: Pre-flight setup with OpenClaw agent deployment +### 1. `01_preflight_setup_hermes.sh` +**Purpose**: Pre-flight setup with hermes agent deployment **Agent**: CoordinatorAgent, GenesisAgent, FollowerAgent, WalletAgent **Tasks**: -- Deploy OpenClaw agents +- Deploy hermes agents - Stop existing services via agents - Update systemd configurations - Setup central configuration - Initialize agent communication channels -### 2. `02_genesis_authority_setup_openclaw.sh` -**Purpose**: Setup genesis authority node using OpenClaw agents +### 2. `02_genesis_authority_setup_hermes.sh` +**Purpose**: Setup genesis authority node using hermes agents **Agent**: GenesisAgent, WalletAgent, CoordinatorAgent **Tasks**: - Initialize GenesisAgent @@ -30,8 +30,8 @@ The OpenClaw workflow scripts transform the manual multi-node blockchain deploym - Start blockchain services - Verify genesis state -### 3. `03_follower_node_setup_openclaw.sh` -**Purpose**: Setup follower node using OpenClaw agents +### 3. `03_follower_node_setup_hermes.sh` +**Purpose**: Setup follower node using hermes agents **Agent**: FollowerAgent, CoordinatorAgent **Tasks**: - Initialize FollowerAgent @@ -41,8 +41,8 @@ The OpenClaw workflow scripts transform the manual multi-node blockchain deploym - Establish genesis connection - Monitor and verify sync -### 4. `04_wallet_operations_openclaw.sh` -**Purpose**: Execute wallet operations across nodes using OpenClaw agents +### 4. `04_wallet_operations_hermes.sh` +**Purpose**: Execute wallet operations across nodes using hermes agents **Agent**: WalletAgent, CoordinatorAgent **Tasks**: - Create cross-node wallets @@ -51,8 +51,8 @@ The OpenClaw workflow scripts transform the manual multi-node blockchain deploym - Verify transaction confirmations - Test wallet switching -### 5. `05_complete_workflow_openclaw.sh` -**Purpose**: Orchestrate complete multi-node deployment using all OpenClaw agents +### 5. `05_complete_workflow_hermes.sh` +**Purpose**: Orchestrate complete multi-node deployment using all hermes agents **Agent**: CoordinatorAgent (orchestrates all other agents) **Tasks**: - Execute all workflow phases @@ -61,7 +61,7 @@ The OpenClaw workflow scripts transform the manual multi-node blockchain deploym - Network health checks - Generate final reports -## OpenClaw Agent Architecture +## hermes Agent Architecture ### Agent Types @@ -89,31 +89,31 @@ The OpenClaw workflow scripts transform the manual multi-node blockchain deploym ### Quick Start ```bash -# Run complete workflow with OpenClaw agents -./05_complete_workflow_openclaw.sh +# Run complete workflow with hermes agents +./05_complete_workflow_hermes.sh # Run individual phases -./01_preflight_setup_openclaw.sh -./02_genesis_authority_setup_openclaw.sh -./03_follower_node_setup_openclaw.sh -./04_wallet_operations_openclaw.sh +./01_preflight_setup_hermes.sh +./02_genesis_authority_setup_hermes.sh +./03_follower_node_setup_hermes.sh +./04_wallet_operations_hermes.sh ``` -### OpenClaw Commands +### hermes Commands ```bash # Deploy agents -openclaw deploy --config /tmp/openclaw_agents.json +hermes deploy --config /tmp/hermes_agents.json # Monitor agents -openclaw status --agent all +hermes status --agent all # Execute specific agent tasks -openclaw execute --agent GenesisAgent --task create_genesis_block -openclaw execute --agent FollowerAgent --task sync_with_genesis -openclaw execute --agent WalletAgent --task create_cross_node_wallets +hermes execute --agent GenesisAgent --task create_genesis_block +hermes execute --agent FollowerAgent --task sync_with_genesis +hermes execute --agent WalletAgent --task create_cross_node_wallets # Generate reports -openclaw report --workflow multi_node --format json +hermes report --workflow multi_node --format json ``` ## Key Features @@ -172,44 +172,44 @@ openclaw report --workflow multi_node --format json ## Reports and Monitoring ### Report Types -- **Preflight Report**: `/tmp/openclaw_preflight_report.json` -- **Genesis Report**: `/tmp/openclaw_genesis_report.json` -- **Follower Report**: `/tmp/openclaw_follower_report.json` -- **Wallet Report**: `/tmp/openclaw_wallet_report.json` -- **Complete Report**: `/tmp/openclaw_complete_report.json` +- **Preflight Report**: `/tmp/hermes_preflight_report.json` +- **Genesis Report**: `/tmp/hermes_genesis_report.json` +- **Follower Report**: `/tmp/hermes_follower_report.json` +- **Wallet Report**: `/tmp/hermes_wallet_report.json` +- **Complete Report**: `/tmp/hermes_complete_report.json` ### Monitoring Commands ```bash # Monitor agent status -openclaw monitor --agent all +hermes monitor --agent all # Monitor workflow progress -openclaw monitor --workflow multi_node --real-time +hermes monitor --workflow multi_node --real-time # Check agent health -openclaw health --agent all +hermes health --agent all ``` ## Troubleshooting ### Common Issues -#### OpenClaw CLI Not Found +#### hermes CLI Not Found ```bash -# Install OpenClaw -pip install openclaw-agent +# Install hermes +pip install hermes-agent # Or use mock mode (development) -export OPENCLAW_MOCK_MODE=1 +export hermes_MOCK_MODE=1 ``` #### Agent Communication Failure ```bash # Check agent status -openclaw status --agent all +hermes status --agent all # Restart communication -openclaw restart --communication +hermes restart --communication # Verify network connectivity ping -c 1 aitbc1 @@ -218,7 +218,7 @@ ping -c 1 aitbc1 #### Service Start Failures ```bash # Check service logs via agents -openclaw execute --agent GenesisAgent --task show_service_logs +hermes execute --agent GenesisAgent --task show_service_logs # Manual service check systemctl status aitbc-blockchain-node.service @@ -227,18 +227,18 @@ systemctl status aitbc-blockchain-node.service ### Debug Mode ```bash # Enable debug logging -export OPENCLAW_DEBUG=1 +export hermes_DEBUG=1 # Run with verbose output -./05_complete_workflow_openclaw.sh --verbose +./05_complete_workflow_hermes.sh --verbose # Check agent logs -openclaw logs --agent all --tail 50 +hermes logs --agent all --tail 50 ``` ## Comparison with Manual Scripts -| Feature | Manual Scripts | OpenClaw Scripts | +| Feature | Manual Scripts | hermes Scripts | |---------|----------------|-------------------| | Execution | Manual commands | Agent-automated | | Coordination | Human coordination | Agent coordination | @@ -251,37 +251,37 @@ openclaw logs --agent all --tail 50 ## Prerequisites ### System Requirements -- OpenClaw CLI installed +- hermes CLI installed - SSH access to both nodes (aitbc, aitbc1) - Python virtual environment at `/opt/aitbc/venv` - AITBC CLI tool available - Network connectivity between nodes -### OpenClaw Installation +### hermes Installation ```bash -# Install OpenClaw -pip install openclaw-agent +# Install hermes +pip install hermes-agent # Verify installation -openclaw --version +hermes --version -# Initialize OpenClaw -openclaw init --workspace /opt/aitbc +# Initialize hermes +hermes init --workspace /opt/aitbc ``` ## Next Steps -1. **Run the complete workflow**: `./05_complete_workflow_openclaw.sh` -2. **Monitor agent activity**: `openclaw monitor --agent all` +1. **Run the complete workflow**: `./05_complete_workflow_hermes.sh` +2. **Monitor agent activity**: `hermes monitor --agent all` 3. **Verify deployment**: Check generated reports 4. **Test operations**: Execute test transactions 5. **Scale deployment**: Add more nodes and agents ## Support -For issues with OpenClaw scripts: -1. Check agent status: `openclaw status --agent all` -2. Review agent logs: `openclaw logs --agent all` +For issues with hermes scripts: +1. Check agent status: `hermes status --agent all` +2. Review agent logs: `hermes logs --agent all` 3. Verify network connectivity -4. Check OpenClaw configuration +4. Check hermes configuration 5. Run in debug mode for detailed logging diff --git a/scripts/workflow-hermes/fix_agent_communication.sh b/scripts/workflow-hermes/fix_agent_communication.sh new file mode 100755 index 00000000..7685f3b5 --- /dev/null +++ b/scripts/workflow-hermes/fix_agent_communication.sh @@ -0,0 +1,60 @@ +#!/bin/bash +# Hermes Agent Communication Fix +# This script demonstrates the correct way to use Hermes agents with sessions + +set -e + +echo "=== Hermes Agent Communication Fix ===" + +# 1. Check Hermes status +echo "1. Checking Hermes status..." +hermes status --all | head -10 + +# 2. Create a session for agent operations +echo "2. Creating agent session for blockchain operations..." +SESSION_ID="blockchain-workflow-$(date +%s)" + +# 3. Test agent communication with session +echo "3. Testing agent communication with proper session..." +hermes agent --agent main --session-id $SESSION_ID --message "Test agent communication for blockchain workflow" --thinking low + +echo "βœ… Agent communication working with session ID: $SESSION_ID" + +# 4. Demonstrate agent coordination +echo "4. Demonstrating agent coordination for blockchain operations..." +hermes agent --agent main --session-id $SESSION_ID --message "Coordinate multi-node blockchain deployment and provide status analysis" --thinking medium + +# 5. Show session information +echo "5. Session information:" +echo "Session ID: $SESSION_ID" +echo "Agent: main" +echo "Status: Active" + +# 6. Generate fix report +cat > /tmp/hermes_agent_fix_report.json << EOF +{ + "fix_status": "completed", + "issue": "Agent communication failed due to missing session context", + "solution": "Added --session-id parameter to agent commands", + "session_id": "$SESSION_ID", + "agent_id": "main", + "working_commands": [ + "hermes agent --agent main --session-id \$SESSION_ID --message 'task'", + "hermes agent --agent main --session-id \$SESSION_ID --message 'task' --thinking medium" + ], + "timestamp": "$(date -Iseconds)" +} +EOF + +echo "βœ… Hermes Agent Communication Fix Completed!" +echo "πŸ“Š Report saved to: /tmp/hermes_agent_fix_report.json" +echo "" +echo "=== Correct Usage Examples ===" +echo "# Basic agent communication:" +echo "hermes agent --agent main --session-id $SESSION_ID --message 'your task'" +echo "" +echo "# With thinking level:" +echo "hermes agent --agent main --session-id $SESSION_ID --message 'complex task' --thinking high" +echo "" +echo "# For blockchain operations:" +echo "hermes agent --agent main --session-id $SESSION_ID --message 'coordinate blockchain deployment' --thinking medium" diff --git a/scripts/workflow-openclaw/implement_agent_messaging.sh b/scripts/workflow-hermes/implement_agent_messaging.sh similarity index 62% rename from scripts/workflow-openclaw/implement_agent_messaging.sh rename to scripts/workflow-hermes/implement_agent_messaging.sh index 1f2659f0..995433ef 100755 --- a/scripts/workflow-openclaw/implement_agent_messaging.sh +++ b/scripts/workflow-hermes/implement_agent_messaging.sh @@ -1,31 +1,31 @@ #!/bin/bash -# Advanced OpenClaw Agent Blockchain Messaging Implementation +# Advanced hermes Agent Blockchain Messaging Implementation # This script implements and demonstrates actual blockchain messaging set -e -echo "=== Advanced OpenClaw Agent Blockchain Messaging Implementation ===" +echo "=== Advanced hermes Agent Blockchain Messaging Implementation ===" # Create session for implementation SESSION_ID="messaging-implementation-$(date +%s)" -# 1. Initialize OpenClaw agents on both nodes -echo "1. Initializing OpenClaw agents on both nodes for blockchain messaging..." +# 1. Initialize hermes agents on both nodes +echo "1. Initializing hermes agents on both nodes for blockchain messaging..." # Genesis node agent echo "Genesis Node Agent (aitbc):" -openclaw agent --agent main --session-id $SESSION_ID --message "I am the genesis node agent for AITBC blockchain messaging. I will coordinate messaging operations and maintain forum topics for cross-node agent collaboration. My capabilities include smart contract interaction, message moderation, and reputation management." --thinking high +hermes agent --agent main --session-id $SESSION_ID --message "I am the genesis node agent for AITBC blockchain messaging. I will coordinate messaging operations and maintain forum topics for cross-node agent collaboration. My capabilities include smart contract interaction, message moderation, and reputation management." --thinking high # Follower node agent (via SSH) echo "Follower Node Agent (aitbc1):" -ssh aitbc1 "cd /opt/aitbc && SESSION_ID='$SESSION_ID' openclaw agent --agent main --session-id \$SESSION_ID --message 'I am the follower node agent for AITBC blockchain messaging. I will participate in cross-node communication, respond to coordination messages, and provide status updates from the follower node perspective.' --thinking high" +ssh aitbc1 "cd /opt/aitbc && SESSION_ID='$SESSION_ID' hermes agent --agent main --session-id \$SESSION_ID --message 'I am the follower node agent for AITBC blockchain messaging. I will participate in cross-node communication, respond to coordination messages, and provide status updates from the follower node perspective.' --thinking high" # 2. Create agent workflow for messaging echo "2. Creating agent workflow for blockchain messaging..." cat > /tmp/blockchain_messaging_workflow.json << 'EOF' { "workflow_name": "blockchain_messaging_coordinator", - "description": "OpenClaw agent that coordinates blockchain messaging across multi-node AITBC network", + "description": "hermes agent that coordinates blockchain messaging across multi-node AITBC network", "version": "1.0", "agent_capabilities": [ "smart_contract_interaction", @@ -80,27 +80,27 @@ EOF echo "3. Training agents on specific blockchain messaging scenarios..." echo "Training Genesis Node Agent:" -openclaw agent --agent main --session-id $SESSION_ID --message "As the genesis node agent, I need to learn how to: 1) Create forum topics for coordination, 2) Post status updates about block production, 3) Respond to follower node queries, 4) Moderate discussions, 5) Build reputation through helpful contributions. Current blockchain height is $(curl -s http://localhost:8006/rpc/head | jq .height)." --thinking high +hermes agent --agent main --session-id $SESSION_ID --message "As the genesis node agent, I need to learn how to: 1) Create forum topics for coordination, 2) Post status updates about block production, 3) Respond to follower node queries, 4) Moderate discussions, 5) Build reputation through helpful contributions. Current blockchain height is $(curl -s http://localhost:8006/rpc/head | jq .height)." --thinking high echo "Training Follower Node Agent:" -ssh aitbc1 "cd /opt/aitbc && SESSION_ID='$SESSION_ID' openclaw agent --agent main --session-id \$SESSION_ID --message 'As the follower node agent, I need to learn how to: 1) Participate in coordination topics, 2) Report sync status and issues, 3) Ask questions about genesis node operations, 4) Collaborate on troubleshooting, 5) Build reputation through active participation. Current blockchain height is \$(curl -s http://localhost:8006/rpc/head | jq .height).' --thinking high" +ssh aitbc1 "cd /opt/aitbc && SESSION_ID='$SESSION_ID' hermes agent --agent main --session-id \$SESSION_ID --message 'As the follower node agent, I need to learn how to: 1) Participate in coordination topics, 2) Report sync status and issues, 3) Ask questions about genesis node operations, 4) Collaborate on troubleshooting, 5) Build reputation through active participation. Current blockchain height is \$(curl -s http://localhost:8006/rpc/head | jq .height).' --thinking high" # 4. Demonstrate practical messaging scenarios echo "4. Demonstrating practical blockchain messaging scenarios..." # Scenario 1: Coordination topic creation echo "Scenario 1: Creating coordination topic..." -openclaw agent --agent main --session-id $SESSION_ID --message "Create a forum topic called 'Multi-Node Blockchain Coordination' with description 'Central hub for coordinating deployment and operations across aitbc and aitbc1 nodes'. Tag it with coordination, deployment, and sync. This will help agents coordinate their activities." --thinking medium +hermes agent --agent main --session-id $SESSION_ID --message "Create a forum topic called 'Multi-Node Blockchain Coordination' with description 'Central hub for coordinating deployment and operations across aitbc and aitbc1 nodes'. Tag it with coordination, deployment, and sync. This will help agents coordinate their activities." --thinking medium # Scenario 2: Status update broadcasting echo "Scenario 2: Broadcasting status updates..." -openclaw agent --agent main --session-id $SESSION_ID --message "Post a status update to the coordination topic: 'Genesis node agent reporting: Block height $(curl -s http://localhost:8006/rpc/head | jq .height), RPC service operational, ready for cross-node agent coordination. All systems nominal.'" --thinking medium +hermes agent --agent main --session-id $SESSION_ID --message "Post a status update to the coordination topic: 'Genesis node agent reporting: Block height $(curl -s http://localhost:8006/rpc/head | jq .height), RPC service operational, ready for cross-node agent coordination. All systems nominal.'" --thinking medium -ssh aitbc1 "cd /opt/aitbc && SESSION_ID='$SESSION_ID' openclaw agent --agent main --session-id \$SESSION_ID --message 'Post a status update to the coordination topic: \"Follower node agent reporting: Block height \$(curl -s http://localhost:8006/rpc/head | jq .height), sync status active, ready for cross-node collaboration. Node operational and responding to genesis node.\"' --thinking medium" +ssh aitbc1 "cd /opt/aitbc && SESSION_ID='$SESSION_ID' hermes agent --agent main --session-id \$SESSION_ID --message 'Post a status update to the coordination topic: \"Follower node agent reporting: Block height \$(curl -s http://localhost:8006/rpc/head | jq .height), sync status active, ready for cross-node collaboration. Node operational and responding to genesis node.\"' --thinking medium" # Scenario 3: Cross-node collaboration echo "Scenario 3: Cross-node collaboration demonstration..." -openclaw agent --agent main --session-id $SESSION_ID --message "Post a collaboration message: 'I propose we establish a heartbeat protocol where both nodes post status updates every 30 seconds. This will help us monitor network health and detect issues quickly. Follower node agent, please confirm if you can implement this.'" --thinking medium +hermes agent --agent main --session-id $SESSION_ID --message "Post a collaboration message: 'I propose we establish a heartbeat protocol where both nodes post status updates every 30 seconds. This will help us monitor network health and detect issues quickly. Follower node agent, please confirm if you can implement this.'" --thinking medium # 5. Create agent CLI workflow echo "5. Creating agent CLI workflow for messaging..." @@ -111,7 +111,7 @@ cat > /tmp/create_messaging_agent.sh << 'EOF' echo "Creating blockchain messaging agent..." ./aitbc-cli agent create \ --name blockchain-messaging-agent \ - --description "OpenClaw agent for AITBC blockchain messaging and cross-node coordination" \ + --description "hermes agent for AITBC blockchain messaging and cross-node coordination" \ --workflow-file /tmp/blockchain_messaging_workflow.json \ --verification basic \ --max-execution-time 3600 \ @@ -128,7 +128,7 @@ chmod +x /tmp/create_messaging_agent.sh # 6. Implementation completion report echo "6. Creating implementation completion report..." -cat > /tmp/openclaw_messaging_implementation_report.json << EOF +cat > /tmp/hermes_messaging_implementation_report.json << EOF { "implementation_status": "completed", "session_id": "$SESSION_ID", @@ -179,8 +179,8 @@ cat > /tmp/openclaw_messaging_implementation_report.json << EOF } EOF -echo "βœ… Advanced OpenClaw Agent Blockchain Messaging Implementation Completed!" -echo "πŸ“Š Implementation report saved to: /tmp/openclaw_messaging_implementation_report.json" +echo "βœ… Advanced hermes Agent Blockchain Messaging Implementation Completed!" +echo "πŸ“Š Implementation report saved to: /tmp/hermes_messaging_implementation_report.json" echo "πŸ€– Both nodes now have trained agents for blockchain messaging!" echo "" diff --git a/scripts/workflow-openclaw/train_agent_messaging.sh b/scripts/workflow-hermes/train_agent_messaging.sh similarity index 65% rename from scripts/workflow-openclaw/train_agent_messaging.sh rename to scripts/workflow-hermes/train_agent_messaging.sh index 2022431b..8e92a0d2 100755 --- a/scripts/workflow-openclaw/train_agent_messaging.sh +++ b/scripts/workflow-hermes/train_agent_messaging.sh @@ -1,21 +1,21 @@ #!/bin/bash -# OpenClaw Agent Smart Contract Messaging Training -# This script trains OpenClaw agents to use AITBC blockchain messaging +# Hermes Agent Smart Contract Messaging Training +# This script trains Hermes agents to use AITBC blockchain messaging set -e -echo "=== OpenClaw Agent Smart Contract Messaging Training ===" +echo "=== Hermes Agent Smart Contract Messaging Training ===" # Create session for training SESSION_ID="messaging-training-$(date +%s)" -# 1. Initialize OpenClaw agent for messaging training -echo "1. Initializing OpenClaw agent for smart contract messaging training..." -openclaw agent --agent main --session-id $SESSION_ID --message "I need to learn how to use AITBC smart contract messaging for cross-node agent communication. Please teach me the agent messaging contract system, including how to create topics, post messages, and collaborate with other agents on the blockchain." --thinking high +# 1. Initialize Hermes agent for messaging training +echo "1. Initializing Hermes agent for smart contract messaging training..." +hermes agent --agent main --session-id $SESSION_ID --message "I need to learn how to use AITBC smart contract messaging for cross-node agent communication. Please teach me the agent messaging contract system, including how to create topics, post messages, and collaborate with other agents on the blockchain." --thinking high # 2. Teach agent about AITBC messaging capabilities echo "2. Teaching agent about AITBC smart contract messaging capabilities..." -openclaw agent --agent main --session-id $SESSION_ID --message "Explain the AITBC Agent Messaging Contract capabilities including: forum-like communication, message types (post, reply, announcement, question, answer), reputation system, moderation features, and cross-node agent collaboration. Focus on how this enables intelligent agent coordination on the blockchain." --thinking high +hermes agent --agent main --session-id $SESSION_ID --message "Explain the AITBC Agent Messaging Contract capabilities including: forum-like communication, message types (post, reply, announcement, question, answer), reputation system, moderation features, and cross-node agent collaboration. Focus on how this enables intelligent agent coordination on the blockchain." --thinking high # 3. Demonstrate CLI commands for agent operations echo "3. Demonstrating AITBC CLI agent commands..." @@ -66,7 +66,7 @@ echo "Sample workflow created: /tmp/agent_messaging_workflow.json" # 5. Train agent on practical messaging scenarios echo "5. Training agent on practical messaging scenarios..." -openclaw agent --agent main --session-id $SESSION_ID --message "Teach me practical scenarios for using AITBC blockchain messaging: 1) Creating coordination topics for multi-node deployment, 2) Posting status updates and heartbeat messages, 3) Asking questions and getting answers from other agents, 4) Collaborating on complex tasks, 5) Building reputation through helpful contributions." --thinking high +hermes agent --agent main --session-id $SESSION_ID --message "Teach me practical scenarios for using AITBC blockchain messaging: 1) Creating coordination topics for multi-node deployment, 2) Posting status updates and heartbeat messages, 3) Asking questions and getting answers from other agents, 4) Collaborating on complex tasks, 5) Building reputation through helpful contributions." --thinking high # 6. Demonstrate cross-node messaging echo "6. Demonstrating cross-node agent messaging..." @@ -74,16 +74,16 @@ echo "Current node status:" echo "- Genesis Node (aitbc): $(curl -s http://localhost:8006/rpc/head | jq .height)" echo "- Follower Node (aitbc1): $(ssh aitbc1 'curl -s http://localhost:8006/rpc/head | jq .height')" -openclaw agent --agent main --session-id $SESSION_ID --message "We have a multi-node blockchain setup with genesis node at height $(curl -s http://localhost:8006/rpc/head | jq .height) and follower node at height $(ssh aitbc1 'curl -s http://localhost:8006/rpc/head | jq .height). How can we use the smart contract messaging to coordinate between agents running on different nodes?" --thinking high +hermes agent --agent main --session-id $SESSION_ID --message "We have a multi-node blockchain setup with genesis node at height $(curl -s http://localhost:8006/rpc/head | jq .height) and follower node at height $(ssh aitbc1 'curl -s http://localhost:8006/rpc/head | jq .height). How can we use the smart contract messaging to coordinate between agents running on different nodes?" --thinking high # 7. Create training completion report echo "7. Creating training completion report..." -cat > /tmp/openclaw_messaging_training_report.json << EOF +cat > /tmp/hermes_messaging_training_report.json << EOF { "training_status": "completed", "session_id": "$SESSION_ID", "timestamp": "$(date -Iseconds)", - "training_focus": "AITBC smart contract messaging for OpenClaw agents", + "training_focus": "AITBC smart contract messaging for Hermes agents", "capabilities_taught": [ "Agent Messaging Contract usage", "Cross-node communication", @@ -116,8 +116,8 @@ cat > /tmp/openclaw_messaging_training_report.json << EOF } EOF -echo "βœ… OpenClaw Agent Smart Contract Messaging Training Completed!" -echo "πŸ“Š Training report saved to: /tmp/openclaw_messaging_training_report.json" +echo "βœ… Hermes Agent Smart Contract Messaging Training Completed!" +echo "πŸ“Š Training report saved to: /tmp/hermes_messaging_training_report.json" echo "πŸ€– Agent is now trained to use AITBC blockchain messaging!" echo "" diff --git a/scripts/workflow-openclaw/01_preflight_setup_openclaw.sh b/scripts/workflow-openclaw/01_preflight_setup_openclaw.sh deleted file mode 100755 index a067a9e7..00000000 --- a/scripts/workflow-openclaw/01_preflight_setup_openclaw.sh +++ /dev/null @@ -1,162 +0,0 @@ -#!/bin/bash -# OpenClaw Pre-Flight Setup Script for AITBC Multi-Node Blockchain -# This script prepares the system and deploys OpenClaw agents for multi-node blockchain deployment - -set -e # Exit on any error - -echo "=== OpenClaw AITBC Multi-Node Blockchain Pre-Flight Setup ===" - -# 1. Initialize OpenClaw Agent System -echo "1. Initializing OpenClaw Agent System..." -# Check if OpenClaw is available -if ! command -v openclaw &> /dev/null; then - echo "❌ OpenClaw CLI not found. Installing OpenClaw..." - # Install OpenClaw (placeholder - actual installation would go here) - pip install openclaw-agent 2>/dev/null || echo "⚠️ OpenClaw installation failed - using mock mode" -fi - -# 2. Deploy OpenClaw Agents -echo "2. Deploying OpenClaw Agents..." -# Create agent configuration -cat > /tmp/openclaw_agents.json << 'EOF' -{ - "agents": { - "CoordinatorAgent": { - "node": "aitbc", - "capabilities": ["orchestration", "monitoring", "coordination"], - "access": ["agent_communication", "task_distribution"] - }, - "GenesisAgent": { - "node": "aitbc", - "capabilities": ["system_admin", "blockchain_genesis", "service_management"], - "access": ["ssh", "systemctl", "file_system"] - }, - "FollowerAgent": { - "node": "aitbc1", - "capabilities": ["system_admin", "blockchain_sync", "service_management"], - "access": ["ssh", "systemctl", "file_system"] - }, - "WalletAgent": { - "node": "both", - "capabilities": ["wallet_management", "transaction_processing"], - "access": ["cli_commands", "blockchain_rpc"] - } - } -} -EOF - -# Deploy agents using OpenClaw -openclaw deploy --config /tmp/openclaw_agents.json --mode production || { - echo "⚠️ OpenClaw deployment failed - using mock agent deployment" - # Mock deployment for development - mkdir -p /var/lib/openclaw/agents - echo "mock_coordinator_agent" > /var/lib/openclaw/agents/CoordinatorAgent.status - echo "mock_genesis_agent" > /var/lib/openclaw/agents/GenesisAgent.status - echo "mock_follower_agent" > /var/lib/openclaw/agents/FollowerAgent.status - echo "mock_wallet_agent" > /var/lib/openclaw/agents/WalletAgent.status -} - -# 3. Stop existing services (via OpenClaw agents) -echo "3. Stopping existing services via OpenClaw agents..." -openclaw execute --agent CoordinatorAgent --task stop_all_services || { - echo "⚠️ OpenClaw service stop failed - using manual method" - systemctl stop aitbc-blockchain-* 2>/dev/null || true -} - -# 4. Update systemd configurations (via OpenClaw) -echo "4. Updating systemd configurations via OpenClaw agents..." -openclaw execute --agent GenesisAgent --task update_systemd_config || { - echo "⚠️ OpenClaw config update failed - using manual method" - # Update main service files - sed -i 's|EnvironmentFile=/opt/aitbc/.env|EnvironmentFile=/etc/aitbc/.env|g' /opt/aitbc/systemd/aitbc-blockchain-*.service - # Update drop-in configs - find /etc/systemd/system/aitbc-blockchain-*.service.d/ -name "10-central-env.conf" -exec sed -i 's|EnvironmentFile=/opt/aitbc/.env|EnvironmentFile=/etc/aitbc/.env|g' {} \; 2>/dev/null || true - # Fix override configs (wrong venv paths) - find /etc/systemd/system/aitbc-blockchain-*.service.d/ -name "override.conf" -exec sed -i 's|/opt/aitbc/apps/blockchain-node/.venv/bin/python3|/opt/aitbc/venv/bin/python3|g' {} \; 2>/dev/null || true - systemctl daemon-reload -} - -# 5. Setup central configuration (via OpenClaw) -echo "5. Setting up central configuration via OpenClaw agents..." -openclaw execute --agent CoordinatorAgent --task setup_central_config || { - echo "⚠️ OpenClaw config setup failed - using manual method" - cp /opt/aitbc/.env /etc/aitbc/.env.backup 2>/dev/null || true - mv /opt/aitbc/.env /etc/aitbc/.env 2>/dev/null || true -} - -# 6. Setup AITBC CLI tool (via OpenClaw) -echo "6. Setting up AITBC CLI tool via OpenClaw agents..." -openclaw execute --agent GenesisAgent --task setup_cli_tool || { - echo "⚠️ OpenClaw CLI setup failed - using manual method" - source /opt/aitbc/venv/bin/activate - pip install -e /opt/aitbc/cli/ 2>/dev/null || true - echo 'alias aitbc="source /opt/aitbc/venv/bin/activate && aitbc"' >> ~/.bashrc - source ~/.bashrc -} - -# 7. Clean old data (via OpenClaw) -echo "7. Cleaning old data via OpenClaw agents..." -openclaw execute --agent CoordinatorAgent --task clean_old_data || { - echo "⚠️ OpenClaw data cleanup failed - using manual method" - rm -rf /var/lib/aitbc/data/ait-mainnet/* - rm -rf /var/lib/aitbc/keystore/* -} - -# 8. Create keystore password file (via OpenClaw) -echo "8. Creating keystore password file via OpenClaw agents..." -openclaw execute --agent CoordinatorAgent --task create_keystore_password || { - echo "⚠️ OpenClaw keystore setup failed - using manual method" - mkdir -p /var/lib/aitbc/keystore - echo 'aitbc123' > /var/lib/aitbc/keystore/.password - chmod 600 /var/lib/aitbc/keystore/.password -} - -# 9. Verify OpenClaw agent deployment -echo "9. Verifying OpenClaw agent deployment..." -openclaw status --agent all || { - echo "⚠️ OpenClaw status check failed - using mock verification" - ls -la /var/lib/openclaw/agents/ -} - -# 10. Initialize agent communication channels -echo "10. Initializing agent communication channels..." -openclaw execute --agent CoordinatorAgent --task establish_communication || { - echo "⚠️ OpenClaw communication setup failed - using mock setup" - # Mock communication setup - echo "agent_communication_established" > /var/lib/openclaw/communication.status -} - -# 11. Verify setup with OpenClaw agents -echo "11. Verifying setup with OpenClaw agents..." -openclaw execute --agent CoordinatorAgent --task verify_setup || { - echo "⚠️ OpenClaw verification failed - using manual method" - aitbc --help 2>/dev/null || echo "CLI available but limited commands" -} - -# 12. Generate pre-flight report -echo "12. Generating pre-flight report..." -openclaw report --workflow preflight --format json > /tmp/openclaw_preflight_report.json || { - echo "⚠️ OpenClaw report generation failed - using mock report" - cat > /tmp/openclaw_preflight_report.json << 'EOF' -{ - "status": "completed", - "agents_deployed": 4, - "services_stopped": true, - "config_updated": true, - "cli_setup": true, - "data_cleaned": true, - "keystore_created": true, - "communication_established": true, - "timestamp": "2026-03-30T12:40:00Z" -} -EOF -} - -echo "βœ… OpenClaw Pre-Flight Setup Completed!" -echo "πŸ“Š Report saved to: /tmp/openclaw_preflight_report.json" -echo "πŸ€– Agents ready for multi-node blockchain deployment" - -# Display agent status -echo "" -echo "=== OpenClaw Agent Status ===" -openclaw status --agent all 2>/dev/null || cat /var/lib/openclaw/agents/*.status diff --git a/scripts/workflow-openclaw/fix_agent_communication.sh b/scripts/workflow-openclaw/fix_agent_communication.sh deleted file mode 100755 index 0e2ddfc1..00000000 --- a/scripts/workflow-openclaw/fix_agent_communication.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash -# OpenClaw Agent Communication Fix -# This script demonstrates the correct way to use OpenClaw agents with sessions - -set -e - -echo "=== OpenClaw Agent Communication Fix ===" - -# 1. Check OpenClaw status -echo "1. Checking OpenClaw status..." -openclaw status --all | head -10 - -# 2. Create a session for agent operations -echo "2. Creating agent session for blockchain operations..." -SESSION_ID="blockchain-workflow-$(date +%s)" - -# 3. Test agent communication with session -echo "3. Testing agent communication with proper session..." -openclaw agent --agent main --session-id $SESSION_ID --message "Test agent communication for blockchain workflow" --thinking low - -echo "βœ… Agent communication working with session ID: $SESSION_ID" - -# 4. Demonstrate agent coordination -echo "4. Demonstrating agent coordination for blockchain operations..." -openclaw agent --agent main --session-id $SESSION_ID --message "Coordinate multi-node blockchain deployment and provide status analysis" --thinking medium - -# 5. Show session information -echo "5. Session information:" -echo "Session ID: $SESSION_ID" -echo "Agent: main" -echo "Status: Active" - -# 6. Generate fix report -cat > /tmp/openclaw_agent_fix_report.json << EOF -{ - "fix_status": "completed", - "issue": "Agent communication failed due to missing session context", - "solution": "Added --session-id parameter to agent commands", - "session_id": "$SESSION_ID", - "agent_id": "main", - "working_commands": [ - "openclaw agent --agent main --session-id \$SESSION_ID --message 'task'", - "openclaw agent --agent main --session-id \$SESSION_ID --message 'task' --thinking medium" - ], - "timestamp": "$(date -Iseconds)" -} -EOF - -echo "βœ… OpenClaw Agent Communication Fix Completed!" -echo "πŸ“Š Report saved to: /tmp/openclaw_agent_fix_report.json" -echo "" -echo "=== Correct Usage Examples ===" -echo "# Basic agent communication:" -echo "openclaw agent --agent main --session-id $SESSION_ID --message 'your task'" -echo "" -echo "# With thinking level:" -echo "openclaw agent --agent main --session-id $SESSION_ID --message 'complex task' --thinking high" -echo "" -echo "# For blockchain operations:" -echo "openclaw agent --agent main --session-id $SESSION_ID --message 'coordinate blockchain deployment' --thinking medium" diff --git a/scripts/workflow/39_agent_communication_testing.sh b/scripts/workflow/39_agent_communication_testing.sh index d84c1f74..093e33b8 100755 --- a/scripts/workflow/39_agent_communication_testing.sh +++ b/scripts/workflow/39_agent_communication_testing.sh @@ -386,7 +386,7 @@ echo "β€’ βœ… Forum demonstration" echo "" echo "🎯 AGENT COMMUNICATION: IMPLEMENTATION COMPLETE" -echo "πŸ“‹ OpenClaw agents can now communicate over the blockchain like in a forum" +echo "πŸ“‹ hermes agents can now communicate over the blockchain like in a forum" echo "" echo "πŸ“„ Available endpoints:" echo "β€’ GET /rpc/messaging/topics - List forum topics" @@ -401,4 +401,4 @@ echo "β€’ POST /rpc/messaging/messages/{id}/vote - Vote on message" rm -f /tmp/test_agent_communication.py echo "" -echo "πŸŽ‰ OpenClaw agents now have forum-like communication capabilities on the blockchain!" +echo "πŸŽ‰ hermes agents now have forum-like communication capabilities on the blockchain!" diff --git a/scripts/workflow/40_deploy_messaging_contract.sh b/scripts/workflow/40_deploy_messaging_contract.sh index 3c86191a..cad8334e 100755 --- a/scripts/workflow/40_deploy_messaging_contract.sh +++ b/scripts/workflow/40_deploy_messaging_contract.sh @@ -290,7 +290,7 @@ echo "6. πŸ›οΈ Establish moderation policies" echo "7. πŸ“š Create agent onboarding documentation" echo "" echo "🎯 MESSAGING CONTRACT: DEPLOYMENT COMPLETE" -echo "πŸ“‹ OpenClaw agents can now communicate over the blockchain!" +echo "πŸ“‹ hermes agents can now communicate over the blockchain!" # Clean up echo "" diff --git a/scripts/workflow/40_deploy_messaging_contract_simple.sh b/scripts/workflow/40_deploy_messaging_contract_simple.sh index f1395215..86f7d32a 100755 --- a/scripts/workflow/40_deploy_messaging_contract_simple.sh +++ b/scripts/workflow/40_deploy_messaging_contract_simple.sh @@ -25,4 +25,4 @@ echo "Deployer: $DEPLOYER_ADDRESS" echo "" echo "βœ… MESSAGING CONTRACT: DEPLOYMENT COMPLETE" -echo "πŸ“‹ OpenClaw agents can now communicate over the blockchain!" +echo "πŸ“‹ Hermes agents can now communicate over the blockchain!" diff --git a/scripts/workflow/44_comprehensive_multi_node_scenario.sh b/scripts/workflow/44_comprehensive_multi_node_scenario.sh index ca5139c0..7ad354aa 100755 --- a/scripts/workflow/44_comprehensive_multi_node_scenario.sh +++ b/scripts/workflow/44_comprehensive_multi_node_scenario.sh @@ -322,25 +322,25 @@ phase4_blockchain_sync_event_bridge() { log_success "Phase 4: Blockchain sync with event bridge completed" } -# Phase 5: Agent Coordination via OpenClaw +# Phase 5: Agent Coordination via Hermes phase5_agent_coordination() { - log_info "=== PHASE 5: AGENT COORDINATION VIA OPENCLAW ===" + log_info "=== PHASE 5: AGENT COORDINATION VIA HERMES ===" - # Check if OpenClaw is available - if command -v openclaw >/dev/null 2>&1; then - log_success "OpenClaw CLI found" + # Check if Hermes is available + if command -v hermes >/dev/null 2>&1; then + log_success "Hermes CLI found" # Create a test session local session_id="scenario_$(date +%s)" - log_info "Creating OpenClaw session: $session_id" + log_info "Creating Hermes session: $session_id" # Send coordination message log_info "Sending coordination message to agent network" - openclaw agent --agent main --session-id "$session_id" --message "Multi-node scenario coordination: All nodes operational" --thinking low 2>/dev/null || log_warning "OpenClaw agent command failed" + hermes agent --agent main --session-id "$session_id" --message "Multi-node scenario coordination: All nodes operational" --thinking low 2>/dev/null || log_warning "Hermes agent command failed" log_success "Phase 5: Agent coordination completed" else - log_warning "OpenClaw CLI not found, skipping agent coordination" + log_warning "Hermes CLI not found, skipping agent coordination" fi } diff --git a/scripts/wrappers/aitbc-openclaw-wrapper.py b/scripts/wrappers/aitbc-hermes-wrapper.py similarity index 83% rename from scripts/wrappers/aitbc-openclaw-wrapper.py rename to scripts/wrappers/aitbc-hermes-wrapper.py index 54a3486f..fc484146 100644 --- a/scripts/wrappers/aitbc-openclaw-wrapper.py +++ b/scripts/wrappers/aitbc-hermes-wrapper.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 """ -Wrapper script for aitbc-openclaw service +Wrapper script for aitbc-hermes service Uses centralized aitbc utilities for path configuration """ @@ -17,7 +17,7 @@ from aitbc import ENV_FILE, NODE_ENV_FILE, REPO_DIR, DATA_DIR, LOG_DIR # Set up environment using aitbc constants os.environ["AITBC_ENV_FILE"] = str(ENV_FILE) os.environ["AITBC_NODE_ENV_FILE"] = str(NODE_ENV_FILE) -os.environ["PYTHONPATH"] = f"{REPO_DIR}/apps/openclaw-service/src" +os.environ["PYTHONPATH"] = f"{REPO_DIR}/apps/hermes-service/src" os.environ["DATA_DIR"] = str(DATA_DIR) os.environ["LOG_DIR"] = str(LOG_DIR) @@ -26,7 +26,7 @@ exec_cmd = [ "/opt/aitbc/venv/bin/python", "-m", "uvicorn", - "openclaw_service.main:app", + "hermes_service.main:app", "--host", "0.0.0.0", "--port", diff --git a/systemd/aitbc-openclaw.service b/systemd/aitbc-hermes.service similarity index 81% rename from systemd/aitbc-openclaw.service rename to systemd/aitbc-hermes.service index acdfde76..89503a9d 100644 --- a/systemd/aitbc-openclaw.service +++ b/systemd/aitbc-hermes.service @@ -1,5 +1,5 @@ [Unit] -Description=AITBC OpenClaw Service +Description=AITBC Hermes Service After=network.target redis.service [Service] @@ -10,12 +10,12 @@ WorkingDirectory=/opt/aitbc Environment=PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin EnvironmentFile=/etc/aitbc/.env EnvironmentFile=/etc/aitbc/node.env -ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/scripts/wrappers/aitbc-openclaw-wrapper.py +ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/scripts/wrappers/aitbc-hermes-wrapper.py Restart=always RestartSec=5 StandardOutput=journal StandardError=journal -SyslogIdentifier=aitbc-openclaw +SyslogIdentifier=aitbc-hermes [Install] WantedBy=multi-user.target