Categories

Artificial Intelligence

Building Your Own MCP Server

Your own MCP server exposes your data and functions to any AI assistant through the Model Context Protocol. With the official Python SDK and its FastMCP class you write a server in about twenty lines: you define tools, resources and prompts as type-annotated functions, and you connect it to Claude, Cline or Goose over stdio or HTTP.

Artificial Intelligence

DeepEval: evaluating AI agents

DeepEval is the open-source framework for evaluating AI systems as if you were writing Pytest tests: you define cases, pick research-backed metrics (G-Eval, faithfulness, tool correctness) and get a score from 0 to 1 that passes or fails each response, both on your machine and in continuous integration.

Artificial Intelligence

DSPy: optimizing prompts and LLM programs

DSPy is a Python framework from Stanford that treats calls to an LLM as code: you define signatures with typed inputs and outputs, pick a module such as chain of thought, and let an optimizer write the prompts for you from examples and a metric. That way you compile programs instead of hand-tuning prompts.

Artificial Intelligence

Constrained generation with Outlines

Outlines is a Python library for constrained generation: it forces the model to produce output that conforms to a JSON schema, a regular expression or a grammar, with a guarantee by construction rather than statistics. It works with vLLM, Transformers, Ollama and llama.cpp, and its Rust engine adds barely any overhead per token.

Artificial Intelligence

Instructor: reliable structured outputs

Instructor is the most widely used Python library for getting reliable structured outputs from a language model: you define the result you expect as a Pydantic model, Instructor patches the client so the model honours it, and it retries on its own, with the validation error included, until it returns a valid, already-typed object.

Artificial Intelligence

Function calling with Ollama on your own machine

Function calling lets a model you run with Ollama on your own machine ask your code to call a function (check the weather, query a database) and use the result to answer. Ollama has supported tools since July 2024; in 2026 models such as qwen3 and llama3.3 do it with reasonable reliability.

Artificial Intelligence

Qwen-Agent: tool use with Qwen models

Qwen-Agent is the Qwen team's official framework for giving their models tools: function calling, a sandboxed code interpreter, RAG and MCP. It is on version 0.0.34, released in February 2026, has around 16,800 GitHub stars and holds the canonical implementation of Qwen3 tool calling, both in the cloud and on your own machine.

Artificial Intelligence

Agno: a high-performance agent framework

Agno, the Python framework formerly known as Phidata, builds AI agents with one clear goal: performance. It creates each agent in about two microseconds and uses roughly 3.75 KiB of memory, so it scales to thousands of concurrent agents. It offers agents, teams and workflows, over twenty model providers and the AgentOS runtime.

Artificial Intelligence

Hugging Face smolagents: Agents That Think in Code

smolagents is Hugging Face's agent library: in under a thousand lines of code it lets you build an agent that reasons by writing Python instead of filling in JSON. Its CodeAgent runs those actions as code, takes around 30% fewer steps than classic tool calling and works with any model, local or API.

Artificial Intelligence

Pydantic AI: typed agents

Pydantic AI is the agent framework from the Pydantic team: you build agents in Python where every model output is validated against a type you define. You declare the expected answer as a Pydantic model and the agent guarantees that structure, with dependency injection, tools and support for more than twenty model providers.

Software Development

Python 3.12: Incremental Acceleration and Errors That Finally Help

Python 3.12, released in October 2023, brings inline generic syntax through PEP 695, tracebacks that pinpoint the exact error, and an average speedup of around 5% over 3.11 on pyperformance, plus experimental sub-interpreters with their own GIL. Migrating from 3.10 or 3.11 is straightforward: major libraries already ship compatible wheels.

Artificial Intelligence

LangChain: The Framework for Orchestrating LLM Applications

LangChain is a Python framework that unifies building LLM applications: prompt templates, retrievers over vector databases, function-calling agents, and conversational memory. It earns its keep in fast prototypes and multi-model systems, but for a single well-defined production use case, direct code usually stays more maintainable.

Architecture

Chroma: A Lightweight Vector Database for Embedding Prototypes

Chroma is the easiest vector database to get started with embeddings and semantic search: install it with pip install chromadb, no extra infrastructure required, and it exposes a minimal API (add, query, delete). It suits prototypes and mid-sized RAG systems well; past a few million vectors, Qdrant or Milvus scale better.

Artificial Intelligence

OpenAI Code Interpreter: Conversational Data Analysis

OpenAI Code Interpreter extends ChatGPT Plus with an isolated Python sandbox: it runs code on demand, reads files you upload (CSV, Excel, PDF, images, ZIPs) and returns results plus charts within the same chat. Sessions are ephemeral and offline, but remarkably effective for exploratory ad-hoc analysis without spinning up a notebook.

Artificial Intelligence

DataFrames and Pipelines in Spark: Data Processing Optimisation

Spark DataFrames are distributed, schema-based tables that the Catalyst engine optimises automatically, while pipelines chain those transformations into a reproducible end-to-end flow. Together they let you process large data volumes efficiently across a cluster, scaling from a laptop to hundreds of nodes without rewriting code.