Meu-Agent / web
AGENTS.md0 starsChanged 10 days agoMITView on GitHub
Applies on top of the root AGENTS.md. Backend routers: hermes_cli/web_routers/*.py, one file per dashboard surface, mounted by hermes_cli/web_server.py (+ web_server_*.py siblings). Frontend: web/src/. Shared JSON-RPC/WS client: apps/shared (@hermes/shared), also used by the desktop. hermes_cli/pty_bridge.py + the @app.websocket("/api/pty") endpoint in web_server.py: - web/src/pages/ChatPage.tsx mounts xterm.js Terminal with the WebGL renderer, @xterm/addon-fit (container-driven resize) and @xterm/addon-unicode11 (wide-character widths). - /api/pty?token=… upgrades to a WebSocket; auth uses the same ephemeral _SESSION_TOKEN as REST, passed as a query param because browsers cannot set Authorization…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- NousResearch/hermes-agentword for word, first seen Oct 2, 2026
Other versions1 project uses a version of this.
Word for word · 1
- NousResearch/hermes-agent★ 262k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository57 other files it gives its agents.
- agent/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- cron/AGENTS.mdAGENTS.md
- gateway/AGENTS.mdAGENTS.md
- hermes_cli/AGENTS.mdAGENTS.md
- hermes_platform/AGENTS.mdAGENTS.md
- plugins/AGENTS.mdAGENTS.md
- pm/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- tui_gateway/AGENTS.mdAGENTS.md
- apple-notesSkill
- apple-remindersSkill
- findmySkill
- imessageSkill
- claude-codeSkill
- codexSkill
- computer-useSkill
- hermes-agentSkill
- architecture-diagramSkill
- ascii-videoSkill
- baoyu-infographicSkill
- claude-designSkill
- humanizerSkill
- local-pngSkill
- manim-videoSkill
- p5jsSkill
- popular-web-designsSkill
- songwriting-and-ai-musicSkill
- sdlc-reviewSkill
- email-inbox-triageSkill
- himalayaSkill
- youtube-contentSkill
- obsidianSkill
- document-to-action-itemsSkill
- google-workspaceSkill
- mapsSkill
- meeting-action-itemsSkill
- microsoft-officeSkill
- pdfSkill
- product-price-monitorSkill
- teams-meeting-pipelineSkill
- weekly-review-planningSkill
- arxivSkill
- competitor-news-monitorSkill
- grounded-citationsSkill
- xurlSkill
- codebase-inspectionSkill
- dogfoodSkill
- githubSkill
- requesting-code-reviewSkill
- simplify-codeSkill
- spikeSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- blocked-page-recoverySkill
The file
Files
web/ + hermes_cli/web_routers/ — the dashboard (hermes dashboard → /chat)
Applies on top of the root AGENTS.md. Backend routers: hermes_cli/web_routers/*.py, one file per
dashboard surface, mounted by hermes_cli/web_server.py (+ web_server_*.py siblings). Frontend:
web/src/. Shared JSON-RPC/WS client: apps/shared (@hermes/shared), also used by the desktop.
The dashboard embeds the REAL hermes --tui — not a rewrite
hermes_cli/pty_bridge.py + the @app.websocket("/api/pty") endpoint in web_server.py:
web/src/pages/ChatPage.tsxmounts xterm.jsTerminalwith the WebGL renderer,@xterm/addon-fit(container-driven resize) and@xterm/addon-unicode11(wide-character widths)./api/pty?token=…upgrades to a WebSocket; auth uses the same ephemeral_SESSION_TOKENas REST, passed as a query param because browsers cannot setAuthorizationon a WS upgrade.- The server spawns exactly what
hermes --tuiwould spawn, throughptyprocess(POSIX PTY — WSL works, native Windows does not). - Frames are raw PTY bytes each way; resize travels as
\x1b[RESIZE:<cols>;<rows>], intercepted on the server and applied withTIOCSWINSZ.
Do not re-implement the primary chat experience in React. Transcript, composer/input flow
(including slash-command behaviour), and the PTY-backed terminal belong to the embedded TUI; anything
added to Ink shows up here automatically. If you are rebuilding the transcript or composer for the
dashboard, stop and extend Ink (tui_gateway/AGENTS.md).
Structured React UI around the TUI is fine when it is not a second chat surface. Sidebar
widgets, inspectors, summaries, status panels (ChatSidebar, ModelPickerDialog, ToolCall)
complement the embedded TUI. Keep their state independent of the PTY child's session and surface
their failures non-destructively so the terminal pane keeps working.
dashboard vs serve
dashboard and serve share cmd_dashboard / start_server but are independent surfaces — neither
launches the other. serve is the headless backend the desktop app spawns (headless_backend=True:
cmd_dashboard skips _build_web_ui and exports HERMES_SERVE_HEADLESS=1 so mount_spa()
disables the SPA even if a stray web_dist/ exists — only JSON-RPC/WS/API is reachable). The
desktop has no build/runtime dependency on this frontend. Details: apps/desktop/src/AGENTS.md.
What each surface (serve, dashboard, webapp) may do is one table,
hermes_cli/web_server_surface.py; read it instead of comparing ui_surface strings.
Rules
- Auth: every new REST route and WS endpoint uses the same session token; never a second scheme.
- Routers are one-file-per-surface; a new surface is a new
web_routers/<surface>.py, not a growingweb_server.py. - Tests: Python in
tests/hermes_cli/(routers, pty bridge); JS in theweb/vitest suite. Python tests must not assert aboutpackage.json/.tsxsources (root testing rules). Root TypeScript style rules apply.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

