Skip to content

hylo-code-agents

Hylo tool-using agents: code-writing agents (code.llm, code.program), research sessions and program candidates, program skills

Repository hylo-harness, adapters/hylo-code-agents. Licence: Apache-2.0. Depends on: hylo-core, hylo-agents, hylo-manip, hylo-eval, hylo-evolve, hylo-memory, hylo-reasoner-llm, hylo-tools, numpy>=1.26, pyyaml>=6.

Registered entry points
Group Name Object
agents code.llm hylo.codeagents.agents:CodeLLMAgent
agents code.program hylo.codeagents.agents:CodeProgramAgent
agents tools.llm hylo.codeagents.tool_agent:ToolLLMAgent
commands chats hylo.codeagents.chats:main
commands mcp hylo.codeagents.mcp:main
commands motion hylo.codeagents.motion:motion_command
commands preflight hylo.codeagents.preflight:main
commands replay hylo.codeagents.replay:replay_command
commands research hylo.codeagents.cli:research
commands roles hylo.codeagents.roles:main
commands scene hylo.codeagents.scenes:scene_command
commands watch hylo.codeagents.watch:main
commands world hylo.codeagents.session:main
generators harness.program hylo.codeagents.harness_evolution:HarnessEvolutionProposer
generators research.llm hylo.codeagents.generator:ResearchProposer
Module Summary
hylo.codeagents Tool-using, code-writing agents (RFC-0006 parts 4-6)
hylo.codeagents.agents Code-writing agents (RFC-0006 parts 4 and 5)
hylo.codeagents.bridge The toolkit's Executor on top of the kernel (RFC-0006 part 4): a program moves the robot only through the kernel
hylo.codeagents.chats hylo chats: tool-agent conversations from run traces as training records (chat format with tool calls)
hylo.codeagents.cli hylo research: run a research session on an experiment's development cases and freeze the best program
hylo.codeagents.fakes Test doubles for code agents: a toy manipulation environment and a toolkit with the hylo.manip Tools signatures
hylo.codeagents.generator research.llm: a research session as an improvement-campaign generator (RFC-0006 part 5)
hylo.codeagents.harness_evolution Optional phase-guided program evolution, independently implemented from a design study
hylo.codeagents.mcp hylo mcp: any registered tool surface (group hylo.surfaces) as a Model Context Protocol server over stdio, so a
hylo.codeagents.motion The motion studio (RFC-0006 part 8): a request (text, an image of a pose, or a reference video) -> a humanoid or
hylo.codeagents.motion_characters Target characters of the motion studio: humanoid robots (MJCF) and rigged human characters (Blender), each
hylo.codeagents.motion_free Free mode of the motion studio: the model composes its own pipeline as scripts in its run directory
hylo.codeagents.motion_ops Motion data and edits for the motion studio (pure numpy): one keypoint skeleton, converters from the motion
hylo.codeagents.motion_retarget Retargeting math shared by every target character (pure numpy, no Hylo imports): the MuJoCo worker
hylo.codeagents.motion_scripts Model-written scripts run in a directory, under a guard, with tool calls served over a pipe (free mode of the
hylo.codeagents.motion_tools The motion studio's tool layer (RFC-0006 part 8), shared by the guided studio (motion.py) and free mode
hylo.codeagents.phase_memory Phase-scoped repair notes, retrieved only from active, promoted program lineages
hylo.codeagents.preflight hylo preflight: check, before a tool-agent run, everything that can be checked without running it
hylo.codeagents.prompt What code-writing models are told: the robot, the toolkit's API, the rules, and the feedback after each block
hylo.codeagents.replay Replay to sim (RFC-0006 part 8): a recorded episode -> tracked objects and hand -> MuJoCo scene -> replay -> checks
hylo.codeagents.replay_agent The replay-to-sim agent (RFC-0006 part 8): a chat model drives ReplayPipeline's steps from the code-agents
hylo.codeagents.replay_data Recordings for the replay-to-sim workflow (RFC-0006 part 8): one camera's video plus whatever the source knows
hylo.codeagents.replay_geom Geometry, checks, video and the simulation client of replay-to-sim (RFC-0006 part 8), all without MuJoCo
hylo.codeagents.replay_tools The perception and rendering tools the replay workflow calls, behind one small interface
hylo.codeagents.replay_track Perception for replay-to-sim (RFC-0006 part 8): lift a recording to 3D, track objects, detect contact events,
hylo.codeagents.research Research sessions (RFC-0006 part 5): a model develops a program on development cases, then it is frozen
hylo.codeagents.robot_surface The robot as typed tools (RFC-0007 part 2): what the tools.llm agent calls, built on the manipulation toolkit
hylo.codeagents.roles Role campaigns (RFC-0008 part 9): a coordinator works through a set of tasks with worker and verifier roles over
hylo.codeagents.sandbox A restricted namespace for model-written Python (RFC-0006: "programs are data until gated")
hylo.codeagents.scene_check The scene checker (RFC-0006 part 8): is a hylo.scene/v0.1 file a fair task for the robot?
hylo.codeagents.scene_episode Running one recorded episode of a scene (fixed-format or free) and writing what it produced
hylo.codeagents.scene_free Free-form scene building (RFC-0006 part 8, free mode): task text -> a scene program -> checked -> solved
hylo.codeagents.scene_free_check The checker for free-form scene programs (hylo.freescene/v0.1, env mujoco.free_scene)
hylo.codeagents.scene_free_prompt What the free-mode scene builder tells the model: the scene-program format, the robots, two examples, and how
hylo.codeagents.scene_free_tools The privileged toolkit for free scenes: hylo-manip's Tools plus the simulator's free-form state
hylo.codeagents.scenes The scene builder workflow (RFC-0006 part 8): task text -> scene file -> checked -> solved with privileged state
hylo.codeagents.session Tool sessions (RFC-0008 part 7): a chat model works with any registered tool surface (group hylo.surfaces) on
hylo.codeagents.skills Programs as sealed artifacts, and promoted programs as skills (RFC-0006 parts 5 and 6)
hylo.codeagents.tool_agent tools.llm (RFC-0007): a chat model operates the robot through typed tools with native tool calls
hylo.codeagents.tool_context Context for a tool-calling model (RFC-0007 part 3): the conversation is kept whole; what is sent is a projection
hylo.codeagents.tool_prompt The prompt of the tools.llm agent (RFC-0007 part 4), in named layers so a run records exactly what the model was
hylo.codeagents.turns One conversation of a code-writing model: it writes a block, the sandbox runs it, the feedback goes back
hylo.codeagents.watch hylo watch: follow a tool-agent episode in the terminal, replay a finished one, or steer a running one

hylo.codeagents

Module API. Tool-using, code-writing agents (RFC-0006 parts 4-6)

hylo.codeagents.agents

Module API. Code-writing agents (RFC-0006 parts 4 and 5)

hylo.codeagents.bridge

Module API. The toolkit's Executor on top of the kernel (RFC-0006 part 4): a program moves the robot only through the kernel

hylo.codeagents.chats

Module API. hylo chats: tool-agent conversations from run traces as training records (chat format with tool calls)

hylo.codeagents.cli

Module API. hylo research: run a research session on an experiment's development cases and freeze the best program

hylo.codeagents.fakes

Module API. Test doubles for code agents: a toy manipulation environment and a toolkit with the hylo.manip Tools signatures

hylo.codeagents.generator

Module API. research.llm: a research session as an improvement-campaign generator (RFC-0006 part 5)

hylo.codeagents.harness_evolution

Module API. Optional phase-guided program evolution, independently implemented from a design study

hylo.codeagents.mcp

Module API. hylo mcp: any registered tool surface (group hylo.surfaces) as a Model Context Protocol server over stdio, so a

hylo.codeagents.motion

Module API. The motion studio (RFC-0006 part 8): a request (text, an image of a pose, or a reference video) -> a humanoid or

hylo.codeagents.motion_characters

Module API. Target characters of the motion studio: humanoid robots (MJCF) and rigged human characters (Blender), each

hylo.codeagents.motion_free

Module API. Free mode of the motion studio: the model composes its own pipeline as scripts in its run directory

hylo.codeagents.motion_ops

Module API. Motion data and edits for the motion studio (pure numpy): one keypoint skeleton, converters from the motion

hylo.codeagents.motion_retarget

Module API. Retargeting math shared by every target character (pure numpy, no Hylo imports): the MuJoCo worker

hylo.codeagents.motion_scripts

Module API. Model-written scripts run in a directory, under a guard, with tool calls served over a pipe (free mode of the

hylo.codeagents.motion_tools

Module API. The motion studio's tool layer (RFC-0006 part 8), shared by the guided studio (motion.py) and free mode

hylo.codeagents.phase_memory

Module API. Phase-scoped repair notes, retrieved only from active, promoted program lineages

hylo.codeagents.preflight

Module API. hylo preflight: check, before a tool-agent run, everything that can be checked without running it

hylo.codeagents.prompt

Module API. What code-writing models are told: the robot, the toolkit's API, the rules, and the feedback after each block

hylo.codeagents.replay

Module API. Replay to sim (RFC-0006 part 8): a recorded episode -> tracked objects and hand -> MuJoCo scene -> replay -> checks

hylo.codeagents.replay_agent

Module API. The replay-to-sim agent (RFC-0006 part 8): a chat model drives ReplayPipeline's steps from the code-agents

hylo.codeagents.replay_data

Module API. Recordings for the replay-to-sim workflow (RFC-0006 part 8): one camera's video plus whatever the source knows

hylo.codeagents.replay_geom

Module API. Geometry, checks, video and the simulation client of replay-to-sim (RFC-0006 part 8), all without MuJoCo

hylo.codeagents.replay_tools

Module API. The perception and rendering tools the replay workflow calls, behind one small interface

hylo.codeagents.replay_track

Module API. Perception for replay-to-sim (RFC-0006 part 8): lift a recording to 3D, track objects, detect contact events,

hylo.codeagents.research

Module API. Research sessions (RFC-0006 part 5): a model develops a program on development cases, then it is frozen

hylo.codeagents.robot_surface

Module API. The robot as typed tools (RFC-0007 part 2): what the tools.llm agent calls, built on the manipulation toolkit

hylo.codeagents.roles

Module API. Role campaigns (RFC-0008 part 9): a coordinator works through a set of tasks with worker and verifier roles over

hylo.codeagents.sandbox

Module API. A restricted namespace for model-written Python (RFC-0006: "programs are data until gated")

hylo.codeagents.scene_check

Module API. The scene checker (RFC-0006 part 8): is a hylo.scene/v0.1 file a fair task for the robot?

hylo.codeagents.scene_episode

Module API. Running one recorded episode of a scene (fixed-format or free) and writing what it produced

hylo.codeagents.scene_free

Module API. Free-form scene building (RFC-0006 part 8, free mode): task text -> a scene program -> checked -> solved

hylo.codeagents.scene_free_check

Module API. The checker for free-form scene programs (hylo.freescene/v0.1, env mujoco.free_scene)

hylo.codeagents.scene_free_prompt

Module API. What the free-mode scene builder tells the model: the scene-program format, the robots, two examples, and how

hylo.codeagents.scene_free_tools

Module API. The privileged toolkit for free scenes: hylo-manip's Tools plus the simulator's free-form state

hylo.codeagents.scenes

Module API. The scene builder workflow (RFC-0006 part 8): task text -> scene file -> checked -> solved with privileged state

hylo.codeagents.session

Module API. Tool sessions (RFC-0008 part 7): a chat model works with any registered tool surface (group hylo.surfaces) on

hylo.codeagents.skills

Module API. Programs as sealed artifacts, and promoted programs as skills (RFC-0006 parts 5 and 6)

hylo.codeagents.tool_agent

Module API. tools.llm (RFC-0007): a chat model operates the robot through typed tools with native tool calls

hylo.codeagents.tool_context

Module API. Context for a tool-calling model (RFC-0007 part 3): the conversation is kept whole; what is sent is a projection

hylo.codeagents.tool_prompt

Module API. The prompt of the tools.llm agent (RFC-0007 part 4), in named layers so a run records exactly what the model was

hylo.codeagents.turns

Module API. One conversation of a code-writing model: it writes a block, the sandbox runs it, the feedback goes back

hylo.codeagents.watch

Module API. hylo watch: follow a tool-agent episode in the terminal, replay a finished one, or steer a running one