lionagi 0.10.5__tar.gz → 0.10.7__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 (309) hide show
  1. lionagi-0.10.7/.github/workflows/ci.yml +68 -0
  2. lionagi-0.10.7/.github/workflows/codeql.yml +40 -0
  3. {lionagi-0.10.5 → lionagi-0.10.7}/.github/workflows/docs.yml +1 -1
  4. lionagi-0.10.7/.github/workflows/release.yml +65 -0
  5. {lionagi-0.10.5 → lionagi-0.10.7}/.gitignore +2 -0
  6. lionagi-0.10.7/.pre-commit-config.yaml +28 -0
  7. lionagi-0.10.7/CODE_OF_CONDUCT.md +104 -0
  8. {lionagi-0.10.5 → lionagi-0.10.7}/CONTRIBUTING.md +49 -22
  9. {lionagi-0.10.5 → lionagi-0.10.7}/PKG-INFO +34 -21
  10. {lionagi-0.10.5 → lionagi-0.10.7}/README.md +32 -19
  11. {lionagi-0.10.5 → lionagi-0.10.7}/cookbooks/ch01_get_started.md +59 -34
  12. {lionagi-0.10.5 → lionagi-0.10.7}/cookbooks/ch02_concepts.md +91 -46
  13. lionagi-0.10.7/docs/_static/custom.css +89 -0
  14. lionagi-0.10.7/docs/_templates/layout.html +47 -0
  15. lionagi-0.10.7/docs/guides/dev_style.md +136 -0
  16. lionagi-0.10.7/docs/guides/general_guidance.md +131 -0
  17. lionagi-0.10.7/docs/guides/testing_guide.md +128 -0
  18. lionagi-0.10.7/docs/prompts/invokation.md +131 -0
  19. lionagi-0.10.7/docs/prompts/issue_resolving.md +18 -0
  20. lionagi-0.10.7/docs/prompts/response_structure.md +107 -0
  21. lionagi-0.10.7/docs/roo/architect.md +147 -0
  22. lionagi-0.10.7/docs/roo/documenter.md +116 -0
  23. lionagi-0.10.7/docs/roo/implementer.md +101 -0
  24. lionagi-0.10.7/docs/roo/orchestrator.md +174 -0
  25. lionagi-0.10.7/docs/roo/researcher.md +115 -0
  26. lionagi-0.10.7/docs/roo/reviewer.md +103 -0
  27. lionagi-0.10.7/docs/templates/code_review_report_template.md +377 -0
  28. lionagi-0.10.7/docs/templates/implementation_plan_template.md +285 -0
  29. lionagi-0.10.7/docs/templates/qa_summary_template.md +105 -0
  30. lionagi-0.10.7/docs/templates/research_report_template.md +168 -0
  31. lionagi-0.10.7/docs/templates/technical_design_spec_template.md +207 -0
  32. lionagi-0.10.7/docs/templates/test_implementation_template.md +208 -0
  33. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/fields/research.py +4 -4
  34. lionagi-0.10.7/lionagi/libs/file/concat.py +121 -0
  35. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/file/process.py +1 -1
  36. lionagi-0.10.7/lionagi/libs/token_transform/synthlang_/resources/frameworks/framework_options.json +52 -0
  37. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/templates/README.md +10 -6
  38. lionagi-0.10.7/lionagi/version.py +1 -0
  39. lionagi-0.10.7/prompts/doc_style.md +228 -0
  40. {lionagi-0.10.5 → lionagi-0.10.7}/pyproject.toml +2 -2
  41. {lionagi-0.10.5 → lionagi-0.10.7}/uv.lock +69 -69
  42. lionagi-0.10.5/.github/FUNDING.yml +0 -15
  43. lionagi-0.10.5/.github/workflows/ci.yml +0 -68
  44. lionagi-0.10.5/.github/workflows/codeql.yml +0 -40
  45. lionagi-0.10.5/.github/workflows/release.yml +0 -65
  46. lionagi-0.10.5/.pre-commit-config.yaml +0 -28
  47. lionagi-0.10.5/CODE_OF_CONDUCT.md +0 -75
  48. lionagi-0.10.5/docs/_static/custom.css +0 -89
  49. lionagi-0.10.5/docs/_templates/layout.html +0 -43
  50. lionagi-0.10.5/lionagi/libs/token_transform/synthlang_/resources/frameworks/framework_options.json +0 -52
  51. lionagi-0.10.5/lionagi/version.py +0 -1
  52. lionagi-0.10.5/prompts/doc_style.md +0 -237
  53. {lionagi-0.10.5 → lionagi-0.10.7}/.env.example +0 -0
  54. {lionagi-0.10.5 → lionagi-0.10.7}/.github/dependabot.yml +0 -0
  55. {lionagi-0.10.5 → lionagi-0.10.7}/LICENSE +0 -0
  56. {lionagi-0.10.5 → lionagi-0.10.7}/dev_tools/count_code_base_lines.py +0 -0
  57. {lionagi-0.10.5 → lionagi-0.10.7}/docs/Makefile +0 -0
  58. {lionagi-0.10.5 → lionagi-0.10.7}/docs/conf.py +0 -0
  59. {lionagi-0.10.5 → lionagi-0.10.7}/docs/index.rst +0 -0
  60. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/action.rst +0 -0
  61. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/adapter.rst +0 -0
  62. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/branch.rst +0 -0
  63. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/branch_operations.rst +0 -0
  64. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/concepts.rst +0 -0
  65. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/element_id.rst +0 -0
  66. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/event.rst +0 -0
  67. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/form.rst +0 -0
  68. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/graph.rst +0 -0
  69. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/index.rst +0 -0
  70. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/instruct.rst +0 -0
  71. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/lib_file.rst +0 -0
  72. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/lib_nested.rst +0 -0
  73. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/lib_package.rst +0 -0
  74. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/lib_schema.rst +0 -0
  75. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/lib_validate.rst +0 -0
  76. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/log.rst +0 -0
  77. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/mail.rst +0 -0
  78. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/message.rst +0 -0
  79. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/models.rst +0 -0
  80. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/operative_step.rst +0 -0
  81. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/pile.rst +0 -0
  82. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/processor.rst +0 -0
  83. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/progression.rst +0 -0
  84. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/service.rst +0 -0
  85. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/session.rst +0 -0
  86. {lionagi-0.10.5 → lionagi-0.10.7}/docs/modules/utils.rst +0 -0
  87. {lionagi-0.10.5 → lionagi-0.10.7}/docs/tutorials/get_started.rst +0 -0
  88. {lionagi-0.10.5 → lionagi-0.10.7}/docs/tutorials/get_started_pt2.rst +0 -0
  89. {lionagi-0.10.5 → lionagi-0.10.7}/docs/tutorials/get_started_pt3.rst +0 -0
  90. {lionagi-0.10.5 → lionagi-0.10.7}/docs/tutorials/index.rst +0 -0
  91. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/__init__.py +0 -0
  92. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/_class_registry.py +0 -0
  93. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/_errors.py +0 -0
  94. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/_types.py +0 -0
  95. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/adapters/__init__.py +0 -0
  96. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/adapters/adapter.py +0 -0
  97. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/adapters/json_adapter.py +0 -0
  98. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/adapters/pandas_/__init__.py +0 -0
  99. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/adapters/pandas_/csv_adapter.py +0 -0
  100. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/adapters/pandas_/excel_adapter.py +0 -0
  101. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/adapters/pandas_/pd_dataframe_adapter.py +0 -0
  102. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/adapters/pandas_/pd_series_adapter.py +0 -0
  103. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/adapters/toml_adapter.py +0 -0
  104. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/adapters/types.py +0 -0
  105. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/fields/__init__.py +0 -0
  106. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/fields/action.py +0 -0
  107. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/fields/base.py +0 -0
  108. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/fields/code.py +0 -0
  109. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/fields/file.py +0 -0
  110. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/fields/instruct.py +0 -0
  111. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/fields/reason.py +0 -0
  112. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/__init__.py +0 -0
  113. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/file/__init__.py +0 -0
  114. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/file/chunk.py +0 -0
  115. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/file/concat_files.py +0 -0
  116. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/file/file_ops.py +0 -0
  117. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/file/params.py +0 -0
  118. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/file/save.py +0 -0
  119. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/nested/__init__.py +0 -0
  120. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/nested/flatten.py +0 -0
  121. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/nested/nfilter.py +0 -0
  122. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/nested/nget.py +0 -0
  123. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/nested/ninsert.py +0 -0
  124. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/nested/nmerge.py +0 -0
  125. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/nested/npop.py +0 -0
  126. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/nested/nset.py +0 -0
  127. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/nested/unflatten.py +0 -0
  128. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/nested/utils.py +0 -0
  129. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/package/__init__.py +0 -0
  130. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/package/imports.py +0 -0
  131. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/package/management.py +0 -0
  132. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/package/params.py +0 -0
  133. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/package/system.py +0 -0
  134. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/parse.py +0 -0
  135. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/schema/__init__.py +0 -0
  136. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/schema/as_readable.py +0 -0
  137. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/schema/extract_code_block.py +0 -0
  138. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/schema/extract_docstring.py +0 -0
  139. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/schema/function_to_schema.py +0 -0
  140. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/schema/json_schema.py +0 -0
  141. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/__init__.py +0 -0
  142. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/base.py +0 -0
  143. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/llmlingua.py +0 -0
  144. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/perplexity.py +0 -0
  145. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/symbolic_compress_context.py +0 -0
  146. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang.py +0 -0
  147. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/base.py +0 -0
  148. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/frameworks/abstract_algebra.toml +0 -0
  149. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/frameworks/category_theory.toml +0 -0
  150. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/frameworks/complex_analysis.toml +0 -0
  151. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/frameworks/group_theory.toml +0 -0
  152. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/frameworks/math_logic.toml +0 -0
  153. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/frameworks/reflective_patterns.toml +0 -0
  154. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/frameworks/set_theory.toml +0 -0
  155. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/frameworks/topology_fundamentals.toml +0 -0
  156. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/mapping/lion_emoji_mapping.toml +0 -0
  157. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/mapping/python_math_mapping.toml +0 -0
  158. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/mapping/rust_chinese_mapping.toml +0 -0
  159. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/resources/utility/base_synthlang_system_prompt.toml +0 -0
  160. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/synthlang_/translate_to_synthlang.py +0 -0
  161. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/token_transform/types.py +0 -0
  162. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/validate/__init__.py +0 -0
  163. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/validate/common_field_validators.py +0 -0
  164. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/validate/fuzzy_match_keys.py +0 -0
  165. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/validate/fuzzy_validate_mapping.py +0 -0
  166. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/validate/string_similarity.py +0 -0
  167. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/libs/validate/validate_boolean.py +0 -0
  168. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/models/__init__.py +0 -0
  169. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/models/field_model.py +0 -0
  170. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/models/hashable_model.py +0 -0
  171. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/models/model_params.py +0 -0
  172. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/models/note.py +0 -0
  173. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/models/operable_model.py +0 -0
  174. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/models/schema_model.py +0 -0
  175. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/ReAct/ReAct.py +0 -0
  176. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/ReAct/__init__.py +0 -0
  177. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/ReAct/utils.py +0 -0
  178. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/__init__.py +0 -0
  179. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/_act/__init__.py +0 -0
  180. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/_act/act.py +0 -0
  181. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/brainstorm/__init__.py +0 -0
  182. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/brainstorm/brainstorm.py +0 -0
  183. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/brainstorm/prompt.py +0 -0
  184. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/chat/__init__.py +0 -0
  185. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/chat/chat.py +0 -0
  186. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/communicate/__init__.py +0 -0
  187. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/communicate/communicate.py +0 -0
  188. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/instruct/__init__.py +0 -0
  189. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/instruct/instruct.py +0 -0
  190. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/interpret/__init__.py +0 -0
  191. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/interpret/interpret.py +0 -0
  192. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/manager.py +0 -0
  193. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/operate/__init__.py +0 -0
  194. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/operate/operate.py +0 -0
  195. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/parse/__init__.py +0 -0
  196. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/parse/parse.py +0 -0
  197. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/plan/__init__.py +0 -0
  198. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/plan/plan.py +0 -0
  199. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/plan/prompt.py +0 -0
  200. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/select/__init__.py +0 -0
  201. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/select/select.py +0 -0
  202. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/select/utils.py +0 -0
  203. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/translate/__init__.py +0 -0
  204. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/translate/translate.py +0 -0
  205. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/types.py +0 -0
  206. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/operations/utils.py +0 -0
  207. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/__init__.py +0 -0
  208. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/_concepts.py +0 -0
  209. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/action/__init__.py +0 -0
  210. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/action/function_calling.py +0 -0
  211. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/action/manager.py +0 -0
  212. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/action/tool.py +0 -0
  213. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/forms/__init__.py +0 -0
  214. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/forms/base.py +0 -0
  215. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/forms/flow.py +0 -0
  216. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/forms/form.py +0 -0
  217. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/forms/report.py +0 -0
  218. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/generic/__init__.py +0 -0
  219. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/generic/element.py +0 -0
  220. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/generic/event.py +0 -0
  221. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/generic/log.py +0 -0
  222. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/generic/pile.py +0 -0
  223. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/generic/processor.py +0 -0
  224. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/generic/progression.py +0 -0
  225. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/graph/__init__.py +0 -0
  226. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/graph/edge.py +0 -0
  227. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/graph/graph.py +0 -0
  228. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/graph/node.py +0 -0
  229. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/mail/__init__.py +0 -0
  230. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/mail/exchange.py +0 -0
  231. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/mail/mail.py +0 -0
  232. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/mail/mailbox.py +0 -0
  233. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/mail/manager.py +0 -0
  234. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/mail/package.py +0 -0
  235. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/__init__.py +0 -0
  236. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/action_request.py +0 -0
  237. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/action_response.py +0 -0
  238. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/assistant_response.py +0 -0
  239. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/base.py +0 -0
  240. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/instruction.py +0 -0
  241. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/manager.py +0 -0
  242. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/message.py +0 -0
  243. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/system.py +0 -0
  244. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/templates/action_request.jinja2 +0 -0
  245. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/templates/action_response.jinja2 +0 -0
  246. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/templates/assistant_response.jinja2 +0 -0
  247. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/templates/instruction_message.jinja2 +0 -0
  248. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/templates/system_message.jinja2 +0 -0
  249. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/messages/templates/tool_schemas.jinja2 +0 -0
  250. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/operatives/__init__.py +0 -0
  251. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/operatives/operative.py +0 -0
  252. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/operatives/step.py +0 -0
  253. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/protocols/types.py +0 -0
  254. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/__init__.py +0 -0
  255. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/endpoints/__init__.py +0 -0
  256. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/endpoints/base.py +0 -0
  257. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/endpoints/chat_completion.py +0 -0
  258. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/endpoints/match_endpoint.py +0 -0
  259. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/endpoints/rate_limited_processor.py +0 -0
  260. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/endpoints/token_calculator.py +0 -0
  261. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/imodel.py +0 -0
  262. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/manager.py +0 -0
  263. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/__init__.py +0 -0
  264. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/anthropic_/__init__.py +0 -0
  265. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/anthropic_/messages.py +0 -0
  266. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/exa_/__init__.py +0 -0
  267. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/exa_/models.py +0 -0
  268. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/exa_/search.py +0 -0
  269. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/exa_/types.py +0 -0
  270. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/groq_/__init__.py +0 -0
  271. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/groq_/chat_completions.py +0 -0
  272. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/ollama_/__init__.py +0 -0
  273. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/ollama_/chat_completions.py +0 -0
  274. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/openai_/__init__.py +0 -0
  275. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/openai_/chat_completions.py +0 -0
  276. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/openai_/spec.py +0 -0
  277. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/openrouter_/__init__.py +0 -0
  278. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/openrouter_/chat_completions.py +0 -0
  279. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/perplexity_/__init__.py +0 -0
  280. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/perplexity_/chat_completions.py +0 -0
  281. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/perplexity_/models.py +0 -0
  282. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/providers/types.py +0 -0
  283. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/service/types.py +0 -0
  284. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/session/__init__.py +0 -0
  285. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/session/branch.py +0 -0
  286. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/session/prompts.py +0 -0
  287. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/session/session.py +0 -0
  288. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/settings.py +0 -0
  289. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/__init__.py +0 -0
  290. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/base.py +0 -0
  291. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/browser/__init__.py +0 -0
  292. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/browser/providers/__init__.py +0 -0
  293. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/browser/providers/browser_use_.py +0 -0
  294. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/code/__init__.py +0 -0
  295. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/code/coder.py +0 -0
  296. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/code/manager.py +0 -0
  297. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/code/providers/__init__.py +0 -0
  298. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/code/providers/aider_.py +0 -0
  299. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/code/providers/e2b_.py +0 -0
  300. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/code/sandbox.py +0 -0
  301. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/file/__init__.py +0 -0
  302. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/file/manager.py +0 -0
  303. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/file/providers/__init__.py +0 -0
  304. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/file/providers/docling_.py +0 -0
  305. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/file/reader.py +0 -0
  306. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/file/writer.py +0 -0
  307. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/query/__init__.py +0 -0
  308. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/tools/types.py +0 -0
  309. {lionagi-0.10.5 → lionagi-0.10.7}/lionagi/utils.py +0 -0
@@ -0,0 +1,68 @@
1
+ name: Continuous Integration
2
+
3
+ on:
4
+ push:
5
+ branches: [main, develop]
6
+ pull_request:
7
+ branches: [main, develop]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: Set up Python ${{ matrix.python-version }}
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
+
22
+ - name: Install uv
23
+ run: |
24
+ curl -LsSf https://astral.sh/uv/install.sh | sh
25
+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
26
+
27
+ - name: Load cached dependencies
28
+ id: cached-uv-dependencies
29
+ uses: actions/cache@v4
30
+ with:
31
+ path: .venv
32
+ key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
33
+
34
+ - name: Install dependencies
35
+ if: steps.cached-uv-dependencies.outputs.cache-hit != 'true'
36
+ run: |
37
+ uv venv
38
+ uv build
39
+
40
+ - name: Run tests
41
+ run: |
42
+ source .venv/bin/activate
43
+ uv run pytest --asyncio-mode=auto --maxfail=1 --disable-warnings tests/
44
+
45
+ - name: Check code style and compatibility
46
+ run: |
47
+ source .venv/bin/activate
48
+ uv run black --check .
49
+ uv run isort --check-only .
50
+
51
+ publish:
52
+ needs: test
53
+ runs-on: ubuntu-latest
54
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
55
+ steps:
56
+ - uses: actions/checkout@v4
57
+ - name: Set up Python
58
+ uses: actions/setup-python@v5
59
+ with:
60
+ python-version: "3.12"
61
+
62
+ - name: Install uv
63
+ run: |
64
+ curl -LsSf https://astral.sh/uv/install.sh | sh
65
+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
66
+
67
+ - name: Build package
68
+ run: uv build
@@ -0,0 +1,40 @@
1
+ name: "CodeQL"
2
+
3
+ on:
4
+ push:
5
+ branches: [main, develop]
6
+ pull_request:
7
+ branches: [main, develop]
8
+ schedule:
9
+ - cron: "0 0 * * 0"
10
+
11
+ jobs:
12
+ analyze:
13
+ name: Analyze
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ actions: read
17
+ contents: read
18
+ security-events: write
19
+
20
+ strategy:
21
+ fail-fast: false
22
+ matrix:
23
+ language: ["python"]
24
+
25
+ steps:
26
+ - name: Checkout repository
27
+ uses: actions/checkout@v4
28
+
29
+ - name: Initialize CodeQL
30
+ uses: github/codeql-action/init@v3
31
+ with:
32
+ languages: ${{ matrix.language }}
33
+
34
+ - name: Autobuild
35
+ uses: github/codeql-action/autobuild@v3
36
+
37
+ - name: Perform CodeQL Analysis
38
+ uses: github/codeql-action/analyze@v3
39
+
40
+ # filepath: .github/workflows/codeql-analysis.yml
@@ -2,7 +2,7 @@ name: Build and Deploy Docs
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ "main" ]
5
+ branches: ["main"]
6
6
 
7
7
  jobs:
8
8
  build-deploy:
@@ -0,0 +1,65 @@
1
+ name: Release
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ permissions:
8
+ contents: read
9
+
10
+ jobs:
11
+ test:
12
+ runs-on: ubuntu-latest
13
+ strategy:
14
+ matrix:
15
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - name: Set up Python ${{ matrix.python-version }}
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: ${{ matrix.python-version }}
22
+
23
+ - name: Install uv
24
+ run: |
25
+ curl -LsSf https://astral.sh/uv/install.sh | sh
26
+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
27
+
28
+ - name: Install dependencies
29
+ run: |
30
+ uv venv
31
+ uv build
32
+
33
+ - name: Run tests
34
+ run: |
35
+ source .venv/bin/activate
36
+ uv run pytest --asyncio-mode=auto --maxfail=1 --disable-warnings tests/
37
+
38
+ deploy:
39
+ needs: test
40
+ runs-on: ubuntu-latest
41
+ steps:
42
+ - uses: actions/checkout@v4
43
+ - name: Set up Python
44
+ uses: actions/setup-python@v5
45
+ with:
46
+ python-version: "3.12"
47
+
48
+ - name: Install uv
49
+ run: |
50
+ curl -LsSf https://astral.sh/uv/install.sh | sh
51
+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
52
+
53
+ - name: Install dependencies
54
+ run: |
55
+ uv venv
56
+ uv pip install twine
57
+
58
+ - name: Build package
59
+ run: uv build
60
+
61
+ - name: Publish package to PyPI
62
+ env:
63
+ TWINE_USERNAME: __token__
64
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_KEY }}
65
+ run: uv run twine upload dist/*
@@ -172,3 +172,5 @@ notebooks/.lock
172
172
  notebooks/meta.json
173
173
  logs/
174
174
  temp_logs/
175
+
176
+ scripts/
@@ -0,0 +1,28 @@
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v4.5.0
4
+ hooks:
5
+ - id: end-of-file-fixer
6
+ - id: check-yaml
7
+ - id: debug-statements
8
+ - id: check-added-large-files
9
+ - id: check-ast
10
+ - id: check-json
11
+
12
+ - repo: https://github.com/psf/black
13
+ rev: 24.3.0
14
+ hooks:
15
+ - id: black
16
+ language_version: python3
17
+
18
+ - repo: https://github.com/pycqa/isort
19
+ rev: 5.13.2
20
+ hooks:
21
+ - id: isort
22
+ args: ["--profile", "black"]
23
+
24
+ - repo: https://github.com/asottile/pyupgrade
25
+ rev: v3.15.2
26
+ hooks:
27
+ - id: pyupgrade
28
+ args: [--py310-plus]
@@ -0,0 +1,104 @@
1
+ # LionAGI Code of Conduct
2
+
3
+ ## A. Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as members,
6
+ contributors, and leaders of the LionAGI community pledge to make participation
7
+ in our project and our community a harassment-free experience for everyone,
8
+ regardless of background, identity, and personal characteristics.
9
+
10
+ We commit to act and interact in ways that contribute to an inclusive, diverse,
11
+ and friendly community.
12
+
13
+ ## B. Our Standards
14
+
15
+ Examples of behavior that contribute to a positive environment include:
16
+
17
+ - Demonstrating empathy and kindness toward other people.
18
+ - Being respectful of differing opinions, viewpoints, and experiences.
19
+ - Giving and gracefully accepting constructive feedback.
20
+ - Accepting responsibility for our actions, apologizing to those affected by our
21
+ mistakes, and learning from the experience.
22
+ - Focusing on what is best for the community as a whole.
23
+
24
+ Examples of unacceptable behavior include:
25
+
26
+ - The use of sexualized language or imagery, and sexual attention or advances of
27
+ any kind.
28
+ - Trolling, insulting or derogatory comments, and personal or political attacks.
29
+ - Public or private harassment.
30
+ - Publishing others' private information, such as a physical or email address,
31
+ without explicit permission.
32
+ - Other conduct which could reasonably be considered inappropriate in a
33
+ professional setting.
34
+
35
+ ## C. Enforcement Responsibilities
36
+
37
+ Our community leaders are responsible for clarifying the standards of acceptable
38
+ behavior and are expected to take appropriate and fair corrective action in
39
+ response to any instances of unacceptable behavior.
40
+
41
+ Community leaders have the right and responsibility to remove, edit, or reject
42
+ comments, commits, code, wiki edits, issues, and other contributions that are
43
+ not aligned with this Code of Conduct.
44
+
45
+ ## D. Scope
46
+
47
+ This Code of Conduct applies within all community spaces, including GitHub,
48
+ Discord, and various social media platforms, and also applies when an individual
49
+ is officially representing the community.
50
+
51
+ ## E. Enforcement
52
+
53
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
54
+ reported by contacting the project team via our Discord server. All complaints
55
+ will be reviewed and investigated in a manner that ensures fairness and respect
56
+ for all parties.
57
+
58
+ Community leaders are obligated to respect the privacy and security of the
59
+ reporter of any incident.
60
+
61
+ ## F. Enforcement Guidelines
62
+
63
+ Community leaders will follow these Community Impact Guidelines in determining
64
+ the consequences for any action deemed in violation of this Code of Conduct:
65
+
66
+ ### 1. Correction
67
+
68
+ **Community Impact**: Use of inappropriate language or behavior deemed
69
+ unprofessional.
70
+
71
+ **Consequence**: A private written warning from community leaders, with an
72
+ explanation of why the behavior was inappropriate.
73
+
74
+ ### 2. Warning
75
+
76
+ **Community Impact**: A violation through a single incident or series of
77
+ actions.
78
+
79
+ **Consequence**: A warning with consequences for continued behavior. This
80
+ includes a temporary ban from community interaction if the behavior persists.
81
+
82
+ ### 3. Temporary Ban
83
+
84
+ **Community Impact**: A serious violation of community standards.
85
+
86
+ **Consequence**: A temporary ban from any sort of interaction within the
87
+ community.
88
+
89
+ ### 4. Permanent Ban
90
+
91
+ **Community Impact**: Sustained inappropriate behavior, harassment, or
92
+ aggression toward individuals.
93
+
94
+ **Consequence**: A permanent ban from any sort of public interaction within the
95
+ community.
96
+
97
+ ## G. Attribution
98
+
99
+ This Code of Conduct is adapted from the Contributor Covenant, version 2.0,
100
+ available at
101
+ [Contributor Covenant](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).
102
+
103
+ For answers to common questions about this code of conduct, see the
104
+ [FAQ](https://www.contributor-covenant.org/faq).
@@ -1,67 +1,94 @@
1
1
  # Contributing to LionAGI
2
2
 
3
- Thank you for considering contributing to LionAGI! This document provides guidelines and instructions for contributing to this project.
3
+ Thank you for considering contributing to LionAGI! This document provides
4
+ guidelines and instructions for contributing to this project.
4
5
 
5
6
  ## Getting Started
6
7
 
7
- 1. **Fork the Repository**: Begin by forking the repository to your GitHub account. This creates your own copy of the project where you can make changes.
8
+ 1. **Fork the Repository**: Begin by forking the repository to your GitHub
9
+ account. This creates your own copy of the project where you can make
10
+ changes.
8
11
 
9
- 2. **Clone the Forked Repository**: Clone the repository to your local machine to start working on the changes.
12
+ 2. **Clone the Forked Repository**: Clone the repository to your local machine
13
+ to start working on the changes.
10
14
 
11
- 3. **Set Up Your Development Environment**: Ensure you have a suitable Python development environment. Any IDE that supports Python and package installation should be sufficient.
15
+ 3. **Set Up Your Development Environment**: Ensure you have a suitable Python
16
+ development environment. Any IDE that supports Python and package
17
+ installation should be sufficient.
12
18
 
13
19
  ## Making Changes
14
20
 
15
- 1. **Creating Branches**: For new features or bug fixes, create a new branch off the main branch. Branch names should be descriptive and reflect the feature or fix you are working on.
21
+ 1. **Creating Branches**: For new features or bug fixes, create a new branch off
22
+ the main branch. Branch names should be descriptive and reflect the feature
23
+ or fix you are working on.
16
24
 
17
- 2. **Commit Messages**: Write clear and descriptive commit messages. While there’s no strict format, ensure your messages convey the purpose of the commit.
25
+ 2. **Commit Messages**: Write clear and descriptive commit messages. While
26
+ there’s no strict format, ensure your messages convey the purpose of the
27
+ commit.
18
28
 
19
29
  ## Submitting Contributions
20
30
 
21
- 1. **Pull Requests**: Once you are ready with your changes, push your branch to your fork and open a pull request against the main repository.
31
+ 1. **Pull Requests**: Once you are ready with your changes, push your branch to
32
+ your fork and open a pull request against the main repository.
22
33
 
23
- 2. **Pull Request Description**: Provide a detailed description of the changes in your pull request. Link it to any relevant issues.
34
+ 2. **Pull Request Description**: Provide a detailed description of the changes
35
+ in your pull request. Link it to any relevant issues.
24
36
 
25
- 3. **Code Review Process**: Your pull request will be reviewed by the project maintainers. Feedback may be provided for improvements.
37
+ 3. **Code Review Process**: Your pull request will be reviewed by the project
38
+ maintainers. Feedback may be provided for improvements.
26
39
 
27
- 4. **Merging**: After approval, one of the maintainers will merge your pull request. No direct merges into the main branch are allowed without approval.
40
+ 4. **Merging**: After approval, one of the maintainers will merge your pull
41
+ request. No direct merges into the main branch are allowed without approval.
28
42
 
29
43
  ## Testing
30
44
 
31
- 1. **Writing Tests**: Include unit and integration tests for your code. Ensure your tests cover new features as well as any changes to existing functionality.
45
+ 1. **Writing Tests**: Include unit and integration tests for your code. Ensure
46
+ your tests cover new features as well as any changes to existing
47
+ functionality.
32
48
 
33
- 2. **Running Tests Locally**: Before submitting your pull request, run all tests locally to ensure they pass.
49
+ 2. **Running Tests Locally**: Before submitting your pull request, run all tests
50
+ locally to ensure they pass.
34
51
 
35
52
  ## Coding Standards
36
53
 
37
- 1. **PEP 8**: Follow [PEP 8](https://www.python.org/dev/peps/pep-0008/) style guidelines for writing Python code.
54
+ 1. **PEP 8**: Follow [PEP 8](https://www.python.org/dev/peps/pep-0008/) style
55
+ guidelines for writing Python code.
38
56
 
39
- 2. **PEP 257**: Adhere to [PEP 257](https://www.python.org/dev/peps/pep-0257/) for docstring conventions.
57
+ 2. **PEP 257**: Adhere to [PEP 257](https://www.python.org/dev/peps/pep-0257/)
58
+ for docstring conventions.
40
59
 
41
60
  3. **Linting**: Use linters to check your code against these standards.
42
61
 
43
62
  ## Dependencies
44
63
 
45
- 1. **Managing Dependencies**: Do not add or update dependencies without prior approval from the maintainers.
64
+ 1. **Managing Dependencies**: Do not add or update dependencies without prior
65
+ approval from the maintainers.
46
66
 
47
67
  ## Documentation
48
68
 
49
- 1. **Update Documentation**: Accompany your code changes with corresponding updates in the documentation.
69
+ 1. **Update Documentation**: Accompany your code changes with corresponding
70
+ updates in the documentation.
50
71
 
51
- 2. **Versioning Documentation**: Documentation should be versioned alongside the code.
72
+ 2. **Versioning Documentation**: Documentation should be versioned alongside the
73
+ code.
52
74
 
53
75
  ## Community Interaction
54
76
 
55
- 1. **Using Discord**: Use the project’s Discord for discussions, questions, and collaboration.
77
+ 1. **Using Discord**: Use the project’s Discord for discussions, questions, and
78
+ collaboration.
56
79
 
57
80
  ## Acknowledging Contributions
58
81
 
59
- 1. **Recognition**: We value your contributions and will acknowledge significant contributions in our social media and release notes.
82
+ 1. **Recognition**: We value your contributions and will acknowledge significant
83
+ contributions in our social media and release notes.
60
84
 
61
- 2. **GitHub Sponsors**: We are considering setting up a GitHub Sponsor button to enable sponsorship for our contributors.
85
+ 2. **GitHub Sponsors**: We are considering setting up a GitHub Sponsor button to
86
+ enable sponsorship for our contributors.
62
87
 
63
88
  ## Questions?
64
89
 
65
- If you have any questions or need further clarification about contributing, feel free to reach out on our Discord server.
90
+ If you have any questions or need further clarification about contributing, feel
91
+ free to reach out on our Discord server.
66
92
 
67
- Thank you for contributing to LionAGI, and we look forward to your contributions!
93
+ Thank you for contributing to LionAGI, and we look forward to your
94
+ contributions!
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lionagi
3
- Version: 0.10.5
3
+ Version: 0.10.7
4
4
  Summary: An Intelligence Operating System.
5
5
  Author-email: HaiyangLi <quantocean.li@gmail.com>
6
6
  License: Apache License
@@ -220,7 +220,7 @@ Classifier: Programming Language :: Python :: 3.12
220
220
  Classifier: Programming Language :: Python :: 3.13
221
221
  Requires-Python: >=3.10
222
222
  Requires-Dist: aiocache>=0.12.0
223
- Requires-Dist: aiohttp>=3.11.0
223
+ Requires-Dist: aiohttp>=3.11.14
224
224
  Requires-Dist: jinja2>=3.0.0
225
225
  Requires-Dist: pandas>=2.0.0
226
226
  Requires-Dist: pillow>=10.0.0
@@ -241,21 +241,28 @@ Description-Content-Type: text/markdown
241
241
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/lionagi?color=blue)
242
242
  ![Python Version](https://img.shields.io/badge/python-3.10%2B-blue)
243
243
 
244
- [Documentation](https://lion-agi.github.io/lionagi/) | [Discord](https://discord.gg/aqSJ2v46vu) | [PyPI](https://pypi.org/project/lionagi/) | [Roadmap](https://trello.com/b/3seomsrI/lionagi)
244
+ [Documentation](https://lion-agi.github.io/lionagi/) |
245
+ [Discord](https://discord.gg/aqSJ2v46vu) |
246
+ [PyPI](https://pypi.org/project/lionagi/) |
247
+ [Roadmap](https://trello.com/b/3seomsrI/lionagi)
245
248
 
246
249
  # LION - Language InterOperable Network
247
250
 
248
251
  ## An Intelligence Operating System
249
252
 
250
- LionAGI is a robust framework for orchestrating multi-step AI operations with precise control. Bring together multiple models, advanced ReAct reasoning, tool integrations, and custom validations in a single coherent pipeline.
253
+ LionAGI is a robust framework for orchestrating multi-step AI operations with
254
+ precise control. Bring together multiple models, advanced ReAct reasoning, tool
255
+ integrations, and custom validations in a single coherent pipeline.
251
256
 
252
257
  ## Why LionAGI?
253
258
 
254
259
  - **Structured**: LLM interactions are validated and typed (via Pydantic).
255
- - **Expandable**: Integrate multiple providers (OpenAI, Anthropic, Perplexity, custom) with minimal friction.
256
- - **Controlled**: Built-in safety checks, concurrency strategies, and advanced multi-step flows—like ReAct with verbose outputs.
257
- - **Transparent**: Real-time logging, message introspection, and easy debugging of tool usage.
258
-
260
+ - **Expandable**: Integrate multiple providers (OpenAI, Anthropic, Perplexity,
261
+ custom) with minimal friction.
262
+ - **Controlled**: Built-in safety checks, concurrency strategies, and advanced
263
+ multi-step flows—like ReAct with verbose outputs.
264
+ - **Transparent**: Real-time logging, message introspection, and easy debugging
265
+ of tool usage.
259
266
 
260
267
  ## Installation
261
268
 
@@ -263,17 +270,11 @@ LionAGI is a robust framework for orchestrating multi-step AI operations with pr
263
270
  pip install lionagi
264
271
  ```
265
272
 
266
- Dependencies:
267
- aiocahce
268
- • aiohttp
269
- • jinja2
270
- • pandas
271
- • pillow
272
- • pydantic
273
- • python-dotenv
274
- • tiktoken
273
+ Dependencies: • aiocahce • aiohttp • jinja2 • pandas • pillow • pydantic
274
+ python-dotenv tiktoken
275
275
 
276
276
  ## Quick Start
277
+
277
278
  ```python
278
279
  from lionagi import Branch, iModel
279
280
 
@@ -294,6 +295,7 @@ print(response)
294
295
  ```
295
296
  You claim to be a dragon, oh what a braggin'!
296
297
  ```
298
+
297
299
  ### Structured Responses
298
300
 
299
301
  Use Pydantic to keep outputs structured:
@@ -311,6 +313,7 @@ res = await hunter.communicate(
311
313
  print(type(response))
312
314
  print(response.joke)
313
315
  ```
316
+
314
317
  ```
315
318
  <class '__main__.Joke'>
316
319
  With fiery claws, dragons hide their laughter flaws!
@@ -318,7 +321,8 @@ With fiery claws, dragons hide their laughter flaws!
318
321
 
319
322
  ### ReAct and Tools
320
323
 
321
- LionAGI supports advanced multi-step reasoning with ReAct. Tools let the LLM invoke external actions:
324
+ LionAGI supports advanced multi-step reasoning with ReAct. Tools let the LLM
325
+ invoke external actions:
322
326
 
323
327
  ```python
324
328
  from lionagi.tools.types import ReaderTool
@@ -336,16 +340,21 @@ result = await branch.ReAct(
336
340
  print(result)
337
341
  ```
338
342
 
339
- The LLM can now open the PDF, read in slices, fetch references, and produce a final structured summary.
343
+ The LLM can now open the PDF, read in slices, fetch references, and produce a
344
+ final structured summary.
340
345
 
341
346
  ### Observability & Debugging
347
+
342
348
  - Inspect messages:
349
+
343
350
  ```python
344
351
  df = branch.to_df()
345
352
  print(df.tail())
346
353
  ```
354
+
347
355
  - Action logs show each tool call, arguments, and outcomes.
348
- - Verbose ReAct provides chain-of-thought analysis (helpful for debugging multi-step flows).
356
+ - Verbose ReAct provides chain-of-thought analysis (helpful for debugging
357
+ multi-step flows).
349
358
 
350
359
  ### Example: Multi-Model Orchestration
351
360
 
@@ -377,10 +386,12 @@ pip install "lionagi[ollama]"
377
386
  ## Community & Contributing
378
387
 
379
388
  We welcome issues, ideas, and pull requests:
389
+
380
390
  - Discord: Join to chat or get help
381
391
  - Issues / PRs: GitHub
382
392
 
383
393
  ### Citation
394
+
384
395
  ```
385
396
  @software{Li_LionAGI_2023,
386
397
  author = {Haiyang Li},
@@ -392,4 +403,6 @@ We welcome issues, ideas, and pull requests:
392
403
  ```
393
404
 
394
405
  **🦁 LionAGI**
395
- > Because real AI orchestration demands more than a single prompt. Try it out and discover the next evolution in structured, multi-model, safe AI.
406
+
407
+ > Because real AI orchestration demands more than a single prompt. Try it out
408
+ > and discover the next evolution in structured, multi-model, safe AI.