Skip to main content

Subagent spawn tool for exoclaw

Project description

exoclaw-tools-spawn

Subagent spawn tool implementing the exoclaw ToolBase protocol — lets the agent delegate tasks to background subagents and receive results asynchronously.

Install

pip install exoclaw-tools-spawn

Usage

from exoclaw_tools_spawn.tool import SpawnTool, SpawnManager

# SpawnManager is a Protocol — implement it or use exoclaw-subagent's SubagentManager
spawn_tool = SpawnTool(manager=subagent_manager)

# Update context per turn
spawn_tool.set_context(channel="cli", chat_id="direct")

SpawnTool exposes a spawn action to the LLM. The SpawnManager protocol requires a single spawn(task, label, origin_channel, origin_chat_id, session_key, search) coroutine. The concrete implementation is provided by exoclaw-subagent.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exoclaw_tools_spawn-0.7.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exoclaw_tools_spawn-0.7.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file exoclaw_tools_spawn-0.7.0.tar.gz.

File metadata

  • Download URL: exoclaw_tools_spawn-0.7.0.tar.gz
  • Upload date:
  • Size: 4.9 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

Hashes for exoclaw_tools_spawn-0.7.0.tar.gz
Algorithm Hash digest
SHA256 e5560f838e933c2ad30be6ba23fc26bed257dda2e54290822234f888ffe7db81
MD5 2b6f87a71bcf0619111b849c7ef73435
BLAKE2b-256 dba5aac918801da3a5cc91f386a4b6372732d664971710fbe43003940b1dd29e

See more details on using hashes here.

File details

Details for the file exoclaw_tools_spawn-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: exoclaw_tools_spawn-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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

Hashes for exoclaw_tools_spawn-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afcc659d4efe15c6d80b43193d0df594e2250e367b82932b6d4ebba5224608e6
MD5 40ad44db3f34a4173bf2e680f61ec125
BLAKE2b-256 1a8daeb8767c6c904e0d9a9b41c244eb24f347619e8c29b0d43c07334f8cb412

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page