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

Uploaded Python 3

File details

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

File metadata

  • Download URL: exoclaw_subagent-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 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_subagent-0.1.1.tar.gz
Algorithm Hash digest
SHA256 17d66ee2d1878a5f2862e1b6469554fb7b434de04ba52351a4324c4ec13f70b7
MD5 33245c84514afbe516be1c3dc866ae16
BLAKE2b-256 38b3814d1f5b389a09b971dbf14ac4dfa0a9b4b216f967ff53e3dbf134d29acd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exoclaw_subagent-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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_subagent-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2d40ee6c76d04849a3decdd9f0b3b0f0d03508a3fdc44dbe88504cda8785b54
MD5 6f9abaf74d7b139312a629ec9a1ef02b
BLAKE2b-256 245e65f4a1cb6521131cfd37f78a3791a1ac6ac967335d9fa01b28cef0f132dc

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