quantalogic 0.61.3__py3-none-any.whl → 0.80__py3-none-any.whl

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 (46) hide show
  1. quantalogic/agent.py +0 -1
  2. quantalogic/codeact/TODO.md +14 -0
  3. quantalogic/codeact/agent.py +400 -421
  4. quantalogic/codeact/cli.py +42 -224
  5. quantalogic/codeact/cli_commands/__init__.py +0 -0
  6. quantalogic/codeact/cli_commands/create_toolbox.py +45 -0
  7. quantalogic/codeact/cli_commands/install_toolbox.py +20 -0
  8. quantalogic/codeact/cli_commands/list_executor.py +15 -0
  9. quantalogic/codeact/cli_commands/list_reasoners.py +15 -0
  10. quantalogic/codeact/cli_commands/list_toolboxes.py +47 -0
  11. quantalogic/codeact/cli_commands/task.py +215 -0
  12. quantalogic/codeact/cli_commands/tool_info.py +24 -0
  13. quantalogic/codeact/cli_commands/uninstall_toolbox.py +43 -0
  14. quantalogic/codeact/config.yaml +21 -0
  15. quantalogic/codeact/constants.py +1 -1
  16. quantalogic/codeact/events.py +12 -5
  17. quantalogic/codeact/examples/README.md +342 -0
  18. quantalogic/codeact/examples/agent_sample.yaml +29 -0
  19. quantalogic/codeact/executor.py +186 -0
  20. quantalogic/codeact/history_manager.py +94 -0
  21. quantalogic/codeact/llm_util.py +3 -22
  22. quantalogic/codeact/plugin_manager.py +92 -0
  23. quantalogic/codeact/prompts/generate_action.j2 +65 -14
  24. quantalogic/codeact/prompts/generate_program.j2 +32 -19
  25. quantalogic/codeact/react_agent.py +318 -0
  26. quantalogic/codeact/reasoner.py +185 -0
  27. quantalogic/codeact/templates/toolbox/README.md.j2 +10 -0
  28. quantalogic/codeact/templates/toolbox/pyproject.toml.j2 +16 -0
  29. quantalogic/codeact/templates/toolbox/tools.py.j2 +6 -0
  30. quantalogic/codeact/templates.py +7 -0
  31. quantalogic/codeact/tools_manager.py +242 -119
  32. quantalogic/codeact/utils.py +16 -89
  33. quantalogic/codeact/xml_utils.py +126 -0
  34. quantalogic/flow/flow.py +151 -41
  35. quantalogic/flow/flow_extractor.py +61 -1
  36. quantalogic/flow/flow_generator.py +34 -6
  37. quantalogic/flow/flow_manager.py +64 -25
  38. quantalogic/flow/flow_manager_schema.py +32 -0
  39. quantalogic/tools/action_gen.py +1 -1
  40. quantalogic/tools/tool.py +531 -109
  41. {quantalogic-0.61.3.dist-info → quantalogic-0.80.dist-info}/METADATA +3 -3
  42. {quantalogic-0.61.3.dist-info → quantalogic-0.80.dist-info}/RECORD +45 -22
  43. {quantalogic-0.61.3.dist-info → quantalogic-0.80.dist-info}/WHEEL +1 -1
  44. quantalogic-0.80.dist-info/entry_points.txt +3 -0
  45. quantalogic-0.61.3.dist-info/entry_points.txt +0 -6
  46. {quantalogic-0.61.3.dist-info → quantalogic-0.80.dist-info}/LICENSE +0 -0
quantalogic/agent.py CHANGED
@@ -23,7 +23,6 @@ from quantalogic.utils import get_environment
23
23
  from quantalogic.utils.ask_user_validation import console_ask_for_user_validation
24
24
  from quantalogic.xml_parser import ToleranceXMLParser
25
25
  from quantalogic.xml_tool_parser import ToolParser
26
- import uuid
27
26
 
28
27
  # Maximum ratio occupancy of the occupied memory
29
28
  MAX_OCCUPANCY = 90.0
@@ -0,0 +1,14 @@
1
+ - [X] name clash between functions of tools
2
+ - [X] agent configurable using a Yaml file
3
+ - agent config
4
+ - name
5
+ - sop
6
+ - backstory
7
+ - personality
8
+ - interests
9
+ - style
10
+ - [ ] persistence of the agent state between tasks
11
+ - [X] create toolbox
12
+ - [X] configurable tools
13
+ - Keys
14
+ - secrets