-
Notifications
You must be signed in to change notification settings - Fork 71
[FEATURE] Load Agentic Configurations from a Dictionary #214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
vawsgit
wants to merge
10
commits into
strands-agents:main
Choose a base branch
from
vawsgit:feature/vincilb/config-loader
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[FEATURE] Load Agentic Configurations from a Dictionary #214
vawsgit
wants to merge
10
commits into
strands-agents:main
from
vawsgit:feature/vincilb/config-loader
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Created detailed plan for adding Experimental section to Strands documentation - Analyzed existing docs structure, tone, and navigation patterns - Proposed integration between User Guide and Examples sections - Detailed content outlines for all config loader functionality: - Agent configuration guide with complete examples - Tool configuration including MCP integration - Swarm configuration for multi-agent collaboration - Graph configuration with conditional routing - Structured output configuration with schema definitions - Implementation timeline with 8-week rollout plan - Success metrics and risk mitigation strategies - Maintains consistency with existing documentation style and standards
- Add experimental section to documentation - Migrate all config loader documentation from sdk-python - Include comprehensive guides for: - Agent configuration loading - Tool configuration loading (including Agent-as-Tool) - Swarm configuration loading - Graph configuration loading - Structured output configuration - Update navigation to include experimental features - Maintain all original content and examples
- Reorganize navigation to place Experimental as a subsection under User Guide - Position Experimental after Deploy section for logical flow - Update EXPERIMENTAL-DOC-PLAN.md to reflect new structure - Mark implementation phases as completed - Add implementation status note with completion date
- Add comprehensive introduction explaining configuration loading benefits - Document native support for Python Dict, JSON, and YAML formats - Include practical examples for each format type - Add quick start examples for agent and swarm configurations - Show migration path from programmatic to configuration-driven approach - Maintain original feature specification for reference
- Correct overview.md to focus on dictionary-based configuration - Remove file-based loading hallucinations - Update agent-config.md with accurate API examples - Add missing Swarm-as-Tool and Graph-as-Tool examples to tool-config.md - Correct structured-output.md to match implementation - Update swarm-config.md and graph-config.md with proper usage - Clarify experimental nature throughout documentation - Ensure all examples match actual public interface - Remove references to non-existent features
11 tasks
- Document current Agent(), Graph(), and Swarm() constructor modifications - Detail config parameter integration approach before removal - Highlight API fluidity advantages and developer experience benefits - Preserve implementation approach for potential future use - Focus on public interface rather than internal implementation details
…ents Updated all ConfigLoader documentation to reflect correct configuration structure: Phase 1 - Core Configuration Examples: - overview.md: Updated all examples to use top-level keys, added schema validation and IDE integration sections - agent-config.md: Wrapped all configurations in 'agent:' key, added comprehensive schema validation guide - graph-config.md: Wrapped all configurations in 'graph:' key, updated node and edge examples - swarm-config.md: Wrapped all configurations in 'swarm:' key, updated agent configurations within swarms Phase 2 - Advanced Features: - tool-config.md: Updated nested agent configurations, added schema validation for tools - structured-output.md: Wrapped all agent configs in 'agent:' key, added JSON Schema validation integration Phase 3 - Meta Documentation: - experimental/README.md: Added schema validation system, IDE integration features, comprehensive examples New Features Added: - Schema validation sections in all files with VSCode setup instructions - IDE integration guides (VSCode, IntelliJ, Vim) - Comprehensive examples showing correct top-level key usage - Advanced configuration patterns with proper nesting - Error handling and troubleshooting guides - Best practices for each configuration type All configuration examples now: - Use proper top-level keys (agent:, graph:, swarm:, tools:) - Work with current ConfigLoader implementation - Support schema validation and IDE integration - Follow consistent structure and formatting - Include comprehensive real-world examples Ready for production use with full schema validation ecosystem support
Cleaned up documentation by removing: - Individual file schema reference instructions - Benefits sections that were duplicated - Step-by-step VSCode setup instructions Kept only: - Global VSCode Settings with settings.json configuration - Streamlined IDE integration instructions This simplifies the documentation while maintaining the essential VSCode integration guidance through the global settings approach, which is more practical for users working with multiple configuration files.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR implements comprehensive documentation for the experimental config_loader system, providing complete guidance for dictionary-based agent configuration loading while addressing significant documentation inconsistencies.
Major Documentation Addition:
Documentation Structure Added:
docs/experimental/config-loader/overview.md- System overview and supported formatsdocs/experimental/config-loader/agent-config.md- AgentConfigLoader comprehensive guidedocs/experimental/config-loader/tool-config.md- ToolConfigLoader with multi-agent patternsdocs/experimental/config-loader/swarm-config.md- SwarmConfigLoader documentationdocs/experimental/config-loader/graph-config.md- GraphConfigLoader documentationdocs/experimental/config-loader/structured-output.md- Schema configuration guideKey Content Areas:
Navigation Integration:
Type of Change
Motivation and Context
Issue [FEATURE] Load Agentic Configurations from a Dictionary #606 requested dictionary-based configuration loading for agents and tools. The implementation was completed but required comprehensive documentation.
This PR provides complete, accurate documentation enabling developers to effectively use the experimental config_loader system.
Areas Affected
New Documentation Sections:
Specific Files:
docs/experimental/config-loader/overview.md- System overview and capabilitiesdocs/experimental/config-loader/agent-config.md- Agent configuration patternsdocs/experimental/config-loader/tool-config.md- Tool loading and multi-agent patternsdocs/experimental/config-loader/swarm-config.md- Swarm configuration managementdocs/experimental/config-loader/graph-config.md- Graph workflow configurationdocs/experimental/config-loader/structured-output.md- Schema and validationNavigation Updates:
mkdocs.yml- Added experimental section under User GuideScreenshots
Checklist
mkdocs serveAdditional Notes
Implementation Verification:
Developer Experience:
Content Quality:
This establishes the config_loader system as a fully documented experimental feature, enabling developers to leverage dictionary-based agent configuration for dynamic, programmatic agent management.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.