Skip to content

feat: phase 4 batch 3 - tool execution orchestrator and latency metrics - #37

Merged
arpayidcloud-byte merged 1 commit into
mainfrom
feat/phase-4-batch-3-tool-orchestrator
Jul 23, 2026
Merged

feat: phase 4 batch 3 - tool execution orchestrator and latency metrics#37
arpayidcloud-byte merged 1 commit into
mainfrom
feat/phase-4-batch-3-tool-orchestrator

Conversation

@arpayidcloud-byte

Copy link
Copy Markdown
Owner

Phase 4 Batch 3: Tool-Provider Integration

Changes

  • ToolOrchestrator ()
    • : Execute tool calls from provider response
    • : Multi-turn tool conversation loop with max iterations
    • : Convert registry tools to provider-compatible specs
  • Latency histogram added to (4.1.4)
    • Tracks with tool name, category, cached/error labels
  • Provider-SDK export: Added type export
  • Dependency: Added to tool-sdk package.json
  • Tests: 8 new tests for orchestrator (all passing)

Implements

  • 4.1.4: Tool execution metrics (latency histogram)
  • 4.2.1: Tool specs from registry for provider requests
  • 4.2.2: Tool call execution from provider response
  • 4.2.3: Tool result injection
  • 4.2.4: Multi-turn tool conversation loop

CI Status

  • typecheck: ✅
  • lint: ✅ (0 errors, warnings only)
  • build: ✅
  • test: ✅ (303 tests passing)

- Add ToolOrchestrator for provider-tool integration (4.2.1-4.2.4)
  - executeToolCalls: execute tool calls from provider response
  - runWithToolLoop: multi-turn tool conversation loop
  - toolSpecsFromRegistry: convert registry tools to provider specs
- Add latency histogram to tool execution pipeline (4.1.4)
- Export ToolResult from provider-sdk
- Add @agentx/provider-sdk dependency to tool-sdk
- Add orchestrator tests (8 tests)
- Update WORKFLOW.md with current status
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@arpayidcloud-byte
arpayidcloud-byte merged commit 2917fd1 into main Jul 23, 2026
1 check passed
@arpayidcloud-byte
arpayidcloud-byte deleted the feat/phase-4-batch-3-tool-orchestrator branch July 23, 2026 06:57
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