TECHNIAHQROBOT / INDEPENDENT ROBOTICS REPORTINGENGLISH EDITION / 24 November 2026
ROBOTICS / OPEN PROJECTHumanoid Robots

K-Bot: what a public-alpha humanoid repository provides

K-Bot is an open humanoid development project from K-Scale Labs. Its maintainers describe the release as public alpha and warn that interfaces may change. The repository uses submodules, so a snapshot of the top-level files alone does not describe a complete, reproducible software and hardware state.

Source repository Documentation
Editorial source check · Project documentation and public files; no physical test claimedRevision and parts availability may change
THE TECHNICAL DOSSIERK-Bot
K-BOT / K-SCALE HUMANOID BUILD AND KOS-SIM WORKSHOP

K-Bot: mechanical assembly, CAN electronics, K-OS and KOS simulation

K-Bot is an open-source humanoid from K-Scale Labs. The public alpha repository includes mechanical and electrical design, KOS software components and simulator-related modules. This guide treats electrical construction, KOS simulation and real actuator commissioning as different stages. Use a matching release and validate all joints before requesting a physical stand.

Real K-Scale Labs K-Bot humanoid photograph from the official repository
K-Bot reference image from its original source repository.

1. What you need to build K-Bot

SystemBuild and validation requirement
K-Bot mechanical CAD and fastenersRevision-matched feet, legs, pelvis, trunk, arms, head and mounts
Matched RobStride actuator modules where specifiedJoint torque and axis configuration; motor part numbers depend on release
CAN wiring and proper terminationActuator communication; check node IDs and termination on every bus
Power distribution and protectionReference electrical design includes 48 V motor infrastructure and protected low-voltage compute supplies
Raspberry Pi 5 and supporting electronicsCompute and embedded interfaces in the documented reference configuration
IMU and motor encodersOrientation and joint-state feedback
Linux workstation with Python / MuJoCoKOS simulation and policy development
Mechanical rig and electrical measurement toolsPrevent uncommanded falls during physical bringup

Because the project is released as public alpha, compare every actuator model, board and cable assembly with its pinned source revision. Do not order a generic humanoid BOM based on assumptions about a photo.

2. K-Bot humanoid mechanical architecture

Head and sensingLeft armRight armTorsoLeft legRight legIllustrative module placement - not a K-Bot manufacturing drawing

3. Clone the hardware and software files

sudo apt update
sudo apt install -y git git-lfs python3 python3-venv
git lfs install
git clone https://github.com/kscalelabs/kbot.git
cd kbot
git submodule update --init --recursive
git submodule status
ls
ls mechanical
ls electrical

Pin the repository commit and its submodules before beginning manufacturing; updating nested repositories independently may make robot files, software and motor mappings incompatible.

4. Manufacturing and assembly

  1. Inventory: compare mechanical CAD with the current bill of materials, manufacturing processes and mounting interfaces.
  2. Actuator modules: inspect each motor, reduction stage and output orientation; assign a physical joint label before installation.
  3. Left and right legs: assemble the mirrored joint chains, inspect hip–knee–ankle travel and provide room for CAN and power wiring.
  4. Pelvis and trunk: secure structural connections and mount the electronics in their designated locations.
  5. Arms and head: fit the model-specific motors and sensors and leave adequate cable bend radius.
  6. Power distribution: route protected motor and compute supply circuits according to electrical documentation, keeping the emergency stop accessible.
  7. Commissioning stand: rig the robot with a suitable rated support. Do not free-stand it before motor, encoder and IMU validation.

5. Electrical power architecture

Battery and BMSProtected distributionFuse / E-stop / contactor48 V motor + CAN busModel-matched actuatorsDC/DC regulated supplyOnboard computerFunctional diagram only; use the released schematic for all voltages, pins and protection sizes

The electrical reference includes a 48 V motor infrastructure and protected low-voltage conversion for computer hardware. Never wire the power system from this simplified diagram; check the actual PCB schematics, BMS requirements, fuse sizes, grounding and wiring pinout.

6. K-OS and sensor feedback structure

Policy +operatorKOS controlinterfaceCAN / motorshardwarePhysicalmovementEncoder and IMU state feedback closes the control loop

7. Start KOS-Sim before connecting real actuators

python3 -m venv kbot-env
source kbot-env/bin/activate
python -m pip install --upgrade pip
python -m pip install kos-sim
kos-sim kbot-v1

On another terminal, if you have cloned the kscalelabs/kos-sim repository including its examples and installed its dependencies, start the documented K-Bot example client:

git clone https://github.com/kscalelabs/kos-sim.git
cd kos-sim
# From the installed environment and repository root:
python -m examples.kbot

KOS-Sim uses a simulated backend exposing KOS gRPC-style interfaces. Test motion, state feedback and actuator mapping there first; running the simulator does not connect to a real K-Bot.

8. Prepare policy experiments with K-Sim

git clone https://github.com/kscalelabs/ksim-kbot.git
cd ksim-kbot
git submodule update --init --recursive
python -m pip install -e .

This installs the training project in the active Python environment. It does not create a compatible locomotion checkpoint automatically. Match joint indexing, observation length, robot mass and actuator limits before evaluating a policy.

9. Inspect the available MJCF model from Python

from pathlib import Path
import mujoco

path = Path("PATH_TO_KBOT_MJCF")
if not path.exists():
    raise FileNotFoundError(
        "Replace PATH_TO_KBOT_MJCF with the actual model file."
    )
model = mujoco.MjModel.from_xml_path(str(path))
print("Bodies:", model.nbody)
print("Joints:", model.njnt)
print("Actuators:", model.nu)
for index in range(model.nu):
    name = mujoco.mj_id2name(
        model, mujoco.mjtObj.mjOBJ_ACTUATOR, index
    )
    print(index, name)

The placeholder intentionally does not invent a model path: K-Bot files and submodule directories can change between public-alpha revisions.

10. Transition from simulator to physical robot

  1. Confirm mechanical and electrical revisions match the KOS configuration.
  2. With the robot securely suspended, check each motor's ID, communication, joint limits and encoder feedback independently.
  3. Verify the IMU coordinate frame and motor direction against the simulation.
  4. Test power loss and the hardware emergency stop under controlled conditions.
  5. Validate a neutral posture and supported joint trajectories before any standing controller.
  6. Only deploy a locomotion policy that matches the installed hardware and has completed simulation and safety validation.

11. Diagnostic guide

IssueDiagnosis
kos-sim not foundActivate the intended Python environment and reinstall dependencies
Model resources missingCheck recursive submodule checkout and repository revision
Simulation oscillationInspect actuator limits, timestep, contacts and solver parameters
Motor not seen on CANCheck cable, power, address, bitrate and termination with power isolated
Robot joint direction disagreesReconcile model axis and encoder calibration, do not start a gait
Policy crashes or yields unsafe targetsCompare action and observation dimensions to the training run

Public-alpha status means a complete, guaranteed physical first-walk command cannot be asserted from the repository alone. The simulation route above is reproducible only with matching published components. Do not energize a full humanoid until an independent hardware safety review is complete.

BUILD / PROGRAM / TEST

Complete practical guide: K-Bot

The public K-Bot alpha is most useful as a simulation and controller integration project until all physical fabrication and commissioning details have been recovered.

1. Files, parts and fabrication

  1. Clone recursively to obtain the pinned submodules. Save the commit and submodule status beside the parts inventory.
  2. Open the mechanical design using its supported CAD tool and identify leg, torso and arm interfaces. Record motor, connector, fastener and material requirements from the released drawings; flag missing entries.
  3. Only fabricate a subsystem with a complete drawing and tolerance specification. A rendered model does not define the material or bearing fit.

2. Software installation and configuration

  1. Use the Linux environment and dependency versions described by ksim-kbot. Inspect its instructions before installing GPU simulation dependencies.
  2. Keep the simulation model and kos-kbot runtime on compatible commits. Check the controller observation order, action array and joint names against the model.
  3. Use the simulation entry point supplied by that checkout; no generic K-Bot motor command is assumed.

Commissioning diagram

  1. 1Pinned K-Bot repository
  2. 2ksim-kbot model
  3. 3Policy observation vector
  4. 4Joint action mapping
  5. 5Simulated feedback
Simulation produces joint observations for the controller. The physical runtime requires a separately verified hardware mapping.
Mermaid diagram source
flowchart TD
  N0["Pinned K-Bot repository"]
  N1["ksim-kbot model"]
  N2["Policy observation vector"]
  N3["Joint action mapping"]
  N4["Simulated feedback"]
  N0 --> N1
  N1 --> N2
  N2 --> N3
  N3 --> N4

3. Power-on preparation and first movement

  1. Run the source and submodule checks in the workshop below before starting simulation.
  2. Load a neutral model pose and verify that all joints and contact geometry appear in the viewer. Move a single joint in the simulator to verify its sign.
  3. Maintain a physical commissioning block until actual wiring, drive limits, stop behavior and initialization are documented.

4. Programming exercise

Use the following offline repository diagnostic to locate the exact runnable setup rather than guessing an entry point.

Shell Read-only source inspection
git rev-parse HEAD
git submodule status --recursive
git ls-files | grep -Ei 'readme|pyproject.toml|requirements|\.urdf$|\.xml$'

Each submodule should resolve to its pinned commit; a leading minus in submodule status denotes an uninitialized submodule. Locate the simulation README and model before installing.

5. Progress to practical operation

  1. Run the simulator's published stationary task and log joint ordering.
  2. Review the controller's observed base orientation and actions in a simulated step; stop on mismatched dimensions or unstable contacts.
  3. Only after a complete hardware release and controlled setup should the same policy be considered for supported standing or walking. Running is an additional validation task, not an alpha startup feature.

6. Software and hardware diagnostics

Submodule path empty
Initialize the pinned submodule and confirm its commit.
Policy input dimension mismatch
Match the model and policy revision; inspect observation order.
Physical specification missing
Keep fabrication and motor commissioning blocked.

Technical basis: K-Scale Labs K-Bot, ksim-kbot and kos-kbot source material. Programming examples are identified as simulation, offline analysis or documented interface instructions. No physical commissioning test is claimed.

BUILD ROUTE

K-Bot alpha source, CAD and controller setup

Alpha research project: incomplete build route

Public alpha files do not establish a complete, reproducible consumer kit or commissioning manual.

From parts to first test 4 steps

  1. Inspect the mechanical and electrical releases

    Download the CAD and board files and confirm which parts actually have drawings or an orderable specification. Do not purchase unspecified substitutes.

    Reference 1 ↓
  2. Clone the complete source tree

    Use git clone --recurse-submodules https://github.com/kscalelabs/kbot.git to obtain the linked repositories; record the checked-out revisions.

    Reference 3 ↓
  3. Start with simulation

    Inspect ksim-kbot and its robot configuration, then run the supported simulation workflow before selecting any real actuators.

    Reference 3 ↓
  4. Review robot-side software

    Check kos-kbot and inference setup against the electrical resources. For a physical build, obtain missing wiring, safety limits and commissioning details from maintainers before energizing hardware.

    Reference 3 ↓

Parts, files and official manuals 3 references

WORKSHOP / HANDS-ON GUIDE

Alpha research integration

Practical implementation notes for K-Bot. Use the exact hardware and software revision specified in the project documentation.

Tools and equipment

  • CAD viewer
  • Git with submodules
  • Linux dev environment
  • simulation workstation; only obtain electronics with a verified BOM

Component illustration

  1. 1Leg CAD
  2. 2Pelvis CAD
  3. 3Torso CAD
  4. 4Board layouts
Functional component schematic, not a physical photograph, dimensional drawing or complete wiring pinout. Match actual components to the released mechanical drawings.

Control architecture

  1. 01ksim-kbot model
  2. 02Policy inference
  3. 03kos-kbot runtime
  4. 04Unverified hardware interface
Logical command path for this revision. Feedback, safety limits and power connections must be checked against the original documentation.

Mechanical preparation and assembly

Inspect the mechanical models and board design before ordering. Make a table of each joint, actuator model, mounting geometry and connector; mark absent specifications. Fabricate only a verified subsystem rather than inferring missing materials or tolerances.

Electrical setup and calibration

Review kos-kbot and electrical files for the actual motor protocol and board interfaces. Compare configuration with simulation joint order. Do not connect real power without complete wiring, polarity, fuse and joint limit documentation.

Software setup and programming

Clone the source recursively, inspect submodule commits and read the ksim-kbot setup. Run the simulation workflow in the documented environment; validate observation and action mapping. Treat missing build and firmware details as a block to physical commissioning.

First test and acceptance criteria

A simulation replay can check joint ordering and configuration. No general powered startup sequence is established by the public alpha release, so the hardware gate stays closed until missing documents are obtained.

Programming and configuration example

Check every source dependency is present before configuring the simulation. No actuator command is sent.

BASH Revision-specific example
git clone --recurse-submodules https://github.com/kscalelabs/kbot.git
cd kbot
git submodule status --recursive

Troubleshooting

A missing submodule or stale firmware dependency is a software integration issue; resolve the pinned commit first. Missing hardware drawings or joint limits are a physical-build blocker.

Technical reference: project release documentation. The assembly references above provide the revision-specific drawings and BOM. Examples are editorial walkthroughs or documented commands; they have not been physically tested by TechniaHQRobot.

The published status sets expectations

A public-alpha label is a practical constraint. A wiring change or interface revision may require changes to the controller, robot description and assembly documentation. The project README invites issues and contributions, but it makes no promise that an arbitrary checkout will behave like an established production robot.

The correct starting point is to identify the particular developer kit or mechanical revision you intend to study, then record the top-level commit and each submodule commit. Updating all submodules to the newest master branch can change the combination of files that previously worked together.

Reproducing a working tree

Git submodules are separate repositories with their own histories. To repeat a setup later, save the parent commit and check out the child revisions recorded by that parent. Inspect the setup and hardware instructions in each component before changing motor parameters or power distribution.

This is more useful than quoting a total number of motors from an unrelated K-Bot article: the current public top-level README does not provide a verified full-system actuator and cost breakdown.

There is a license discrepancy

The upstream README describes the software as GPL v3 and hardware as CERN-OHL-S. The checked repository LICENSE file, however, contains the MIT license text; a separate LICENSE-HW file contains CERN-OHL-S-2.0. Those two statements about software rights conflict. Check the exact file and submodule you want to redistribute, and obtain clarification from the maintainer before making a commercial reuse decision.

This discrepancy is left visible rather than resolved by guessing which notice takes precedence.

When to choose K-Bot

It can be useful for studying evolving open humanoid designs and participating in upstream development. A team needing fixed mechanical interfaces, a priced bill of materials and predictable upgrades should verify those requirements against a specific tagged release.

03 / PRACTICAL QUESTIONS

Submodules, manufacturing files and license differences

Answers are based on published source material and project documentation. Their order does not represent search volume.

01Why are folders empty after I clone K-Bot?

Core K-Bot software is stored in git submodules. Use a recursive clone or git submodule update --init --recursive at the selected revision.

Sources Official project source

02Are K-Bot STL files complete for a self-build?

The repository has mechanical assets, but its public-alpha status means a complete fabrication-ready package cannot be assumed. Inspect each release and the required purchased hardware.

Sources Official project source

03Which project runs the simulator and which runs the robot?

The root index identifies ksim-kbot for simulation, kos-kbot for the robot platform and kbot-inference as another submodule. Use the version pinned by the root.

Sources Official project source

04What software license applies?

The README says GPL v3 for software and CERN-OHL-S for hardware, but individual license files and modules should be checked if their text differs.

Sources Official project source

05Can I use the latest master of every submodule?

The README describes how to update submodules, but doing so may create mismatched versions. For a reproducible build, use the pinned commit identifiers first.

Sources Official project source

06Is this a stable commercial humanoid design?

The maintainers label the project public alpha and explicitly warn that breaking changes should be expected.

Sources Official project source

K-Bot: parts cost, software updates and maintenance

This practical ownership section complements the original assembly and programming instructions. Public files do not guarantee that all components can still be purchased or that every build is supported.

ItemProject record
Cost record / BOM targetNo independently verified BOM total
Software licenceConflict: repository LICENSE says MIT; README says GPL-3.0
Hardware licenceCERN-OHL-S-2.0 (LICENSE-HW)
Simulation availabilityCheck referenced submodules for model coverage
Build difficultyAdvanced

How to obtain the robot or its parts

Use the K-Bot documentation and hardware release to identify whether an assembled product, kit or self-sourced parts are offered. Price the matching revision, not a photograph or an old bill of materials. Include actuators, controller, supply, wiring, tools, fabrication, shipping, tax and spare parts. A historical BOM target is not a current delivered quote.

  • Project documentation
  • Source repository and version history
  • CAD / fabrication files
  • Revision-specific workshop source

How the hardware and software work together

Mechanical path: Leg CAD → Pelvis CAD → Torso CAD → Board layouts.

Operational signal path (conceptual); not a manufacturer circuit diagram.
  1. ksim-kbot model
  2. Policy inference
  3. kos-kbot runtime
  4. Unverified hardware interface

Feedback, fault detection and the approved stop function constrain the command path.

Clone the source recursively, inspect submodule commits and read the ksim-kbot setup. Run the simulation workflow in the documented environment; validate observation and action mapping. Treat missing build and firmware details as a block to physical commissioning.

Install, update and recover the software

Keep the exact hardware revision, repository commit, operating system, dependencies, controller firmware and calibration in a local build manifest. Read the project’s setup instructions before installing. Use an isolated environment and a separate checkout for upgrades; compare release notes, regenerate only the documented configuration, and first repeat a simulation or read-only test. Back up calibration and original firmware files where the project supports it. Restore only a documented compatible release if the new version fails.

Project-specific verification: A simulation replay can check joint ordering and configuration. No general powered startup sequence is established by the public alpha release, so the hardware gate stays closed until missing documents are obtained.

Power, battery replacement and cycle life

Confirm a documented pack, charger and protection system before physical deployment; simulation files alone do not establish these.

Battery cycle life and robot service life are different. Equivalent full cycles (EFC) can be estimated as cumulative discharged energy (Wh) divided by initial usable pack energy (Wh). State of health (SOH) is measured usable capacity divided by baseline usable capacity × 100%, under comparable conditions. Example only: 1,800 Wh discharged from a 600 Wh reference pack equals 3 EFC; neither number is a specification for this robot. Ask for the manufacturer’s cycle rating, temperature limits, capacity-retention criterion and warranty. Do not use an arbitrary percentage as a replacement threshold.

Common problems, wear and service plan

WhenInspection and evidence
Before operationCheck public-alpha hardware completeness, actuator data and KOS runtime compatibility; document unsupported steps rather than assuming a finished production service plan.
After a fault or impactReview kos-kbot and electrical files for the actual motor protocol and board interfaces. Compare configuration with simulation joint order. Do not connect real power without complete wiring, polarity, fuse and joint limit documentation.
After software or parts changeRecord versions and replaced part serials; compare the same approved test with the earlier baseline. Stop on new errors or unexpected movement.
At manufacturer service intervalsUse the documented interval and authorized service procedures. No universal calendar or lubricant is assumed.
At end of serviceAsk about spare-part availability, data removal, battery take-back and local electronics recycling.

What is not established by the published files

The project documentation must provide any claimed rated service life, battery cycle endurance, duty limits, warranty and repair intervals for the exact hardware. Without a cited endurance test, report those values as not established, not zero and not an estimate. For a DIY build, keep a parts-replacement log and report conditions when measuring reliability.

05 / SOURCES

Original documentation

  1. Official project source
  2. MIT text in the repository LICENSE file
  3. Hardware CERN-OHL-S license file
  4. Official project source
  5. K-Bot electrical and board resources

Found a changed specification? Submit a correction with its source ↗

← Back to the open-source index

How to install the software mentioned on this page

Choose only the tools required for your project. The commands below describe development and simulation setup, not proof of compatibility with a specific physical robot. Match the versions in the original project and test offline before connecting hardware.

Python Windows, macOS, Linux

Install the Python release required by your robot or library. On Windows use the official installer; on Ubuntu use the distribution package. Create a separate virtual environment for each project.

Installation / setup commands

python -m venv .venv
# Windows PowerShell:
.\.venv\Scripts\Activate.ps1
# Linux or macOS:
source .venv/bin/activate

Verify the installation

python --version python -m pip --version

Official instructions: https://www.python.org/downloads/

Git Windows, macOS, Linux

Install Git from the official download page or your package manager. On Ubuntu the commands below install the command-line client; on Windows run Git for Windows.

Installation / setup commands

sudo apt update
sudo apt install git

Verify the installation

git --version

Official instructions: https://git-scm.com/downloads

Git LFS Windows, macOS, Linux

Install Git, then install Git LFS using the official package instructions for your OS. Initialize it for the current account before cloning a repository that stores large model files.

Installation / setup commands

git lfs install

Verify the installation

git lfs version

Official instructions: https://git-lfs.com/

MuJoCo Windows, macOS, Linux

Create a Python virtual environment and install the official Python package. On macOS use mjpython for the interactive viewer when required.

Installation / setup commands

python -m pip install mujoco

Verify the installation

python -c "import mujoco; print(mujoco.__version__)"

Official instructions: https://mujoco.readthedocs.io/en/stable/python.html