tinyagent-py 0.0.3__tar.gz → 0.0.4__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.
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/PKG-INFO +47 -2
- tinyagent_py-0.0.3/tinyagent/tinyagent_py.egg-info/PKG-INFO → tinyagent_py-0.0.4/README.md +31 -19
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/pyproject.toml +21 -4
- tinyagent_py-0.0.3/README.md → tinyagent_py-0.0.4/tinyagent/tinyagent_py.egg-info/PKG-INFO +64 -1
- tinyagent_py-0.0.4/tinyagent/tinyagent_py.egg-info/requires.txt +25 -0
- tinyagent_py-0.0.3/tinyagent/tinyagent_py.egg-info/requires.txt +0 -6
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/LICENSE +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/setup.cfg +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/hooks/__init__.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/hooks/agno_storage_hook.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/hooks/gradio_callback.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/hooks/logging_manager.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/hooks/rich_ui_callback.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/storage/__init__.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/storage/agno_storage.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/storage/base.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/storage/json_file_storage.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/storage/postgres_storage.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/storage/redis_storage.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/storage/sqlite_storage.py +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/tinyagent_py.egg-info/SOURCES.txt +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/tinyagent_py.egg-info/dependency_links.txt +0 -0
- {tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/tinyagent_py.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tinyagent-py
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.4
|
4
4
|
Summary: Tiny Agent with MCP Client
|
5
5
|
Author-email: Mahdi Golchin <golchin@askdev.ai>
|
6
6
|
Project-URL: Homepage, https://github.com/askbudi/tinyagent
|
@@ -12,8 +12,23 @@ License-File: LICENSE
|
|
12
12
|
Requires-Dist: mcp
|
13
13
|
Requires-Dist: litellm
|
14
14
|
Requires-Dist: openai
|
15
|
+
Requires-Dist: tiktoken
|
16
|
+
Requires-Dist: uuid
|
15
17
|
Provides-Extra: dev
|
16
18
|
Requires-Dist: pytest; extra == "dev"
|
19
|
+
Requires-Dist: black; extra == "dev"
|
20
|
+
Requires-Dist: isort; extra == "dev"
|
21
|
+
Requires-Dist: mypy; extra == "dev"
|
22
|
+
Provides-Extra: postgres
|
23
|
+
Requires-Dist: asyncpg>=0.27.0; extra == "postgres"
|
24
|
+
Provides-Extra: sqlite
|
25
|
+
Requires-Dist: aiosqlite>=0.18.0; extra == "sqlite"
|
26
|
+
Provides-Extra: gradio
|
27
|
+
Requires-Dist: gradio>=3.50.0; extra == "gradio"
|
28
|
+
Provides-Extra: all
|
29
|
+
Requires-Dist: asyncpg>=0.27.0; extra == "all"
|
30
|
+
Requires-Dist: aiosqlite>=0.18.0; extra == "all"
|
31
|
+
Requires-Dist: gradio>=3.50.0; extra == "all"
|
17
32
|
Dynamic: license-file
|
18
33
|
|
19
34
|
# tinyagent
|
@@ -37,12 +52,42 @@ This is a tiny agent that uses MCP and LiteLLM to interact with a model. You hav
|
|
37
52
|
|
38
53
|
### Using pip
|
39
54
|
```bash
|
55
|
+
# Basic installation
|
40
56
|
pip install tinyagent-py
|
57
|
+
|
58
|
+
# Install with all optional dependencies
|
59
|
+
pip install tinyagent-py[all]
|
60
|
+
|
61
|
+
# Install with PostgreSQL support
|
62
|
+
pip install tinyagent-py[postgres]
|
63
|
+
|
64
|
+
# Install with SQLite support
|
65
|
+
pip install tinyagent-py[sqlite]
|
66
|
+
|
67
|
+
# Install with Gradio UI support
|
68
|
+
pip install tinyagent-py[gradio]
|
69
|
+
|
41
70
|
```
|
42
71
|
|
43
72
|
### Using uv
|
44
73
|
```bash
|
74
|
+
# Basic installation
|
45
75
|
uv pip install tinyagent-py
|
76
|
+
|
77
|
+
# Install with PostgreSQL support
|
78
|
+
uv pip install tinyagent-py[postgres]
|
79
|
+
|
80
|
+
# Install with SQLite support
|
81
|
+
uv pip install tinyagent-py[sqlite]
|
82
|
+
|
83
|
+
# Install with Gradio UI support
|
84
|
+
uv pip install tinyagent-py[gradio]
|
85
|
+
|
86
|
+
# Install with all optional dependencies
|
87
|
+
uv pip install tinyagent-py[all]
|
88
|
+
|
89
|
+
# Install with development tools
|
90
|
+
uv pip install tinyagent-py[dev]
|
46
91
|
```
|
47
92
|
|
48
93
|
## Usage
|
@@ -158,7 +203,7 @@ The `GradioCallback` hook lets you spin up a full-featured web chat interface fo
|
|
158
203
|
Features:
|
159
204
|
- **Browser-based chat** with streaming updates
|
160
205
|
- **File uploads** (\*.pdf, \*.docx, \*.txt) that the agent can reference
|
161
|
-
- **Live
|
206
|
+
- **Live "thinking" view** so you see intermediate thoughts
|
162
207
|
- **Collapsible tool-call sections** showing inputs & outputs
|
163
208
|
- **Real-time token usage** (prompt, completion, total)
|
164
209
|
- **Toggleable display options** for thinking & tool calls
|
@@ -1,21 +1,3 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: tinyagent-py
|
3
|
-
Version: 0.0.3
|
4
|
-
Summary: Tiny Agent with MCP Client
|
5
|
-
Author-email: Mahdi Golchin <golchin@askdev.ai>
|
6
|
-
Project-URL: Homepage, https://github.com/askbudi/tinyagent
|
7
|
-
Project-URL: Bug Tracker, https://github.com/askbudi/tinyagent/issues
|
8
|
-
Project-URL: Chat, https://askdev.ai/github/askbudi/tinyagent
|
9
|
-
Requires-Python: >=3.8
|
10
|
-
Description-Content-Type: text/markdown
|
11
|
-
License-File: LICENSE
|
12
|
-
Requires-Dist: mcp
|
13
|
-
Requires-Dist: litellm
|
14
|
-
Requires-Dist: openai
|
15
|
-
Provides-Extra: dev
|
16
|
-
Requires-Dist: pytest; extra == "dev"
|
17
|
-
Dynamic: license-file
|
18
|
-
|
19
1
|
# tinyagent
|
20
2
|
Tiny Agent: 100 lines Agent with MCP
|
21
3
|

|
@@ -37,12 +19,42 @@ This is a tiny agent that uses MCP and LiteLLM to interact with a model. You hav
|
|
37
19
|
|
38
20
|
### Using pip
|
39
21
|
```bash
|
22
|
+
# Basic installation
|
40
23
|
pip install tinyagent-py
|
24
|
+
|
25
|
+
# Install with all optional dependencies
|
26
|
+
pip install tinyagent-py[all]
|
27
|
+
|
28
|
+
# Install with PostgreSQL support
|
29
|
+
pip install tinyagent-py[postgres]
|
30
|
+
|
31
|
+
# Install with SQLite support
|
32
|
+
pip install tinyagent-py[sqlite]
|
33
|
+
|
34
|
+
# Install with Gradio UI support
|
35
|
+
pip install tinyagent-py[gradio]
|
36
|
+
|
41
37
|
```
|
42
38
|
|
43
39
|
### Using uv
|
44
40
|
```bash
|
41
|
+
# Basic installation
|
45
42
|
uv pip install tinyagent-py
|
43
|
+
|
44
|
+
# Install with PostgreSQL support
|
45
|
+
uv pip install tinyagent-py[postgres]
|
46
|
+
|
47
|
+
# Install with SQLite support
|
48
|
+
uv pip install tinyagent-py[sqlite]
|
49
|
+
|
50
|
+
# Install with Gradio UI support
|
51
|
+
uv pip install tinyagent-py[gradio]
|
52
|
+
|
53
|
+
# Install with all optional dependencies
|
54
|
+
uv pip install tinyagent-py[all]
|
55
|
+
|
56
|
+
# Install with development tools
|
57
|
+
uv pip install tinyagent-py[dev]
|
46
58
|
```
|
47
59
|
|
48
60
|
## Usage
|
@@ -158,7 +170,7 @@ The `GradioCallback` hook lets you spin up a full-featured web chat interface fo
|
|
158
170
|
Features:
|
159
171
|
- **Browser-based chat** with streaming updates
|
160
172
|
- **File uploads** (\*.pdf, \*.docx, \*.txt) that the agent can reference
|
161
|
-
- **Live
|
173
|
+
- **Live "thinking" view** so you see intermediate thoughts
|
162
174
|
- **Collapsible tool-call sections** showing inputs & outputs
|
163
175
|
- **Real-time token usage** (prompt, completion, total)
|
164
176
|
- **Toggleable display options** for thinking & tool calls
|
@@ -8,7 +8,7 @@ exclude = ["public", "public.*"]
|
|
8
8
|
|
9
9
|
[project]
|
10
10
|
name = "tinyagent-py"
|
11
|
-
version = "0.0.
|
11
|
+
version = "0.0.4"
|
12
12
|
description = "Tiny Agent with MCP Client"
|
13
13
|
readme = "README.md"
|
14
14
|
authors = [
|
@@ -18,15 +18,32 @@ requires-python = ">=3.8"
|
|
18
18
|
dependencies = [
|
19
19
|
"mcp",
|
20
20
|
"litellm",
|
21
|
-
"openai"
|
21
|
+
"openai",
|
22
|
+
"tiktoken",
|
23
|
+
"uuid",
|
22
24
|
# add whatever else you need…
|
23
25
|
]
|
24
26
|
|
25
27
|
[project.optional-dependencies]
|
26
28
|
dev = [
|
27
29
|
"pytest",
|
28
|
-
|
29
|
-
|
30
|
+
"black",
|
31
|
+
"isort",
|
32
|
+
"mypy"
|
33
|
+
]
|
34
|
+
postgres = [
|
35
|
+
"asyncpg>=0.27.0"
|
36
|
+
]
|
37
|
+
sqlite = [
|
38
|
+
"aiosqlite>=0.18.0"
|
39
|
+
]
|
40
|
+
gradio = [
|
41
|
+
"gradio>=3.50.0"
|
42
|
+
]
|
43
|
+
all = [
|
44
|
+
"asyncpg>=0.27.0",
|
45
|
+
"aiosqlite>=0.18.0",
|
46
|
+
"gradio>=3.50.0"
|
30
47
|
]
|
31
48
|
[project.urls]
|
32
49
|
"Homepage" = "https://github.com/askbudi/tinyagent"
|
@@ -1,3 +1,36 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: tinyagent-py
|
3
|
+
Version: 0.0.4
|
4
|
+
Summary: Tiny Agent with MCP Client
|
5
|
+
Author-email: Mahdi Golchin <golchin@askdev.ai>
|
6
|
+
Project-URL: Homepage, https://github.com/askbudi/tinyagent
|
7
|
+
Project-URL: Bug Tracker, https://github.com/askbudi/tinyagent/issues
|
8
|
+
Project-URL: Chat, https://askdev.ai/github/askbudi/tinyagent
|
9
|
+
Requires-Python: >=3.8
|
10
|
+
Description-Content-Type: text/markdown
|
11
|
+
License-File: LICENSE
|
12
|
+
Requires-Dist: mcp
|
13
|
+
Requires-Dist: litellm
|
14
|
+
Requires-Dist: openai
|
15
|
+
Requires-Dist: tiktoken
|
16
|
+
Requires-Dist: uuid
|
17
|
+
Provides-Extra: dev
|
18
|
+
Requires-Dist: pytest; extra == "dev"
|
19
|
+
Requires-Dist: black; extra == "dev"
|
20
|
+
Requires-Dist: isort; extra == "dev"
|
21
|
+
Requires-Dist: mypy; extra == "dev"
|
22
|
+
Provides-Extra: postgres
|
23
|
+
Requires-Dist: asyncpg>=0.27.0; extra == "postgres"
|
24
|
+
Provides-Extra: sqlite
|
25
|
+
Requires-Dist: aiosqlite>=0.18.0; extra == "sqlite"
|
26
|
+
Provides-Extra: gradio
|
27
|
+
Requires-Dist: gradio>=3.50.0; extra == "gradio"
|
28
|
+
Provides-Extra: all
|
29
|
+
Requires-Dist: asyncpg>=0.27.0; extra == "all"
|
30
|
+
Requires-Dist: aiosqlite>=0.18.0; extra == "all"
|
31
|
+
Requires-Dist: gradio>=3.50.0; extra == "all"
|
32
|
+
Dynamic: license-file
|
33
|
+
|
1
34
|
# tinyagent
|
2
35
|
Tiny Agent: 100 lines Agent with MCP
|
3
36
|

|
@@ -19,12 +52,42 @@ This is a tiny agent that uses MCP and LiteLLM to interact with a model. You hav
|
|
19
52
|
|
20
53
|
### Using pip
|
21
54
|
```bash
|
55
|
+
# Basic installation
|
22
56
|
pip install tinyagent-py
|
57
|
+
|
58
|
+
# Install with all optional dependencies
|
59
|
+
pip install tinyagent-py[all]
|
60
|
+
|
61
|
+
# Install with PostgreSQL support
|
62
|
+
pip install tinyagent-py[postgres]
|
63
|
+
|
64
|
+
# Install with SQLite support
|
65
|
+
pip install tinyagent-py[sqlite]
|
66
|
+
|
67
|
+
# Install with Gradio UI support
|
68
|
+
pip install tinyagent-py[gradio]
|
69
|
+
|
23
70
|
```
|
24
71
|
|
25
72
|
### Using uv
|
26
73
|
```bash
|
74
|
+
# Basic installation
|
27
75
|
uv pip install tinyagent-py
|
76
|
+
|
77
|
+
# Install with PostgreSQL support
|
78
|
+
uv pip install tinyagent-py[postgres]
|
79
|
+
|
80
|
+
# Install with SQLite support
|
81
|
+
uv pip install tinyagent-py[sqlite]
|
82
|
+
|
83
|
+
# Install with Gradio UI support
|
84
|
+
uv pip install tinyagent-py[gradio]
|
85
|
+
|
86
|
+
# Install with all optional dependencies
|
87
|
+
uv pip install tinyagent-py[all]
|
88
|
+
|
89
|
+
# Install with development tools
|
90
|
+
uv pip install tinyagent-py[dev]
|
28
91
|
```
|
29
92
|
|
30
93
|
## Usage
|
@@ -140,7 +203,7 @@ The `GradioCallback` hook lets you spin up a full-featured web chat interface fo
|
|
140
203
|
Features:
|
141
204
|
- **Browser-based chat** with streaming updates
|
142
205
|
- **File uploads** (\*.pdf, \*.docx, \*.txt) that the agent can reference
|
143
|
-
- **Live
|
206
|
+
- **Live "thinking" view** so you see intermediate thoughts
|
144
207
|
- **Collapsible tool-call sections** showing inputs & outputs
|
145
208
|
- **Real-time token usage** (prompt, completion, total)
|
146
209
|
- **Toggleable display options** for thinking & tool calls
|
@@ -0,0 +1,25 @@
|
|
1
|
+
mcp
|
2
|
+
litellm
|
3
|
+
openai
|
4
|
+
tiktoken
|
5
|
+
uuid
|
6
|
+
|
7
|
+
[all]
|
8
|
+
asyncpg>=0.27.0
|
9
|
+
aiosqlite>=0.18.0
|
10
|
+
gradio>=3.50.0
|
11
|
+
|
12
|
+
[dev]
|
13
|
+
pytest
|
14
|
+
black
|
15
|
+
isort
|
16
|
+
mypy
|
17
|
+
|
18
|
+
[gradio]
|
19
|
+
gradio>=3.50.0
|
20
|
+
|
21
|
+
[postgres]
|
22
|
+
asyncpg>=0.27.0
|
23
|
+
|
24
|
+
[sqlite]
|
25
|
+
aiosqlite>=0.18.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
|
{tinyagent_py-0.0.3 → tinyagent_py-0.0.4}/tinyagent/tinyagent_py.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|