cortex-agent-sdk 0.3.0__tar.gz → 0.3.1__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.
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/PKG-INFO +18 -9
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/README.md +13 -7
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/pyproject.toml +8 -3
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/.gitignore +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/LICENSE +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/__init__.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/capabilities.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/errores/__init__.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/errores/catalogo.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/errores/excepcion.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/py.typed +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/redis/__init__.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/redis/scripts.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/redis/store.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/sessions/__init__.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/sessions/codec.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/sessions/memory.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/sessions/models.py +0 -0
- {cortex_agent_sdk-0.3.0 → cortex_agent_sdk-0.3.1}/src/cortex_agent_sdk/sessions/store.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cortex-agent-sdk
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Sesiones y capacidades puntuales para agentes multiprovider con Pydantic AI
|
|
5
5
|
Project-URL: Repository, https://github.com/epok200/cortex_agent_sdk
|
|
6
6
|
Project-URL: Issues, https://github.com/epok200/cortex_agent_sdk/issues
|
|
@@ -16,8 +16,11 @@ Classifier: Programming Language :: Python :: 3
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
17
|
Classifier: Typing :: Typed
|
|
18
18
|
Requires-Python: >=3.13
|
|
19
|
-
Requires-Dist: pydantic-ai-slim
|
|
19
|
+
Requires-Dist: pydantic-ai-slim<3,>=2.27
|
|
20
|
+
Provides-Extra: google
|
|
21
|
+
Requires-Dist: pydantic-ai-slim[google]<3,>=2.27; extra == 'google'
|
|
20
22
|
Provides-Extra: openai
|
|
23
|
+
Requires-Dist: pydantic-ai-slim[openai]<3,>=2.27; extra == 'openai'
|
|
21
24
|
Provides-Extra: redis
|
|
22
25
|
Requires-Dist: redis>=8.1.0; extra == 'redis'
|
|
23
26
|
Description-Content-Type: text/markdown
|
|
@@ -37,30 +40,36 @@ opcionales construidas sobre sus hooks públicos.
|
|
|
37
40
|
## Requisitos
|
|
38
41
|
|
|
39
42
|
- Python `>=3.13`.
|
|
40
|
-
- Pydantic AI `>=2.27,<3
|
|
43
|
+
- Pydantic AI `>=2.27,<3`.
|
|
41
44
|
|
|
42
45
|
## Instalación
|
|
43
46
|
|
|
44
|
-
|
|
47
|
+
Solo sesiones en memoria y capabilities:
|
|
45
48
|
|
|
46
49
|
```bash
|
|
47
50
|
uv add cortex-agent-sdk
|
|
48
51
|
```
|
|
49
52
|
|
|
50
|
-
|
|
53
|
+
OpenAI y sesiones en memoria:
|
|
51
54
|
|
|
52
55
|
```bash
|
|
53
|
-
uv add "cortex-agent-sdk[
|
|
56
|
+
uv add "cortex-agent-sdk[openai]"
|
|
54
57
|
```
|
|
55
58
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
OpenAI y Redis:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
uv add "cortex-agent-sdk[openai,redis]"
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Google se instala con el extra `google`. Cada producto elige únicamente sus providers. Cortex no
|
|
66
|
+
implementa adapters paralelos ni ofrece un extra que los instale todos.
|
|
59
67
|
|
|
60
68
|
## Uso
|
|
61
69
|
|
|
62
70
|
El agente es el `Agent` nativo de Pydantic AI. El store entrega el historial bajo exclusión y lo
|
|
63
71
|
guarda cuando `session.replace(...)` marca un resultado completo.
|
|
72
|
+
El siguiente ejemplo requiere el extra `openai`.
|
|
64
73
|
|
|
65
74
|
```python
|
|
66
75
|
import asyncio
|
|
@@ -13,30 +13,36 @@ opcionales construidas sobre sus hooks públicos.
|
|
|
13
13
|
## Requisitos
|
|
14
14
|
|
|
15
15
|
- Python `>=3.13`.
|
|
16
|
-
- Pydantic AI `>=2.27,<3
|
|
16
|
+
- Pydantic AI `>=2.27,<3`.
|
|
17
17
|
|
|
18
18
|
## Instalación
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Solo sesiones en memoria y capabilities:
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
uv add cortex-agent-sdk
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
OpenAI y sesiones en memoria:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
uv add "cortex-agent-sdk[
|
|
29
|
+
uv add "cortex-agent-sdk[openai]"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
OpenAI y Redis:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
uv add "cortex-agent-sdk[openai,redis]"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Google se instala con el extra `google`. Cada producto elige únicamente sus providers. Cortex no
|
|
39
|
+
implementa adapters paralelos ni ofrece un extra que los instale todos.
|
|
35
40
|
|
|
36
41
|
## Uso
|
|
37
42
|
|
|
38
43
|
El agente es el `Agent` nativo de Pydantic AI. El store entrega el historial bajo exclusión y lo
|
|
39
44
|
guarda cuando `session.replace(...)` marca un resultado completo.
|
|
45
|
+
El siguiente ejemplo requiere el extra `openai`.
|
|
40
46
|
|
|
41
47
|
```python
|
|
42
48
|
import asyncio
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "cortex-agent-sdk"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.1"
|
|
4
4
|
description = "Sesiones y capacidades puntuales para agentes multiprovider con Pydantic AI"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -17,7 +17,7 @@ classifiers = [
|
|
|
17
17
|
"Typing :: Typed",
|
|
18
18
|
]
|
|
19
19
|
dependencies = [
|
|
20
|
-
"pydantic-ai-slim
|
|
20
|
+
"pydantic-ai-slim>=2.27,<3",
|
|
21
21
|
]
|
|
22
22
|
|
|
23
23
|
[project.urls]
|
|
@@ -25,7 +25,12 @@ Repository = "https://github.com/epok200/cortex_agent_sdk"
|
|
|
25
25
|
Issues = "https://github.com/epok200/cortex_agent_sdk/issues"
|
|
26
26
|
|
|
27
27
|
[project.optional-dependencies]
|
|
28
|
-
|
|
28
|
+
google = [
|
|
29
|
+
"pydantic-ai-slim[google]>=2.27,<3",
|
|
30
|
+
]
|
|
31
|
+
openai = [
|
|
32
|
+
"pydantic-ai-slim[openai]>=2.27,<3",
|
|
33
|
+
]
|
|
29
34
|
redis = [
|
|
30
35
|
"redis>=8.1.0",
|
|
31
36
|
]
|
|
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
|