kodeagent 0.14.0__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.0/src/kodeagent.egg-info → kodeagent-0.14.2}/PKG-INFO +12 -12
- {kodeagent-0.14.0 → kodeagent-0.14.2}/README.md +3 -3
- {kodeagent-0.14.0 → kodeagent-0.14.2}/requirements.txt +8 -8
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/_version.py +1 -1
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/agents/csv_agent.py +1 -1
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/examples.py +2 -2
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/fca.py +11 -6
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/kodeagent.py +14 -10
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/kutils.py +8 -15
- {kodeagent-0.14.0 → kodeagent-0.14.2/src/kodeagent.egg-info}/PKG-INFO +12 -12
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent.egg-info/requires.txt +8 -8
- {kodeagent-0.14.0 → kodeagent-0.14.2}/LICENSE +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/MANIFEST.in +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/pyproject.toml +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/setup.cfg +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/__init__.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/agents/__init__.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/code_reviewer.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/code_runner.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/file_tracker.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/history_formatter.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/models.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/orchestrator.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/pattern_detector.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/agent_plan.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/code_guardrail.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/contextual_summary.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/observation.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/salvage_response.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/system/codeact.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/system/csv_analyst.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/system/function_calling.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/system/observer.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/system/plan_updater.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/system/planner.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/system/react.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/prompts/update_plan.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/tools.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/tracer.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent/usage_tracker.py +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent.egg-info/SOURCES.txt +0 -0
- {kodeagent-0.14.0 → kodeagent-0.14.2}/src/kodeagent.egg-info/dependency_links.txt +0 -0
- {kodeagent-0.14.0 → 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,25 +11,25 @@ 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
|
-
Requires-Dist: python-dotenv~=1.
|
|
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
|
-
Requires-Dist: json_repair~=0.59.
|
|
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
|
|
25
|
-
Requires-Dist: ddgs~=9.14.
|
|
26
|
-
Requires-Dist: lxml~=6.1.
|
|
25
|
+
Requires-Dist: ddgs~=9.14.4
|
|
26
|
+
Requires-Dist: lxml~=6.1.1
|
|
27
27
|
Requires-Dist: beautifulsoup4~=4.14.3
|
|
28
28
|
Requires-Dist: markitdown[docx,pdf,xlsx]~=0.1.5
|
|
29
29
|
Requires-Dist: youtube-transcript-api~=1.2.4
|
|
30
30
|
Requires-Dist: wikipedia~=1.4.0
|
|
31
|
-
Requires-Dist: arxiv~=
|
|
32
|
-
Requires-Dist: urllib3~=2.
|
|
31
|
+
Requires-Dist: arxiv~=4.0.0
|
|
32
|
+
Requires-Dist: urllib3~=2.7.0
|
|
33
33
|
Requires-Dist: langfuse<3,>=2
|
|
34
34
|
Dynamic: license-file
|
|
35
35
|
|
|
@@ -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
|
-
python-dotenv~=1.
|
|
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
|
-
json_repair~=0.59.
|
|
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
|
|
|
@@ -13,14 +13,14 @@ h11~=0.16.0
|
|
|
13
13
|
rich~=15.0.0
|
|
14
14
|
|
|
15
15
|
# Dependencies for the tools
|
|
16
|
-
ddgs~=9.14.
|
|
17
|
-
lxml~=6.1.
|
|
16
|
+
ddgs~=9.14.4
|
|
17
|
+
lxml~=6.1.1
|
|
18
18
|
beautifulsoup4~=4.14.3
|
|
19
19
|
markitdown[pdf, docx, xlsx]~=0.1.5
|
|
20
20
|
youtube-transcript-api~=1.2.4
|
|
21
21
|
wikipedia~=1.4.0
|
|
22
|
-
arxiv~=
|
|
23
|
-
urllib3~=2.
|
|
22
|
+
arxiv~=4.0.0
|
|
23
|
+
urllib3~=2.7.0
|
|
24
24
|
|
|
25
25
|
# Observability
|
|
26
26
|
langfuse>=2,<3
|
|
@@ -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.
|
|
@@ -414,10 +414,12 @@ class FunctionCallingAgent:
|
|
|
414
414
|
)
|
|
415
415
|
await planner.create_plan(task=self.task, agent_type='fca')
|
|
416
416
|
formatted_plan = planner.get_formatted_plan()
|
|
417
|
-
self.chat_history.append(
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
417
|
+
self.chat_history.append(
|
|
418
|
+
{
|
|
419
|
+
'role': 'user',
|
|
420
|
+
'content': f'Here is a plan for this task:\n{formatted_plan}',
|
|
421
|
+
}
|
|
422
|
+
)
|
|
421
423
|
logger.info('Task plan:\n%s\n', formatted_plan)
|
|
422
424
|
|
|
423
425
|
def _format_history_as_text(self) -> str:
|
|
@@ -533,7 +535,10 @@ class FunctionCallingAgent:
|
|
|
533
535
|
)
|
|
534
536
|
|
|
535
537
|
await self._run_init(
|
|
536
|
-
task,
|
|
538
|
+
task,
|
|
539
|
+
files,
|
|
540
|
+
use_planning=use_planning,
|
|
541
|
+
recurrent_mode=recurrent_mode,
|
|
537
542
|
chat_history=chat_history,
|
|
538
543
|
)
|
|
539
544
|
|
|
@@ -762,7 +767,7 @@ class FunctionCallingAgent:
|
|
|
762
767
|
|
|
763
768
|
async def main():
|
|
764
769
|
"""Example usage of the FunctionCallingAgent."""
|
|
765
|
-
model_name = 'gemini/gemini-2.
|
|
770
|
+
model_name = 'gemini/gemini-2.5-flash-lite'
|
|
766
771
|
# Some smaller models with 8-bit quantization or higher can perform well with function calling
|
|
767
772
|
# model_name='ollama/qwen3:8b-q8_0'
|
|
768
773
|
# model_name = 'ollama/qwen3:4b-instruct-2507-fp16'
|
|
@@ -1300,11 +1300,13 @@ class ReActAgent(Agent):
|
|
|
1300
1300
|
tool_call_id = self._get_last_tool_call_id()
|
|
1301
1301
|
|
|
1302
1302
|
# Always use role='tool' for tool results
|
|
1303
|
-
self.add_to_history(
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1303
|
+
self.add_to_history(
|
|
1304
|
+
{
|
|
1305
|
+
'role': 'tool',
|
|
1306
|
+
'content': str(result),
|
|
1307
|
+
'tool_call_id': tool_call_id,
|
|
1308
|
+
}
|
|
1309
|
+
)
|
|
1308
1310
|
|
|
1309
1311
|
act_span.update(
|
|
1310
1312
|
status='success',
|
|
@@ -1346,11 +1348,13 @@ class ReActAgent(Agent):
|
|
|
1346
1348
|
tool_call_id = self._get_last_tool_call_id()
|
|
1347
1349
|
|
|
1348
1350
|
# Use role='tool' for tool errors too
|
|
1349
|
-
self.add_to_history(
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1351
|
+
self.add_to_history(
|
|
1352
|
+
{
|
|
1353
|
+
'role': 'tool',
|
|
1354
|
+
'content': result,
|
|
1355
|
+
'tool_call_id': tool_call_id,
|
|
1356
|
+
}
|
|
1357
|
+
)
|
|
1354
1358
|
yield self.response(
|
|
1355
1359
|
rtype='step',
|
|
1356
1360
|
value=result,
|
|
@@ -520,9 +520,7 @@ def validate_chat_history(history: list[dict], tool_names: set[str] | None = Non
|
|
|
520
520
|
ValueError: If the history fails any structural or compliance check.
|
|
521
521
|
"""
|
|
522
522
|
if not isinstance(history, list):
|
|
523
|
-
raise ValueError(
|
|
524
|
-
f'chat_history must be a list[dict], got {type(history).__name__}.'
|
|
525
|
-
)
|
|
523
|
+
raise ValueError(f'chat_history must be a list[dict], got {type(history).__name__}.')
|
|
526
524
|
if not history:
|
|
527
525
|
raise ValueError('chat_history must not be empty.')
|
|
528
526
|
|
|
@@ -532,23 +530,20 @@ def validate_chat_history(history: list[dict], tool_names: set[str] | None = Non
|
|
|
532
530
|
for idx, msg in enumerate(history):
|
|
533
531
|
if not isinstance(msg, dict):
|
|
534
532
|
raise ValueError(
|
|
535
|
-
f'chat_history[{idx}]: each message must be a dict, '
|
|
536
|
-
f'got {type(msg).__name__}.'
|
|
533
|
+
f'chat_history[{idx}]: each message must be a dict, got {type(msg).__name__}.'
|
|
537
534
|
)
|
|
538
535
|
|
|
539
536
|
role = msg.get('role')
|
|
540
537
|
if role not in VALID_ROLES:
|
|
541
538
|
raise ValueError(
|
|
542
|
-
f"chat_history[{idx}]: 'role' must be one of {sorted(VALID_ROLES)}, "
|
|
543
|
-
f"got {role!r}."
|
|
539
|
+
f"chat_history[{idx}]: 'role' must be one of {sorted(VALID_ROLES)}, got {role!r}."
|
|
544
540
|
)
|
|
545
541
|
|
|
546
542
|
# ── system message rules ──────────────────────────────────────────
|
|
547
543
|
if role == 'system':
|
|
548
544
|
if idx != 0:
|
|
549
545
|
raise ValueError(
|
|
550
|
-
f'chat_history[{idx}]: system message must be at index 0, '
|
|
551
|
-
f'not at index {idx}.'
|
|
546
|
+
f'chat_history[{idx}]: system message must be at index 0, not at index {idx}.'
|
|
552
547
|
)
|
|
553
548
|
system_seen_at = idx
|
|
554
549
|
if msg.get('content') is None:
|
|
@@ -592,7 +587,7 @@ def validate_chat_history(history: list[dict], tool_names: set[str] | None = Non
|
|
|
592
587
|
f'chat_history[{idx}].tool_calls[{tc_idx}]: '
|
|
593
588
|
f"missing or empty 'id' (string required)."
|
|
594
589
|
)
|
|
595
|
-
|
|
590
|
+
|
|
596
591
|
# Track for subsequent tool result validation
|
|
597
592
|
requested_tool_call_ids.add(tc_id)
|
|
598
593
|
|
|
@@ -640,19 +635,17 @@ def validate_chat_history(history: list[dict], tool_names: set[str] | None = Non
|
|
|
640
635
|
name = msg.get('name')
|
|
641
636
|
if not name or not isinstance(name, str):
|
|
642
637
|
raise ValueError(
|
|
643
|
-
f"chat_history[{idx}]: tool message missing or empty 'name' "
|
|
644
|
-
f'(string required).'
|
|
638
|
+
f"chat_history[{idx}]: tool message missing or empty 'name' (string required)."
|
|
645
639
|
)
|
|
646
640
|
if not isinstance(msg.get('content'), str):
|
|
647
641
|
raise ValueError(
|
|
648
642
|
f"chat_history[{idx}]: tool message 'content' must be a string, "
|
|
649
|
-
f
|
|
643
|
+
f'got {type(msg.get("content")).__name__}.'
|
|
650
644
|
)
|
|
651
645
|
# Ensure this result refers to a tool call that was actually requested
|
|
652
646
|
if tc_id not in requested_tool_call_ids:
|
|
653
647
|
raise ValueError(
|
|
654
|
-
f
|
|
655
|
-
f"tool_call_id {tc_id!r}."
|
|
648
|
+
f'chat_history[{idx}]: tool message refers to unknown tool_call_id {tc_id!r}.'
|
|
656
649
|
)
|
|
657
650
|
|
|
658
651
|
# ── pending tool call check ───────────────────────────────────────────
|
|
@@ -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,25 +11,25 @@ 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
|
-
Requires-Dist: python-dotenv~=1.
|
|
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
|
-
Requires-Dist: json_repair~=0.59.
|
|
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
|
|
25
|
-
Requires-Dist: ddgs~=9.14.
|
|
26
|
-
Requires-Dist: lxml~=6.1.
|
|
25
|
+
Requires-Dist: ddgs~=9.14.4
|
|
26
|
+
Requires-Dist: lxml~=6.1.1
|
|
27
27
|
Requires-Dist: beautifulsoup4~=4.14.3
|
|
28
28
|
Requires-Dist: markitdown[docx,pdf,xlsx]~=0.1.5
|
|
29
29
|
Requires-Dist: youtube-transcript-api~=1.2.4
|
|
30
30
|
Requires-Dist: wikipedia~=1.4.0
|
|
31
|
-
Requires-Dist: arxiv~=
|
|
32
|
-
Requires-Dist: urllib3~=2.
|
|
31
|
+
Requires-Dist: arxiv~=4.0.0
|
|
32
|
+
Requires-Dist: urllib3~=2.7.0
|
|
33
33
|
Requires-Dist: langfuse<3,>=2
|
|
34
34
|
Dynamic: license-file
|
|
35
35
|
|
|
@@ -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,20 +1,20 @@
|
|
|
1
|
-
litellm~=1.
|
|
1
|
+
litellm~=1.87.1
|
|
2
2
|
pydantic~=2.12.5
|
|
3
|
-
python-dotenv~=1.
|
|
3
|
+
python-dotenv~=1.2.2
|
|
4
4
|
e2b-code-interpreter~=2.6.0
|
|
5
5
|
requests~=2.33.1
|
|
6
|
-
json_repair~=0.59.
|
|
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
|
|
12
|
-
ddgs~=9.14.
|
|
13
|
-
lxml~=6.1.
|
|
12
|
+
ddgs~=9.14.4
|
|
13
|
+
lxml~=6.1.1
|
|
14
14
|
beautifulsoup4~=4.14.3
|
|
15
15
|
markitdown[docx,pdf,xlsx]~=0.1.5
|
|
16
16
|
youtube-transcript-api~=1.2.4
|
|
17
17
|
wikipedia~=1.4.0
|
|
18
|
-
arxiv~=
|
|
19
|
-
urllib3~=2.
|
|
18
|
+
arxiv~=4.0.0
|
|
19
|
+
urllib3~=2.7.0
|
|
20
20
|
langfuse<3,>=2
|
|
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
|