Skip to main content

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


Download files

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

Source Distribution

exoclaw_subagent-0.13.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

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

exoclaw_subagent-0.13.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file exoclaw_subagent-0.13.0.tar.gz.

File metadata

  • Download URL: exoclaw_subagent-0.13.0.tar.gz
  • Upload date:
  • Size: 13.8 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_subagent-0.13.0.tar.gz
Algorithm Hash digest
SHA256 18e979af6899a9ae5758c957de39d4e2d54f9c1fddcbd543b389587a05782e14
MD5 b0dcff673f806b979de4fcf8577efd1f
BLAKE2b-256 484e3a17d4270f4a7b99dbac06a3d1cd6adbfa3af029dbcadef7917c58791232

See more details on using hashes here.

File details

Details for the file exoclaw_subagent-0.13.0-py3-none-any.whl.

File metadata

  • Download URL: exoclaw_subagent-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 17.8 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_subagent-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a701c62afe7720e602f8eeb7bc3c8993ab8695ace7de6046e18ba8407f8592d5
MD5 e3714a20dd8b1ec92d6567afa10758c2
BLAKE2b-256 90021e254603e67573151b9947fd0171cadf93f64b010f5144fc9f418a5634cb

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