OpenRuna
Sign in

Tutorials

10 tutorials and learning guides

Hugging Face: Agents - Guided tour

TUTORIAL

Explore how smolagents connects language models to tools. Compare code-generating agents with structured tool-calling agents, then learn how to run and customize an agent for a practical task.

Hugging Face: Secure code execution

TUTORIAL

Learn why model-generated code needs an execution boundary. This guide explains the risks of running an agent in your own environment and presents safer execution options to consider before giving agents access to important files or services.

LangChain: Retrieval Augmented Generation (RAG) with Deep Agents

TUTORIAL

Build a documentation question-answering agent that indexes source pages, retrieves relevant passages and delegates analysis. The guide explains retrieval patterns and includes an end-to-end example with document splitting, embeddings, a vector store and cited answers.

Model Context Protocol: Build an MCP server

TUTORIAL

Create a small weather server with callable forecast and alert tools. The tutorial introduces MCP capabilities, environment setup, host connection and transport-aware logging so application logs do not corrupt the protocol.

Ollama: Quickstart

TUTORIAL

Start with Ollama's installation and first-request walkthrough. The guide distinguishes local execution from cloud requests and shows how applications connect. Choose the local path when you want to run a downloaded model without a cloud API key.

OpenAI: Structured model outputs

TUTORIAL

Turn free-form model responses into schema-constrained application data. Follow examples using JSON Schema and typed SDK helpers, learn supported schema constraints and account for refusals or incomplete outputs in your application logic.

Promptfoo: Getting started

TUTORIAL

Create a repeatable evaluation instead of judging a model from one answer. Start with sample prompts, providers and test cases, run the comparison and inspect results through the local web interface.

n8n: Build your first workflow

TUTORIAL

Build a simple weather log with a schedule trigger, a data request, message formatting and table storage. The example introduces how information moves between nodes without requiring coding experience or an external weather API account.

n8n: Control telemetry

TUTORIAL

Review how self-hosted n8n sends telemetry and how to opt out through configuration. The guide distinguishes diagnostic events, version notifications and broader server isolation, helping operators avoid assuming that self-hosting automatically means no outbound communication.

vLLM: Quickstart

TUTORIAL

Move from a Python inference script to an online model server. This practical introduction covers installation, batched generation and client requests to a vLLM endpoint, with links to hardware-specific installation guidance.