Articles tagged "ai"

Page 2 of 4

4 min readBeginner

Claude API with Python: Complete Tutorial 2026 (Messages, Streaming, Vision)

Learn to use the Claude API with Python. Complete 2026 guide covering messages, streaming, vision, tool use, and async. Install anthropic SDK and build your first AI app.

4 min readIntermediate

CrewAI Tutorial 2026: Build Multi-Agent AI Systems in Python

CrewAI tutorial 2026: build multi-agent AI systems in Python. Create agents with roles, assign tasks, use tools, and run sequential or hierarchical crews with local Ollama models.

8 min readBeginner

Embeddings Explained: What They Are and How to Use Them with Python and Ollama (2026)

Learn what embeddings are and how to use them with Python and Ollama for free. Generate embeddings with nomic-embed-text, compute cosine similarity, build semantic search, and store in pgvector.

4 min readIntermediate

LangGraph Tutorial 2026: Build Stateful AI Agents with Python

LangGraph tutorial 2026: build stateful AI agents in Python using StateGraph, nodes, edges, and checkpointers. Full ReAct agent example with tool calling and human-in-the-loop.

3 min readIntermediate

LiteLLM Tutorial 2026: Use OpenAI, Claude, and Ollama with One Python API

LiteLLM tutorial 2026: call OpenAI, Claude, Gemini, and Ollama with one unified Python API. Setup proxy server, fallbacks, cost tracking, and load balancing.

7 min readIntermediate

n8n + AI on Linux: Self-Hosted Workflow Automation with LLMs (2026)

Run n8n on Linux and automate workflows with AI and local LLMs. Install n8n via Docker, set up AI Agent nodes with Ollama, build real automations, and run as a systemd service. Free 2026 guide.

6 min readBeginner

Ollama on Linux: Run Local LLMs, Manage Models and Use the API (2026)

Complete Ollama guide for Linux: install, run LLMs locally, manage models, use the REST API, Python integration, and GPU acceleration with NVIDIA or AMD.

6 min readIntermediate

Ollama + Open WebUI on Linux: Run a Local ChatGPT Server (2026)

Set up Ollama and Open WebUI on Linux for a free self-hosted ChatGPT alternative. Run llama3.2, mistral, and qwen2.5 locally with GPU support and nginx reverse proxy.

8 min readIntermediate

OpenAI Function Calling in Python: Complete Guide 2026 (Tools, Parallel Calls, Streaming)

Learn OpenAI function calling in Python 2026. Define tools, handle tool_calls, run parallel function calls, stream with tools, and build a real assistant with weather and calendar tools.

4 min readIntermediate

PydanticAI Tutorial 2026: Build Type-Safe AI Agents in Python

PydanticAI tutorial 2026: build type-safe AI agents in Python with FastAPI-style dependency injection. Covers tools, structured results, testing without LLM calls, and local Ollama integration.