Categories

Jacar categories — explore the topics A rocket whose eyes follow your cursor.
Artificial Intelligence

How to generate speech with oMLX TTS models on your Mac

oMLX serves text-to-speech (TTS) models on an Apple Silicon Mac through the same API as OpenAI. With POST /v1/audio/speech you request audio in a preset voice, a voice described in plain language or a voice cloned from a few seconds of reference. On an M5 Max, Qwen3-TTS 1.7B generates each second of audio in 0.33 s.

Artificial Intelligence

What changes in oMLX 0.7.2 and how to upgrade it on your Mac

oMLX 0.7.2, released on 21 October 2026, one day after 0.7.1, speeds up DeepSeek V4.1 on the oQ2e to oQ4e quants, turns on Lightning MTP in multi-Mac clusters, runs Qwen3.8-Flash-Next GGUFs on Splash and stops re-prefilling the whole conversation on every Claude Code turn. You upgrade it from the app, Homebrew or source.

Artificial Intelligence

How to fix error: invalid argument: –mlock in llama.cpp

llama-server prints error: invalid argument: --mlock because build b10875, from 9 September 2026, deleted --mmap, --no-mmap, --mlock and --direct-io. Replace them with --load-mode: --mlock becomes mmap+mlock, --no-mmap becomes none and --direct-io becomes dio. The LLAMA_ARG_MLOCK and LLAMA_ARG_MMAP variables now do nothing, with no warning.

Artificial Intelligence

How to install and use Open GSD (gsd-pi) with a local model

To install gsd-pi, the Open GSD terminal agent, run npx @opengsd/gsd-pi@latest with Node.js 22.18 or later. It works without an API key: with a models.json pointing at llama.cpp and a 64k context, a 4B Qwen3.5 finished a task with 12 passing tests and a commit. gsd-core, by contrast, installs inside Claude Code or OpenCode.

Artificial Intelligence

How to red-team a local LLM with garak 0.17 and Ollama

garak 0.17 is NVIDIA's LLM vulnerability scanner: it fires prompt injection, jailbreak, encoding and data-leak probes at your model and counts the failures. Against gemma3 1B on Ollama, on CPU, prompt injection succeeded 66.67% to 93.33% of the time, and a defensive system prompt did not stop it.

Artificial Intelligence

How to import a Hugging Face model into Ollama 0.34

Since Ollama 0.34.1, ollama create no longer converts or quantizes safetensors weights. To import a Hugging Face model, download it with hf download, convert it to GGUF with llama.cpp's convert_hf_to_gguf.py, quantize it with llama-quantize and build it from a Modelfile. With MiniCPM5-2B on a CPU, the three stages took 35 s, 21 s and 2 s.

Artificial Intelligence

What the new MCP specification breaks in your server

The 2026-07-28 revision turns MCP into a stateless protocol. The initialize exchange and the Mcp-Session-Id header are gone, and the protocol version plus client capabilities now travel inside the _meta field of every request. In exchange, Roots, Sampling and Logging are deprecated with a twelve-month window.

Artificial Intelligence

The Apple Watch Ultra 3 as an AI assistant in Europe

The Apple Watch Ultra 3 does not run Siri AI on its own. The model runs on the paired Apple Intelligence iPhone and on Private Cloud Compute, and Apple is not shipping Siri AI in the European Union because of its Digital Markets Act dispute. In the EU the watch keeps Workout Buddy, on-device Siri and its health alerts.

Artificial Intelligence

Gemma 4 locally, which size fits your GPU

Gemma 4 ships in five sizes under Apache 2.0. Quantised to 4 bits the weights run from 2.9 GB on the E2B to 17.5 GB on the 31B according to Google's own table, so your memory picks the size. And the 256K window adds another 10 GiB of cache on top.

Artificial Intelligence

Muse Code: Meta’s terminal coding agent

Muse Code is the terminal coding agent Meta Superintelligence Labs released in beta on 5 August 2026. It runs on Muse Spark 1.2, coordinates persistent background subagents, appends every model call and every edit to a local event log, and installs with a single command on macOS and Linux.

Artificial Intelligence

What is oMLX and how it differs from MLX, Ollama and LM Studio

oMLX is a local inference server for Apple Silicon Macs that wraps Apple's MLX framework and exposes it through the OpenAI and Anthropic APIs. Since Ollama 0.40 all three major servers use MLX on a Mac, so what sets oMLX apart is memory: several models loaded with eviction and pinning, and an SSD KV cache that survives restarts.

Artificial Intelligence

OpenRouter: A Gateway for AI Models

OpenRouter is a hosted gateway that gathers more than 500 AI models from over 80 providers behind a single OpenAI-compatible API. You change the base URL and use one key and one balance. You pay each model's rate with no markup, plus 5.5% when you buy credits, and gain automatic routing and failover.

Artificial Intelligence

browser-use: agents that browse the web

browser-use is an open-source Python library that lets an AI agent drive a web browser the way you do: it opens pages, reads the DOM, clicks and fills in forms. It was born on Playwright and in 2025 switched to speaking Chrome's CDP protocol directly for speed. This guide explains how it works and when to use it.

Artificial Intelligence

Firecrawl: Web Data for Agents

Firecrawl is an open-source API that turns any web page into clean Markdown, ready for a language model. With scrape and crawl endpoints plus schema-guided JSON extraction, it gives your AI agent reliable web data. This guide covers its formats, how to self-host it with Docker and when it beats a scraper of your own.

Artificial Intelligence

Composio: Tools and Integrations for Agents

Composio connects your AI agent to more than a thousand applications (GitHub, Slack, Gmail, Notion) through pre-authenticated tools and managed OAuth authentication. Instead of writing each integration by hand, you request the tools by name and the agent acts on behalf of each user. This guide explains what it is, how it handles authentication and how to plug it into your agent framework.

Artificial Intelligence

Dify: a self-hosted LLMOps platform

Dify is an open-source platform for building AI applications and agents, with a visual workflow canvas, prompt management, a RAG knowledge base and LLMOps layers. You can self-host the whole thing with Docker Compose on top of Postgres, Redis and a vector database. This guide explains how to deploy it and when it beats Flowise and Langflow.

Artificial Intelligence

Flowise: self-hosted low-code agents

Flowise is an open-source tool that lets you build AI agents by dragging nodes onto a visual canvas, with barely any code. It is built on LangChain.js and you can self-host the whole thing with a single Docker container. This guide covers how to deploy it, the difference between chatflows and AgentFlow v2, and how it compares to Langflow and Dify.

Artificial Intelligence

Langflow: a visual agent builder

Langflow is an open-source tool for building AI agents and workflows by dragging blocks onto a visual canvas, with barely any code. You can self-host it with Docker, wire up models, tools and vector databases, and publish every flow as an API or as an MCP server. This guide explains how to deploy it and build your first agent.

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

Durable Agent Execution with Temporal

Durable execution lets an AI agent survive crashes, restarts and API rate limits without losing its progress. Temporal applies this model: your logic lives in a workflow that resumes exactly where it stopped, and every model or tool call runs as an activity that Temporal retries for you automatically on failure.

Artificial Intelligence

Deploying an AI Agent to Production

Deploying an AI agent to production means turning your local script into a containerised service, with external state, observability and managed secrets. In this guide you package an agent inside a minimal Docker image, expose an HTTP endpoint with FastAPI and add health checks, retries and rate limits so it survives real traffic.

Artificial Intelligence

E2B: a code sandbox for agents

E2B is open-source infrastructure that runs your agent's generated code inside isolated Firecracker microVMs, each with its own Linux kernel. It boots in about 150 ms, exposes a stateful interpreter from its Python SDK and can be self-hosted with Terraform. This guide explains why an agent needs a sandbox and how to use E2B.

Artificial Intelligence

Prompt caching to cut costs

Prompt caching stores the stable prefix of your prompt (instructions, documents, tools) so it isn't reprocessed on every call. Anthropic and Gemini discount those tokens by up to 90%; OpenAI discounts by 50% on classic models and up to 90% on GPT-5.6. This guide covers each provider, how to structure the prompt, and how to cache on your own machine with vLLM.

Artificial Intelligence

promptfoo: testing prompts and agents

promptfoo is an open-source tool to test and evaluate prompts, agents and RAG systems with declarative YAML configs. It compares models like GPT, Claude or Gemini in one matrix, scores answers with automatic assertions and adds red teaming with over fifty vulnerability types. It plugs into your CI, and OpenAI acquired it in March 2026.

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.