agentspecs 0.0.1__py3-none-any.whl
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.
agentspecs/__init__.py
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Copyright (c) 2025-2026 Datalayer, Inc.
|
|
2
|
+
#
|
|
3
|
+
# BSD 3-Clause License
|
|
4
|
+
|
|
5
|
+
"""Agent Specs
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from .composition.executor import CodeModeExecutor
|
|
9
|
+
from .discovery.codegen import PythonCodeGenerator
|
|
10
|
+
from .discovery.registry import ToolRegistry
|
|
11
|
+
from .types import (
|
|
12
|
+
CodeModeConfig,
|
|
13
|
+
MCPServerConfig,
|
|
14
|
+
SearchResult,
|
|
15
|
+
ServerInfo,
|
|
16
|
+
ToolCallResult,
|
|
17
|
+
ToolDefinition,
|
|
18
|
+
ToolParameter,
|
|
19
|
+
)
|
|
20
|
+
from .proxy.mcp_client import MCPClient
|
|
21
|
+
from .proxy.meta_tools import MetaToolProvider
|
|
22
|
+
|
|
23
|
+
# Import skills functionality from agent_skills
|
|
24
|
+
from agent_skills import (
|
|
25
|
+
Skill,
|
|
26
|
+
SkillDirectory,
|
|
27
|
+
SkillFile,
|
|
28
|
+
SkillsManager,
|
|
29
|
+
SimpleSkill,
|
|
30
|
+
SimpleSkillsManager,
|
|
31
|
+
SimpleSkillManager, # Alias for backward compatibility
|
|
32
|
+
SkillManager, # Alias for backward compatibility
|
|
33
|
+
setup_skills_directory,
|
|
34
|
+
wait_for,
|
|
35
|
+
retry,
|
|
36
|
+
run_with_timeout,
|
|
37
|
+
parallel,
|
|
38
|
+
RateLimiter,
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
from .server import mcp as codemode_server, configure as configure_server
|
|
42
|
+
from .toolset import CodemodeToolset, PYDANTIC_AI_AVAILABLE
|
|
43
|
+
|
|
44
|
+
__all__ = [
|
|
45
|
+
# Core components
|
|
46
|
+
"ToolRegistry",
|
|
47
|
+
"CodeModeExecutor",
|
|
48
|
+
"PythonCodeGenerator",
|
|
49
|
+
# Proxy
|
|
50
|
+
"MCPClient",
|
|
51
|
+
"MetaToolProvider",
|
|
52
|
+
# Skills (from agent_skills)
|
|
53
|
+
"Skill",
|
|
54
|
+
"SkillsManager",
|
|
55
|
+
"SimpleSkill",
|
|
56
|
+
"SimpleSkillsManager",
|
|
57
|
+
"SimpleSkillManager", # Alias for backward compatibility
|
|
58
|
+
"SkillManager", # Alias for backward compatibility
|
|
59
|
+
"SkillDirectory",
|
|
60
|
+
"SkillFile",
|
|
61
|
+
"setup_skills_directory",
|
|
62
|
+
# Helpers (from agent_skills)
|
|
63
|
+
"wait_for",
|
|
64
|
+
"retry",
|
|
65
|
+
"run_with_timeout",
|
|
66
|
+
"parallel",
|
|
67
|
+
"RateLimiter",
|
|
68
|
+
# MCP Server
|
|
69
|
+
"codemode_server",
|
|
70
|
+
"configure_server",
|
|
71
|
+
# Pydantic AI Toolset
|
|
72
|
+
"CodemodeToolset",
|
|
73
|
+
"PYDANTIC_AI_AVAILABLE",
|
|
74
|
+
# Models
|
|
75
|
+
"ToolDefinition",
|
|
76
|
+
"ToolParameter",
|
|
77
|
+
"ToolCallResult",
|
|
78
|
+
"MCPServerConfig",
|
|
79
|
+
"CodeModeConfig",
|
|
80
|
+
"SearchResult",
|
|
81
|
+
"ServerInfo",
|
|
82
|
+
]
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agentspecs
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Project-URL: Home, https://github.com/datalayer/agentspecs
|
|
5
|
+
Author-email: Datalayer <info@datalayer.io>
|
|
6
|
+
License: BSD 3-Clause License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2025, Datalayer
|
|
9
|
+
All rights reserved.
|
|
10
|
+
|
|
11
|
+
Redistribution and use in source and binary forms, with or without
|
|
12
|
+
modification, are permitted provided that the following conditions are met:
|
|
13
|
+
|
|
14
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
15
|
+
list of conditions and the following disclaimer.
|
|
16
|
+
|
|
17
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
18
|
+
this list of conditions and the following disclaimer in the documentation
|
|
19
|
+
and/or other materials provided with the distribution.
|
|
20
|
+
|
|
21
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
22
|
+
contributors may be used to endorse or promote products derived from
|
|
23
|
+
this software without specific prior written permission.
|
|
24
|
+
|
|
25
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
26
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
27
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
28
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
29
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
30
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
31
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
32
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
33
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
34
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
35
|
+
License-File: LICENSE
|
|
36
|
+
Keywords: AI,Jupyter,MCP,Model Context Protocol
|
|
37
|
+
Classifier: Intended Audience :: Developers
|
|
38
|
+
Classifier: Intended Audience :: System Administrators
|
|
39
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
40
|
+
Classifier: Programming Language :: Python
|
|
41
|
+
Classifier: Programming Language :: Python :: 3
|
|
42
|
+
Requires-Python: >=3.10
|
|
43
|
+
Requires-Dist: agent-skills
|
|
44
|
+
Requires-Dist: code-sandboxes
|
|
45
|
+
Requires-Dist: httpx>=0.24
|
|
46
|
+
Requires-Dist: mcp[cli]>=1.0
|
|
47
|
+
Requires-Dist: pydantic>=2.0
|
|
48
|
+
Provides-Extra: lint
|
|
49
|
+
Requires-Dist: mdformat-gfm>=0.3.5; extra == 'lint'
|
|
50
|
+
Requires-Dist: mdformat>0.7; extra == 'lint'
|
|
51
|
+
Requires-Dist: ruff; extra == 'lint'
|
|
52
|
+
Provides-Extra: pydantic-ai
|
|
53
|
+
Requires-Dist: pydantic-ai-slim; extra == 'pydantic-ai'
|
|
54
|
+
Requires-Dist: pydantic-graph; extra == 'pydantic-ai'
|
|
55
|
+
Provides-Extra: test
|
|
56
|
+
Requires-Dist: ipykernel; extra == 'test'
|
|
57
|
+
Requires-Dist: jupyter-server<3,>=1.6; extra == 'test'
|
|
58
|
+
Requires-Dist: pytest-asyncio>=0.21; extra == 'test'
|
|
59
|
+
Requires-Dist: pytest>=7.0; extra == 'test'
|
|
60
|
+
Provides-Extra: typing
|
|
61
|
+
Requires-Dist: mypy>=0.990; extra == 'typing'
|
|
62
|
+
Description-Content-Type: text/markdown
|
|
63
|
+
|
|
64
|
+
<!--
|
|
65
|
+
~ Copyright (c) 2025-2026 Datalayer, Inc.
|
|
66
|
+
~
|
|
67
|
+
~ BSD 3-Clause License
|
|
68
|
+
-->
|
|
69
|
+
|
|
70
|
+
[](https://datalayer.io)
|
|
71
|
+
|
|
72
|
+
[](https://github.com/sponsors/datalayer)
|
|
73
|
+
|
|
74
|
+
# 🤖 👥 Agent Specs
|
|
75
|
+
|
|
76
|
+
[](https://pypi.org/project/agentspecs)
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
agentspecs/__init__.py,sha256=amutK96ubGaSvJrAq51KWaqPqx-mDHYbhzPna2cxM2A,1905
|
|
2
|
+
agentspecs/__version__.py,sha256=Gjg5X7j2f9ujsIcXz4_VYmpGUx9vjwr8RTHKRe12SBY,110
|
|
3
|
+
agentspecs-0.0.1.dist-info/METADATA,sha256=MTaK11qyeXho6R4sDViXBBvobW29iDHK0OarU9VaeCE,3473
|
|
4
|
+
agentspecs-0.0.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
5
|
+
agentspecs-0.0.1.dist-info/licenses/LICENSE,sha256=kW62dan-1HEplL1Cmfooudf8dRqCPGQZGD6APtrlZa8,1516
|
|
6
|
+
agentspecs-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025, Datalayer
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|