-
-
Save KyMidd/5ca226e1b5db636d5fa995d7d7c18fdc to your computer and use it in GitHub Desktop.
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
| # Create MCP clients | |
| github_mcp_client = github_streamable_mcp_client() | |
| # Open tools and start chatting | |
| with github_mcp_client: | |
| # Configure bedrock model | |
| bedrock_model = configure_bedrock_model() | |
| # Inventory tools each MCP provides | |
| github_tools = github_mcp_client.list_tools_sync() | |
| agent_tools = [calculator, current_time, retrieve, use_aws] + github_tools | |
| # Create agent with tools | |
| agent = create_agent(agent_tools) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment