Skip to main content

2 posts tagged with "Python"

Python programming language and ecosystem

View All Tags

Building Semantic Kernel Agents with Model Context Protocol (MCP) Plugins in Python

· 16 min read
Justin O'Connor
Founder @ Onward Platforms

Effective AI systems require more than just conversational abilities—they need the capacity to perform actions and access external resources. This guide explores the integration of Microsoft's Semantic Kernel (SK) with the Model Context Protocol (MCP) to develop capable AI agents that interact with external systems. By combining SK's orchestration framework with MCP's standardized interface, developers can create versatile AI applications that leverage both internal and external tools. This approach is valuable for building enterprise-grade solutions, from personal productivity assistants that manage schedules to business applications that interface with company APIs. This guide will walk you through the implementation process step by step.

Converting Python's requirements.txt into Homebrew formula resources

· 3 min read
Justin O'Connor
Founder @ Onward Platforms

For developers who maintain both Python and Homebrew packages, you've likely found that managing dependencies between the two ecosystems can be a bit challenging. Today, I am going to share a Python function that I wrote that automates the conversion of a Python requirements.txt file into Homebrew resource blocks. This can be a real time-saver, ensuring you have the correct dependencies for your Homebrew formula.

In Python, requirements.txt is the standard way to specify package dependencies with their corresponding versions. In a Homebrew formula, dependencies can be listed as 'resources'. Each resource block defines a package dependency, including its download URL and a SHA256 hash for verification.