Hermes Learns Manim
Use this skill when the user wants a mathematical, scientific, or newsworthy concept turned into a Manim animation.
Hermes is the only agent harness for this workflow. Do not introduce another agent SDK.
Required routine
- Call
initialize_run_workspacewith the user's request. - If the topic is a current event, run the
news-researchersubagent first to ground the narrative in verified facts and canonical citations. - Use Hermes subagents to rebuild the reasoning tree and downstream artifacts.
- Save every artifact back through MCP tools (
save_text_artifact,save_json_artifact) so the workspace stays canonical. - Validate (
validate_manim_scene,estimate_scene_complexity,validate_latex_block) before rendering. - Render only if the user explicitly wants video output, and start at quality
lfor iteration.
Recommended subagent split
Delegate only when it helps materially. Default split:
news-researcher(optional): gather verified facts and citations for newsworthy topics; writeresearch.mdconcept-analyst: fillanalysis.jsonprerequisite-explorer: buildknowledge_tree.jsonmath-enricher: tighten equations, definitions, and numerical values inside the tree or notesnarrative-composer: writenarrative.mdas a scene-by-scene cinematic plancode-generator: producescene.pyand call validators before handing back
Keep artifact ownership clear so subagents do not overwrite each other casually.
Artifact contract
The MCP workspace seeds these files:
request.mdworkflow.mdanalysis.jsonknowledge_tree.jsonnarrative.mdscene.pyrun_manifest.json
Additional artifacts the coordinator may write:
research.md— for current-events topics (facts, dates, numbers, sources)validation.json— merged output of the validators
Keep all of these in sync as the workflow progresses.
Cinematic 3D defaults
When the user asks for a "3D", "cinematic", "best-in-class", or current-events animation, the code-generator should default to:
ThreeDScenewithset_camera_orientation(phi=65-75°, theta=-45° to -55°)- Dark space background (e.g.
#050510) with aDotstarfield for depth cues - Ambient camera rotation at
0.08-0.15 rad/sduring wide shots - A coherent color language declared at the top of the file (title / accent / data / warning)
add_fixed_in_frame_mobjectsfor all titles, equations, captions- Labeled, color-coded key terms (
MathTexparts) so the viewer can follow symbolically - A 3-to-6 act structure: hook → concept → math → key insight → counterfactual → payoff
- Raw strings (
r"...") for everyMathTexandTexliteral - Self-contained: no
ImageMobjector external asset loads
Validation gate
Before rendering:
validate_manim_sceneon the fullscene.pysourceestimate_scene_complexity— ifcomplexity == "high", confirm the user still wants to rendervalidate_latex_blockon any equation the narrative marks as load-bearing
Fix issues in scene.py and re-save through MCP before rendering.
Current-events protocol
For news-driven topics the coordinator MUST:
- Anchor the animation in verifiable facts (dates, distances, speeds, crew names)
- Record sources in
research.mdwith URLs and a last-checked timestamp - Use honest numbers on screen (e.g.
252{,}756\ \text{mi}) and preserve units - Never invent quotes, statements, or unconfirmed mission outcomes
Provider note
Hermes handles login and provider selection with hermes setup and hermes model.
This skill is provider-agnostic.
References
references/mcp-config.yamlreferences/subagents.md