agents-function-tools 0.4.0__tar.gz → 0.5.0__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.
- {agents_function_tools-0.4.0/src/agents_function_tools.egg-info → agents_function_tools-0.5.0}/PKG-INFO +42 -3
- agents_function_tools-0.4.0/PKG-INFO → agents_function_tools-0.5.0/README.md +169 -146
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/pyproject.toml +2 -2
- agents_function_tools-0.4.0/README.md → agents_function_tools-0.5.0/src/agents_function_tools.egg-info/PKG-INFO +185 -130
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/agents_function_tools.egg-info/SOURCES.txt +3 -0
- agents_function_tools-0.5.0/src/agents_function_tools.egg-info/requires.txt +2 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/function_tools/__init__.py +3 -1
- agents_function_tools-0.5.0/src/function_tools/contracts.py +89 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/function_tools/openai_tools.py +71 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/function_tools/workspace.py +2 -1
- agents_function_tools-0.5.0/tests/test_agent_integration.py +188 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/tests/test_network_and_process.py +8 -5
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/tests/test_public_api.py +2 -1
- agents_function_tools-0.5.0/tests/test_tool_contract.py +245 -0
- agents_function_tools-0.4.0/src/agents_function_tools.egg-info/requires.txt +0 -2
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/LICENSE +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/setup.cfg +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/agents_function_tools.egg-info/dependency_links.txt +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/agents_function_tools.egg-info/top_level.txt +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/function_tools/archive.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/function_tools/command.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/function_tools/errors.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/function_tools/host.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/function_tools/http.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/function_tools/network.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/function_tools/process.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/src/function_tools/responses.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/tests/test_archive.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/tests/test_command.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/tests/test_host_and_http.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/tests/test_openai_tools.py +0 -0
- {agents_function_tools-0.4.0 → agents_function_tools-0.5.0}/tests/test_workspace.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agents-function-tools
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: Portable, policy-friendly system function tools for AI applications.
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -10,7 +10,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
10
10
|
Requires-Python: >=3.10
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: openai-agents<1,>=0.
|
|
13
|
+
Requires-Dist: openai-agents<1,>=0.22
|
|
14
14
|
Requires-Dist: pydantic<3,>=2
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
@@ -37,6 +37,30 @@ python -m pip install agents-function-tools
|
|
|
37
37
|
|
|
38
38
|
Every tool returns the same JSON envelope with `ok`, `tool`, `effect`, `data`, and `error` fields. Paths are always relative to a configured workspace root.
|
|
39
39
|
|
|
40
|
+
## Machine-readable contracts
|
|
41
|
+
|
|
42
|
+
Every returned bundle exposes `contracts`, a mapping from FunctionTool name to a `ToolContract`.
|
|
43
|
+
The contract snapshots the SDK-derived input schema and declares the stable response schema,
|
|
44
|
+
failure schema, capability permission, response effect, approval requirement, and retry safety.
|
|
45
|
+
This lets an application build its own CLI, web approval screen, audit log, or policy check without
|
|
46
|
+
binding this package to a particular Agent workflow.
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
from function_tools import create_tools
|
|
50
|
+
|
|
51
|
+
tools = create_tools("./workspace")
|
|
52
|
+
contract = tools.contracts["workspace_write_text"]
|
|
53
|
+
|
|
54
|
+
assert contract.permission == "workspace.write"
|
|
55
|
+
assert contract.needs_approval is True
|
|
56
|
+
assert contract.retry_safe is False
|
|
57
|
+
print(contract.to_dict())
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
`needs_approval=True` is enforced by the OpenAI Agents SDK. The host application receives the
|
|
61
|
+
interruption, presents its own approval UI, then resumes the saved run state only after an explicit
|
|
62
|
+
approval. This package deliberately does not impose a CLI or web interaction model.
|
|
63
|
+
|
|
40
64
|
## Safety boundary
|
|
41
65
|
|
|
42
66
|
- Path traversal and access outside the workspace root are rejected.
|
|
@@ -73,9 +97,15 @@ agent = Agent(
|
|
|
73
97
|
|
|
74
98
|
Use the narrowest domain selector: `tools.files`, `tools.network`, `tools.host`, or `tools.process`. The v0.3-style `tools.read`, `tools.write`, and `tools.execute` selectors remain available for compatibility, but combine more capabilities. Every `*.write` and `*.execute` tool requires approval on every call. The SDK derives each FunctionTool's input schema from the Python signature and docstring.
|
|
75
99
|
|
|
100
|
+
## Complete Example
|
|
101
|
+
|
|
102
|
+
[OpenAI Agents workspace assistant](examples/openai_agents_workspace_assistant/README.md) is a runnable example with `tools.files.read`, `tools.files.write`, and per-call SDK approval. It is intentionally limited to one workspace; it does not attach network, host, process, command, MCP, or database tools.
|
|
103
|
+
|
|
76
104
|
## Design specs
|
|
77
105
|
|
|
78
106
|
- [v0.4 tool expansion spec](docs/v0.4-tool-expansion-spec.md)
|
|
107
|
+
- [release and compatibility policy](docs/release-policy.md)
|
|
108
|
+
- [changelog](CHANGELOG.md)
|
|
79
109
|
|
|
80
110
|
For configured commands, HTTPS hosts, or readable environment variables, use `ToolConfig`:
|
|
81
111
|
|
|
@@ -129,6 +159,15 @@ uv run --python 3.10 pytest
|
|
|
129
159
|
|
|
130
160
|
Tests do not call the OpenAI API and do not require `OPENAI_API_KEY`.
|
|
131
161
|
|
|
162
|
+
GitHub Actions runs formatting and linting, a Windows/Linux plus Python 3.10-3.12 test matrix, and the same package acceptance gate used before publishing. The suite includes public FunctionTool contracts and offline OpenAI Agents SDK integration tests using `ScriptedModel`, including approval interruption and resume behavior.
|
|
163
|
+
|
|
164
|
+
## OpenAI Agents SDK compatibility
|
|
165
|
+
|
|
166
|
+
The package requires `openai-agents>=0.22,<1`; `0.22.0` is the current validated baseline. The
|
|
167
|
+
weekly `OpenAI Agents SDK latest` workflow resolves the newest compatible SDK release from PyPI and
|
|
168
|
+
runs the deterministic suite against it. It detects upstream compatibility changes without silently
|
|
169
|
+
publishing or accepting a new SDK version.
|
|
170
|
+
|
|
132
171
|
## Release acceptance
|
|
133
172
|
|
|
134
173
|
Before every PyPI release, run:
|
|
@@ -137,7 +176,7 @@ Before every PyPI release, run:
|
|
|
137
176
|
uv run python scripts/release_check.py
|
|
138
177
|
```
|
|
139
178
|
|
|
140
|
-
The gate checks the lockfile, formatting, linting, tests, wheel and source-distribution contents, package metadata, a clean `python -m pip install --no-deps <wheel>`, and a separate clean runtime installation with dependencies.
|
|
179
|
+
The gate checks the lockfile, formatting, linting, example compilation, tests, wheel and source-distribution contents, package metadata, a clean `python -m pip install --no-deps <wheel>`, and a separate clean runtime installation with dependencies.
|
|
141
180
|
|
|
142
181
|
Use the following command to run that gate and publish only when it passes:
|
|
143
182
|
|
|
@@ -1,146 +1,169 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
- The
|
|
52
|
-
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
http_allowed_hosts=frozenset({"api.example.internal"}),
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
1
|
+
# Agents Function Tools
|
|
2
|
+
|
|
3
|
+
`agents-function-tools` is a portable Python library of policy-friendly system function tools. It contains no business model, Agent routing, domain workflow, database adapter, or code-review logic. Its Python import name is `function_tools`.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
python -m pip install agents-function-tools
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Included tools
|
|
12
|
+
|
|
13
|
+
| Category | Tools | Recommended selector |
|
|
14
|
+
|---|---|---|
|
|
15
|
+
| Workspace read | List, read UTF-8, inspect metadata, glob-style find, hash files, disk usage | `files.read` |
|
|
16
|
+
| Workspace write | Write text, create directories, copy a regular file, move a path, delete a path | `files.write` |
|
|
17
|
+
| ZIP | List archive entries; create and extract bounded ZIP archives | `files.read` / `files.write` |
|
|
18
|
+
| Network | Fetch bounded HTTPS text; optionally build search URLs, resolve configured hosts, and probe configured TCP ports | `network.read` |
|
|
19
|
+
| Host | Non-sensitive system info, UTC time, explicitly allowlisted environment variables | `host.inspect` |
|
|
20
|
+
| Processes and commands | Describe configured aliases; optionally inspect allowlisted process names; run one allowlisted executable with `shell=False` | `process.inspect` / `process.execute` |
|
|
21
|
+
|
|
22
|
+
Every tool returns the same JSON envelope with `ok`, `tool`, `effect`, `data`, and `error` fields. Paths are always relative to a configured workspace root.
|
|
23
|
+
|
|
24
|
+
## Machine-readable contracts
|
|
25
|
+
|
|
26
|
+
Every returned bundle exposes `contracts`, a mapping from FunctionTool name to a `ToolContract`.
|
|
27
|
+
The contract snapshots the SDK-derived input schema and declares the stable response schema,
|
|
28
|
+
failure schema, capability permission, response effect, approval requirement, and retry safety.
|
|
29
|
+
This lets an application build its own CLI, web approval screen, audit log, or policy check without
|
|
30
|
+
binding this package to a particular Agent workflow.
|
|
31
|
+
|
|
32
|
+
```python
|
|
33
|
+
from function_tools import create_tools
|
|
34
|
+
|
|
35
|
+
tools = create_tools("./workspace")
|
|
36
|
+
contract = tools.contracts["workspace_write_text"]
|
|
37
|
+
|
|
38
|
+
assert contract.permission == "workspace.write"
|
|
39
|
+
assert contract.needs_approval is True
|
|
40
|
+
assert contract.retry_safe is False
|
|
41
|
+
print(contract.to_dict())
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
`needs_approval=True` is enforced by the OpenAI Agents SDK. The host application receives the
|
|
45
|
+
interruption, presents its own approval UI, then resumes the saved run state only after an explicit
|
|
46
|
+
approval. This package deliberately does not impose a CLI or web interaction model.
|
|
47
|
+
|
|
48
|
+
## Safety boundary
|
|
49
|
+
|
|
50
|
+
- Path traversal and access outside the workspace root are rejected.
|
|
51
|
+
- The workspace root cannot be deleted.
|
|
52
|
+
- Recursive deletion must be explicit.
|
|
53
|
+
- File reads, writes, hashes, and archive expansion have byte limits.
|
|
54
|
+
- Every workspace mutation and local command requires the SDK approval gate in addition to the orchestration approval policy. File copy accepts regular, non-symlink source files only.
|
|
55
|
+
- ZIP creation rejects symlinks; ZIP extraction rejects path traversal and symlink entries before writing files.
|
|
56
|
+
- HTTPS fetching requires an exact host allowlist, rejects redirects, URL credentials, and non-default ports, accepts only text-like content types, and blocks resolved private or loopback addresses. No host is enabled by default. Deployment still needs an egress proxy or firewall: application-layer DNS checks do not replace network isolation.
|
|
57
|
+
- Host diagnostics intentionally exclude user identities, network configuration, installed software, and environment variables except for names explicitly configured by the host. Process diagnostics are separate, disabled by default, and return only configured process names, PIDs, states, and start times.
|
|
58
|
+
- Command execution accepts an argument array, never a shell string. Programs must be mapped by the host application, execution has a timeout, and output is truncated.
|
|
59
|
+
- The local command runner is not an OS security sandbox. Production deployment must run the service or runner inside the company-approved container/sandbox with no production secrets and restricted network access.
|
|
60
|
+
- Approval remains the orchestration layer's responsibility. Only attach `tools.write` or `tools.execute` after the matching approval policy has been validated.
|
|
61
|
+
|
|
62
|
+
This is a controlled operating-system capability adapter, not a general shell, process-management, credential, service-control, or unrestricted-network interface. Give each business Agent only the smallest subset of these tools it needs.
|
|
63
|
+
|
|
64
|
+
## Example
|
|
65
|
+
|
|
66
|
+
```python
|
|
67
|
+
from pathlib import Path
|
|
68
|
+
|
|
69
|
+
from agents import Agent
|
|
70
|
+
|
|
71
|
+
from function_tools import create_tools
|
|
72
|
+
|
|
73
|
+
tools = create_tools(Path("./workspace"))
|
|
74
|
+
|
|
75
|
+
agent = Agent(
|
|
76
|
+
name="Workspace assistant",
|
|
77
|
+
instructions="Use workspace tools when needed.",
|
|
78
|
+
tools=list(tools.files.read),
|
|
79
|
+
)
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Use the narrowest domain selector: `tools.files`, `tools.network`, `tools.host`, or `tools.process`. The v0.3-style `tools.read`, `tools.write`, and `tools.execute` selectors remain available for compatibility, but combine more capabilities. Every `*.write` and `*.execute` tool requires approval on every call. The SDK derives each FunctionTool's input schema from the Python signature and docstring.
|
|
83
|
+
|
|
84
|
+
## Complete Example
|
|
85
|
+
|
|
86
|
+
[OpenAI Agents workspace assistant](examples/openai_agents_workspace_assistant/README.md) is a runnable example with `tools.files.read`, `tools.files.write`, and per-call SDK approval. It is intentionally limited to one workspace; it does not attach network, host, process, command, MCP, or database tools.
|
|
87
|
+
|
|
88
|
+
## Design specs
|
|
89
|
+
|
|
90
|
+
- [v0.4 tool expansion spec](docs/v0.4-tool-expansion-spec.md)
|
|
91
|
+
- [release and compatibility policy](docs/release-policy.md)
|
|
92
|
+
- [changelog](CHANGELOG.md)
|
|
93
|
+
|
|
94
|
+
For configured commands, HTTPS hosts, or readable environment variables, use `ToolConfig`:
|
|
95
|
+
|
|
96
|
+
```python
|
|
97
|
+
import sys
|
|
98
|
+
from pathlib import Path
|
|
99
|
+
|
|
100
|
+
from function_tools import ToolConfig, create_tools
|
|
101
|
+
|
|
102
|
+
tools = create_tools(
|
|
103
|
+
ToolConfig(
|
|
104
|
+
workspace_root=Path("./workspace"),
|
|
105
|
+
command_programs={"python": sys.executable},
|
|
106
|
+
http_allowed_hosts=frozenset({"api.example.internal"}),
|
|
107
|
+
environment_variables=frozenset({"APP_ENV"}),
|
|
108
|
+
)
|
|
109
|
+
)
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Network diagnostics and process inspection are disabled until explicitly configured:
|
|
113
|
+
|
|
114
|
+
```python
|
|
115
|
+
from function_tools import ToolConfig, create_tools
|
|
116
|
+
|
|
117
|
+
tools = create_tools(
|
|
118
|
+
ToolConfig(
|
|
119
|
+
workspace_root="./workspace",
|
|
120
|
+
http_allowed_hosts=frozenset({"api.example.internal"}),
|
|
121
|
+
search_engines={"bing": "https://www.bing.com/search"},
|
|
122
|
+
network_allowed_ports=frozenset({443}),
|
|
123
|
+
process_name_allowlist=frozenset({"python.exe"}),
|
|
124
|
+
)
|
|
125
|
+
)
|
|
126
|
+
|
|
127
|
+
network_tools = tools.network.read
|
|
128
|
+
process_tools = tools.process.inspect
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## License
|
|
132
|
+
|
|
133
|
+
Apache-2.0. See [LICENSE](LICENSE).
|
|
134
|
+
|
|
135
|
+
## Development
|
|
136
|
+
|
|
137
|
+
Use Python 3.10 or newer:
|
|
138
|
+
|
|
139
|
+
```powershell
|
|
140
|
+
uv sync --python 3.10
|
|
141
|
+
uv run --python 3.10 pytest
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Tests do not call the OpenAI API and do not require `OPENAI_API_KEY`.
|
|
145
|
+
|
|
146
|
+
GitHub Actions runs formatting and linting, a Windows/Linux plus Python 3.10-3.12 test matrix, and the same package acceptance gate used before publishing. The suite includes public FunctionTool contracts and offline OpenAI Agents SDK integration tests using `ScriptedModel`, including approval interruption and resume behavior.
|
|
147
|
+
|
|
148
|
+
## OpenAI Agents SDK compatibility
|
|
149
|
+
|
|
150
|
+
The package requires `openai-agents>=0.22,<1`; `0.22.0` is the current validated baseline. The
|
|
151
|
+
weekly `OpenAI Agents SDK latest` workflow resolves the newest compatible SDK release from PyPI and
|
|
152
|
+
runs the deterministic suite against it. It detects upstream compatibility changes without silently
|
|
153
|
+
publishing or accepting a new SDK version.
|
|
154
|
+
|
|
155
|
+
## Release acceptance
|
|
156
|
+
|
|
157
|
+
Before every PyPI release, run:
|
|
158
|
+
|
|
159
|
+
```powershell
|
|
160
|
+
uv run python scripts/release_check.py
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
The gate checks the lockfile, formatting, linting, example compilation, tests, wheel and source-distribution contents, package metadata, a clean `python -m pip install --no-deps <wheel>`, and a separate clean runtime installation with dependencies.
|
|
164
|
+
|
|
165
|
+
Use the following command to run that gate and publish only when it passes:
|
|
166
|
+
|
|
167
|
+
```powershell
|
|
168
|
+
uv run python scripts/publish.py
|
|
169
|
+
```
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "agents-function-tools"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.5.0"
|
|
8
8
|
description = "Portable, policy-friendly system function tools for AI applications."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -17,7 +17,7 @@ classifiers = [
|
|
|
17
17
|
"Programming Language :: Python :: 3.12",
|
|
18
18
|
]
|
|
19
19
|
dependencies = [
|
|
20
|
-
"openai-agents>=0.
|
|
20
|
+
"openai-agents>=0.22,<1",
|
|
21
21
|
"pydantic>=2,<3",
|
|
22
22
|
]
|
|
23
23
|
|