roboz 0.1.2.dev5__tar.gz → 0.1.2.dev6__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.
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/CHANGELOG.md +8 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/PKG-INFO +31 -20
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/README.md +30 -19
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/pyproject.toml +1 -1
- roboz-0.1.2.dev6/src/roboz/__init__.py +48 -0
- roboz-0.1.2.dev6/src/roboz/__init__.pyi +20 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/tooling/__init__.py +9 -1
- roboz-0.1.2.dev5/src/roboz/__init__.py +0 -71
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/.gitignore +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/LICENSE +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/_naming.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/agent/__init__.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/agent/_execution_context.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/agent/_identifiers.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/agent/_notifications.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/agent/_prompts.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/agent/_tool_observer.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/agent/background_agent.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/agent/core.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/agent/prompt_agent_tool.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/agent/subagent.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/dependencies.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/deployment.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/exceptions.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/llm/__init__.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/llm/_diagnostics.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/llm/_retry.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/llm/_truncation.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/llm/binding.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/llm/calls.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/llm/completion.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/llm/endpoints.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/llm/openai_compatible.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/llm/openrouter.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/llm/prompts.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/models/__init__.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/models/_schema.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/models/_serialization.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/models/_telemetry.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/models/core.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/models/truncation.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/py.typed +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/__init__.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/_environment.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/_external.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/_logging.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/_paths.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/events.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/io.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/observability.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/persistence/__init__.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/persistence/activity.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/persistence/schema.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/pipe.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/runtime/sinks.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/skill/__init__.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/skill/_prompts.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/skill/core.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/tooling/_prompts.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/tooling/_protocols.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/tooling/_typing.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/tooling/context.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/tooling/core.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/tooling/decorators.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/tools/__init__.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/tools/_identifiers.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/tools/control.py +0 -0
- {roboz-0.1.2.dev5 → roboz-0.1.2.dev6}/src/roboz/tools/interaction.py +0 -0
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.1.2.dev6 - 2026-09-15
|
|
6
|
+
|
|
7
|
+
- Breaking: make the `roboz` root a lazy authoring facade. It now exports only
|
|
8
|
+
`Agent`, `Skill`, `Tool`, `Factory`, `tool`, and `factory` alongside discoverable
|
|
9
|
+
domain namespaces. Import models from `roboz.models`, agent helpers from
|
|
10
|
+
`roboz.agent`, built-in tools from `roboz.tools`, and context protocols from
|
|
11
|
+
`roboz.tooling`. See [the import migration guide](docs/imports.md).
|
|
12
|
+
|
|
5
13
|
## 0.1.2.dev5 - 2026-09-13
|
|
6
14
|
|
|
7
15
|
- Add `LLMEndpointRoute`, a typed live-selection layer above concrete chat
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: roboz
|
|
3
|
-
Version: 0.1.2.
|
|
3
|
+
Version: 0.1.2.dev6
|
|
4
4
|
Import-Name: roboz
|
|
5
5
|
Summary: Typed primitives for composable agentic workflows
|
|
6
6
|
Project-URL: Homepage, https://github.com/Tachion-Oy/roboz
|
|
@@ -27,12 +27,22 @@ Provides-Extra: proton-bridge-beta
|
|
|
27
27
|
Requires-Dist: roboz-proton-bridge<0.2.0,>=0.1.0b1; extra == 'proton-bridge-beta'
|
|
28
28
|
Description-Content-Type: text/markdown
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
<div align="center">
|
|
31
|
+
<picture>
|
|
32
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/roboz-logo-dark.svg">
|
|
33
|
+
<source media="(prefers-color-scheme: light)" srcset="docs/assets/roboz-logo-light.svg">
|
|
34
|
+
<img alt="RoboZ" src="docs/assets/roboz-logo-dark.svg" width="560">
|
|
35
|
+
</picture>
|
|
31
36
|
|
|
32
|
-
|
|
37
|
+
<p><strong>Chain tools. Skip calls.</strong></p>
|
|
38
|
+
</div>
|
|
33
39
|
|
|
34
40
|
RoboZ is a framework for building llm powered agents. The core ingredient is that every tool can may be chained conditionally to a subsequent tool thus allowing easy injection of deterministic flows into agentic processes.
|
|
35
41
|
|
|
42
|
+
The package root contains the concise agent and tool authoring API. Models, LLM
|
|
43
|
+
operations, built-in tools, and runtime interfaces live in their corresponding
|
|
44
|
+
domain namespaces; see [public imports](docs/imports.md).
|
|
45
|
+
|
|
36
46
|
[](https://github.com/Tachion-Oy/roboz/actions/workflows/ci.yml)
|
|
37
47
|
[](https://www.python.org/downloads/)
|
|
38
48
|
[](LICENSE)
|
|
@@ -69,37 +79,38 @@ TBD
|
|
|
69
79
|
|
|
70
80
|
|
|
71
81
|
```python
|
|
72
|
-
|
|
82
|
+
from roboz import tool
|
|
83
|
+
from roboz.models import Empty, Message
|
|
73
84
|
|
|
74
85
|
|
|
75
|
-
class LunchPreference(
|
|
86
|
+
class LunchPreference(Empty):
|
|
76
87
|
cuisine: str | None
|
|
77
88
|
|
|
78
89
|
|
|
79
|
-
class Restaurant(
|
|
90
|
+
class Restaurant(Empty):
|
|
80
91
|
name: str
|
|
81
92
|
seats_available: bool
|
|
82
93
|
|
|
83
94
|
|
|
84
|
-
class Booking(
|
|
95
|
+
class Booking(Empty):
|
|
85
96
|
confirmation: str
|
|
86
97
|
|
|
87
98
|
|
|
88
|
-
@
|
|
99
|
+
@tool
|
|
89
100
|
def plan_lunch_with_bob(
|
|
90
|
-
input:
|
|
101
|
+
input: Empty, messages: list[Message]
|
|
91
102
|
) -> LunchPreference:
|
|
92
103
|
...
|
|
93
104
|
|
|
94
105
|
|
|
95
|
-
@
|
|
106
|
+
@tool
|
|
96
107
|
def retry_plan_lunch_with_bob(
|
|
97
|
-
input: Restaurant, messages: list[
|
|
108
|
+
input: Restaurant, messages: list[Message]
|
|
98
109
|
) -> LunchPreference:
|
|
99
110
|
...
|
|
100
111
|
|
|
101
112
|
|
|
102
|
-
@
|
|
113
|
+
@tool(
|
|
103
114
|
chained_to=[plan_lunch_with_bob, retry_plan_lunch_with_bob],
|
|
104
115
|
chain_condition=lambda output: (
|
|
105
116
|
isinstance(output, LunchPreference)
|
|
@@ -107,7 +118,7 @@ def retry_plan_lunch_with_bob(
|
|
|
107
118
|
),
|
|
108
119
|
)
|
|
109
120
|
def find_restaurant(
|
|
110
|
-
input: LunchPreference, messages: list[
|
|
121
|
+
input: LunchPreference, messages: list[Message]
|
|
111
122
|
) -> Restaurant:
|
|
112
123
|
...
|
|
113
124
|
|
|
@@ -120,13 +131,13 @@ retry_plan_lunch_with_bob.chain(
|
|
|
120
131
|
)
|
|
121
132
|
|
|
122
133
|
|
|
123
|
-
@
|
|
134
|
+
@tool(
|
|
124
135
|
chained_to=find_restaurant,
|
|
125
136
|
chain_condition=lambda output: (
|
|
126
137
|
isinstance(output, Restaurant) and output.seats_available
|
|
127
138
|
),
|
|
128
139
|
)
|
|
129
|
-
def book_a_table(input: Restaurant, messages: list[
|
|
140
|
+
def book_a_table(input: Restaurant, messages: list[Message]) -> Booking:
|
|
130
141
|
...
|
|
131
142
|
```
|
|
132
143
|
|
|
@@ -209,11 +220,11 @@ install integrations only where they are needed.
|
|
|
209
220
|
|
|
210
221
|
| Primitive | Role |
|
|
211
222
|
| --- | --- |
|
|
212
|
-
| `
|
|
213
|
-
|
|
|
214
|
-
|
|
|
215
|
-
| `
|
|
216
|
-
| `
|
|
223
|
+
| `roboz.Agent` | Owns the active tool surface, prompt, invoke loop, and runtime events. |
|
|
224
|
+
| `roboz.tool` | Defines an action with typed input and output models. |
|
|
225
|
+
| `roboz.factory` | Binds a concrete typed context or resource to a tool. |
|
|
226
|
+
| `roboz.Skill` | Packages reusable instructions and optional tools. |
|
|
227
|
+
| `roboz.models.Message` | Carries content and its model-context lifecycle. |
|
|
217
228
|
| `roboz.deployment.DeployableAgent` | Composes capabilities, subagents, and background agents. |
|
|
218
229
|
|
|
219
230
|
## Optional ecosystem
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/roboz-logo-dark.svg">
|
|
4
|
+
<source media="(prefers-color-scheme: light)" srcset="docs/assets/roboz-logo-light.svg">
|
|
5
|
+
<img alt="RoboZ" src="docs/assets/roboz-logo-dark.svg" width="560">
|
|
6
|
+
</picture>
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
<p><strong>Chain tools. Skip calls.</strong></p>
|
|
9
|
+
</div>
|
|
4
10
|
|
|
5
11
|
RoboZ is a framework for building llm powered agents. The core ingredient is that every tool can may be chained conditionally to a subsequent tool thus allowing easy injection of deterministic flows into agentic processes.
|
|
6
12
|
|
|
13
|
+
The package root contains the concise agent and tool authoring API. Models, LLM
|
|
14
|
+
operations, built-in tools, and runtime interfaces live in their corresponding
|
|
15
|
+
domain namespaces; see [public imports](docs/imports.md).
|
|
16
|
+
|
|
7
17
|
[](https://github.com/Tachion-Oy/roboz/actions/workflows/ci.yml)
|
|
8
18
|
[](https://www.python.org/downloads/)
|
|
9
19
|
[](LICENSE)
|
|
@@ -40,37 +50,38 @@ TBD
|
|
|
40
50
|
|
|
41
51
|
|
|
42
52
|
```python
|
|
43
|
-
|
|
53
|
+
from roboz import tool
|
|
54
|
+
from roboz.models import Empty, Message
|
|
44
55
|
|
|
45
56
|
|
|
46
|
-
class LunchPreference(
|
|
57
|
+
class LunchPreference(Empty):
|
|
47
58
|
cuisine: str | None
|
|
48
59
|
|
|
49
60
|
|
|
50
|
-
class Restaurant(
|
|
61
|
+
class Restaurant(Empty):
|
|
51
62
|
name: str
|
|
52
63
|
seats_available: bool
|
|
53
64
|
|
|
54
65
|
|
|
55
|
-
class Booking(
|
|
66
|
+
class Booking(Empty):
|
|
56
67
|
confirmation: str
|
|
57
68
|
|
|
58
69
|
|
|
59
|
-
@
|
|
70
|
+
@tool
|
|
60
71
|
def plan_lunch_with_bob(
|
|
61
|
-
input:
|
|
72
|
+
input: Empty, messages: list[Message]
|
|
62
73
|
) -> LunchPreference:
|
|
63
74
|
...
|
|
64
75
|
|
|
65
76
|
|
|
66
|
-
@
|
|
77
|
+
@tool
|
|
67
78
|
def retry_plan_lunch_with_bob(
|
|
68
|
-
input: Restaurant, messages: list[
|
|
79
|
+
input: Restaurant, messages: list[Message]
|
|
69
80
|
) -> LunchPreference:
|
|
70
81
|
...
|
|
71
82
|
|
|
72
83
|
|
|
73
|
-
@
|
|
84
|
+
@tool(
|
|
74
85
|
chained_to=[plan_lunch_with_bob, retry_plan_lunch_with_bob],
|
|
75
86
|
chain_condition=lambda output: (
|
|
76
87
|
isinstance(output, LunchPreference)
|
|
@@ -78,7 +89,7 @@ def retry_plan_lunch_with_bob(
|
|
|
78
89
|
),
|
|
79
90
|
)
|
|
80
91
|
def find_restaurant(
|
|
81
|
-
input: LunchPreference, messages: list[
|
|
92
|
+
input: LunchPreference, messages: list[Message]
|
|
82
93
|
) -> Restaurant:
|
|
83
94
|
...
|
|
84
95
|
|
|
@@ -91,13 +102,13 @@ retry_plan_lunch_with_bob.chain(
|
|
|
91
102
|
)
|
|
92
103
|
|
|
93
104
|
|
|
94
|
-
@
|
|
105
|
+
@tool(
|
|
95
106
|
chained_to=find_restaurant,
|
|
96
107
|
chain_condition=lambda output: (
|
|
97
108
|
isinstance(output, Restaurant) and output.seats_available
|
|
98
109
|
),
|
|
99
110
|
)
|
|
100
|
-
def book_a_table(input: Restaurant, messages: list[
|
|
111
|
+
def book_a_table(input: Restaurant, messages: list[Message]) -> Booking:
|
|
101
112
|
...
|
|
102
113
|
```
|
|
103
114
|
|
|
@@ -180,11 +191,11 @@ install integrations only where they are needed.
|
|
|
180
191
|
|
|
181
192
|
| Primitive | Role |
|
|
182
193
|
| --- | --- |
|
|
183
|
-
| `
|
|
184
|
-
|
|
|
185
|
-
|
|
|
186
|
-
| `
|
|
187
|
-
| `
|
|
194
|
+
| `roboz.Agent` | Owns the active tool surface, prompt, invoke loop, and runtime events. |
|
|
195
|
+
| `roboz.tool` | Defines an action with typed input and output models. |
|
|
196
|
+
| `roboz.factory` | Binds a concrete typed context or resource to a tool. |
|
|
197
|
+
| `roboz.Skill` | Packages reusable instructions and optional tools. |
|
|
198
|
+
| `roboz.models.Message` | Carries content and its model-context lifecycle. |
|
|
188
199
|
| `roboz.deployment.DeployableAgent` | Composes capabilities, subagents, and background agents. |
|
|
189
200
|
|
|
190
201
|
## Optional ecosystem
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""Lazy domain namespaces and concise authoring primitives for Roboz."""
|
|
2
|
+
|
|
3
|
+
from importlib import import_module
|
|
4
|
+
from typing import Final
|
|
5
|
+
|
|
6
|
+
_DOMAINS: Final = frozenset(
|
|
7
|
+
{
|
|
8
|
+
"agent",
|
|
9
|
+
"dependencies",
|
|
10
|
+
"deployment",
|
|
11
|
+
"exceptions",
|
|
12
|
+
"llm",
|
|
13
|
+
"models",
|
|
14
|
+
"runtime",
|
|
15
|
+
"skill",
|
|
16
|
+
"tooling",
|
|
17
|
+
"tools",
|
|
18
|
+
}
|
|
19
|
+
)
|
|
20
|
+
_AUTHORING_EXPORTS: Final = {
|
|
21
|
+
"Agent": ("roboz.agent", "Agent"),
|
|
22
|
+
"Factory": ("roboz.tooling", "Factory"),
|
|
23
|
+
"Skill": ("roboz.skill", "Skill"),
|
|
24
|
+
"Tool": ("roboz.tooling", "Tool"),
|
|
25
|
+
"factory": ("roboz.tooling", "factory"),
|
|
26
|
+
"tool": ("roboz.tooling", "tool"),
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
__all__ = list(_AUTHORING_EXPORTS) + sorted(_DOMAINS) # pyright: ignore[reportUnsupportedDunderAll]
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def __getattr__(name: str) -> object:
|
|
33
|
+
"""Load a declared public namespace or authoring primitive on first access."""
|
|
34
|
+
if name in _DOMAINS:
|
|
35
|
+
value = import_module(f"{__name__}.{name}")
|
|
36
|
+
else:
|
|
37
|
+
try:
|
|
38
|
+
module_name, attribute = _AUTHORING_EXPORTS[name]
|
|
39
|
+
except KeyError:
|
|
40
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}") from None
|
|
41
|
+
value = getattr(import_module(module_name), attribute)
|
|
42
|
+
globals()[name] = value
|
|
43
|
+
return value
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def __dir__() -> list[str]:
|
|
47
|
+
"""Return loaded globals together with every declared lazy export."""
|
|
48
|
+
return sorted(set(globals()) | set(__all__))
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Typed public namespaces and concise authoring primitives for Roboz."""
|
|
2
|
+
|
|
3
|
+
from roboz import agent as agent
|
|
4
|
+
from roboz import dependencies as dependencies
|
|
5
|
+
from roboz import deployment as deployment
|
|
6
|
+
from roboz import exceptions as exceptions
|
|
7
|
+
from roboz import llm as llm
|
|
8
|
+
from roboz import models as models
|
|
9
|
+
from roboz import runtime as runtime
|
|
10
|
+
from roboz import skill as skill
|
|
11
|
+
from roboz import tooling as tooling
|
|
12
|
+
from roboz import tools as tools
|
|
13
|
+
from roboz.agent import Agent as Agent
|
|
14
|
+
from roboz.skill import Skill as Skill
|
|
15
|
+
from roboz.tooling import Factory as Factory
|
|
16
|
+
from roboz.tooling import Tool as Tool
|
|
17
|
+
from roboz.tooling import factory as factory
|
|
18
|
+
from roboz.tooling import tool as tool
|
|
19
|
+
|
|
20
|
+
__all__: list[str]
|
|
@@ -2,5 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
from roboz.tooling.context import HasExternalDependencies, Materializable
|
|
4
4
|
from roboz.tooling.core import Factory, Tool
|
|
5
|
+
from roboz.tooling.decorators import factory, tool
|
|
5
6
|
|
|
6
|
-
__all__ = [
|
|
7
|
+
__all__ = [
|
|
8
|
+
"Factory",
|
|
9
|
+
"HasExternalDependencies",
|
|
10
|
+
"Materializable",
|
|
11
|
+
"Tool",
|
|
12
|
+
"factory",
|
|
13
|
+
"tool",
|
|
14
|
+
]
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"""Agent, skill, data, tool, and factory authoring primitives for Roboz."""
|
|
2
|
-
|
|
3
|
-
from roboz.agent import (
|
|
4
|
-
Agent,
|
|
5
|
-
BackgroundAgentStatus,
|
|
6
|
-
prompt_agent,
|
|
7
|
-
run_background_agent,
|
|
8
|
-
run_subagent,
|
|
9
|
-
)
|
|
10
|
-
from roboz.skill import Skill
|
|
11
|
-
from roboz.tools import (
|
|
12
|
-
PromptUser,
|
|
13
|
-
message_user,
|
|
14
|
-
prompt_user,
|
|
15
|
-
prompt_user_at_start,
|
|
16
|
-
stop,
|
|
17
|
-
stop_after,
|
|
18
|
-
)
|
|
19
|
-
from roboz.models import (
|
|
20
|
-
AgentBaseModel,
|
|
21
|
-
All,
|
|
22
|
-
Empty,
|
|
23
|
-
HashMaps,
|
|
24
|
-
Int,
|
|
25
|
-
Invoke,
|
|
26
|
-
Location,
|
|
27
|
-
LocationStr,
|
|
28
|
-
Message,
|
|
29
|
-
Role,
|
|
30
|
-
Stop,
|
|
31
|
-
StopLocation,
|
|
32
|
-
Str,
|
|
33
|
-
Strs,
|
|
34
|
-
)
|
|
35
|
-
from roboz.tooling import HasExternalDependencies, Materializable, Factory, Tool
|
|
36
|
-
from roboz.tooling.decorators import factory, tool
|
|
37
|
-
|
|
38
|
-
__all__ = [
|
|
39
|
-
"Agent",
|
|
40
|
-
"AgentBaseModel",
|
|
41
|
-
"All",
|
|
42
|
-
"BackgroundAgentStatus",
|
|
43
|
-
"HasExternalDependencies",
|
|
44
|
-
"Empty",
|
|
45
|
-
"Factory",
|
|
46
|
-
"HashMaps",
|
|
47
|
-
"Int",
|
|
48
|
-
"Invoke",
|
|
49
|
-
"Location",
|
|
50
|
-
"LocationStr",
|
|
51
|
-
"Materializable",
|
|
52
|
-
"Message",
|
|
53
|
-
"PromptUser",
|
|
54
|
-
"Role",
|
|
55
|
-
"Skill",
|
|
56
|
-
"Stop",
|
|
57
|
-
"StopLocation",
|
|
58
|
-
"Str",
|
|
59
|
-
"Strs",
|
|
60
|
-
"Tool",
|
|
61
|
-
"factory",
|
|
62
|
-
"message_user",
|
|
63
|
-
"prompt_agent",
|
|
64
|
-
"prompt_user",
|
|
65
|
-
"prompt_user_at_start",
|
|
66
|
-
"run_background_agent",
|
|
67
|
-
"run_subagent",
|
|
68
|
-
"stop",
|
|
69
|
-
"stop_after",
|
|
70
|
-
"tool",
|
|
71
|
-
]
|
|
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
|
|
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
|
|
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
|
|
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
|