Skip to main content

Subagent manager for exoclaw — nested agent execution via AgentLoop

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
from exoclaw_tools_spawn.tool 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.7.0.tar.gz (6.4 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.7.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exoclaw_subagent-0.7.0.tar.gz
  • Upload date:
  • Size: 6.4 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.7.0.tar.gz
Algorithm Hash digest
SHA256 0fb465be1aeaa71a3a21a77109dd7ebd20a2a992052461fcbe44f199a78d1011
MD5 2257dc0040f922d27a2fff6101cbe827
BLAKE2b-256 1621fb9d7cfe03a5c7b50828f8be263fa31066621c6b0d7fc8a3051e860e0675

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exoclaw_subagent-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd11f591f861ba18f70e9764c23d95c35f7e47c80ba404624f01fdf03a8000fe
MD5 6ba167d9412f87d4b2b1c5361f4c0bb1
BLAKE2b-256 3b6bacd50fd73354443ba1e1a5ddc45c531d14f2988770868c6914eee9bbe122

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