This page summarizes how to run MultilingualCL and what to expect from it.
From the project root:
python -m multilingualcl.replThe REPL reads natural-language requests and tries to resolve them to shell commands.
Examples:
list filesshow current directorycreate directory
MultilingualCL uses a fallback pipeline:
- LLM-based intent extraction (if Ollama is enabled and reachable)
- Rule-based semantic intent extraction
- Static translation lookup in YAML resources
If no command can be resolved, it prints Command not recognized..
By default, the REPL:
- classifies command risk
- shows a preview before execution
- asks confirmation for risky commands
These behaviors are configurable using environment variables from ../README.md.
Core resource files are stored under ../resources/:
en/actions.mdanden/resources.mdfor semantic matchingen/commands.yamlandfr/commandes.yamlfor command catalogsyaml/command_map.yamlfor static command translations
The generated commands target Linux tools (ls, grep, chmod, etc.).
On Windows, run in WSL, Git Bash, or Linux containers for best results.
Follow the instructions in build.md.