ni.agentkit 0.3.1__tar.gz → 0.3.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.
Files changed (77) hide show
  1. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/PKG-INFO +4 -11
  2. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/README.md +3 -10
  3. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/__init__.py +1 -1
  4. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/_cli.py +1 -1
  5. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/docs/QuickStart.md +5 -1
  6. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/docs/README.md +10 -12
  7. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/docs/TestReport.md +1 -1
  8. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/ollama/README.md +1 -1
  9. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/standard/README.md +6 -1
  10. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/ni.agentkit.egg-info/PKG-INFO +4 -11
  11. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/pyproject.toml +1 -1
  12. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/LICENSE +0 -0
  13. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/agents/__init__.py +0 -0
  14. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/agents/agent.py +0 -0
  15. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/agents/base_agent.py +0 -0
  16. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/agents/orchestrators.py +0 -0
  17. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/docs/Architecture.md +0 -0
  18. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/docs/Reference.md +0 -0
  19. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/__init__.py +0 -0
  20. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/ollama/01_basic_chat.py +0 -0
  21. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/ollama/02_tool_calling.py +0 -0
  22. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/ollama/03_skill_usage.py +0 -0
  23. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/ollama/04_multi_agent.py +0 -0
  24. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/ollama/05_guardrail.py +0 -0
  25. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/ollama/06_orchestration.py +0 -0
  26. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/ollama/07_sync_async_stream.py +0 -0
  27. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/ollama/08_memory.py +0 -0
  28. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/ollama/__init__.py +0 -0
  29. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/quickstart.py +0 -0
  30. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/standard/01_basic_chat.py +0 -0
  31. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/standard/02_tool_calling.py +0 -0
  32. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/standard/03_skill_usage.py +0 -0
  33. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/standard/04_multi_agent.py +0 -0
  34. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/standard/05_guardrail.py +0 -0
  35. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/standard/06_orchestration.py +0 -0
  36. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/standard/07_sync_async_stream.py +0 -0
  37. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/standard/08_memory.py +0 -0
  38. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/standard/__init__.py +0 -0
  39. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/examples/test_ollama.py +0 -0
  40. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/__init__.py +0 -0
  41. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/adapters/__init__.py +0 -0
  42. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/adapters/anthropic_adapter.py +0 -0
  43. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/adapters/google_adapter.py +0 -0
  44. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/adapters/ollama_adapter.py +0 -0
  45. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/adapters/openai_adapter.py +0 -0
  46. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/adapters/openai_compatible.py +0 -0
  47. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/base.py +0 -0
  48. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/cache.py +0 -0
  49. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/middleware.py +0 -0
  50. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/registry.py +0 -0
  51. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/llm/types.py +0 -0
  52. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/memory/__init__.py +0 -0
  53. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/memory/base.py +0 -0
  54. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/memory/mem0_provider.py +0 -0
  55. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/ni.agentkit.egg-info/SOURCES.txt +0 -0
  56. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/ni.agentkit.egg-info/dependency_links.txt +0 -0
  57. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/ni.agentkit.egg-info/entry_points.txt +0 -0
  58. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/ni.agentkit.egg-info/requires.txt +0 -0
  59. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/ni.agentkit.egg-info/top_level.txt +0 -0
  60. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/runner/__init__.py +0 -0
  61. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/runner/context.py +0 -0
  62. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/runner/events.py +0 -0
  63. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/runner/runner.py +0 -0
  64. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/safety/__init__.py +0 -0
  65. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/safety/guardrails.py +0 -0
  66. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/safety/permissions.py +0 -0
  67. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/setup.cfg +0 -0
  68. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/skills/__init__.py +0 -0
  69. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/skills/loader.py +0 -0
  70. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/skills/models.py +0 -0
  71. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/skills/registry.py +0 -0
  72. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/tools/__init__.py +0 -0
  73. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/tools/base_tool.py +0 -0
  74. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/tools/function_tool.py +0 -0
  75. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/tools/skill_toolset.py +0 -0
  76. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/utils/__init__.py +0 -0
  77. {ni_agentkit-0.3.1 → ni_agentkit-0.3.2}/utils/schema.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ni.agentkit
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: A Python-native Agent framework with first-class Skill support and multi-LLM adapter
5
5
  Author-email: Krix Tam <krix.tam@qq.com>
6
6
  License: MIT
@@ -60,14 +60,7 @@ Dynamic: license-file
60
60
  ## 🚀 安装
61
61
 
62
62
  ```bash
63
- # 基础安装(仅核心 + pydantic)
64
- pip install agentkit
65
-
66
- # 按需安装 LLM 适配器
67
- pip install agentkit[openai] # OpenAI GPT
68
- pip install agentkit[anthropic] # Anthropic Claude
69
- pip install agentkit[google] # Google Gemini
70
- pip install agentkit[all] # 全部
63
+ pip install ni.agentkit
71
64
  ```
72
65
 
73
66
  ## ⚡ 30 秒快速开始
@@ -148,8 +141,8 @@ python -m agentkit.examples.ollama.01_basic_chat
148
141
 
149
142
  ```bash
150
143
  dist/
151
- ├── agentkit-0.3.1-py3-none-any.whl # pip install 用这个
152
- └── agentkit-0.3.1.tar.gz # 源码分发
144
+ ├── ni_agentkit-0.3.2-py3-none-any.whl # pip install 用这个
145
+ └── ni_agentkit-0.3.2.tar.gz # 源码分发
153
146
  ```
154
147
 
155
148
  ## 📄 License
@@ -18,14 +18,7 @@
18
18
  ## 🚀 安装
19
19
 
20
20
  ```bash
21
- # 基础安装(仅核心 + pydantic)
22
- pip install agentkit
23
-
24
- # 按需安装 LLM 适配器
25
- pip install agentkit[openai] # OpenAI GPT
26
- pip install agentkit[anthropic] # Anthropic Claude
27
- pip install agentkit[google] # Google Gemini
28
- pip install agentkit[all] # 全部
21
+ pip install ni.agentkit
29
22
  ```
30
23
 
31
24
  ## ⚡ 30 秒快速开始
@@ -106,8 +99,8 @@ python -m agentkit.examples.ollama.01_basic_chat
106
99
 
107
100
  ```bash
108
101
  dist/
109
- ├── agentkit-0.3.1-py3-none-any.whl # pip install 用这个
110
- └── agentkit-0.3.1.tar.gz # 源码分发
102
+ ├── ni_agentkit-0.3.2-py3-none-any.whl # pip install 用这个
103
+ └── ni_agentkit-0.3.2.tar.gz # 源码分发
111
104
  ```
112
105
 
113
106
  ## 📄 License
@@ -29,7 +29,7 @@ from .skills.registry import SkillRegistry
29
29
  from .tools.base_tool import BaseTool, BaseToolset
30
30
  from .tools.function_tool import FunctionTool, function_tool
31
31
 
32
- __version__ = "0.3.1"
32
+ __version__ = "0.3.2"
33
33
 
34
34
 
35
35
  def get_docs_dir() -> str:
@@ -23,7 +23,7 @@ def show_docs():
23
23
  examples_dir = _get_examples_dir()
24
24
 
25
25
  print("=" * 60)
26
- print(" AgentKit v0.3.1 — 文档与示例")
26
+ print(" AgentKit v0.3.2 — 文档与示例")
27
27
  print("=" * 60)
28
28
  print()
29
29
 
@@ -30,7 +30,11 @@
30
30
  ### 1. 安装依赖
31
31
 
32
32
  ```bash
33
- pip install pydantic>=2.0 aiohttp>=3.9.0
33
+ # 基础安装
34
+ pip install ni.agentkit
35
+
36
+ # 如果需要 OpenAI / DeepSeek / 通义千问等
37
+ pip install "ni.agentkit[openai]"
34
38
  ```
35
39
 
36
40
  ### 2. 配置模型
@@ -3,7 +3,7 @@
3
3
  > Python 原生的 Agent 开发框架,内置一等公民级别的 Skill 支持和自研多模型适配层。
4
4
 
5
5
  [![Python](https://img.shields.io/badge/Python-≥3.11-blue.svg)](https://python.org)
6
- [![Version](https://img.shields.io/badge/Version-0.3.1-green.svg)]()
6
+ [![Version](https://img.shields.io/badge/Version-0.3.2-green.svg)]()
7
7
  [![License](https://img.shields.io/badge/License-MIT-yellow.svg)]()
8
8
 
9
9
  ---
@@ -27,17 +27,15 @@
27
27
 
28
28
  ```bash
29
29
  # 基础安装
30
- pip install pydantic>=2.0
31
-
32
- # 按需安装 LLM 适配器
33
- pip install openai>=1.0.0 # OpenAI + 国内兼容厂商
34
- pip install anthropic>=0.30.0 # Anthropic Claude
35
- pip install google-genai>=1.0.0 # Google Gemini
36
- pip install aiohttp>=3.9.0 # Ollama 本地模型
37
-
38
- # 可选
39
- pip install mem0ai>=0.1.0 # 记忆系统
40
- pip install docker>=7.0.0 # Docker 沙箱
30
+ pip install ni.agentkit
31
+
32
+ # 按需安装额外依赖
33
+ pip install "ni.agentkit[openai]" # OpenAI + 国内兼容厂商
34
+ pip install "ni.agentkit[anthropic]" # Anthropic Claude
35
+ pip install "ni.agentkit[google]" # Google Gemini
36
+ pip install "ni.agentkit[memory]" # 记忆系统 (mem0)
37
+ pip install "ni.agentkit[docker]" # Docker 沙箱 (Level 3 Skill)
38
+ pip install "ni.agentkit[all]" # 安装所有可选依赖
41
39
  ```
42
40
 
43
41
  ---
@@ -3,7 +3,7 @@
3
3
  > 测试时间:2026-04-12
4
4
  > 测试环境:macOS (Apple Silicon)
5
5
  > 模型:Ollama `qwen3.5:cloud`
6
- > AgentKit 版本:v0.3.1
6
+ > AgentKit 版本:v0.3.2
7
7
  > Thinking 模式:开启(默认)
8
8
  > LLM 调用模式:非流式(默认)
9
9
  > 缓存:开启(默认)
@@ -13,7 +13,7 @@ ollama pull qwen3.5:cloud
13
13
  curl http://localhost:11434/api/tags
14
14
 
15
15
  # 4. 安装 Python 依赖
16
- pip install pydantic>=2.0 aiohttp>=3.9.0
16
+ pip install ni.agentkit
17
17
  ```
18
18
 
19
19
  ## 示例列表
@@ -3,8 +3,13 @@
3
3
  使用 OpenAI GPT-4o 模型的示例。运行前请设置:
4
4
 
5
5
  ```bash
6
+ # 基础安装
7
+ pip install ni.agentkit
8
+
9
+ # 如果需要 OpenAI / DeepSeek / 通义千问等
10
+ pip install "ni.agentkit[openai]"
11
+
6
12
  export OPENAI_API_KEY="sk-..."
7
- pip install openai>=1.0.0
8
13
  ```
9
14
 
10
15
  ## 示例列表
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ni.agentkit
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: A Python-native Agent framework with first-class Skill support and multi-LLM adapter
5
5
  Author-email: Krix Tam <krix.tam@qq.com>
6
6
  License: MIT
@@ -60,14 +60,7 @@ Dynamic: license-file
60
60
  ## 🚀 安装
61
61
 
62
62
  ```bash
63
- # 基础安装(仅核心 + pydantic)
64
- pip install agentkit
65
-
66
- # 按需安装 LLM 适配器
67
- pip install agentkit[openai] # OpenAI GPT
68
- pip install agentkit[anthropic] # Anthropic Claude
69
- pip install agentkit[google] # Google Gemini
70
- pip install agentkit[all] # 全部
63
+ pip install ni.agentkit
71
64
  ```
72
65
 
73
66
  ## ⚡ 30 秒快速开始
@@ -148,8 +141,8 @@ python -m agentkit.examples.ollama.01_basic_chat
148
141
 
149
142
  ```bash
150
143
  dist/
151
- ├── agentkit-0.3.1-py3-none-any.whl # pip install 用这个
152
- └── agentkit-0.3.1.tar.gz # 源码分发
144
+ ├── ni_agentkit-0.3.2-py3-none-any.whl # pip install 用这个
145
+ └── ni_agentkit-0.3.2.tar.gz # 源码分发
153
146
  ```
154
147
 
155
148
  ## 📄 License
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ni.agentkit"
3
- version = "0.3.1"
3
+ version = "0.3.2"
4
4
  description = "A Python-native Agent framework with first-class Skill support and multi-LLM adapter"
5
5
  authors = [
6
6
  { name = "Krix Tam", email = "krix.tam@qq.com" }
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