Skip to content

feat: Add Strands integration references to aiconfig skills#60

Closed
sattensil wants to merge 1 commit into
mainfrom
scarlett/strands-references
Closed

feat: Add Strands integration references to aiconfig skills#60
sattensil wants to merge 1 commit into
mainfrom
scarlett/strands-references

Conversation

@sattensil
Copy link
Copy Markdown
Contributor

Summary

Adds Strands Agents as a known framework across the aiconfig-create and aiconfig-tools skills, with reference files capturing the patterns that surfaced while building the strands-agents/samples LaunchDarkly sample (PR: strands-agents/samples#264) and the matching cookbook (https://github.com/launchdarkly-labs/agentcontrol-cookbooks/blob/main/strands.ipynb).

aiconfig-create/references/strands.md — Strands Agent integration:

  • create_strands_model provider dispatch (OpenAI / Anthropic / Bedrock) with Bedrock model-id prefix fallback
  • Variation parameter conventions per provider (gpt-5 max_completion_tokens, Anthropic max_tokens kwarg vs in params, Bedrock model-id prefix dispatch)
  • Async invocation tracking via track_metrics_of_async + LDAIMetrics extractor — track_duration_of is sync-only and silently zeroes durations when fed lambda: agent.invoke_async(...), which is a real bug that surfaces as missing metrics
  • Self-heal pattern for re-runs after cleanup close() (the Python SDK's is_initialized() is a one-way latch and stays True after close)

aiconfig-tools/references/strands.md — Strands tool wiring:

  • LD-driven tool list with local TOOL_REGISTRY runtime resolution
  • @tool decorator + per-invocation tracker for track_tool_call
  • How detaching a tool in LD propagates within the streaming window without a code change

Both SKILL.mds gain Strands in the framework lists and a pointer at the new references.

Test plan

  • Skim both new references/strands.md files for accuracy against the published sample/cookbook
  • Confirm Strands now appears in aiconfig-create/SKILL.md Step 1 framework list and the agent/completion decision table
  • Confirm aiconfig-tools/SKILL.md Step 1 + Core Principles call out Strands and link to the new reference

Adds Strands Agents (https://strandsagents.com) as a known framework
across the aiconfig-create and aiconfig-tools skills, with reference
files capturing the patterns that surfaced while building the
strands-agents/samples LaunchDarkly sample and the matching cookbook.

aiconfig-create/references/strands.md
- create_strands_model provider dispatch (OpenAI/Anthropic/Bedrock)
- Variation parameter conventions per provider (gpt-5 max_completion_tokens,
  Anthropic max_tokens kwarg, Bedrock model-id prefix dispatch)
- Async invocation tracking via track_metrics_of_async + LDAIMetrics
  (track_duration_of is sync-only and silently zeroes durations when fed
  a coroutine factory, causing apparent metrics loss)
- Self-heal pattern for re-runs after cleanup close() (is_initialized is
  a one-way latch in the Python SDK)

aiconfig-tools/references/strands.md
- LD-driven tool list with local TOOL_REGISTRY runtime resolution
- @tool decorator + per-invocation tracker for track_tool_call
- Detaching a tool in LD propagates without code changes

Cross-references the published sample at strands-agents/samples and
the cookbook at launchdarkly-labs/agentcontrol-cookbooks.
@sattensil sattensil requested a review from a team as a code owner May 14, 2026 02:27
@sattensil
Copy link
Copy Markdown
Contributor Author

Closing — this branch was pushed from a stale local clone of agent-skills that predated the rename to launchdarkly/ai-tooling and the substantial Strands additions in #51, #55, #56. All patterns I attempted to document (provider dispatch, async tracking, agent graphs, TOOL_REGISTRY, etc.) are already covered with better depth in:

No net-new content to contribute. Apologies for the noise.

@sattensil sattensil closed this May 14, 2026
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