kodeagent 0.14.1__tar.gz → 0.14.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.
- {kodeagent-0.14.1/src/kodeagent.egg-info → kodeagent-0.14.2}/PKG-INFO +6 -6
- {kodeagent-0.14.1 → kodeagent-0.14.2}/README.md +3 -3
- {kodeagent-0.14.1 → kodeagent-0.14.2}/requirements.txt +2 -2
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/_version.py +1 -1
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/agents/csv_agent.py +1 -1
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/examples.py +2 -2
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/fca.py +1 -1
- {kodeagent-0.14.1 → kodeagent-0.14.2/src/kodeagent.egg-info}/PKG-INFO +6 -6
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent.egg-info/requires.txt +2 -2
- {kodeagent-0.14.1 → kodeagent-0.14.2}/LICENSE +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/MANIFEST.in +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/pyproject.toml +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/setup.cfg +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/__init__.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/agents/__init__.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/code_reviewer.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/code_runner.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/file_tracker.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/history_formatter.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/kodeagent.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/kutils.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/models.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/orchestrator.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/pattern_detector.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/agent_plan.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/code_guardrail.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/contextual_summary.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/observation.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/salvage_response.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/system/codeact.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/system/csv_analyst.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/system/function_calling.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/system/observer.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/system/plan_updater.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/system/planner.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/system/react.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/prompts/update_plan.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/tools.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/tracer.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent/usage_tracker.py +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent.egg-info/SOURCES.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.2}/src/kodeagent.egg-info/dependency_links.txt +0 -0
- {kodeagent-0.14.1 → kodeagent-0.14.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.14.
|
|
3
|
+
Version: 0.14.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,14 +11,14 @@ 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.
|
|
14
|
+
Requires-Dist: litellm~=1.87.1
|
|
15
15
|
Requires-Dist: pydantic~=2.12.5
|
|
16
16
|
Requires-Dist: python-dotenv~=1.2.2
|
|
17
17
|
Requires-Dist: e2b-code-interpreter~=2.6.0
|
|
18
18
|
Requires-Dist: requests~=2.33.1
|
|
19
19
|
Requires-Dist: json_repair~=0.59.10
|
|
20
20
|
Requires-Dist: tenacity~=9.1.4
|
|
21
|
-
Requires-Dist: aiohttp~=3.
|
|
21
|
+
Requires-Dist: aiohttp~=3.14.0
|
|
22
22
|
Requires-Dist: protobuf~=6.33.5
|
|
23
23
|
Requires-Dist: h11~=0.16.0
|
|
24
24
|
Requires-Dist: rich~=15.0.0
|
|
@@ -131,7 +131,7 @@ from kodeagent.tools import read_webpage, search_web, extract_as_markdown
|
|
|
131
131
|
|
|
132
132
|
agent = CodeActAgent(
|
|
133
133
|
name='Web agent',
|
|
134
|
-
model_name='gemini/gemini-2.
|
|
134
|
+
model_name='gemini/gemini-2.5-flash-lite',
|
|
135
135
|
tools=[search_web, read_webpage, extract_as_markdown],
|
|
136
136
|
run_env='host',
|
|
137
137
|
max_iterations=7,
|
|
@@ -173,7 +173,7 @@ KodeAgent provides specialized agent classes for common tasks, such as `CSVAnaly
|
|
|
173
173
|
```python
|
|
174
174
|
from kodeagent.agents import CSVAnalysisAgent
|
|
175
175
|
|
|
176
|
-
agent = CSVAnalysisAgent(model_name='gemini/gemini-2.
|
|
176
|
+
agent = CSVAnalysisAgent(model_name='gemini/gemini-2.5-flash-lite')
|
|
177
177
|
# Auto-loads CSV from URL/path and performs automated analysis
|
|
178
178
|
async for response in agent.run(
|
|
179
179
|
'Analyze the trends',
|
|
@@ -246,7 +246,7 @@ from kodeagent import CodeActAgent
|
|
|
246
246
|
|
|
247
247
|
agent = CodeActAgent(
|
|
248
248
|
name='Data Agent',
|
|
249
|
-
model_name='gemini/gemini-2.
|
|
249
|
+
model_name='gemini/gemini-2.5-flash-lite',
|
|
250
250
|
run_env='e2b',
|
|
251
251
|
work_dir='/home/user/agent_workspace', # Local workspace directory to copy files to/from E2B
|
|
252
252
|
# ... other parameters
|
|
@@ -96,7 +96,7 @@ from kodeagent.tools import read_webpage, search_web, extract_as_markdown
|
|
|
96
96
|
|
|
97
97
|
agent = CodeActAgent(
|
|
98
98
|
name='Web agent',
|
|
99
|
-
model_name='gemini/gemini-2.
|
|
99
|
+
model_name='gemini/gemini-2.5-flash-lite',
|
|
100
100
|
tools=[search_web, read_webpage, extract_as_markdown],
|
|
101
101
|
run_env='host',
|
|
102
102
|
max_iterations=7,
|
|
@@ -138,7 +138,7 @@ KodeAgent provides specialized agent classes for common tasks, such as `CSVAnaly
|
|
|
138
138
|
```python
|
|
139
139
|
from kodeagent.agents import CSVAnalysisAgent
|
|
140
140
|
|
|
141
|
-
agent = CSVAnalysisAgent(model_name='gemini/gemini-2.
|
|
141
|
+
agent = CSVAnalysisAgent(model_name='gemini/gemini-2.5-flash-lite')
|
|
142
142
|
# Auto-loads CSV from URL/path and performs automated analysis
|
|
143
143
|
async for response in agent.run(
|
|
144
144
|
'Analyze the trends',
|
|
@@ -211,7 +211,7 @@ from kodeagent import CodeActAgent
|
|
|
211
211
|
|
|
212
212
|
agent = CodeActAgent(
|
|
213
213
|
name='Data Agent',
|
|
214
|
-
model_name='gemini/gemini-2.
|
|
214
|
+
model_name='gemini/gemini-2.5-flash-lite',
|
|
215
215
|
run_env='e2b',
|
|
216
216
|
work_dir='/home/user/agent_workspace', # Local workspace directory to copy files to/from E2B
|
|
217
217
|
# ... other parameters
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
litellm~=1.
|
|
1
|
+
litellm~=1.87.1 # Higher versions require incompatible aiohttp
|
|
2
2
|
pydantic~=2.12.5
|
|
3
3
|
python-dotenv~=1.2.2 # Downgrade to avoid issues with litellm
|
|
4
4
|
e2b-code-interpreter~=2.6.0
|
|
5
5
|
requests~=2.33.1
|
|
6
6
|
json_repair~=0.59.10
|
|
7
7
|
tenacity~=9.1.4
|
|
8
|
-
aiohttp~=3.
|
|
8
|
+
aiohttp~=3.14.0
|
|
9
9
|
protobuf~=6.33.5
|
|
10
10
|
h11~=0.16.0
|
|
11
11
|
|
|
@@ -522,7 +522,7 @@ class CSVAnalysisAgent(ReActAgent):
|
|
|
522
522
|
def __init__(
|
|
523
523
|
self,
|
|
524
524
|
name: str = 'CSV Analyst',
|
|
525
|
-
model_name: str = 'gemini/gemini-2.
|
|
525
|
+
model_name: str = 'gemini/gemini-2.5-flash-lite',
|
|
526
526
|
**kwargs: Any,
|
|
527
527
|
) -> None:
|
|
528
528
|
"""Initialize the CSVAnalysisAgent.
|
|
@@ -19,7 +19,7 @@ from .kodeagent import CodeActAgent, ReActAgent, print_response
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
async def _run_examples_async(
|
|
22
|
-
agent_type: str, max_iterations: int, model_name: str = 'gemini/gemini-2.
|
|
22
|
+
agent_type: str, max_iterations: int, model_name: str = 'gemini/gemini-2.5-flash-lite'
|
|
23
23
|
) -> None:
|
|
24
24
|
"""Run the example agent demos asynchronously.
|
|
25
25
|
|
|
@@ -190,7 +190,7 @@ async def _run_examples_async(
|
|
|
190
190
|
async def run_examples(
|
|
191
191
|
agent_type: str = 'react',
|
|
192
192
|
max_iterations: int = 5,
|
|
193
|
-
model_name: str = 'gemini/gemini-2.
|
|
193
|
+
model_name: str = 'gemini/gemini-2.5-flash-lite',
|
|
194
194
|
) -> None:
|
|
195
195
|
"""Run KodeAgent with a list of pre-defined tasks and the choice of agent.
|
|
196
196
|
Some of the tasks include files or URLs.
|
|
@@ -767,7 +767,7 @@ class FunctionCallingAgent:
|
|
|
767
767
|
|
|
768
768
|
async def main():
|
|
769
769
|
"""Example usage of the FunctionCallingAgent."""
|
|
770
|
-
model_name = 'gemini/gemini-2.
|
|
770
|
+
model_name = 'gemini/gemini-2.5-flash-lite'
|
|
771
771
|
# Some smaller models with 8-bit quantization or higher can perform well with function calling
|
|
772
772
|
# model_name='ollama/qwen3:8b-q8_0'
|
|
773
773
|
# model_name = 'ollama/qwen3:4b-instruct-2507-fp16'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kodeagent
|
|
3
|
-
Version: 0.14.
|
|
3
|
+
Version: 0.14.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,14 +11,14 @@ 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.
|
|
14
|
+
Requires-Dist: litellm~=1.87.1
|
|
15
15
|
Requires-Dist: pydantic~=2.12.5
|
|
16
16
|
Requires-Dist: python-dotenv~=1.2.2
|
|
17
17
|
Requires-Dist: e2b-code-interpreter~=2.6.0
|
|
18
18
|
Requires-Dist: requests~=2.33.1
|
|
19
19
|
Requires-Dist: json_repair~=0.59.10
|
|
20
20
|
Requires-Dist: tenacity~=9.1.4
|
|
21
|
-
Requires-Dist: aiohttp~=3.
|
|
21
|
+
Requires-Dist: aiohttp~=3.14.0
|
|
22
22
|
Requires-Dist: protobuf~=6.33.5
|
|
23
23
|
Requires-Dist: h11~=0.16.0
|
|
24
24
|
Requires-Dist: rich~=15.0.0
|
|
@@ -131,7 +131,7 @@ from kodeagent.tools import read_webpage, search_web, extract_as_markdown
|
|
|
131
131
|
|
|
132
132
|
agent = CodeActAgent(
|
|
133
133
|
name='Web agent',
|
|
134
|
-
model_name='gemini/gemini-2.
|
|
134
|
+
model_name='gemini/gemini-2.5-flash-lite',
|
|
135
135
|
tools=[search_web, read_webpage, extract_as_markdown],
|
|
136
136
|
run_env='host',
|
|
137
137
|
max_iterations=7,
|
|
@@ -173,7 +173,7 @@ KodeAgent provides specialized agent classes for common tasks, such as `CSVAnaly
|
|
|
173
173
|
```python
|
|
174
174
|
from kodeagent.agents import CSVAnalysisAgent
|
|
175
175
|
|
|
176
|
-
agent = CSVAnalysisAgent(model_name='gemini/gemini-2.
|
|
176
|
+
agent = CSVAnalysisAgent(model_name='gemini/gemini-2.5-flash-lite')
|
|
177
177
|
# Auto-loads CSV from URL/path and performs automated analysis
|
|
178
178
|
async for response in agent.run(
|
|
179
179
|
'Analyze the trends',
|
|
@@ -246,7 +246,7 @@ from kodeagent import CodeActAgent
|
|
|
246
246
|
|
|
247
247
|
agent = CodeActAgent(
|
|
248
248
|
name='Data Agent',
|
|
249
|
-
model_name='gemini/gemini-2.
|
|
249
|
+
model_name='gemini/gemini-2.5-flash-lite',
|
|
250
250
|
run_env='e2b',
|
|
251
251
|
work_dir='/home/user/agent_workspace', # Local workspace directory to copy files to/from E2B
|
|
252
252
|
# ... other parameters
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
litellm~=1.
|
|
1
|
+
litellm~=1.87.1
|
|
2
2
|
pydantic~=2.12.5
|
|
3
3
|
python-dotenv~=1.2.2
|
|
4
4
|
e2b-code-interpreter~=2.6.0
|
|
5
5
|
requests~=2.33.1
|
|
6
6
|
json_repair~=0.59.10
|
|
7
7
|
tenacity~=9.1.4
|
|
8
|
-
aiohttp~=3.
|
|
8
|
+
aiohttp~=3.14.0
|
|
9
9
|
protobuf~=6.33.5
|
|
10
10
|
h11~=0.16.0
|
|
11
11
|
rich~=15.0.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|