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.1.1.tar.gz (2.6 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.1.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exoclaw_tools_spawn-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for exoclaw_tools_spawn-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7a379107ef12ddd64d9a79e4cb7fd31274a7392749f79ab641a2cbaf9455db9f
MD5 e9d84a20354dcab4b2c346decfbc3b35
BLAKE2b-256 c4b57f3be3c1f7f04c695dfe08fc0c6e0f8b51e5e83c3250a2fc148da22084c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exoclaw_tools_spawn-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for exoclaw_tools_spawn-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 26a559b3c00a37a381029bab52293ca26ed517be8c702db19d70d104e748b8b7
MD5 8bbc20d3d2ceebbaa45c16e64e9fdcac
BLAKE2b-256 fbb402dfc5a0ed160e5321bb1bea8bdc6eaeb1bc5e16d5489882865bd7175165

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