S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
local-ai 2026-11-15

Run a Tool-Calling AI Agent Locally: BotPsy Ubuntu Guide

This companion guide follows the video Run a Tool-Calling AI Agent Locally: BotPsy Ubuntu Guide step by step, with the same commands and the same expected outputs. The video is the starting point and the tested path described here comes from its sandboxed install, whose disclosures are repeated wherever they matter below.

BotPsy is a 0.8-billion-parameter agent model from Tether's QVAC lab, built on Qwen3.5-0.8B and trained to turn plain requests into tool calls, including multi-step sequences. It is released under Apache 2.0 with open weights, ships as full-precision weights and as GGUF builds for llama.cpp, and is small enough to run on a CPU-only machine or a phone. Tether's own benchmark figures, quoted here as the vendor's numbers rather than independent results, put it at 44.0 on BFCL v4 against 23.4 for its base model. One honest limit up front, stated in the video itself: the install, the Q&A checks, and the local server endpoint below were all verified, but live tool-calling against a real tool harness was not shown running and needs an app you build yourself.

Prerequisites

Download the runtime and the model file

The video installs exactly two things: the official llama.cpp CPU binary and the official Q4_K_M GGUF quant of BotPsy. The quant choice is the teaching point here, since the 529 MB Q4_K_M file stands in for the 1.6 GB full-precision weights with nothing to gain on a CPU install.

Simulated terminal frame from the video downloading the runtime: curl of the llama.cpp build 12413 tarball, unpack, and llama-cli version 1.0.0-dev confirmed
Simulated terminal frame from the video downloading the runtime: curl of the llama.cpp build 12413 tarball, unpack, and llama-cli version 1.0.0-dev confirmed (Still from the walkthrough video.)

Expect the version reply to report version: 1.0.0-dev at build 12413, and expect the tarball to be 23,371,065 bytes. Then fetch the model file, which needs no login and no token:

Expect one file of 529,296,960 bytes. Both downloads are time-compressed in the video, so a slow connection that takes a while on your machine is normal.

Run your first prompts with thinking on and off

The first run leaves the model's reasoning switched on so you can watch it work through the arithmetic before it answers.

Simulated terminal frame from the video running the first reasoning check: the arithmetic prompt with thinking trace arriving at 126
Simulated terminal frame from the video running the first reasoning check: the arithmetic prompt with thinking trace arriving at 126 (Still from the walkthrough video.)

Expect a visible thinking trace that works out 84 times 3 is 252 and 252 divided by 2 is 126, at on the order of ten tokens per second on CPU in the video's sandbox. Then run the same question as a clean deterministic check with reasoning off:

Expect the crisp answer It is equal to 126. with exit code 0. That clean reply is the proof of a working install.

Serve it and verify the local endpoint

The last step loads the model once and keeps it ready behind an OpenAI-compatible local endpoint that your own apps can later hand tools to. Nothing here leaves your machine, since the server binds to localhost.

Simulated terminal frame from the video serving the model: llama-server listening on 127.0.0.1 port 8080 with the health endpoint returning status ok
Simulated terminal frame from the video serving the model: llama-server listening on 127.0.0.1 port 8080 with the health endpoint returning status ok (Still from the walkthrough video.)

Expect the server to report that it is listening on http://127.0.0.1:8080, the health check to return {"status":"ok"}, and the chat reply to come back with content 126 and stop reason stop. The temperature 0 setting is deliberate, since it makes this check deterministic, and you can drop it for everyday creative answers. Real tool-calling through this endpoint is untested in the video and needs your own harness that offers the model tools, so treat the endpoint above as the proven base rather than a finished agent.

Troubleshooting

Cleanup and next steps

Nothing in this guide touches system directories or needs admin rights, so cleanup stays inside your working folder. Bring the background server to the foreground or find its job, stop it, confirm port 8080 is quiet again, and then delete the two downloads if you want the disk space back.

From here the natural next step is the part the video leaves to you: writing a small app that offers the local endpoint real tools, such as search or a calendar, and letting BotPsy turn requests into calls. The BotPsy model page, the release article, the base weights, the GGUF builds, and the llama.cpp releases are the five pages to keep bookmarked for that work.

Watch the walkthrough

Watch on YouTube