kodeagent 0.12.0__tar.gz → 0.12.2__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 (43) hide show
  1. {kodeagent-0.12.0/src/kodeagent.egg-info → kodeagent-0.12.2}/PKG-INFO +10 -7
  2. {kodeagent-0.12.0 → kodeagent-0.12.2}/README.md +2 -0
  3. {kodeagent-0.12.0 → kodeagent-0.12.2}/requirements.txt +7 -6
  4. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/_version.py +1 -1
  5. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/tools.py +9 -0
  6. {kodeagent-0.12.0 → kodeagent-0.12.2/src/kodeagent.egg-info}/PKG-INFO +10 -7
  7. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent.egg-info/requires.txt +7 -6
  8. {kodeagent-0.12.0 → kodeagent-0.12.2}/LICENSE +0 -0
  9. {kodeagent-0.12.0 → kodeagent-0.12.2}/MANIFEST.in +0 -0
  10. {kodeagent-0.12.0 → kodeagent-0.12.2}/pyproject.toml +0 -0
  11. {kodeagent-0.12.0 → kodeagent-0.12.2}/setup.cfg +0 -0
  12. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/__init__.py +0 -0
  13. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/agents/__init__.py +0 -0
  14. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/agents/csv_agent.py +0 -0
  15. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/code_reviewer.py +0 -0
  16. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/code_runner.py +0 -0
  17. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/examples.py +0 -0
  18. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/fca.py +0 -0
  19. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/file_tracker.py +0 -0
  20. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/history_formatter.py +0 -0
  21. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/kodeagent.py +0 -0
  22. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/kutils.py +0 -0
  23. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/models.py +0 -0
  24. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/orchestrator.py +0 -0
  25. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/pattern_detector.py +0 -0
  26. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/agent_plan.txt +0 -0
  27. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/code_guardrail.txt +0 -0
  28. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/contextual_summary.txt +0 -0
  29. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/observation.txt +0 -0
  30. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/salvage_response.txt +0 -0
  31. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/system/codeact.txt +0 -0
  32. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/system/csv_analyst.txt +0 -0
  33. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/system/function_calling.txt +0 -0
  34. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/system/observer.txt +0 -0
  35. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/system/plan_updater.txt +0 -0
  36. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/system/planner.txt +0 -0
  37. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/system/react.txt +0 -0
  38. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/prompts/update_plan.txt +0 -0
  39. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/tracer.py +0 -0
  40. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent/usage_tracker.py +0 -0
  41. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent.egg-info/SOURCES.txt +0 -0
  42. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent.egg-info/dependency_links.txt +0 -0
  43. {kodeagent-0.12.0 → kodeagent-0.12.2}/src/kodeagent.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kodeagent
3
- Version: 0.12.0
3
+ Version: 0.12.2
4
4
  Summary: A minimalistic approach to building AI agents
5
5
  Author-email: Barun Saha <your.email@example.com>
6
6
  Project-URL: Homepage, https://github.com/barun-saha/kodeagent
@@ -11,23 +11,24 @@ Classifier: Operating System :: OS Independent
11
11
  Requires-Python: >=3.10
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: litellm~=1.82.4
14
+ Requires-Dist: litellm~=1.83.2
15
15
  Requires-Dist: pydantic~=2.12.5
16
- Requires-Dist: python-dotenv~=1.2.2
16
+ Requires-Dist: python-dotenv~=1.0.1
17
17
  Requires-Dist: e2b-code-interpreter~=2.5.0
18
- Requires-Dist: requests~=2.32.5
18
+ Requires-Dist: requests~=2.33.1
19
19
  Requires-Dist: json_repair~=0.58.6
20
20
  Requires-Dist: tenacity~=9.1.4
21
- Requires-Dist: aiohttp~=3.13.3
21
+ Requires-Dist: aiohttp~=3.13.4
22
22
  Requires-Dist: protobuf~=6.33.5
23
23
  Requires-Dist: h11~=0.16.0
24
24
  Requires-Dist: rich~=14.3.3
25
- Requires-Dist: ddgs~=9.11.3
25
+ Requires-Dist: ddgs~=9.12.1
26
+ Requires-Dist: lxml>=5.3.0
26
27
  Requires-Dist: beautifulsoup4~=4.14.3
27
28
  Requires-Dist: markitdown[docx,pdf,xlsx]~=0.1.5
28
29
  Requires-Dist: youtube-transcript-api~=1.2.4
29
30
  Requires-Dist: wikipedia~=1.4.0
30
- Requires-Dist: arxiv~=2.4.1
31
+ Requires-Dist: arxiv~=3.0.0
31
32
  Requires-Dist: urllib3~=2.6.3
32
33
  Requires-Dist: langfuse<3,>=2
33
34
  Dynamic: license-file
@@ -258,6 +259,8 @@ A tool in KodeAgent is just a regular (synchronous) Python function. KodeAgent c
258
259
 
259
260
  Check out the docstrings of these tools in the [tools.py](src/kodeagent/tools.py) module for more details.
260
261
 
262
+ Note: v0.12.1 has disabled installation of `arxiv` by default since that requires an older `requests` version. If you want to use `search_arxiv` tool, please install `arxiv` separately with `pip install arxiv`. Alternatively, pin to a prior version until this gets resolved.
263
+
261
264
  To add your own custom tools, simply define a Python function and pass it to the agent via the `tools` parameter. For example:
262
265
 
263
266
  ```python
@@ -224,6 +224,8 @@ A tool in KodeAgent is just a regular (synchronous) Python function. KodeAgent c
224
224
 
225
225
  Check out the docstrings of these tools in the [tools.py](src/kodeagent/tools.py) module for more details.
226
226
 
227
+ Note: v0.12.1 has disabled installation of `arxiv` by default since that requires an older `requests` version. If you want to use `search_arxiv` tool, please install `arxiv` separately with `pip install arxiv`. Alternatively, pin to a prior version until this gets resolved.
228
+
227
229
  To add your own custom tools, simply define a Python function and pass it to the agent via the `tools` parameter. For example:
228
230
 
229
231
  ```python
@@ -1,11 +1,11 @@
1
- litellm~=1.82.4
1
+ litellm~=1.83.2
2
2
  pydantic~=2.12.5
3
- python-dotenv~=1.2.2
3
+ python-dotenv~=1.0.1 # Downgrade to avoid issues with litellm v1.83.2
4
4
  e2b-code-interpreter~=2.5.0
5
- requests~=2.32.5
5
+ requests~=2.33.1
6
6
  json_repair~=0.58.6
7
7
  tenacity~=9.1.4
8
- aiohttp~=3.13.3
8
+ aiohttp~=3.13.4
9
9
  protobuf~=6.33.5
10
10
  h11~=0.16.0
11
11
 
@@ -13,12 +13,13 @@ h11~=0.16.0
13
13
  rich~=14.3.3
14
14
 
15
15
  # Dependencies for the tools
16
- ddgs~=9.11.3
16
+ ddgs~=9.12.1
17
+ lxml>=5.3.0
17
18
  beautifulsoup4~=4.14.3
18
19
  markitdown[pdf, docx, xlsx]~=0.1.5
19
20
  youtube-transcript-api~=1.2.4
20
21
  wikipedia~=1.4.0
21
- arxiv~=2.4.1
22
+ arxiv~=3.0.0
22
23
  urllib3~=2.6.3
23
24
 
24
25
  # Observability
@@ -7,4 +7,4 @@ Update the __version__ string here BEFORE making a release on GitHub.
7
7
  # minor: New features, backward compatible
8
8
  # major: Breaking changes, API changes
9
9
 
10
- __version__ = '0.12.0'
10
+ __version__ = '0.12.2'
@@ -908,6 +908,15 @@ def search_arxiv(query: str, max_results: int = 5) -> str:
908
908
 
909
909
  return output
910
910
 
911
+ except ImportError:
912
+ # Patch to 0.12.1
913
+ msg = (
914
+ 'ERROR: An error occurred: the required library `arxiv` not installed.'
915
+ ' Install with: `pip install arxiv`'
916
+ '\nYou may need to relax the version of requests lib and reinstall.'
917
+ )
918
+ print(msg)
919
+ return msg
911
920
  except Exception as e:
912
921
  return f'ERROR: An error occurred during the arXiv search: {str(e)}'
913
922
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kodeagent
3
- Version: 0.12.0
3
+ Version: 0.12.2
4
4
  Summary: A minimalistic approach to building AI agents
5
5
  Author-email: Barun Saha <your.email@example.com>
6
6
  Project-URL: Homepage, https://github.com/barun-saha/kodeagent
@@ -11,23 +11,24 @@ Classifier: Operating System :: OS Independent
11
11
  Requires-Python: >=3.10
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: litellm~=1.82.4
14
+ Requires-Dist: litellm~=1.83.2
15
15
  Requires-Dist: pydantic~=2.12.5
16
- Requires-Dist: python-dotenv~=1.2.2
16
+ Requires-Dist: python-dotenv~=1.0.1
17
17
  Requires-Dist: e2b-code-interpreter~=2.5.0
18
- Requires-Dist: requests~=2.32.5
18
+ Requires-Dist: requests~=2.33.1
19
19
  Requires-Dist: json_repair~=0.58.6
20
20
  Requires-Dist: tenacity~=9.1.4
21
- Requires-Dist: aiohttp~=3.13.3
21
+ Requires-Dist: aiohttp~=3.13.4
22
22
  Requires-Dist: protobuf~=6.33.5
23
23
  Requires-Dist: h11~=0.16.0
24
24
  Requires-Dist: rich~=14.3.3
25
- Requires-Dist: ddgs~=9.11.3
25
+ Requires-Dist: ddgs~=9.12.1
26
+ Requires-Dist: lxml>=5.3.0
26
27
  Requires-Dist: beautifulsoup4~=4.14.3
27
28
  Requires-Dist: markitdown[docx,pdf,xlsx]~=0.1.5
28
29
  Requires-Dist: youtube-transcript-api~=1.2.4
29
30
  Requires-Dist: wikipedia~=1.4.0
30
- Requires-Dist: arxiv~=2.4.1
31
+ Requires-Dist: arxiv~=3.0.0
31
32
  Requires-Dist: urllib3~=2.6.3
32
33
  Requires-Dist: langfuse<3,>=2
33
34
  Dynamic: license-file
@@ -258,6 +259,8 @@ A tool in KodeAgent is just a regular (synchronous) Python function. KodeAgent c
258
259
 
259
260
  Check out the docstrings of these tools in the [tools.py](src/kodeagent/tools.py) module for more details.
260
261
 
262
+ Note: v0.12.1 has disabled installation of `arxiv` by default since that requires an older `requests` version. If you want to use `search_arxiv` tool, please install `arxiv` separately with `pip install arxiv`. Alternatively, pin to a prior version until this gets resolved.
263
+
261
264
  To add your own custom tools, simply define a Python function and pass it to the agent via the `tools` parameter. For example:
262
265
 
263
266
  ```python
@@ -1,19 +1,20 @@
1
- litellm~=1.82.4
1
+ litellm~=1.83.2
2
2
  pydantic~=2.12.5
3
- python-dotenv~=1.2.2
3
+ python-dotenv~=1.0.1
4
4
  e2b-code-interpreter~=2.5.0
5
- requests~=2.32.5
5
+ requests~=2.33.1
6
6
  json_repair~=0.58.6
7
7
  tenacity~=9.1.4
8
- aiohttp~=3.13.3
8
+ aiohttp~=3.13.4
9
9
  protobuf~=6.33.5
10
10
  h11~=0.16.0
11
11
  rich~=14.3.3
12
- ddgs~=9.11.3
12
+ ddgs~=9.12.1
13
+ lxml>=5.3.0
13
14
  beautifulsoup4~=4.14.3
14
15
  markitdown[docx,pdf,xlsx]~=0.1.5
15
16
  youtube-transcript-api~=1.2.4
16
17
  wikipedia~=1.4.0
17
- arxiv~=2.4.1
18
+ arxiv~=3.0.0
18
19
  urllib3~=2.6.3
19
20
  langfuse<3,>=2
File without changes
File without changes
File without changes
File without changes