Installing OpenClaw using Docker Compose

Installing OpenClaw using Docker Compose

Tiempo de lectura: < 1 minutoHoy vamos a aprender a instalar OpenClaw en un sistema Docker mediante Docker Compose y dejarlo de forma aislada. Primero instalamos Docker. Once installed, we need to update Docker Compose: # Add official Docker repository curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg –dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo “deb [arch=$(dpkg –print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable” | sudo … Read more

Using local Ollama with Opencode

Using local Ollama with Opencode

Tiempo de lectura: < 1 minutoWe will learn today how we can use opencode with our Ollama directly on local. The API is exposed by default in: http://localhost:11434 Check it out: curl http://localhost:11434/api/tags You don’t have it? You need to install Ollama For Windows: irm https://ollama.com/install.ps1 | iex For Windows: curl -fsSL https://ollama.com/install.ps1 | iex We download a model, in … Read more

Motivational Sentence Agent with Claude Code and Chron

Motivational Sentence Agent with Claude Code and Chron

Tiempo de lectura: 2 minutosVamos a generate a first agent with Claude Code and it will run automatically every hour with a cron and upload the generated content to GitHub. Crea the folder of your agent: mkdir -p ~/motivational-agent/md mkdir -p ~/motivational-agent/data cd ~/motivational-agent The final structure will be: motivational-agent/ │ ├─ md/ │ └─ claude.md # context and … Read more

Installing Claude Code on Windows

Tiempo de lectura: < 1 minutoWe will learn today how to install Claude Code on Windows. Claude Code is a tool developed by Anthropic that acts as an intelligent agent for programmers. It’s not an AI model itself, but rather a CLI/Interface that communicates with advanced language models, such as those from the Claude family, to help you generate, review … Read more

Building an Agent with LangGraph without LLM Connection Tutorial

Building an Agent with LangGraph without LLM Connection Tutorial

Tiempo de lectura: 3 minutosWe will build a LangGraph agent with Python and no LLM as an example for a basic tutorial. Our agent will do the following: You receive a user’s question Determine if you need to search for information (simulated) Respond with or without searching Save state between nodes First, we will install the library: pip install … Read more

Language Models: General or Instructional – A Key Comparison

Language Models: General or Instructional – A Key Comparison

Tiempo de lectura: < 1 minutoWe need to understand that not all models are created equal. The main difference between general models and instructional models. General models Ejemplo:Pregunta: “Explain how a neural network works”Response from a general model: can give an extensive explanation, include unnecessary concepts or jump topics. Instruct Models Ejemplo:Pregunta: “Explain how a neural network works step by … Read more

How to activate GPU access from a Docker container, for example, to access an LLM model.

How to activate GPU access from a Docker container, for example, to access an LLM model.

Tiempo de lectura: 2 minutosEnable GPU access is essential if we need to start a LLM model and use GPU with VRAM. Previous requirements Please ensure you have an NVIDIA GPU installed on your machine with the drivers installed and updated. Check using: nvidia-smi You should see your GPU and driver version. Additionally, Docker must be installed. NVIDIA Container … Read more

Using VLLM with Docker for Deploying Our LLM Models in Production

Using VLLM with Docker for Deploying Our LLM Models in Production

Tiempo de lectura: 2 minutosIt’s an inference server optimized (uses paged attention) that supports models like Llama 3, Mistral, Gemma, Phi, Qwen, etc. This offers an OpenAI-compatible API, perfect for easy integration. We will create the Docker Compose that allows us to deploy it: File: docker-compose.yml version: “3.9” services: vllm: image: vllm/vllm-openai:latest container_name: vllm restart: unless-stopped ports: – “8000:8000” … Read more

Types of AI Agents available with LangChain

Types of AI Agents available with LangChain

Tiempo de lectura: < 1 minutoToday we are going to see what types of AI agents are available with LangChain. ➡️ The most used. What it does:The LLM decides which tool to use at each step based on only the textual description of the tools.No needs examples or prior instances. For: Typical usage example: agent = initialize_agent( tools=mis_tools, llm=llm, agent_type=AgentType.ZERO_SHOT_REACT_DESCRIPTION, … Read more