mcp agent docs fix + links fix like discord links

dependabot/pip/pypdf-5.6.0
Kye Gomez 1 week ago
parent 73597f1c35
commit 669892c6ee

@ -7,7 +7,7 @@ Before we dive into the code, let's briefly introduce the Swarms framework. Swar
For more information and to contribute to the project, visit the [Swarms GitHub repository](https://github.com/kyegomez/swarms). We highly recommend exploring the documentation for a deeper understanding of Swarms' capabilities. For more information and to contribute to the project, visit the [Swarms GitHub repository](https://github.com/kyegomez/swarms). We highly recommend exploring the documentation for a deeper understanding of Swarms' capabilities.
Additional resources: Additional resources:
- [Swarms Discord](https://discord.gg/swarms) for community discussions - [Swarms Discord](https://discord.gg/jM3Z6M9uMq) for community discussions
- [Swarms Twitter](https://x.com/swarms_corp) for updates - [Swarms Twitter](https://x.com/swarms_corp) for updates
- [Swarms Spotify](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994) for podcasts - [Swarms Spotify](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994) for podcasts
- [Swarms Blog](https://medium.com/@kyeg) for in-depth articles - [Swarms Blog](https://medium.com/@kyeg) for in-depth articles
@ -460,7 +460,7 @@ This system provides a powerful foundation for financial analysis, but there's a
Remember, the Swarms framework is a powerful and flexible tool that can be adapted to a wide range of complex tasks beyond just financial analysis. We encourage you to explore the [Swarms GitHub repository](https://github.com/kyegomez/swarms) for more examples and inspiration. Remember, the Swarms framework is a powerful and flexible tool that can be adapted to a wide range of complex tasks beyond just financial analysis. We encourage you to explore the [Swarms GitHub repository](https://github.com/kyegomez/swarms) for more examples and inspiration.
For more in-depth discussions and community support, consider joining the [Swarms Discord](https://discord.gg/swarms). You can also stay updated with the latest developments by following [Swarms on Twitter](https://x.com/swarms_corp). For more in-depth discussions and community support, consider joining the [Swarms Discord](https://discord.gg/jM3Z6M9uMq). You can also stay updated with the latest developments by following [Swarms on Twitter](https://x.com/swarms_corp).
If you're interested in learning more about AI and its applications in various fields, check out the [Swarms Spotify podcast](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994) and the [Swarms Blog](https://medium.com/@kyeg) for insightful articles and discussions. If you're interested in learning more about AI and its applications in various fields, check out the [Swarms Spotify podcast](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994) and the [Swarms Blog](https://medium.com/@kyeg) for insightful articles and discussions.
@ -474,7 +474,7 @@ By leveraging the power of multi-agent AI systems, you're well-equipped to navig
* [Swarms Github](https://github.com/kyegomez/swarms) * [Swarms Github](https://github.com/kyegomez/swarms)
* [Swarms Discord](https://discord.gg/swarms) * [Swarms Discord](https://discord.gg/jM3Z6M9uMq)
* [Swarms Twitter](https://x.com/swarms_corp) * [Swarms Twitter](https://x.com/swarms_corp)
* [Swarms Spotify](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994) * [Swarms Spotify](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994)
* [Swarms Blog](https://medium.com/@kyeg) * [Swarms Blog](https://medium.com/@kyeg)

@ -261,7 +261,7 @@ The table below summarizes the estimated savings for each use case:
- [book a call](https://cal.com/swarms) - [book a call](https://cal.com/swarms)
- Swarms Discord: https://discord.gg/swarms - Swarms Discord: https://discord.gg/jM3Z6M9uMq
- Swarms Twitter: https://x.com/swarms_corp - Swarms Twitter: https://x.com/swarms_corp

@ -57,7 +57,7 @@ Here you'll find references about the Swarms framework, marketplace, community,
## Community ## Community
| Section | Links | | Section | Links |
|----------------------|--------------------------------------------------------------------------------------------| |----------------------|--------------------------------------------------------------------------------------------|
| Community | [Discord](https://discord.gg/swarms) | | Community | [Discord](https://discord.gg/jM3Z6M9uMq) |
| Blog | [Blog](https://medium.com/@kyeg) | | Blog | [Blog](https://medium.com/@kyeg) |
| Event Calendar | [LUMA](https://lu.ma/swarms_calendar) | | Event Calendar | [LUMA](https://lu.ma/swarms_calendar) |
| Twitter | [Twitter](https://x.com/swarms_corp) | | Twitter | [Twitter](https://x.com/swarms_corp) |

@ -6501,7 +6501,7 @@ Before we dive into the code, let's briefly introduce the Swarms framework. Swar
For more information and to contribute to the project, visit the [Swarms GitHub repository](https://github.com/kyegomez/swarms). We highly recommend exploring the documentation for a deeper understanding of Swarms' capabilities. For more information and to contribute to the project, visit the [Swarms GitHub repository](https://github.com/kyegomez/swarms). We highly recommend exploring the documentation for a deeper understanding of Swarms' capabilities.
Additional resources: Additional resources:
- [Swarms Discord](https://discord.gg/swarms) for community discussions - [Swarms Discord](https://discord.gg/jM3Z6M9uMq) for community discussions
- [Swarms Twitter](https://x.com/swarms_corp) for updates - [Swarms Twitter](https://x.com/swarms_corp) for updates
- [Swarms Spotify](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994) for podcasts - [Swarms Spotify](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994) for podcasts
- [Swarms Blog](https://medium.com/@kyeg) for in-depth articles - [Swarms Blog](https://medium.com/@kyeg) for in-depth articles
@ -6954,7 +6954,7 @@ This system provides a powerful foundation for financial analysis, but there's a
Remember, the Swarms framework is a powerful and flexible tool that can be adapted to a wide range of complex tasks beyond just financial analysis. We encourage you to explore the [Swarms GitHub repository](https://github.com/kyegomez/swarms) for more examples and inspiration. Remember, the Swarms framework is a powerful and flexible tool that can be adapted to a wide range of complex tasks beyond just financial analysis. We encourage you to explore the [Swarms GitHub repository](https://github.com/kyegomez/swarms) for more examples and inspiration.
For more in-depth discussions and community support, consider joining the [Swarms Discord](https://discord.gg/swarms). You can also stay updated with the latest developments by following [Swarms on Twitter](https://x.com/swarms_corp). For more in-depth discussions and community support, consider joining the [Swarms Discord](https://discord.gg/jM3Z6M9uMq). You can also stay updated with the latest developments by following [Swarms on Twitter](https://x.com/swarms_corp).
If you're interested in learning more about AI and its applications in various fields, check out the [Swarms Spotify podcast](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994) and the [Swarms Blog](https://medium.com/@kyeg) for insightful articles and discussions. If you're interested in learning more about AI and its applications in various fields, check out the [Swarms Spotify podcast](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994) and the [Swarms Blog](https://medium.com/@kyeg) for insightful articles and discussions.
@ -6968,7 +6968,7 @@ By leveraging the power of multi-agent AI systems, you're well-equipped to navig
* [Swarms Github](https://github.com/kyegomez/swarms) * [Swarms Github](https://github.com/kyegomez/swarms)
* [Swarms Discord](https://discord.gg/swarms) * [Swarms Discord](https://discord.gg/jM3Z6M9uMq)
* [Swarms Twitter](https://x.com/swarms_corp) * [Swarms Twitter](https://x.com/swarms_corp)
* [Swarms Spotify](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994) * [Swarms Spotify](https://open.spotify.com/show/2HLiswhmUaMdjHC8AUHcCF?si=c831ef10c5ef4994)
* [Swarms Blog](https://medium.com/@kyeg) * [Swarms Blog](https://medium.com/@kyeg)
@ -7997,7 +7997,7 @@ The table below summarizes the estimated savings for each use case:
- [book a call](https://cal.com/swarms) - [book a call](https://cal.com/swarms)
- Swarms Discord: https://discord.gg/swarms - Swarms Discord: https://discord.gg/jM3Z6M9uMq
- Swarms Twitter: https://x.com/swarms_corp - Swarms Twitter: https://x.com/swarms_corp
@ -8946,7 +8946,7 @@ Here you'll find references about the Swarms framework, marketplace, community,
## Community ## Community
| Section | Links | | Section | Links |
|----------------------|--------------------------------------------------------------------------------------------| |----------------------|--------------------------------------------------------------------------------------------|
| Community | [Discord](https://discord.gg/swarms) | | Community | [Discord](https://discord.gg/jM3Z6M9uMq) |
| Blog | [Blog](https://medium.com/@kyeg) | | Blog | [Blog](https://medium.com/@kyeg) |
| Event Calendar | [LUMA](https://lu.ma/swarms_calendar) | | Event Calendar | [LUMA](https://lu.ma/swarms_calendar) |
| Twitter | [Twitter](https://x.com/swarms_corp) | | Twitter | [Twitter](https://x.com/swarms_corp) |
@ -28554,7 +28554,7 @@ Stay tuned for updates on the Swarm Exchange launch.
- **Documentation:** [Swarms Documentation](https://docs.swarms.world) - **Documentation:** [Swarms Documentation](https://docs.swarms.world)
- **Support:** Contact us via our [Discord Community](https://discord.gg/swarms). - **Support:** Contact us via our [Discord Community](https://discord.gg/jM3Z6M9uMq).
--- ---
@ -47878,7 +47878,7 @@ For technical assistance with the Swarms API, please contact:
- Documentation: [https://docs.swarms.world](https://docs.swarms.world) - Documentation: [https://docs.swarms.world](https://docs.swarms.world)
- Email: kye@swarms.world - Email: kye@swarms.world
- Community Discord: [https://discord.gg/swarms](https://discord.gg/swarms) - Community Discord: [https://discord.gg/jM3Z6M9uMq](https://discord.gg/jM3Z6M9uMq)
- Swarms Marketplace: [https://swarms.world](https://swarms.world) - Swarms Marketplace: [https://swarms.world](https://swarms.world)
- Swarms AI Website: [https://swarms.ai](https://swarms.ai) - Swarms AI Website: [https://swarms.ai](https://swarms.ai)
@ -50414,9 +50414,9 @@ To further enhance your understanding and usage of the Swarms Platform, explore
### Links ### Links
- [API Documentation](https://docs.swarms.world) - [API Documentation](https://docs.swarms.world)
- [Community Forums](https://discord.gg/swarms) - [Community Forums](https://discord.gg/jM3Z6M9uMq)
- [Tutorials and Guides](https://docs.swarms.world)) - [Tutorials and Guides](https://docs.swarms.world))
- [Support](https://discord.gg/swarms) - [Support](https://discord.gg/jM3Z6M9uMq)
## Conclusion ## Conclusion
@ -53007,7 +53007,7 @@ Your contributions fund:
[dao]: https://dao.swarms.world/ [dao]: https://dao.swarms.world/
[investors]: https://investors.swarms.world/ [investors]: https://investors.swarms.world/
[site]: https://swarms.world/ [site]: https://swarms.world/
[discord]: https://discord.gg/swarms [discord]: https://discord.gg/jM3Z6M9uMq
``` ```

@ -55,7 +55,7 @@ extra:
- icon: fontawesome/brands/twitter - icon: fontawesome/brands/twitter
link: https://x.com/swarms_corp link: https://x.com/swarms_corp
- icon: fontawesome/brands/discord - icon: fontawesome/brands/discord
link: https://discord.gg/swarms link: https://discord.gg/jM3Z6M9uMq
analytics: analytics:
provider: google provider: google

@ -152,7 +152,7 @@ Stay tuned for updates on the Swarm Exchange launch.
- **Documentation:** [Swarms Documentation](https://docs.swarms.world) - **Documentation:** [Swarms Documentation](https://docs.swarms.world)
- **Support:** Contact us via our [Discord Community](https://discord.gg/swarms). - **Support:** Contact us via our [Discord Community](https://discord.gg/jM3Z6M9uMq).
--- ---

@ -192,45 +192,6 @@ graph TD
| `temperature` | `float` | Response creativity | `0.1` | `0.1-1.0` | | `temperature` | `float` | Response creativity | `0.1` | `0.1-1.0` |
| `verbose` | `bool` | Debug logging | `False` | `True` | | `verbose` | `bool` | Debug logging | `False` | `True` |
### Output Type Comparison
=== "all"
**Complete execution trace with metadata**
```json
{
"response": "Bitcoin price: $45,230",
"tools_used": ["get_crypto_price"],
"execution_time": "2.3s",
"loops_completed": 1
}
```
=== "str"
**Simple string response**
```
"Current Bitcoin price is $45,230 USD"
```
=== "json"
**Structured JSON output**
```json
{
"bitcoin_price": 45230,
"currency": "USD",
"timestamp": "2024-01-15T10:30:00Z"
}
```
=== "dict"
**Python dictionary format**
```python
{
'price': 45230,
'symbol': 'BTC',
'change_24h': '+2.5%'
}
```
--- ---
## :material-code-tags: Example Implementations ## :material-code-tags: Example Implementations
@ -388,7 +349,7 @@ graph TD
} }
if __name__ == "__main__": if __name__ == "__main__":
mcp.run(transport="sse", host="0.0.0.0", port=8000) mcp.run(transport="sse")
``` ```
### Server Best Practices ### Server Best Practices
@ -713,19 +674,19 @@ graph TD
!!! rocket "Development Timeline" !!! rocket "Development Timeline"
=== "Q1 2024" === "1 Week"
- **MCPConnection Model** - Enhanced configuration - **MCPConnection Model** - Enhanced configuration
- **Authentication Support** - Built-in auth mechanisms - **Authentication Support** - Built-in auth mechanisms
- **Error Recovery** - Automatic retry logic - **Error Recovery** - Automatic retry logic
- **Connection Pooling** - Improved performance - **Connection Pooling** - Improved performance
=== "Q2 2024" === "2 Week"
- **Multiple Server Support** - Connect to multiple MCPs - **Multiple Server Support** - Connect to multiple MCPs
- **Parallel Execution** - Concurrent tool calling - **Parallel Execution** - Concurrent tool calling
- **Load Balancing** - Distribute requests across servers - **Load Balancing** - Distribute requests across servers
- **Advanced Monitoring** - Real-time metrics - **Advanced Monitoring** - Real-time metrics
=== "Q3 2024" === "3 Week"
- **Auto-discovery** - Automatic server detection - **Auto-discovery** - Automatic server detection
- **Workflow Engine** - Complex task orchestration - **Workflow Engine** - Complex task orchestration
- **Plugin System** - Custom MCP extensions - **Plugin System** - Custom MCP extensions
@ -752,13 +713,11 @@ graph TD
=== "📚 Documentation" === "📚 Documentation"
- [Official Docs](https://docs.swarms.world) - [Official Docs](https://docs.swarms.world)
- [API Reference](https://docs.swarms.world/api)
- [Tutorials](https://docs.swarms.world/tutorials) - [Tutorials](https://docs.swarms.world/tutorials)
=== "💬 Community" === "💬 Community"
- [Discord Server](https://discord.gg/swarms) - [Discord Server](https://discord.gg/jM3Z6M9uMq)
- [GitHub Discussions](https://github.com/kyegomez/swarms/discussions) - [GitHub Discussions](https://github.com/kyegomez/swarms/discussions)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/swarms)
=== "🔧 Development" === "🔧 Development"
- [GitHub Repository](https://github.com/kyegomez/swarms) - [GitHub Repository](https://github.com/kyegomez/swarms)
@ -801,7 +760,7 @@ The MCP integration brings powerful external tool connectivity to Swarms agents,
!!! tip "Stay Updated" !!! tip "Stay Updated"
Join our [Discord community](https://discord.gg/swarms) to stay informed about new MCP features and connect with other developers building amazing agent applications. Join our [Discord community](https://discord.gg/jM3Z6M9uMq) to stay informed about new MCP features and connect with other developers building amazing agent applications.
--- ---

@ -603,4 +603,4 @@ agent_config = {
[:material-file-document: Swarms.ai Documentation](https://docs.swarms.world){ .md-button } [:material-file-document: Swarms.ai Documentation](https://docs.swarms.world){ .md-button }
[:material-application: Swarms.ai Platform](https://swarms.world/platform){ .md-button } [:material-application: Swarms.ai Platform](https://swarms.world/platform){ .md-button }
[:material-key: API Key Management](https://swarms.world/platform/api-keys){ .md-button } [:material-key: API Key Management](https://swarms.world/platform/api-keys){ .md-button }
[:material-forum: Swarms.ai Community](https://discord.gg/swarms){ .md-button } [:material-forum: Swarms.ai Community](https://discord.gg/jM3Z6M9uMq){ .md-button }

@ -951,7 +951,7 @@ For technical assistance with the Swarms API, please contact:
- Documentation: [https://docs.swarms.world](https://docs.swarms.world) - Documentation: [https://docs.swarms.world](https://docs.swarms.world)
- Email: kye@swarms.world - Email: kye@swarms.world
- Community Discord: [https://discord.gg/swarms](https://discord.gg/swarms) - Community Discord: [https://discord.gg/jM3Z6M9uMq](https://discord.gg/jM3Z6M9uMq)
- Swarms Marketplace: [https://swarms.world](https://swarms.world) - Swarms Marketplace: [https://swarms.world](https://swarms.world)
- Swarms AI Website: [https://swarms.ai](https://swarms.ai) - Swarms AI Website: [https://swarms.ai](https://swarms.ai)

@ -113,9 +113,9 @@ To further enhance your understanding and usage of the Swarms Platform, explore
### Links ### Links
- [API Documentation](https://docs.swarms.world) - [API Documentation](https://docs.swarms.world)
- [Community Forums](https://discord.gg/swarms) - [Community Forums](https://discord.gg/jM3Z6M9uMq)
- [Tutorials and Guides](https://docs.swarms.world)) - [Tutorials and Guides](https://docs.swarms.world))
- [Support](https://discord.gg/swarms) - [Support](https://discord.gg/jM3Z6M9uMq)
## Conclusion ## Conclusion

@ -138,6 +138,6 @@ Your contributions fund:
[dao]: https://dao.swarms.world/ [dao]: https://dao.swarms.world/
[investors]: https://investors.swarms.world/ [investors]: https://investors.swarms.world/
[site]: https://swarms.world/ [site]: https://swarms.world/
[discord]: https://discord.gg/swarms [discord]: https://discord.gg/jM3Z6M9uMq
``` ```

Loading…
Cancel
Save