{"id":50589432,"url":"https://github.com/dwqs/node-hermes-agent","last_synced_at":"2026-06-05T09:01:56.745Z","repository":{"id":353482414,"uuid":"1217771562","full_name":"dwqs/node-hermes-agent","owner":"dwqs","description":"基于 langchain 的 Hermes Agent  MVP","archived":false,"fork":false,"pushed_at":"2026-05-08T09:58:46.000Z","size":162,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-08T10:29:02.914Z","etag":null,"topics":["agent","hermes-agent","langchain","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dwqs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-22T07:48:34.000Z","updated_at":"2026-05-08T09:58:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dwqs/node-hermes-agent","commit_stats":null,"previous_names":["dwqs/node-hermes-agent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dwqs/node-hermes-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwqs%2Fnode-hermes-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwqs%2Fnode-hermes-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwqs%2Fnode-hermes-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwqs%2Fnode-hermes-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwqs","download_url":"https://codeload.github.com/dwqs/node-hermes-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwqs%2Fnode-hermes-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33937661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","hermes-agent","langchain","nodejs"],"created_at":"2026-06-05T09:01:55.222Z","updated_at":"2026-06-05T09:01:56.739Z","avatar_url":"https://github.com/dwqs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-hermes-agent\n基于教程 [Learn Hermes Agent](https://github.com/longyunfeigu/learn-hermes-agent) 的 node 版本实现\n\n## 本地运行\n```\ngit clone git@github.com:dwqs/node-hermes-agent.git\n\ncd node-hermes-agent\n\npnpm i\n\ncp .env.example .env\n```\n\n在 `.env` 文件配置 API Key 之后:\n\n```\nnode src/s01-agent-loop.mjs\n```\n\n### 脚本功能\n1. `s01-agent-loop`: 实现 Agent 多轮对话\n2. `s02-tool-system`: 实现 Agent 的工具系统\n3. `s03-session-store`: 实现持久话存储和全文搜索\n4. `s04-prompt-builder`: 实现system prompt 从多个来源分层组装，组装一次缓存复用\n5. `s05-context-compression`: 上下文压缩\n6. `s06-error-recovery`: 错误恢复机制\n7. `s07-memory-system`: 记忆管理\n8. `s08-skill-system`: 技能管理\n9. `s09-permission-system`: 模拟权限管理\n10. `s10-subagent-delegation`: Sub Agent 实现\n11. `s11-configuration-system`: 测试配置系统\n12. `s12-gateway-architecture`: 网关架构实现\n13. `s13-platform-adapters`: 模拟多平台适配\n14. `s14-terminal-backends`: 终端执行环境抽象\n15. `s15-scheduled-tasks`: 定时任务机制\n16. `s16-mcp`: MCP mock 实现\n17. `s17-browser-automation`: 模拟浏览器行为\n18. `s18-voice-vision`: 模拟视觉/音频模型\n19. `s19-cli-and-web-interface`: CLI 交互和流式响应\n20. `s20-background-review`: 后台审视/回顾(AI 自我学习)\n21. `s21-skill-creation-loop`: 技能自主创作闭环\n22. `s22-hook-system`: Hook System \u0026 BOOT.md\n23. `s23-trajectory-and-rl`: 对话轨迹与强化学习\n24. [插件架构](https://github.com/longyunfeigu/learn-hermes-agent/blob/main/docs/zh/s24-plugin-architecture.md)\n25. `s25-skill-evolution`: 自进化总览\n26. `s26-evaluation-system`: 度量体系\n27. `s27-optimization-and-deploy`: 优化与部署\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwqs%2Fnode-hermes-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwqs%2Fnode-hermes-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwqs%2Fnode-hermes-agent/lists"}