[
  {
    "path": ".gitmodules",
    "content": "[submodule \"kos-kbot\"]\n\tpath = kos-kbot\n\turl = git@github.com:kscalelabs/kos-kbot.git\n\tbranch = master\n[submodule \"ksim-kbot\"]\n\tpath = ksim-kbot\n\turl = git@github.com:kscalelabs/ksim-kbot.git\n\tbranch = master\n[submodule \"kbot-inference\"]\n\tpath = kbot-inference\n\turl = git@github.com:kscalelabs/kbot-inference.git\n"
  },
  {
    "path": "LICENSE",
    "content": "MIT License\n\nCopyright (c) 2025 K-Scale Labs\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "LICENSE-HW",
    "content": "CERN Open Hardware Licence Version 2 - Strongly Reciprocal\n\n\nPreamble\n\nCERN has developed this licence to promote collaboration among\nhardware designers and to provide a legal tool which supports the\nfreedom to use, study, modify, share and distribute hardware designs\nand products based on those designs. Version 2 of the CERN Open\nHardware Licence comes in three variants: CERN-OHL-P (permissive); and\ntwo reciprocal licences: CERN-OHL-W (weakly reciprocal) and this\nlicence, CERN-OHL-S (strongly reciprocal).\n\nThe CERN-OHL-S is copyright CERN 2020. Anyone is welcome to use it, in\nunmodified form only.\n\nUse of this Licence does not imply any endorsement by CERN of any\nLicensor or their designs nor does it imply any involvement by CERN in\ntheir development.\n\n\n1 Definitions\n\n  1.1 'Licence' means this CERN-OHL-S.\n\n  1.2 'Compatible Licence' means\n\n       a) any earlier version of the CERN Open Hardware licence, or\n\n       b) any version of the CERN-OHL-S, or\n\n       c) any licence which permits You to treat the Source to which\n          it applies as licensed under CERN-OHL-S provided that on\n          Conveyance of any such Source, or any associated Product You\n          treat the Source in question as being licensed under\n          CERN-OHL-S.\n\n  1.3 'Source' means information such as design materials or digital\n      code which can be applied to Make or test a Product or to\n      prepare a Product for use, Conveyance or sale, regardless of its\n      medium or how it is expressed. It may include Notices.\n\n  1.4 'Covered Source' means Source that is explicitly made available\n      under this Licence.\n\n  1.5 'Product' means any device, component, work or physical object,\n      whether in finished or intermediate form, arising from the use,\n      application or processing of Covered Source.\n\n  1.6 'Make' means to create or configure something, whether by\n      manufacture, assembly, compiling, loading or applying Covered\n      Source or another Product or otherwise.\n\n  1.7 'Available Component' means any part, sub-assembly, library or\n      code which:\n\n       a) is licensed to You as Complete Source under a Compatible\n          Licence; or\n\n       b) is available, at the time a Product or the Source containing\n          it is first Conveyed, to You and any other prospective\n          licensees\n\n            i) as a physical part with sufficient rights and\n               information (including any configuration and\n               programming files and information about its\n               characteristics and interfaces) to enable it either to\n               be Made itself, or to be sourced and used to Make the\n               Product; or\n           ii) as part of the normal distribution of a tool used to\n               design or Make the Product.\n\n  1.8 'Complete Source' means the set of all Source necessary to Make\n      a Product, in the preferred form for making modifications,\n      including necessary installation and interfacing information\n      both for the Product, and for any included Available Components.\n      If the format is proprietary, it must also be made available in\n      a format (if the proprietary tool can create it) which is\n      viewable with a tool available to potential licensees and\n      licensed under a licence approved by the Free Software\n      Foundation or the Open Source Initiative. Complete Source need\n      not include the Source of any Available Component, provided that\n      You include in the Complete Source sufficient information to\n      enable a recipient to Make or source and use the Available\n      Component to Make the Product.\n\n  1.9 'Source Location' means a location where a Licensor has placed\n      Covered Source, and which that Licensor reasonably believes will\n      remain easily accessible for at least three years for anyone to\n      obtain a digital copy.\n\n 1.10 'Notice' means copyright, acknowledgement and trademark notices,\n      Source Location references, modification notices (subsection\n      3.3(b)) and all notices that refer to this Licence and to the\n      disclaimer of warranties that are included in the Covered\n      Source.\n\n 1.11 'Licensee' or 'You' means any person exercising rights under\n      this Licence.\n\n 1.12 'Licensor' means a natural or legal person who creates or\n      modifies Covered Source. A person may be a Licensee and a\n      Licensor at the same time.\n\n 1.13 'Convey' means to communicate to the public or distribute.\n\n\n2 Applicability\n\n  2.1 This Licence governs the use, copying, modification, Conveying\n      of Covered Source and Products, and the Making of Products. By\n      exercising any right granted under this Licence, You irrevocably\n      accept these terms and conditions.\n\n  2.2 This Licence is granted by the Licensor directly to You, and\n      shall apply worldwide and without limitation in time.\n\n  2.3 You shall not attempt to restrict by contract or otherwise the\n      rights granted under this Licence to other Licensees.\n\n  2.4 This Licence is not intended to restrict fair use, fair dealing,\n      or any other similar right.\n\n\n3 Copying, Modifying and Conveying Covered Source\n\n  3.1 You may copy and Convey verbatim copies of Covered Source, in\n      any medium, provided You retain all Notices.\n\n  3.2 You may modify Covered Source, other than Notices, provided that\n      You irrevocably undertake to make that modified Covered Source\n      available from a Source Location should You Convey a Product in\n      circumstances where the recipient does not otherwise receive a\n      copy of the modified Covered Source. In each case subsection 3.3\n      shall apply.\n\n      You may only delete Notices if they are no longer applicable to\n      the corresponding Covered Source as modified by You and You may\n      add additional Notices applicable to Your modifications.\n      Including Covered Source in a larger work is modifying the\n      Covered Source, and the larger work becomes modified Covered\n      Source.\n\n  3.3 You may Convey modified Covered Source (with the effect that You\n      shall also become a Licensor) provided that You:\n\n       a) retain Notices as required in subsection 3.2;\n\n       b) add a Notice to the modified Covered Source stating that You\n          have modified it, with the date and brief description of how\n          You have modified it;\n\n       c) add a Source Location Notice for the modified Covered Source\n          if You Convey in circumstances where the recipient does not\n          otherwise receive a copy of the modified Covered Source; and\n\n       d) license the modified Covered Source under the terms and\n          conditions of this Licence (or, as set out in subsection\n          8.3, a later version, if permitted by the licence of the\n          original Covered Source). Such modified Covered Source must\n          be licensed as a whole, but excluding Available Components\n          contained in it, which remain licensed under their own\n          applicable licences.\n\n\n4 Making and Conveying Products\n\nYou may Make Products, and/or Convey them, provided that You either\nprovide each recipient with a copy of the Complete Source or ensure\nthat each recipient is notified of the Source Location of the Complete\nSource. That Complete Source is Covered Source, and You must\naccordingly satisfy Your obligations set out in subsection 3.3. If\nspecified in a Notice, the Product must visibly and securely display\nthe Source Location on it or its packaging or documentation in the\nmanner specified in that Notice.\n\n\n5 Research and Development\n\nYou may Convey Covered Source, modified Covered Source or Products to\na legal entity carrying out development, testing or quality assurance\nwork on Your behalf provided that the work is performed on terms which\nprevent the entity from both using the Source or Products for its own\ninternal purposes and Conveying the Source or Products or any\nmodifications to them to any person other than You. Any modifications\nmade by the entity shall be deemed to be made by You pursuant to\nsubsection 3.2.\n\n\n6 DISCLAIMER AND LIABILITY\n\n  6.1 DISCLAIMER OF WARRANTY -- The Covered Source and any Products\n      are provided 'as is' and any express or implied warranties,\n      including, but not limited to, implied warranties of\n      merchantability, of satisfactory quality, non-infringement of\n      third party rights, and fitness for a particular purpose or use\n      are disclaimed in respect of any Source or Product to the\n      maximum extent permitted by law. The Licensor makes no\n      representation that any Source or Product does not or will not\n      infringe any patent, copyright, trade secret or other\n      proprietary right. The entire risk as to the use, quality, and\n      performance of any Source or Product shall be with You and not\n      the Licensor. This disclaimer of warranty is an essential part\n      of this Licence and a condition for the grant of any rights\n      granted under this Licence.\n\n  6.2 EXCLUSION AND LIMITATION OF LIABILITY -- The Licensor shall, to\n      the maximum extent permitted by law, have no liability for\n      direct, indirect, special, incidental, consequential, exemplary,\n      punitive or other damages of any character including, without\n      limitation, procurement of substitute goods or services, loss of\n      use, data or profits, or business interruption, however caused\n      and on any theory of contract, warranty, tort (including\n      negligence), product liability or otherwise, arising in any way\n      in relation to the Covered Source, modified Covered Source\n      and/or the Making or Conveyance of a Product, even if advised of\n      the possibility of such damages, and You shall hold the\n      Licensor(s) free and harmless from any liability, costs,\n      damages, fees and expenses, including claims by third parties,\n      in relation to such use.\n\n\n7 Patents\n\n  7.1 Subject to the terms and conditions of this Licence, each\n      Licensor hereby grants to You a perpetual, worldwide,\n      non-exclusive, no-charge, royalty-free, irrevocable (except as\n      stated in subsections 7.2 and 8.4) patent licence to Make, have\n      Made, use, offer to sell, sell, import, and otherwise transfer\n      the Covered Source and Products, where such licence applies only\n      to those patent claims licensable by such Licensor that are\n      necessarily infringed by exercising rights under the Covered\n      Source as Conveyed by that Licensor.\n\n  7.2 If You institute patent litigation against any entity (including\n      a cross-claim or counterclaim in a lawsuit) alleging that the\n      Covered Source or a Product constitutes direct or contributory\n      patent infringement, or You seek any declaration that a patent\n      licensed to You under this Licence is invalid or unenforceable\n      then any rights granted to You under this Licence shall\n      terminate as of the date such process is initiated.\n\n\n8 General\n\n  8.1 If any provisions of this Licence are or subsequently become\n      invalid or unenforceable for any reason, the remaining\n      provisions shall remain effective.\n\n  8.2 You shall not use any of the name (including acronyms and\n      abbreviations), image, or logo by which the Licensor or CERN is\n      known, except where needed to comply with section 3, or where\n      the use is otherwise allowed by law. Any such permitted use\n      shall be factual and shall not be made so as to suggest any kind\n      of endorsement or implication of involvement by the Licensor or\n      its personnel.\n\n  8.3 CERN may publish updated versions and variants of this Licence\n      which it considers to be in the spirit of this version, but may\n      differ in detail to address new problems or concerns. New\n      versions will be published with a unique version number and a\n      variant identifier specifying the variant. If the Licensor has\n      specified that a given variant applies to the Covered Source\n      without specifying a version, You may treat that Covered Source\n      as being released under any version of the CERN-OHL with that\n      variant. If no variant is specified, the Covered Source shall be\n      treated as being released under CERN-OHL-S. The Licensor may\n      also specify that the Covered Source is subject to a specific\n      version of the CERN-OHL or any later version in which case You\n      may apply this or any later version of CERN-OHL with the same\n      variant identifier published by CERN.\n\n  8.4 This Licence shall terminate with immediate effect if You fail\n      to comply with any of its terms and conditions.\n\n  8.5 However, if You cease all breaches of this Licence, then Your\n      Licence from any Licensor is reinstated unless such Licensor has\n      terminated this Licence by giving You, while You remain in\n      breach, a notice specifying the breach and requiring You to cure\n      it within 30 days, and You have failed to come into compliance\n      in all material respects by the end of the 30 day period. Should\n      You repeat the breach after receipt of a cure notice and\n      subsequent reinstatement, this Licence will terminate\n      immediately and permanently. Section 6 shall continue to apply\n      after any termination.\n\n  8.6 This Licence shall not be enforceable except by a Licensor\n      acting as such, and third party beneficiary rights are\n      specifically excluded.\n"
  },
  {
    "path": "README.md",
    "content": "<div align=\"center\">\n<h1>K-Bot</h1>\n<p>K-Bot is an open-source humanoid robot from K-Scale Labs. It is our attempt to build a future where robots are owned by everyone. We welcome your feedback, issues and pull requests on <a href=\"https://url.kscale.dev/github\">Github</a> or through our <a href=\"https://url.kscale.dev/discord\">Discord</a>.</p>\n<h3>\n  <a href=\"https://url.kscale.dev/docs\">Docs</a> ·\n  <a href=\"https://url.kscale.dev/discord\">Discord</a> ·\n  <a href=\"https://url.kscale.dev/bounties\">Bounties</a>\n</h3>\n</div>\n\n![K-Bot](/assets/pics/e.webp)\n\n## Project Status\n\nThis is in public alpha. You should anticipate breaking changes as the project evolves, and we greatly appreciate your contributions towards helping us improve the robot.\n\nIf you have purchased a developer kit from us and you are not satisfied, please return it to us with your suggestions for what we should improve for a full refund.\n\n## Development Notes\n\nTo update all submodules to their latest master branch, use the command:\n\n```bash\ngit submodule foreach 'git checkout master && git pull origin master'\n```\n\n## License\n\nThe hardware components of this project are licensed under `CERN-OHL-S` while the software components are licensed under `GPL v3`, unless otherwise specified. See `LICENSE-HW` and `LICENSE`, respectively.\n"
  },
  {
    "path": "electrical/README.md",
    "content": "# Electrical Design\n\nhttps://docs.kscale.dev/robots/k-bot/electrical/\n"
  },
  {
    "path": "mechanical/README.md",
    "content": "# Mechanical Design\n\n- See the CAD model for the robot [here](https://cad.onshape.com/publications/e15cf8edefacbba3009917c0/).\n- Watch a teardown of the K-Bot hardware [here](https://www.youtube.com/watch?v=qhZi9rtdEKg)\n\nThe K-Bot is designed with the following principles in mind:\n\n- _Easy to repair_: Robots break a lot, especially when they're moving around real environments. We designed the K-Bot to be easy for anyone with some amount of technical knowledge to quickly repair.\n- _Easy to mass manufacture_: We want to make the K-Bot as accessible as possible to as many people as possible. We use with COTS components and designed the robot to be easy to mold.\n- _Easy to upgrade_: Humanoid robots are a fast-growing field, and it is painful to have to upgrade an entire robot every time new components come out. To that end, we made the K-Bot modular and upgradable:\n  - The hands can be easily swapped, using a lens mount interface, and piggyback onto the same 48 volt power and CAN bus lines that the arm actuators use.\n  - The head can also be easily swapped out - the robot is basically a single USB device\n"
  }
]