versionhq 1.1.10.7__tar.gz → 1.1.10.9__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.
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/.github/workflows/publish.yml +1 -1
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/.github/workflows/run_tests.yml +2 -1
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/.github/workflows/security_check.yml +1 -1
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/.gitignore +3 -2
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/.pre-commit-config.yaml +1 -1
- versionhq-1.1.10.9/.python-version +1 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/PKG-INFO +48 -39
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/README.md +41 -38
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/pyproject.toml +9 -3
- versionhq-1.1.10.9/requirements.txt +690 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/runtime.txt +1 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/__init__.py +1 -1
- versionhq-1.1.10.9/src/versionhq/_utils/vars.py +2 -0
- versionhq-1.1.10.9/src/versionhq/agent/TEMPLATES/Backstory.py +4 -0
- versionhq-1.1.10.9/src/versionhq/agent/default_agents.py +10 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/agent/model.py +127 -39
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/agent/parser.py +3 -20
- {versionhq-1.1.10.7/src/versionhq/_utils → versionhq-1.1.10.9/src/versionhq/agent}/rpm_controller.py +22 -15
- versionhq-1.1.10.9/src/versionhq/knowledge/_utils.py +11 -0
- versionhq-1.1.10.9/src/versionhq/knowledge/embedding.py +192 -0
- versionhq-1.1.10.9/src/versionhq/knowledge/model.py +54 -0
- versionhq-1.1.10.9/src/versionhq/knowledge/source.py +413 -0
- versionhq-1.1.10.9/src/versionhq/knowledge/source_docling.py +129 -0
- versionhq-1.1.10.9/src/versionhq/knowledge/storage.py +177 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/llm/model.py +76 -62
- versionhq-1.1.10.9/src/versionhq/memory/contextual_memory.py +96 -0
- versionhq-1.1.10.9/src/versionhq/memory/model.py +174 -0
- versionhq-1.1.10.9/src/versionhq/storage/base.py +14 -0
- versionhq-1.1.10.9/src/versionhq/storage/ltm_sqlite_storage.py +131 -0
- versionhq-1.1.10.9/src/versionhq/storage/mem0_storage.py +109 -0
- versionhq-1.1.10.9/src/versionhq/storage/rag_storage.py +231 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/storage/task_output_storage.py +18 -29
- versionhq-1.1.10.9/src/versionhq/storage/utils.py +26 -0
- versionhq-1.1.10.9/src/versionhq/task/TEMPLATES/Description.py +5 -0
- versionhq-1.1.10.9/src/versionhq/task/evaluate.py +122 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/task/model.py +134 -43
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/team/team_planner.py +1 -1
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/tool/model.py +44 -46
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq.egg-info/PKG-INFO +48 -39
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq.egg-info/SOURCES.txt +25 -1
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq.egg-info/requires.txt +6 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/agent/agent_test.py +92 -12
- {versionhq-1.1.10.7/tests/tool → versionhq-1.1.10.9/tests/knowledge}/__init__.py +0 -0
- versionhq-1.1.10.9/tests/knowledge/knowledge_test.py +389 -0
- versionhq-1.1.10.9/tests/knowledge/mock_report_compressed.pdf +0 -0
- versionhq-1.1.10.9/tests/llm/__init__.py +0 -0
- versionhq-1.1.10.9/tests/memory/__init__.py +0 -0
- versionhq-1.1.10.9/tests/memory/memory_test.py +83 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/task/task_test.py +56 -7
- versionhq-1.1.10.9/tests/team/__init__.py +0 -0
- versionhq-1.1.10.9/tests/tool/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/tool/tool_test.py +2 -3
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/uv.lock +2085 -100
- versionhq-1.1.10.7/.python-version +0 -1
- versionhq-1.1.10.7/requirements.txt +0 -285
- versionhq-1.1.10.7/src/versionhq/agent/TEMPLATES/Backstory.py +0 -4
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/.github/workflows/publish_testpypi.yml +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/LICENSE +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/SECURITY.md +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/db/preprocess.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/requirements-dev.txt +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/setup.cfg +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/_utils/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/_utils/i18n.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/_utils/logger.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/_utils/process_config.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/_utils/usage_metrics.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/agent/TEMPLATES/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/agent/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/cli/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/clients/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/clients/customer/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/clients/customer/model.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/clients/product/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/clients/product/model.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/clients/workflow/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/clients/workflow/model.py +0 -0
- {versionhq-1.1.10.7/src/versionhq/llm → versionhq-1.1.10.9/src/versionhq/knowledge}/__init__.py +0 -0
- {versionhq-1.1.10.7/src/versionhq/storage → versionhq-1.1.10.9/src/versionhq/llm}/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/llm/llm_vars.py +0 -0
- {versionhq-1.1.10.7/src/versionhq/team → versionhq-1.1.10.9/src/versionhq/memory}/__init__.py +0 -0
- {versionhq-1.1.10.7/src/versionhq/tool → versionhq-1.1.10.9/src/versionhq/storage}/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/task/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/task/formatter.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/task/log_handler.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/task/structured_response.py +0 -0
- {versionhq-1.1.10.7/tests → versionhq-1.1.10.9/src/versionhq/team}/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/team/model.py +0 -0
- {versionhq-1.1.10.7/tests/agent → versionhq-1.1.10.9/src/versionhq/tool}/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/tool/cache_handler.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/tool/composio_tool.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/tool/composio_tool_vars.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/tool/decorator.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq/tool/tool_handler.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq.egg-info/dependency_links.txt +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/src/versionhq.egg-info/top_level.txt +0 -0
- {versionhq-1.1.10.7/tests/cli → versionhq-1.1.10.9/tests}/__init__.py +0 -0
- {versionhq-1.1.10.7/tests/llm → versionhq-1.1.10.9/tests/agent}/__init__.py +0 -0
- {versionhq-1.1.10.7/tests/team → versionhq-1.1.10.9/tests/cli}/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/clients/customer_test.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/clients/product_test.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/clients/workflow_test.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/conftest.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/llm/llm_test.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/task/__init__.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/team/Prompts/Demo_test.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/team/team_test.py +0 -0
- {versionhq-1.1.10.7 → versionhq-1.1.10.9}/tests/tool/composio_test.py +0 -0
@@ -17,6 +17,7 @@ env:
|
|
17
17
|
GEMINI_API_BASE: ${{ secrets.GEMINI_API_BASE }}
|
18
18
|
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
19
19
|
ANTHROPIC_API_BASE: ${{ secrets.ANTHROPIC_API_BASE }}
|
20
|
+
MEM0_API_KEY: ${{ secrets.MEM0_API_KEY }}
|
20
21
|
|
21
22
|
jobs:
|
22
23
|
run_test:
|
@@ -34,7 +35,7 @@ jobs:
|
|
34
35
|
|
35
36
|
- name: Set up the project
|
36
37
|
run: |
|
37
|
-
uv venv --python 3.
|
38
|
+
uv venv --python 3.12.8
|
38
39
|
source .venv/bin/activate
|
39
40
|
uv pip install --upgrade pip pytest
|
40
41
|
uv pip install -r requirements.txt
|
@@ -0,0 +1 @@
|
|
1
|
+
3.12.8
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: versionhq
|
3
|
-
Version: 1.1.10.
|
3
|
+
Version: 1.1.10.9
|
4
4
|
Summary: LLM orchestration frameworks for model-agnostic AI agents that handle complex outbound workflows
|
5
5
|
Author-email: Kuriko Iwai <kuriko@versi0n.io>
|
6
6
|
License: MIT License
|
@@ -56,24 +56,29 @@ Requires-Dist: appdirs>=1.4.4
|
|
56
56
|
Requires-Dist: langchain>=0.3.14
|
57
57
|
Requires-Dist: langchain-openai>=0.2.14
|
58
58
|
Requires-Dist: composio-langchain>=0.6.12
|
59
|
+
Requires-Dist: chromadb>=0.6.3
|
60
|
+
Requires-Dist: docling>=2.16.0
|
61
|
+
Requires-Dist: json-repair>=0.35.0
|
62
|
+
Requires-Dist: wheel>=0.45.1
|
63
|
+
Requires-Dist: pdfplumber>=0.11.5
|
64
|
+
Requires-Dist: mem0ai>=0.1.48
|
59
65
|
|
60
66
|
# Overview
|
61
67
|
|
62
68
|

|
63
69
|
[](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
|
64
70
|

|
65
|
-

|
66
72
|

|
67
73
|
|
68
74
|
|
69
|
-
LLM orchestration frameworks to deploy multi-agent systems
|
75
|
+
LLM orchestration frameworks to deploy multi-agent systems with task-based formation.
|
70
76
|
|
71
77
|
**Visit:**
|
72
78
|
|
73
79
|
- [PyPI](https://pypi.org/project/versionhq/)
|
74
80
|
- [Github (LLM orchestration framework)](https://github.com/versionHQ/multi-agent-system)
|
75
|
-
- [
|
76
|
-
- [Use case](https://versi0n.io/playground) / [Quick demo](https://res.cloudinary.com/dfeirxlea/video/upload/v1737732977/pj_m_home/pnsyh5mfvmilwgt0eusa.mov)
|
81
|
+
- [Use case](https://versi0n.io/) / [Quick demo](https://res.cloudinary.com/dfeirxlea/video/upload/v1737732977/pj_m_home/pnsyh5mfvmilwgt0eusa.mov)
|
77
82
|
- [Documentation](https://chief-oxygen-8a2.notion.site/Documentation-17e923685cf98001a5fad5c4b2acd79b?pvs=4) *Some components are under review.
|
78
83
|
|
79
84
|
|
@@ -86,9 +91,9 @@ LLM orchestration frameworks to deploy multi-agent systems focusing on complex o
|
|
86
91
|
- [Key Features](#key-features)
|
87
92
|
- [Agent formation](#agent-formation)
|
88
93
|
- [Quick Start](#quick-start)
|
89
|
-
- [Case 1.
|
94
|
+
- [Case 1. Solo Agent:](#case-1-solo-agent)
|
90
95
|
- [Return a structured output with a summary in string.](#return-a-structured-output-with-a-summary-in-string)
|
91
|
-
- [Case 2.
|
96
|
+
- [Case 2. Supervising:](#case-2-supervising)
|
92
97
|
- [Technologies Used](#technologies-used)
|
93
98
|
- [Project Structure](#project-structure)
|
94
99
|
- [Setup](#setup)
|
@@ -133,10 +138,10 @@ You can specify which formation you want them to generate, or let the agent deci
|
|
133
138
|
pip install versionhq
|
134
139
|
```
|
135
140
|
|
136
|
-
(Python >= 3.
|
141
|
+
(Python >= 3.12)
|
137
142
|
|
138
143
|
|
139
|
-
### Case 1.
|
144
|
+
### Case 1. Solo Agent:
|
140
145
|
|
141
146
|
#### Return a structured output with a summary in string.
|
142
147
|
|
@@ -177,7 +182,7 @@ This will return `TaskOutput` that stores a response in string, JSON dict, and P
|
|
177
182
|
)
|
178
183
|
```
|
179
184
|
|
180
|
-
### Case 2.
|
185
|
+
### Case 2. Supervising:
|
181
186
|
|
182
187
|
```
|
183
188
|
from versionhq.agent.model import Agent
|
@@ -212,19 +217,21 @@ This will return a list with dictionaries with keys defined in the `ResponseFiel
|
|
212
217
|
|
213
218
|
Tasks can be delegated to a team manager, peers in the team, or completely new agent.
|
214
219
|
|
215
|
-
|
216
220
|
<hr />
|
217
221
|
|
218
222
|
## Technologies Used
|
219
|
-
**Schema,
|
220
|
-
- [Pydantic](https://docs.pydantic.dev/latest/): Data validation and serialization library for Python
|
221
|
-
- [Pydantic_core](https://pypi.org/project/pydantic-core/): Core func packages for Pydantic
|
222
|
-
- [Chroma DB](https://docs.trychroma.com/): Vector database for storing and querying usage data
|
223
|
-
- [SQLite](https://www.sqlite.org/docs.html): C-language library to implements a small SQL database engine
|
223
|
+
**Schema, Data Validation**
|
224
|
+
- [Pydantic](https://docs.pydantic.dev/latest/): Data validation and serialization library for Python.
|
225
|
+
- [Pydantic_core](https://pypi.org/project/pydantic-core/): Core func packages for Pydantic.
|
224
226
|
- [Upstage](https://console.upstage.ai/docs/getting-started/overview): Document processer for ML tasks. (Use `Document Parser API` to extract data from documents)
|
227
|
+
- [Docling](https://ds4sd.github.io/docling/): Document parsing
|
228
|
+
|
229
|
+
**Storage**
|
230
|
+
- [mem0ai](https://docs.mem0.ai/quickstart#install-package): Agents' memory storage and management.
|
231
|
+
- [Chroma DB](https://docs.trychroma.com/): Vector database for storing and querying usage data.
|
232
|
+
- [SQLite](https://www.sqlite.org/docs.html): C-language library to implements a small SQL database engine.
|
225
233
|
|
226
234
|
**LLM-curation**
|
227
|
-
- OpenAI GPT-4: Advanced language model for analysis and recommendations
|
228
235
|
- [LiteLLM](https://docs.litellm.ai/docs/providers): Curation platform to access LLMs
|
229
236
|
|
230
237
|
**Tools**
|
@@ -242,27 +249,29 @@ Tasks can be delegated to a team manager, peers in the team, or completely new a
|
|
242
249
|
|
243
250
|
```
|
244
251
|
.
|
252
|
+
.github
|
253
|
+
└── workflows/ # Github actions
|
254
|
+
│
|
245
255
|
src/
|
246
|
-
└──
|
247
|
-
│
|
248
|
-
│
|
249
|
-
│
|
250
|
-
│
|
251
|
-
│
|
252
|
-
│
|
253
|
-
│
|
254
|
-
│
|
255
|
-
│
|
256
|
-
│
|
257
|
-
│
|
258
|
-
│
|
256
|
+
└── versionhq/ # Orchestration frameworks
|
257
|
+
│ ├── agent/ # Components
|
258
|
+
│ └── llm/
|
259
|
+
│ └── task/
|
260
|
+
│ └── team/
|
261
|
+
│ └── tool/
|
262
|
+
│ └── cli/
|
263
|
+
│ └── ...
|
264
|
+
│ │
|
265
|
+
│ ├── db/ # Storage
|
266
|
+
│ ├── chroma.sqlite3
|
267
|
+
│ └── ...
|
268
|
+
│
|
269
|
+
└──tests/ # Pytest
|
270
|
+
│ └── agent/
|
271
|
+
│ └── llm/
|
272
|
+
│ └── ...
|
259
273
|
│
|
260
|
-
└──
|
261
|
-
└── cli/
|
262
|
-
└── team/
|
263
|
-
└── ...
|
264
|
-
│
|
265
|
-
└── uploads/ # Uploaded files for the project
|
274
|
+
└── uploads/ # Local repo to store the uploaded files
|
266
275
|
|
267
276
|
```
|
268
277
|
|
@@ -284,9 +293,9 @@ src/
|
|
284
293
|
|
285
294
|
* In case of AssertionError/module mismatch, run Python version control using `.pyenv`
|
286
295
|
```
|
287
|
-
pyenv install 3.
|
288
|
-
pyenv global 3.
|
289
|
-
uv python pin 3.
|
296
|
+
pyenv install 3.12.8
|
297
|
+
pyenv global 3.12.8 (optional: `pyenv global system` to get back to the system default ver.)
|
298
|
+
uv python pin 3.12.8
|
290
299
|
```
|
291
300
|
|
292
301
|
3. Set up environment variables:
|
@@ -3,18 +3,17 @@
|
|
3
3
|

|
4
4
|
[](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
|
5
5
|

|
6
|
-

|
7
7
|

|
8
8
|
|
9
9
|
|
10
|
-
LLM orchestration frameworks to deploy multi-agent systems
|
10
|
+
LLM orchestration frameworks to deploy multi-agent systems with task-based formation.
|
11
11
|
|
12
12
|
**Visit:**
|
13
13
|
|
14
14
|
- [PyPI](https://pypi.org/project/versionhq/)
|
15
15
|
- [Github (LLM orchestration framework)](https://github.com/versionHQ/multi-agent-system)
|
16
|
-
- [
|
17
|
-
- [Use case](https://versi0n.io/playground) / [Quick demo](https://res.cloudinary.com/dfeirxlea/video/upload/v1737732977/pj_m_home/pnsyh5mfvmilwgt0eusa.mov)
|
16
|
+
- [Use case](https://versi0n.io/) / [Quick demo](https://res.cloudinary.com/dfeirxlea/video/upload/v1737732977/pj_m_home/pnsyh5mfvmilwgt0eusa.mov)
|
18
17
|
- [Documentation](https://chief-oxygen-8a2.notion.site/Documentation-17e923685cf98001a5fad5c4b2acd79b?pvs=4) *Some components are under review.
|
19
18
|
|
20
19
|
|
@@ -27,9 +26,9 @@ LLM orchestration frameworks to deploy multi-agent systems focusing on complex o
|
|
27
26
|
- [Key Features](#key-features)
|
28
27
|
- [Agent formation](#agent-formation)
|
29
28
|
- [Quick Start](#quick-start)
|
30
|
-
- [Case 1.
|
29
|
+
- [Case 1. Solo Agent:](#case-1-solo-agent)
|
31
30
|
- [Return a structured output with a summary in string.](#return-a-structured-output-with-a-summary-in-string)
|
32
|
-
- [Case 2.
|
31
|
+
- [Case 2. Supervising:](#case-2-supervising)
|
33
32
|
- [Technologies Used](#technologies-used)
|
34
33
|
- [Project Structure](#project-structure)
|
35
34
|
- [Setup](#setup)
|
@@ -74,10 +73,10 @@ You can specify which formation you want them to generate, or let the agent deci
|
|
74
73
|
pip install versionhq
|
75
74
|
```
|
76
75
|
|
77
|
-
(Python >= 3.
|
76
|
+
(Python >= 3.12)
|
78
77
|
|
79
78
|
|
80
|
-
### Case 1.
|
79
|
+
### Case 1. Solo Agent:
|
81
80
|
|
82
81
|
#### Return a structured output with a summary in string.
|
83
82
|
|
@@ -118,7 +117,7 @@ This will return `TaskOutput` that stores a response in string, JSON dict, and P
|
|
118
117
|
)
|
119
118
|
```
|
120
119
|
|
121
|
-
### Case 2.
|
120
|
+
### Case 2. Supervising:
|
122
121
|
|
123
122
|
```
|
124
123
|
from versionhq.agent.model import Agent
|
@@ -153,19 +152,21 @@ This will return a list with dictionaries with keys defined in the `ResponseFiel
|
|
153
152
|
|
154
153
|
Tasks can be delegated to a team manager, peers in the team, or completely new agent.
|
155
154
|
|
156
|
-
|
157
155
|
<hr />
|
158
156
|
|
159
157
|
## Technologies Used
|
160
|
-
**Schema,
|
161
|
-
- [Pydantic](https://docs.pydantic.dev/latest/): Data validation and serialization library for Python
|
162
|
-
- [Pydantic_core](https://pypi.org/project/pydantic-core/): Core func packages for Pydantic
|
163
|
-
- [Chroma DB](https://docs.trychroma.com/): Vector database for storing and querying usage data
|
164
|
-
- [SQLite](https://www.sqlite.org/docs.html): C-language library to implements a small SQL database engine
|
158
|
+
**Schema, Data Validation**
|
159
|
+
- [Pydantic](https://docs.pydantic.dev/latest/): Data validation and serialization library for Python.
|
160
|
+
- [Pydantic_core](https://pypi.org/project/pydantic-core/): Core func packages for Pydantic.
|
165
161
|
- [Upstage](https://console.upstage.ai/docs/getting-started/overview): Document processer for ML tasks. (Use `Document Parser API` to extract data from documents)
|
162
|
+
- [Docling](https://ds4sd.github.io/docling/): Document parsing
|
163
|
+
|
164
|
+
**Storage**
|
165
|
+
- [mem0ai](https://docs.mem0.ai/quickstart#install-package): Agents' memory storage and management.
|
166
|
+
- [Chroma DB](https://docs.trychroma.com/): Vector database for storing and querying usage data.
|
167
|
+
- [SQLite](https://www.sqlite.org/docs.html): C-language library to implements a small SQL database engine.
|
166
168
|
|
167
169
|
**LLM-curation**
|
168
|
-
- OpenAI GPT-4: Advanced language model for analysis and recommendations
|
169
170
|
- [LiteLLM](https://docs.litellm.ai/docs/providers): Curation platform to access LLMs
|
170
171
|
|
171
172
|
**Tools**
|
@@ -183,27 +184,29 @@ Tasks can be delegated to a team manager, peers in the team, or completely new a
|
|
183
184
|
|
184
185
|
```
|
185
186
|
.
|
187
|
+
.github
|
188
|
+
└── workflows/ # Github actions
|
189
|
+
│
|
186
190
|
src/
|
187
|
-
└──
|
188
|
-
│
|
189
|
-
│
|
190
|
-
│
|
191
|
-
│
|
192
|
-
│
|
193
|
-
│
|
194
|
-
│
|
195
|
-
│
|
196
|
-
│
|
197
|
-
│
|
198
|
-
│
|
199
|
-
│
|
191
|
+
└── versionhq/ # Orchestration frameworks
|
192
|
+
│ ├── agent/ # Components
|
193
|
+
│ └── llm/
|
194
|
+
│ └── task/
|
195
|
+
│ └── team/
|
196
|
+
│ └── tool/
|
197
|
+
│ └── cli/
|
198
|
+
│ └── ...
|
199
|
+
│ │
|
200
|
+
│ ├── db/ # Storage
|
201
|
+
│ ├── chroma.sqlite3
|
202
|
+
│ └── ...
|
203
|
+
│
|
204
|
+
└──tests/ # Pytest
|
205
|
+
│ └── agent/
|
206
|
+
│ └── llm/
|
207
|
+
│ └── ...
|
200
208
|
│
|
201
|
-
└──
|
202
|
-
└── cli/
|
203
|
-
└── team/
|
204
|
-
└── ...
|
205
|
-
│
|
206
|
-
└── uploads/ # Uploaded files for the project
|
209
|
+
└── uploads/ # Local repo to store the uploaded files
|
207
210
|
|
208
211
|
```
|
209
212
|
|
@@ -225,9 +228,9 @@ src/
|
|
225
228
|
|
226
229
|
* In case of AssertionError/module mismatch, run Python version control using `.pyenv`
|
227
230
|
```
|
228
|
-
pyenv install 3.
|
229
|
-
pyenv global 3.
|
230
|
-
uv python pin 3.
|
231
|
+
pyenv install 3.12.8
|
232
|
+
pyenv global 3.12.8 (optional: `pyenv global system` to get back to the system default ver.)
|
233
|
+
uv python pin 3.12.8
|
231
234
|
```
|
232
235
|
|
233
236
|
3. Set up environment variables:
|
@@ -15,7 +15,7 @@ exclude = ["test*", "__pycache__"]
|
|
15
15
|
|
16
16
|
[project]
|
17
17
|
name = "versionhq"
|
18
|
-
version = "1.1.10.
|
18
|
+
version = "1.1.10.9"
|
19
19
|
authors = [{ name = "Kuriko Iwai", email = "kuriko@versi0n.io" }]
|
20
20
|
description = "LLM orchestration frameworks for model-agnostic AI agents that handle complex outbound workflows"
|
21
21
|
readme = "README.md"
|
@@ -39,7 +39,13 @@ dependencies = [
|
|
39
39
|
"appdirs>=1.4.4",
|
40
40
|
"langchain>=0.3.14",
|
41
41
|
"langchain-openai>=0.2.14",
|
42
|
-
"composio-langchain>=0.6.12"
|
42
|
+
"composio-langchain>=0.6.12",
|
43
|
+
"chromadb>=0.6.3",
|
44
|
+
"docling>=2.16.0",
|
45
|
+
"json-repair>=0.35.0",
|
46
|
+
"wheel>=0.45.1",
|
47
|
+
"pdfplumber>=0.11.5",
|
48
|
+
"mem0ai>=0.1.48",
|
43
49
|
]
|
44
50
|
classifiers = [
|
45
51
|
"Programming Language :: Python",
|
@@ -47,7 +53,7 @@ classifiers = [
|
|
47
53
|
"Operating System :: OS Independent",
|
48
54
|
"Development Status :: 3 - Alpha",
|
49
55
|
"Intended Audience :: Developers",
|
50
|
-
"Topic :: Software Development :: Build Tools"
|
56
|
+
"Topic :: Software Development :: Build Tools"
|
51
57
|
]
|
52
58
|
|
53
59
|
[project.urls]
|