---
title: "lokalny-bot: Discord bot with Claude and Ollama | VulCode"
description: "lokalny-bot is a Discord bot that, when pinged, answers with Claude from a Claude Code subscription or with a model from a local Ollama."
url: "https://vulcode.com/en/portfolio/integrations/lokalny-bot"
lang: "en"
---

[Integrations & scripts](https://vulcode.com/en/portfolio/integrations)

# lokalny-bot

Discord bot with Claude and Ollama

A Discord bot you call with a ping and an AI model answers: Claude or a model running locally in Ollama. It is for conversation and for comparing local models on the same question.

[Service: Integrations and automation](https://vulcode.com/en/services/api-integrations)

## About the project

lokalny-bot is a Discord bot that, when pinged, answers with Claude from a Claude Code subscription or with a model from a local Ollama. Ollama is a program for running language models on your own machine, so a conversation with such a model never leaves it. The model and the way it answers are set with parameters typed before the message text, and a benchmark mode runs the same prompt through every local model and returns a table of results. Every channel keeps its own conversation.

## The challenge

The team wants to ask an AI model straight from Discord, without paying for an API and without sending everything off its own machine, and to compare local models on the same question. The bot is only meant to talk, not act as an agent, so it must not get tools or disk access.

## What we did

- Claude from a Claude Code subscription as the default model, with no API billing and no tools at all

- Models from a local Ollama, whose list is never written into the code

- Parameters before the text: model, channel context, temperature, limit, role, seed and thinking aloud

- An answer scheduled for a set time or after a given delay

- A benchmark mode with one table of results for all local models

- A separate session per channel that survives a bot restart, and /help describing every parameter

## Related projects

- [**vulp** A terminal tool that handles many Git repositories from one place: it shows their state, syncs them in batch and returns the result as JSON so that scripts and automation can use it.](https://vulcode.com/en/portfolio/integrations/vulp)

- [**Flaem** Ready-made connections between the Flaem hosting platform and payment gateways, KSeF, domain registrars, DDoS protection, text messages and Discord. Each is switched on separately, with keys in the operator panel.](https://vulcode.com/en/portfolio/integrations/flaem)

- [**Gyred** Gyred's connections to the tools AI agents work in: Claude Code and Codex, repositories, Discord, Telegram and Web Push. Sessions also get an MCP server of their own.](https://vulcode.com/en/portfolio/integrations/gyred)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)

## Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.

[Free quote](https://vulcode.com/en/quote) [Free consultation](https://vulcode.com/en/consultation)

- [hello@vulcode.com](mailto:hello@vulcode.com)

- [+48 576 043 920](tel:+48576043920)

- [discord.gg/vulcode](https://discord.gg/vulcode)
