Skip to content

Updating specialists#139

Merged
alex-w-99 merged 18 commits intobetafrom
update-specialists
Feb 5, 2026
Merged

Updating specialists#139
alex-w-99 merged 18 commits intobetafrom
update-specialists

Conversation

@alex-w-99
Copy link
Contributor

@alex-w-99 alex-w-99 commented Feb 5, 2026

Updates include:

  • Specialist autonomous mode returns orchestrator-defined format (wrapping result model with errors, complaints, etc.)
  • Remove "docs specialist," give AbstractAgent basic docs querying tools
  • Update network data loader and specialist to remove all HAR file references
  • Rename specialists uniformly to -Specialist suffixed naming convention
  • Fix conditional tool registration in specialist classes (most tools should be conditionally registered)

Next steps:

  • Reinforce specialist system prompts to be concise
  • Fix bug: ERROR:bluebox.agents.abstract_agent:Auto-executed tool run_pending_tasks failed: 'str' object has no attribute 'value'

@alex-w-99 alex-w-99 changed the title rename specialists Updating specialists Feb 5, 2026
alex-w-99 and others added 17 commits February 5, 2026 16:19
Covers initialization, chat management, message building, tool
infrastructure (_collect_tools, _sync_tools, _execute_tool),
documentation tools with @token_optimized output, prompt injection,
streaming, agent loop, reset, @agent_tool decorator, and integration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Covers: tool name derivation (single/double/no underscore prefix),
full docstring extraction (single-line, multi-paragraph, multiple
consecutive blank lines, blank lines before Args), exclusion of
Args/Returns/Raises/Example sections, whitespace collapsing, explicit
description and parameters overrides, param schema types (str, int,
float, bool, list, dict, nullable), param descriptions from docstring
Args section (including parenthetical type format), required vs optional
params, availability (static + callable with dynamic evaluation),
_ToolMeta attachment and immutability, and a complex mixed-signature
integration test.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
_execute_tool now keeps validated values from TypeAdapter.validate_python
instead of discarding them. This means Pydantic model parameters arrive
as actual model instances (with .field access, validators, defaults)
rather than raw dicts.

Adds 10 new tests: Pydantic model coercion from dict (with defaults,
validation errors, missing fields), primitives still pass through, and
5 decorator schema tests for Pydantic model params (nested object schema,
field types, field descriptions, required fields, docstring description).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@alex-w-99 alex-w-99 marked this pull request as ready for review February 5, 2026 19:03
@alex-w-99 alex-w-99 merged commit e85e10e into beta Feb 5, 2026
9 checks passed
@alex-w-99 alex-w-99 deleted the update-specialists branch February 5, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant