janito 2.2.0__tar.gz → 2.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. {janito-2.2.0/janito.egg-info → janito-2.3.1}/PKG-INFO +149 -10
  2. janito-2.2.0/PKG-INFO → janito-2.3.1/README.md +360 -251
  3. {janito-2.2.0 → janito-2.3.1}/janito/__init__.py +1 -1
  4. {janito-2.2.0 → janito-2.3.1}/janito/agent/setup_agent.py +14 -5
  5. {janito-2.2.0 → janito-2.3.1}/janito/agent/templates/profiles/system_prompt_template_main.txt.j2 +3 -1
  6. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/bindings.py +6 -0
  7. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/session.py +16 -0
  8. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/__init__.py +3 -0
  9. janito-2.3.1/janito/cli/chat_mode/shell/commands/exec.py +27 -0
  10. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/tools.py +17 -6
  11. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/session/manager.py +1 -0
  12. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/toolbar.py +1 -0
  13. {janito-2.2.0 → janito-2.3.1}/janito/cli/cli_commands/model_utils.py +95 -84
  14. {janito-2.2.0 → janito-2.3.1}/janito/cli/config.py +2 -1
  15. {janito-2.2.0 → janito-2.3.1}/janito/cli/core/getters.py +33 -31
  16. {janito-2.2.0 → janito-2.3.1}/janito/cli/core/runner.py +165 -148
  17. {janito-2.2.0 → janito-2.3.1}/janito/cli/core/setters.py +5 -1
  18. {janito-2.2.0 → janito-2.3.1}/janito/cli/main_cli.py +12 -1
  19. {janito-2.2.0 → janito-2.3.1}/janito/cli/prompt_core.py +5 -2
  20. {janito-2.2.0 → janito-2.3.1}/janito/cli/rich_terminal_reporter.py +22 -3
  21. {janito-2.2.0 → janito-2.3.1}/janito/cli/single_shot_mode/handler.py +11 -1
  22. {janito-2.2.0 → janito-2.3.1}/janito/cli/verbose_output.py +1 -1
  23. {janito-2.2.0 → janito-2.3.1}/janito/config_manager.py +112 -110
  24. {janito-2.2.0 → janito-2.3.1}/janito/driver_events.py +14 -0
  25. janito-2.3.1/janito/drivers/azure_openai/driver.py +90 -0
  26. {janito-2.2.0 → janito-2.3.1}/janito/drivers/driver_registry.py +0 -2
  27. {janito-2.2.0 → janito-2.3.1}/janito/drivers/openai/driver.py +196 -36
  28. {janito-2.2.0 → janito-2.3.1}/janito/llm/auth.py +63 -62
  29. {janito-2.2.0 → janito-2.3.1}/janito/llm/driver.py +7 -1
  30. {janito-2.2.0 → janito-2.3.1}/janito/llm/driver_config.py +1 -0
  31. {janito-2.2.0 → janito-2.3.1}/janito/provider_config.py +7 -3
  32. {janito-2.2.0 → janito-2.3.1}/janito/provider_registry.py +18 -0
  33. {janito-2.2.0 → janito-2.3.1}/janito/providers/__init__.py +1 -0
  34. {janito-2.2.0 → janito-2.3.1}/janito/providers/anthropic/provider.py +4 -2
  35. janito-2.3.1/janito/providers/azure_openai/model_info.py +16 -0
  36. {janito-2.2.0 → janito-2.3.1}/janito/providers/azure_openai/provider.py +33 -2
  37. {janito-2.2.0 → janito-2.3.1}/janito/providers/deepseek/provider.py +3 -0
  38. janito-2.3.1/janito/providers/google/model_info.py +32 -0
  39. janito-2.3.1/janito/providers/google/provider.py +83 -0
  40. {janito-2.2.0 → janito-2.3.1}/janito/providers/mistralai/provider.py +5 -2
  41. {janito-2.2.0 → janito-2.3.1}/janito/providers/openai/provider.py +4 -0
  42. {janito-2.2.0 → janito-2.3.1}/janito/providers/provider_static_info.py +2 -3
  43. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/adapter.py +33 -11
  44. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/delete_text_in_file.py +4 -7
  45. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/move_file.py +3 -13
  46. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/remove_directory.py +6 -17
  47. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/remove_file.py +4 -10
  48. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/replace_text_in_file.py +6 -9
  49. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/search_text/match_lines.py +1 -1
  50. {janito-2.2.0 → janito-2.3.1}/janito/tools/tools_adapter.py +78 -6
  51. {janito-2.2.0 → janito-2.3.1}/janito/version.py +1 -1
  52. janito-2.2.0/README.md → janito-2.3.1/janito.egg-info/PKG-INFO +177 -10
  53. {janito-2.2.0 → janito-2.3.1}/janito.egg-info/SOURCES.txt +1 -2
  54. {janito-2.2.0 → janito-2.3.1}/janito.egg-info/requires.txt +2 -0
  55. {janito-2.2.0 → janito-2.3.1}/pyproject.toml +1 -1
  56. {janito-2.2.0 → janito-2.3.1}/requirements-dev.txt +1 -0
  57. {janito-2.2.0 → janito-2.3.1}/requirements.txt +11 -10
  58. {janito-2.2.0 → janito-2.3.1}/tests/test_cli_list_models.py +26 -26
  59. janito-2.2.0/janito/drivers/azure_openai/driver.py +0 -55
  60. janito-2.2.0/janito/drivers/google_genai/driver.py +0 -54
  61. janito-2.2.0/janito/drivers/google_genai/schema_generator.py +0 -67
  62. janito-2.2.0/janito/providers/azure_openai/model_info.py +0 -15
  63. janito-2.2.0/janito/providers/google/model_info.py +0 -40
  64. janito-2.2.0/janito/providers/google/provider.py +0 -69
  65. {janito-2.2.0 → janito-2.3.1}/LICENSE +0 -0
  66. {janito-2.2.0 → janito-2.3.1}/janito/__main__.py +0 -0
  67. {janito-2.2.0 → janito-2.3.1}/janito/agent/templates/profiles/system_prompt_template_base_pt.txt.j2 +0 -0
  68. {janito-2.2.0 → janito-2.3.1}/janito/cli/__init__.py +0 -0
  69. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/chat_entry.py +0 -0
  70. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/prompt_style.py +0 -0
  71. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/autocomplete.py +0 -0
  72. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/base.py +0 -0
  73. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/clear.py +0 -0
  74. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/conversation_restart.py +0 -0
  75. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/edit.py +0 -0
  76. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/help.py +0 -0
  77. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/history_view.py +0 -0
  78. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/lang.py +0 -0
  79. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/livelogs.py +0 -0
  80. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/multi.py +0 -0
  81. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/prompt.py +0 -0
  82. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/role.py +0 -0
  83. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/session.py +0 -0
  84. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/session_control.py +0 -0
  85. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/termweb_log.py +0 -0
  86. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/utility.py +0 -0
  87. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/commands/verbose.py +0 -0
  88. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/input_history.py +0 -0
  89. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/session/__init__.py +0 -0
  90. {janito-2.2.0 → janito-2.3.1}/janito/cli/chat_mode/shell/session/history.py +0 -0
  91. {janito-2.2.0 → janito-2.3.1}/janito/cli/cli_commands/list_models.py +0 -0
  92. {janito-2.2.0 → janito-2.3.1}/janito/cli/cli_commands/list_providers.py +0 -0
  93. {janito-2.2.0 → janito-2.3.1}/janito/cli/cli_commands/list_tools.py +0 -0
  94. {janito-2.2.0 → janito-2.3.1}/janito/cli/cli_commands/model_selection.py +0 -0
  95. {janito-2.2.0 → janito-2.3.1}/janito/cli/cli_commands/set_api_key.py +0 -0
  96. {janito-2.2.0 → janito-2.3.1}/janito/cli/cli_commands/show_config.py +0 -0
  97. {janito-2.2.0 → janito-2.3.1}/janito/cli/cli_commands/show_system_prompt.py +0 -0
  98. {janito-2.2.0 → janito-2.3.1}/janito/cli/console.py +0 -0
  99. {janito-2.2.0 → janito-2.3.1}/janito/cli/core/__init__.py +0 -0
  100. {janito-2.2.0 → janito-2.3.1}/janito/cli/core/event_logger.py +0 -0
  101. {janito-2.2.0 → janito-2.3.1}/janito/cli/core/unsetters.py +0 -0
  102. {janito-2.2.0 → janito-2.3.1}/janito/cli/main.py +0 -0
  103. {janito-2.2.0 → janito-2.3.1}/janito/cli/prompt_handler.py +0 -0
  104. {janito-2.2.0 → janito-2.3.1}/janito/cli/single_shot_mode/__init__.py +0 -0
  105. {janito-2.2.0 → janito-2.3.1}/janito/cli/termweb_starter.py +0 -0
  106. {janito-2.2.0 → janito-2.3.1}/janito/cli/utils.py +0 -0
  107. {janito-2.2.0 → janito-2.3.1}/janito/config.py +0 -0
  108. {janito-2.2.0 → janito-2.3.1}/janito/conversation_history.py +0 -0
  109. {janito-2.2.0 → janito-2.3.1}/janito/dir_walk_utils.py +0 -0
  110. {janito-2.2.0 → janito-2.3.1}/janito/drivers/anthropic/driver.py +0 -0
  111. {janito-2.2.0 → janito-2.3.1}/janito/drivers/mistralai/driver.py +0 -0
  112. {janito-2.2.0 → janito-2.3.1}/janito/event_bus/__init__.py +0 -0
  113. {janito-2.2.0 → janito-2.3.1}/janito/event_bus/bus.py +0 -0
  114. {janito-2.2.0 → janito-2.3.1}/janito/event_bus/event.py +0 -0
  115. {janito-2.2.0 → janito-2.3.1}/janito/event_bus/handler.py +0 -0
  116. {janito-2.2.0 → janito-2.3.1}/janito/event_bus/queue_bus.py +0 -0
  117. {janito-2.2.0 → janito-2.3.1}/janito/exceptions.py +0 -0
  118. {janito-2.2.0 → janito-2.3.1}/janito/formatting.py +0 -0
  119. {janito-2.2.0 → janito-2.3.1}/janito/formatting_token.py +0 -0
  120. {janito-2.2.0 → janito-2.3.1}/janito/gitignore_utils.py +0 -0
  121. {janito-2.2.0 → janito-2.3.1}/janito/i18n/__init__.py +0 -0
  122. {janito-2.2.0 → janito-2.3.1}/janito/i18n/messages.py +0 -0
  123. {janito-2.2.0 → janito-2.3.1}/janito/i18n/pt.py +0 -0
  124. {janito-2.2.0 → janito-2.3.1}/janito/llm/__init__.py +0 -0
  125. {janito-2.2.0 → janito-2.3.1}/janito/llm/agent.py +0 -0
  126. {janito-2.2.0 → janito-2.3.1}/janito/llm/driver_config_builder.py +0 -0
  127. {janito-2.2.0 → janito-2.3.1}/janito/llm/driver_input.py +0 -0
  128. {janito-2.2.0 → janito-2.3.1}/janito/llm/message_parts.py +0 -0
  129. {janito-2.2.0 → janito-2.3.1}/janito/llm/model.py +0 -0
  130. {janito-2.2.0 → janito-2.3.1}/janito/llm/provider.py +0 -0
  131. {janito-2.2.0 → janito-2.3.1}/janito/perf_singleton.py +0 -0
  132. {janito-2.2.0 → janito-2.3.1}/janito/performance_collector.py +0 -0
  133. {janito-2.2.0 → janito-2.3.1}/janito/platform_discovery.py +0 -0
  134. {janito-2.2.0 → janito-2.3.1}/janito/providers/anthropic/model_info.py +0 -0
  135. {janito-2.2.0 → janito-2.3.1}/janito/providers/deepseek/__init__.py +0 -0
  136. {janito-2.2.0 → janito-2.3.1}/janito/providers/deepseek/model_info.py +0 -0
  137. {janito-2.2.0 → janito-2.3.1}/janito/providers/google/__init__.py +0 -0
  138. {janito-2.2.0 → janito-2.3.1}/janito/providers/mistralai/model_info.py +0 -0
  139. {janito-2.2.0 → janito-2.3.1}/janito/providers/openai/__init__.py +0 -0
  140. {janito-2.2.0 → janito-2.3.1}/janito/providers/openai/model_info.py +0 -0
  141. {janito-2.2.0 → janito-2.3.1}/janito/providers/openai/schema_generator.py +0 -0
  142. {janito-2.2.0 → janito-2.3.1}/janito/providers/registry.py +0 -0
  143. {janito-2.2.0 → janito-2.3.1}/janito/report_events.py +0 -0
  144. {janito-2.2.0 → janito-2.3.1}/janito/termweb/app.py +0 -0
  145. {janito-2.2.0 → janito-2.3.1}/janito/tools/__init__.py +0 -0
  146. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/__init__.py +0 -0
  147. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/__init__.py +0 -0
  148. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/ask_user.py +0 -0
  149. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/copy_file.py +0 -0
  150. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/create_directory.py +0 -0
  151. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/create_file.py +0 -0
  152. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/fetch_url.py +0 -0
  153. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/find_files.py +0 -0
  154. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/get_file_outline/__init__.py +0 -0
  155. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/get_file_outline/core.py +0 -0
  156. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/get_file_outline/java_outline.py +0 -0
  157. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/get_file_outline/markdown_outline.py +0 -0
  158. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/get_file_outline/python_outline.py +0 -0
  159. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/get_file_outline/python_outline_v2.py +0 -0
  160. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/get_file_outline/search_outline.py +0 -0
  161. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/open_html_in_browser.py +0 -0
  162. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/open_url.py +0 -0
  163. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/python_code_run.py +0 -0
  164. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/python_command_run.py +0 -0
  165. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/python_file_run.py +0 -0
  166. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/run_bash_command.py +0 -0
  167. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/run_powershell_command.py +0 -0
  168. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/search_text/__init__.py +0 -0
  169. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/search_text/core.py +0 -0
  170. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/search_text/pattern_utils.py +0 -0
  171. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/search_text/traverse_directory.py +0 -0
  172. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/validate_file_syntax/__init__.py +0 -0
  173. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/validate_file_syntax/core.py +0 -0
  174. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/validate_file_syntax/css_validator.py +0 -0
  175. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/validate_file_syntax/html_validator.py +0 -0
  176. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/validate_file_syntax/js_validator.py +0 -0
  177. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/validate_file_syntax/json_validator.py +0 -0
  178. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/validate_file_syntax/markdown_validator.py +0 -0
  179. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/validate_file_syntax/ps1_validator.py +0 -0
  180. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/validate_file_syntax/python_validator.py +0 -0
  181. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/validate_file_syntax/xml_validator.py +0 -0
  182. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/validate_file_syntax/yaml_validator.py +0 -0
  183. {janito-2.2.0 → janito-2.3.1}/janito/tools/adapters/local/view_file.py +0 -0
  184. {janito-2.2.0 → janito-2.3.1}/janito/tools/inspect_registry.py +0 -0
  185. {janito-2.2.0 → janito-2.3.1}/janito/tools/tool_base.py +0 -0
  186. {janito-2.2.0 → janito-2.3.1}/janito/tools/tool_events.py +0 -0
  187. {janito-2.2.0 → janito-2.3.1}/janito/tools/tool_run_exception.py +0 -0
  188. {janito-2.2.0 → janito-2.3.1}/janito/tools/tool_use_tracker.py +0 -0
  189. {janito-2.2.0 → janito-2.3.1}/janito/tools/tool_utils.py +0 -0
  190. {janito-2.2.0 → janito-2.3.1}/janito/tools/tools_schema.py +0 -0
  191. {janito-2.2.0 → janito-2.3.1}/janito/utils.py +0 -0
  192. {janito-2.2.0 → janito-2.3.1}/janito.egg-info/dependency_links.txt +0 -0
  193. {janito-2.2.0 → janito-2.3.1}/janito.egg-info/entry_points.txt +0 -0
  194. {janito-2.2.0 → janito-2.3.1}/janito.egg-info/top_level.txt +0 -0
  195. {janito-2.2.0 → janito-2.3.1}/setup.cfg +0 -0
  196. {janito-2.2.0 → janito-2.3.1}/tests/test_cli_list_providers.py +0 -0
  197. {janito-2.2.0 → janito-2.3.1}/tests/test_cli_version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: janito
3
- Version: 2.2.0
3
+ Version: 2.3.1
4
4
  Summary: A new Python package called janito.
5
5
  Author-email: João Pinto <lamego.pinto@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/janito-dev/janito
@@ -17,6 +17,7 @@ Requires-Dist: prompt_toolkit>=3.0.51
17
17
  Requires-Dist: lxml>=5.4.0
18
18
  Requires-Dist: requests>=2.32.4
19
19
  Requires-Dist: bs4>=0.0.2
20
+ Requires-Dist: openai
20
21
  Provides-Extra: dev
21
22
  Requires-Dist: pytest; extra == "dev"
22
23
  Requires-Dist: pre-commit; extra == "dev"
@@ -24,6 +25,7 @@ Requires-Dist: ruff==0.11.9; extra == "dev"
24
25
  Requires-Dist: detect-secrets==1.4.0; extra == "dev"
25
26
  Requires-Dist: codespell==2.4.1; extra == "dev"
26
27
  Requires-Dist: black; extra == "dev"
28
+ Requires-Dist: openai; extra == "dev"
27
29
  Dynamic: license-file
28
30
 
29
31
  # Janito
@@ -33,7 +35,7 @@ Janito is a command-line interface (CLI) tool for managing and interacting with
33
35
  ## Features
34
36
 
35
37
  - 🔑 Manage API keys and provider configurations
36
- - 🤖 Interact with multiple LLM providers (OpenAI, Google, Mistral, , and more)
38
+ - 🤖 Interact with multiple LLM providers (OpenAI, Google Gemini, Mistral, DeepSeek, and more)
37
39
  - 🛠️ List and use a variety of registered tools
38
40
  - 📝 Submit prompts and receive responses directly from the CLI
39
41
  - 📋 List available models for each provider
@@ -52,16 +54,60 @@ Janito is a command-line interface (CLI) tool for managing and interacting with
52
54
 
53
55
  ## Installation
54
56
 
55
- Janito is a Python package. Since this is a development version, install it directly from GitHub:
57
+ Janito is a Python package. Since this is a development version, you can install it directly from GitHub:
56
58
 
57
59
  ```bash
58
60
  pip install git+https://github.com/janito-dev/janito.git
59
61
  ```
60
62
 
63
+ ### First launch and quick setup
64
+
65
+ Janito integrates with external LLM providers (list below), and most of them require a subscription to get an API_KEY.
66
+
67
+ > [!NOTE]
68
+ > Today, on June the 26th 2025, Google has a free tier subscription for its Gemini-2.5-flash model. Despite the limitation of the model and of the rate limit of the free tier, it can be used for testing janito. The API_KEY for Gemini is available [here](https://aistudio.google.com/app/apikey).
69
+
70
+ > [!NOTE]
71
+ > [Here](https://github.com/cheahjs/free-llm-api-resources/blob/main/README.md) a list of various services that provide free access or credits towards API-based LLM usage. Note that not all of them are supported by Janito, yet.
72
+
73
+ For a quick usage you can:
74
+
75
+ 1. once you get the API_KEY from your favourite LLM provider, setup the API_KEY in Janito
76
+
77
+ ```bash
78
+ janito --set-api-key API_KEY -p PROVIDER
79
+ ```
80
+
81
+ 2. then run janito from command line with the specific LLM provider of your choice
82
+
83
+ ```bash
84
+ janito -p PROVIDER "Hello, who are you? How can you help me in my tasks?"
85
+ ```
86
+
87
+ 3. or you can run janito in interactive mode without the trailing argument
88
+
89
+ ```bash
90
+ janito -p PROVIDER
91
+ ```
92
+
93
+ 4. if you want to setup a specific provider for any further interactions you can use:
94
+
95
+ ```bash
96
+ janito -set provider=PROVIDER
97
+ ```
98
+
99
+ > [!WARNING]
100
+ > Currently the supported providers are: `openai`, `google`, `azure_openai`. You can get more details with `janito --list-providers`.
101
+
102
+ 5. for more advanced setup, continue reading.
103
+
104
+
61
105
  ## Usage
62
106
 
63
107
  After installation, use the `janito` command in your terminal.
64
108
 
109
+ Janito has configuration options, like `--set api-key API_KEY` and `--set provider=PROVIDER`, that create durable configurations and single shoot options, like `-p PROVIDER` and `-m MODEL`, that are active for the single run of the command or session.
110
+
65
111
  ### Basic Commands
66
112
 
67
113
  - **Set API Key for a Provider (requires -p PROVIDER)**
@@ -73,7 +119,7 @@ After installation, use the `janito` command in your terminal.
73
119
  > janito --set-api-key sk-xxxxxxx -p openai
74
120
  > ```
75
121
 
76
- - **Set the Provider**
122
+ - **Set the Provider (durable)**
77
123
  ```bash
78
124
  janito --set provider=provider_name
79
125
  ```
@@ -112,6 +158,7 @@ After installation, use the `janito` command in your terminal.
112
158
  ```bash
113
159
  janito -w
114
160
  ```
161
+
115
162
  This starts the lightweight web file viewer (termweb) in the background, allowing you to inspect files referenced in responses directly in your browser. Combine with interactive mode or prompts as needed.
116
163
 
117
164
  > **Tip:** Use with the interactive shell for the best experience with clickable file links.
@@ -134,6 +181,7 @@ After installation, use the `janito` command in your terminal.
134
181
  - **Select Model and Provider Temporarily**
135
182
  ```bash
136
183
  janito -p openai -m gpt-3.5-turbo "Your prompt here"
184
+ janito -p google -m gemini-2.5-flash "Your prompt here"
137
185
  ```
138
186
 
139
187
  - **Set Provider-Specific Config (for the selected provider)**
@@ -156,14 +204,12 @@ After installation, use the `janito` command in your terminal.
156
204
  | Option | Description |
157
205
  |------------------------|-----------------------------------------------------------------------------|
158
206
  | `-w`, `--web` | Enable the builtin lightweight web file viewer for clickable file links (termweb). |
159
-
160
- |------------------------|-----------------------------------------------------------------------------|
161
207
  | `--version` | Show program version |
162
208
  | `--list-tools` | List all registered tools |
163
209
  | `--list-providers` | List all supported LLM providers |
164
210
  | `-l`, `--list-models` | List models for current/selected provider |
165
211
  | `--set-api-key` | Set API key for a provider. **Requires** `-p PROVIDER` to specify the provider. |
166
- | `--set provider=name` | Set the current LLM provider (e.g., `janito --set provider=openai`) |
212
+ | `--set provider=name` | Set the current LLM provider (e.g., `janito --set provider=openai`) |
167
213
  | `--set PROVIDER.model=MODEL` or `--set model=MODEL` | Set the default model for the current/selected provider, or globally. (e.g., `janito --set openai.model=gpt-3.5-turbo`) |
168
214
  | `-s`, `--system` | Set a system prompt (e.g., `janito -s path/to/system_prompt.txt "Your prompt here"`) |
169
215
  | `-r`, `--role` | Set the role for the agent (overrides config) (e.g., `janito -r "assistant" "Your prompt here"`) |
@@ -172,7 +218,7 @@ After installation, use the `janito` command in your terminal.
172
218
  | `-v`, `--verbose` | Print extra information before answering |
173
219
  | `-R`, `--raw` | Print raw JSON response from API |
174
220
  | `-e`, `--event-log` | Log events to console as they occur |
175
- | `["user_prompt"]...` | Prompt to submit (if no other command is used) (e.g., `janito "What is the capital of France?"`) |
221
+ | `"user_prompt"` | Prompt to submit for the non interactive mode (e.g. `janito "What is the capital of France?"`) |
176
222
 
177
223
  ### 🧩 Extended Chat Mode Commands
178
224
  Once inside the interactive chat mode, you can use these slash commands:
@@ -191,7 +237,7 @@ Once inside the interactive chat mode, you can use these slash commands:
191
237
  #### 💬 Conversation Management
192
238
  | Command | Description |
193
239
  |---------------------|----------------------------------------------|
194
- | `/restart` or `/start` | Start a new conversation (reset context) |
240
+ | `/restart` | Start a new conversation (reset context) |
195
241
  | `/prompt` | Show the current system prompt |
196
242
  | `/role <description>` | Change the system role |
197
243
  | `/lang [code]` | Change interface language (e.g., `/lang en`) |
@@ -218,8 +264,12 @@ Janito is built to be extensible. You can add new LLM providers or tools by impl
218
264
  ## Supported Providers
219
265
 
220
266
  - OpenAI
267
+ - OpenAI over Azure
268
+ - Google Gemini
221
269
  - DeepSeek
222
270
 
271
+ See [docs/supported-providers-models.md](docs/supported-providers-models.md) for more details.
272
+
223
273
  ## Contributing
224
274
 
225
275
  Contributions are welcome! Please see the `CONTRIBUTING.md` (if available) or open an issue to get started.
@@ -232,20 +282,109 @@ For more information, see the documentation in the `docs/` directory or run `jan
232
282
 
233
283
  ---
234
284
 
285
+ # Support
286
+
287
+
235
288
  ## 📖 Detailed Documentation
236
289
 
237
290
  Full and up-to-date documentation is available at: https://janito-dev.github.io/janito/
238
291
 
239
292
  ---
240
293
 
294
+
241
295
  ## FAQ: Setting API Keys
242
296
 
297
+ - [Multiple API_KEY setup](#faq-multiple-api-key)
298
+ - [Use a specific model](#faq-use-specific-model)
299
+ - [Fetch the availale LLM providers](#faq-fetch-providers)
300
+ - [Fetch the availale models](#faq-fetch-models)
301
+
302
+
303
+ <a id="faq-multiple-api-key"></a>
304
+ ### Multiple API_KEY setup
305
+
243
306
  To set an API key for a provider, you **must** specify both the API key and the provider name:
244
307
 
245
308
  ```bash
246
309
  janito --set-api-key YOUR_API_KEY -p PROVIDER_NAME
247
310
  ```
248
311
 
249
- Replace `YOUR_API_KEY` with your actual key and `PROVIDER_NAME` with the provider (e.g., `openai`, `google`, etc.).
312
+ You can have an API_KEY for each LLM provider
313
+
314
+ ```bash
315
+ janito --set-api-key API_KEY_1 -p PROVIDER_1
316
+ janito --set-api-key API_KEY_2 -p PROVIDER_2
317
+ ```
318
+
319
+ Then you can easily use one provider or the other without changing the API_KEY
320
+
321
+ ```bash
322
+ janito -p PROVIDER_1 "What provider do you use?"
323
+ janito -p PROVIDER_2 "What provider do you use?"
324
+ ```
250
325
 
251
326
  If you omit the `-p PROVIDER_NAME` argument, Janito will show an error and not set the key.
327
+
328
+ <a id="faq-use-specific-model"></a>
329
+ ### Use a specific model
330
+
331
+ To use a specific model, you can use the `-m` option in the follwing way:
332
+
333
+ ```bash
334
+ janito -m gpt-4.1-nano -p openai "What model do you use?"
335
+ ```
336
+
337
+ Or you can use the durable `--set` option:
338
+
339
+ ```bash
340
+ janito --set provider=openai
341
+ janito --set model=gpt-4.1-nano
342
+ janito "What model do you use?"
343
+ ```
344
+
345
+ <a id="faq-fetch-providers"></a>
346
+ ### Fetch the availale LLM providers
347
+
348
+ You can list all the LLM providers available using:
349
+
350
+ ```bash
351
+ janito --list-providers
352
+ ```
353
+
354
+ <a id="faq-fetch-models"></a>
355
+ ### Fetch the availale models
356
+
357
+ Each LLM provider has its own models, the best way to check what are the available models is usign the following commands:
358
+
359
+ ```bash
360
+ janito -p openai --list-models
361
+ janito -p google --list-models
362
+ janito -p azure_openai --list-models
363
+ janito -p deepseek --list-models
364
+ ```
365
+
366
+
367
+ ## Ask Me Anything
368
+
369
+ <div align="center">
370
+ <a href="https://github.com/janito-dev/janito" title="Ask Me Anything">
371
+ <img width="250" src="docs/imgs/ama.png" alt="Ask Me Anything">
372
+ </a>
373
+ </div
374
+
375
+ When the FAQ are not enough, you can contact the contributors of the project by direct questions
376
+
377
+ <p align="center">
378
+ <kbd><a href="../../issues/new?labels=question">Ask a question</a></kbd> <kbd><a href="../../issues?q=is%3Aissue+is%3Aclosed+label%3Aquestion">Read questions</a></kbd>
379
+ </p>
380
+
381
+ #### Guidelines
382
+
383
+ - :mag: Ensure your question hasn't already been answered.
384
+ - :memo: Use a succinct title and description.
385
+ - :bug: Bugs & feature requests should be opened on the relevant issue tracker.
386
+ - :signal_strength: Support questions are better asked on Stack Overflow.
387
+ - :blush: Be nice, civil and polite.
388
+ - :heart_eyes: If you include at least one emoji in your question, the feedback will probably come faster.
389
+ - [Read more AMAs](https://github.com/sindresorhus/amas)
390
+ - [What's an AMA?](https://en.wikipedia.org/wiki/R/IAmA)