Subagent manager and LLM-facing spawn tool for exoclaw
Project description
exoclaw-subagent
Concrete SpawnManager implementation for exoclaw — spawns background subagents by nesting a fresh AgentLoop and announces results back to the originating session via the bus.
Install
pip install exoclaw-subagent
Usage
from exoclaw_subagent.manager import SubagentManager
subagent_manager = SubagentManager(
provider=provider,
bus=bus,
conversation_factory=lambda: DefaultConversation.create(
workspace=workspace,
provider=provider,
model=model,
),
tools=tools,
model=model,
max_iterations=15,
)
# Pass to SpawnTool — moved into this package in 0.9.0
from exoclaw_subagent import SpawnTool
spawn_tool = SpawnTool(manager=subagent_manager)
SubagentManager.spawn() returns immediately; the task runs in a background asyncio task. On completion, the result is injected back into the originating session as a system InboundMessage on the bus.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exoclaw_subagent-0.10.1.tar.gz.
File metadata
- Download URL: exoclaw_subagent-0.10.1.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
971295f8f3416fe4d46b6cae133f4d19764bb63ff8816295cc79d1548ef2d028
|
|
| MD5 |
c7d03eb09b78065722c16b8c784d9de8
|
|
| BLAKE2b-256 |
95fca30f465ba53dca28b552ab6f1b4f65fb4eb784c93243092db530945d618c
|
File details
Details for the file exoclaw_subagent-0.10.1-py3-none-any.whl.
File metadata
- Download URL: exoclaw_subagent-0.10.1-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5415a901c3de5ada2f64f34be3d503efd9f6802dcc1ed5877cafab5b6d86a105
|
|
| MD5 |
12aa871fe063e0733bf6be677822ee16
|
|
| BLAKE2b-256 |
c676fa95ed5d05bfd16a23cd690893c950f40f7285859b2e2a152a178bb60d0d
|