A transcoding library using LLMs.


Keywords
chroma, chromadb, cli, langchain, llm, modernization, python, rag, tree-sitter
License
Apache-2.0
Install
pip install janus-llm==4.5.4

Documentation

Pages Publish Code Style: black Python versions Package version

Overview

Janus (janus-llm) uses LLMs to aid in the modernization of legacy IT systems. The repository can currently do the following:

  1. Chunk code of over 100 programming languages to fit within different model context windows and add to a Chroma vector database.
  2. Translate from one programming language to another on a file-by-file basis using an LLM.
  3. Translate from a binary file to a programming language using Ghidra decompilation.
  4. Generate requirements, UML diagrams, code comments, and summaries from source code.
  5. Evaluate the products that you generate.
  6. Do 1-5 with a CLI tool (janus).

Installation

pip install janus-llm

Installing from Source

Clone the repository:

git clone git@github.com:janus-llm/janus-llm.git

Then, install the requirements:

curl -sSkL https://install.python-poetry.org | python -
export PATH=$PATH:$HOME/.local/bin
poetry install

Documentation

See the documentation for more information on how to use the package.

Contributing

See our contributing pages

Copyright

Copyright ©2025 The MITRE Corporation. ALL RIGHTS RESERVED. Approved for Public Release; Distribution Unlimited. Public Release Case Number 23-4084.