e4dcfc49aa
Tests / Import Check (Python 3.13) (push) Has been cancelled
Tests / Import Check (Python 3.14) (push) Has been cancelled
Tests / Python Tests (Python 3.11) (push) Has been cancelled
Tests / Python Tests (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.14) (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled
Tests / Lint and Format (push) Has been cancelled
Tests / Web Node Tests (push) Has been cancelled
Tests / Import Check (Python 3.11) (push) Has been cancelled
Tests / Import Check (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.13) (push) Has been cancelled
27 lines
905 B
Python
27 lines
905 B
Python
"""Subagent capability — consult a user's live local agent (Claude Code / Codex).
|
|
|
|
Selected like any connected KB: when the user picks a ``type: subagent`` KB, the
|
|
chat turn runs exclusively on the ``consult_subagent`` tool, driving the live CLI
|
|
through :mod:`deeptutor.services.subagent` and streaming its native run to the
|
|
sidebar. The chat model gathers what it needs across a bounded number of
|
|
consults, then answers the user itself.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from deeptutor.capabilities.subagent.binding import connection_for_turn
|
|
from deeptutor.capabilities.subagent.capability import SubagentCapability
|
|
from deeptutor.capabilities.subagent.tools import (
|
|
SUBAGENT_TOOL_NAMES,
|
|
SUBAGENT_TOOL_TYPES,
|
|
ConsultSubagentTool,
|
|
)
|
|
|
|
__all__ = [
|
|
"SubagentCapability",
|
|
"ConsultSubagentTool",
|
|
"SUBAGENT_TOOL_NAMES",
|
|
"SUBAGENT_TOOL_TYPES",
|
|
"connection_for_turn",
|
|
]
|