kodeagent 0.11.2__tar.gz → 0.12.0__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.11.2/src/kodeagent.egg-info → kodeagent-0.12.0}/PKG-INFO +24 -6
  2. {kodeagent-0.11.2 → kodeagent-0.12.0}/README.md +19 -1
  3. {kodeagent-0.11.2 → kodeagent-0.12.0}/requirements.txt +4 -4
  4. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/_version.py +1 -1
  5. kodeagent-0.12.0/src/kodeagent/agents/__init__.py +3 -0
  6. kodeagent-0.12.0/src/kodeagent/agents/csv_agent.py +638 -0
  7. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/kutils.py +41 -24
  8. kodeagent-0.12.0/src/kodeagent/prompts/system/csv_analyst.txt +315 -0
  9. {kodeagent-0.11.2 → kodeagent-0.12.0/src/kodeagent.egg-info}/PKG-INFO +24 -6
  10. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent.egg-info/SOURCES.txt +3 -0
  11. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent.egg-info/requires.txt +4 -4
  12. {kodeagent-0.11.2 → kodeagent-0.12.0}/LICENSE +0 -0
  13. {kodeagent-0.11.2 → kodeagent-0.12.0}/MANIFEST.in +0 -0
  14. {kodeagent-0.11.2 → kodeagent-0.12.0}/pyproject.toml +0 -0
  15. {kodeagent-0.11.2 → kodeagent-0.12.0}/setup.cfg +0 -0
  16. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/__init__.py +0 -0
  17. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/code_reviewer.py +0 -0
  18. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/code_runner.py +0 -0
  19. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/examples.py +0 -0
  20. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/fca.py +0 -0
  21. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/file_tracker.py +0 -0
  22. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/history_formatter.py +0 -0
  23. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/kodeagent.py +0 -0
  24. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/models.py +0 -0
  25. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/orchestrator.py +0 -0
  26. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/pattern_detector.py +0 -0
  27. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/agent_plan.txt +0 -0
  28. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/code_guardrail.txt +0 -0
  29. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/contextual_summary.txt +0 -0
  30. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/observation.txt +0 -0
  31. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/salvage_response.txt +0 -0
  32. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/system/codeact.txt +0 -0
  33. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/system/function_calling.txt +0 -0
  34. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/system/observer.txt +0 -0
  35. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/system/plan_updater.txt +0 -0
  36. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/system/planner.txt +0 -0
  37. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/system/react.txt +0 -0
  38. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/prompts/update_plan.txt +0 -0
  39. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/tools.py +0 -0
  40. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/tracer.py +0 -0
  41. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent/usage_tracker.py +0 -0
  42. {kodeagent-0.11.2 → kodeagent-0.12.0}/src/kodeagent.egg-info/dependency_links.txt +0 -0
  43. {kodeagent-0.11.2 → kodeagent-0.12.0}/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.11.2
3
+ Version: 0.12.0
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,12 +11,12 @@ 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.2
14
+ Requires-Dist: litellm~=1.82.4
15
15
  Requires-Dist: pydantic~=2.12.5
16
- Requires-Dist: python-dotenv~=1.2.1
17
- Requires-Dist: e2b-code-interpreter~=2.4.1
16
+ Requires-Dist: python-dotenv~=1.2.2
17
+ Requires-Dist: e2b-code-interpreter~=2.5.0
18
18
  Requires-Dist: requests~=2.32.5
19
- Requires-Dist: json_repair~=0.58.5
19
+ Requires-Dist: json_repair~=0.58.6
20
20
  Requires-Dist: tenacity~=9.1.4
21
21
  Requires-Dist: aiohttp~=3.13.3
22
22
  Requires-Dist: protobuf~=6.33.5
@@ -50,7 +50,7 @@ Dynamic: license-file
50
50
  </a>
51
51
 
52
52
 
53
- KodeAgent is a frameworkless, minimalistic approach to building AI agents. Written in ~3 KLOC (~2.2K statements) of pure Python, KodeAgent is designed to be the robust reasoning core inside your larger system, not the entire platform.
53
+ KodeAgent is a frameworkless, minimalistic approach to building AI agents. KodeAgent is designed to be the robust reasoning core inside your larger system, not the entire platform.
54
54
 
55
55
  ![KodeAgent Demo](https://raw.githubusercontent.com/barun-saha/kodeagent/refs/heads/main/assets/demo.gif)
56
56
 
@@ -165,6 +165,24 @@ async for response in agent.run('What is 123 * 456?'):
165
165
  Use this [Colab notebook](https://colab.research.google.com/drive/1c7RMTCcSYrO7wZgB25bLX9QenDgVDmAP?usp=sharing) to run function-calling agent with several SLMs (uses T4 GPU).
166
166
 
167
167
 
168
+ ### Task-Specific Agents
169
+
170
+ KodeAgent provides specialized agent classes for common tasks, such as `CSVAnalysisAgent` for automated data exploration:
171
+
172
+ ```python
173
+ from kodeagent.agents import CSVAnalysisAgent
174
+
175
+ agent = CSVAnalysisAgent(model_name='gemini/gemini-2.0-flash-lite')
176
+ # Auto-loads CSV from URL/path and performs automated analysis
177
+ async for response in agent.run(
178
+ 'Analyze the trends',
179
+ files=['https://raw.githubusercontent.com/mwaskom/seaborn-data/master/penguins.csv']
180
+ ):
181
+ pass
182
+ ```
183
+
184
+ Check out the [CSVAnalysisAgent documentation](https://kodeagent.readthedocs.io/en/latest/specialized_agents.html) for more details.
185
+
168
186
  ### Memory(less)
169
187
 
170
188
  By default, any agent in KodeAgent is **memoryless** across tasks—each task begins with no prior context, a clean slate. To enable context from the previous task (only), use **Recurrent Mode**:
@@ -16,7 +16,7 @@
16
16
  </a>
17
17
 
18
18
 
19
- KodeAgent is a frameworkless, minimalistic approach to building AI agents. Written in ~3 KLOC (~2.2K statements) of pure Python, KodeAgent is designed to be the robust reasoning core inside your larger system, not the entire platform.
19
+ KodeAgent is a frameworkless, minimalistic approach to building AI agents. KodeAgent is designed to be the robust reasoning core inside your larger system, not the entire platform.
20
20
 
21
21
  ![KodeAgent Demo](https://raw.githubusercontent.com/barun-saha/kodeagent/refs/heads/main/assets/demo.gif)
22
22
 
@@ -131,6 +131,24 @@ async for response in agent.run('What is 123 * 456?'):
131
131
  Use this [Colab notebook](https://colab.research.google.com/drive/1c7RMTCcSYrO7wZgB25bLX9QenDgVDmAP?usp=sharing) to run function-calling agent with several SLMs (uses T4 GPU).
132
132
 
133
133
 
134
+ ### Task-Specific Agents
135
+
136
+ KodeAgent provides specialized agent classes for common tasks, such as `CSVAnalysisAgent` for automated data exploration:
137
+
138
+ ```python
139
+ from kodeagent.agents import CSVAnalysisAgent
140
+
141
+ agent = CSVAnalysisAgent(model_name='gemini/gemini-2.0-flash-lite')
142
+ # Auto-loads CSV from URL/path and performs automated analysis
143
+ async for response in agent.run(
144
+ 'Analyze the trends',
145
+ files=['https://raw.githubusercontent.com/mwaskom/seaborn-data/master/penguins.csv']
146
+ ):
147
+ pass
148
+ ```
149
+
150
+ Check out the [CSVAnalysisAgent documentation](https://kodeagent.readthedocs.io/en/latest/specialized_agents.html) for more details.
151
+
134
152
  ### Memory(less)
135
153
 
136
154
  By default, any agent in KodeAgent is **memoryless** across tasks—each task begins with no prior context, a clean slate. To enable context from the previous task (only), use **Recurrent Mode**:
@@ -1,9 +1,9 @@
1
- litellm~=1.82.2
1
+ litellm~=1.82.4
2
2
  pydantic~=2.12.5
3
- python-dotenv~=1.2.1
4
- e2b-code-interpreter~=2.4.1
3
+ python-dotenv~=1.2.2
4
+ e2b-code-interpreter~=2.5.0
5
5
  requests~=2.32.5
6
- json_repair~=0.58.5
6
+ json_repair~=0.58.6
7
7
  tenacity~=9.1.4
8
8
  aiohttp~=3.13.3
9
9
  protobuf~=6.33.5
@@ -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.11.2'
10
+ __version__ = '0.12.0'
@@ -0,0 +1,3 @@
1
+ from .csv_agent import CSVAnalysisAgent
2
+
3
+ __all__ = ['CSVAnalysisAgent']