explaingit

mrdiamondballz/blackfin-agent

Analysis updated 2026-05-18

1PythonAudience · developerComplexity · 4/5Setup · moderate

TLDR

A local-first framework for running AI agents on your own machine with strict controls over what each agent can access.

Mindmap

mindmap
  root((Blackfin))
    What it does
      Local AI agent runtime
      Policy controlled tools
      Deterministic traces
    Tech stack
      Python standard library
      CLI interface
      SQLite memory
    Use cases
      Personal automation
      Chat bot agents
      Skill review workflow
    Audience
      Developers
      Agent framework users
    Safety
      Trust and signer checks
      Workspace scoping
      Approval gates

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run a personal AI agent locally that can only touch files or run commands you explicitly allow.

USE CASE 2

Connect an AI agent to Telegram or Discord to answer messages under a defined safety policy.

USE CASE 3

Import existing OpenClaw agent configs or Hermes workflows into a more restricted environment.

USE CASE 4

Schedule recurring agent tasks and review exactly what they did through logged traces.

What is it built with?

Python

How does it compare?

mrdiamondballz/blackfin-agenta-bissell/unleash-liteabhiinnovates/whatsapp-hr-assistant
Stars111
LanguagePythonPythonPython
Setup difficultymoderatehardhard
Complexity4/54/53/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires setting PYTHONPATH and initializing a workspace before running any agent.

Source-visible only, no open-source license is granted by default, so reuse rights are unclear without checking the LICENSE file.

In plain English

Blackfin is a Python tool for running AI agents on your own computer instead of a cloud service. It is built to feel familiar to people who already use OpenClaw, but it adds stricter rules about what an agent is allowed to do and keeps a record of every step an agent takes. With Blackfin you set up named agents that each get their own private workspace, memory, and rulebook, called a policy. A policy controls things like whether an agent can read files, run shell commands, or make web requests, and by default agents start out limited rather than fully open. You can connect agents to Telegram or Discord so they can chat with you there, or run them from the command line. Agents can also use different AI model providers, including Ollama, OpenAI compatible services, OpenRouter, or vLLM. A notable part of this version is a system for trusting or rejecting add-on skills before they run. Skills are small packaged capabilities that can be installed into an agent, and Blackfin checks who created a skill and whether that creator is trusted before allowing it to run, rather than trusting everything automatically. There is also a simple text based dashboard you can open in a terminal to see recent activity, memory entries, and scheduled jobs at a glance. Every action an agent takes is logged as a trace, and memory is searchable, which is meant to help a person understand what an agent actually did rather than guessing. Blackfin only depends on the Python standard library, so it does not require installing many extra packages to get started. The project includes documentation covering its security approach, its overall architecture, and how to move over from OpenClaw. It ships with 222 automated tests. The license is described as source-visible, meaning the code can be viewed, but no open-source license is granted by default, so check the license terms before reusing it commercially.

Copy-paste prompts

Prompt 1
Help me write a Blackfin policy TOML file that only allows filesystem reads and blocks shell access.
Prompt 2
Show me how to set up a Blackfin agent connected to Telegram using the CLI commands in this README.
Prompt 3
Explain how Blackfin's skill trust and signer verification system decides whether to install a skill.
Prompt 4
Write a Python script that reads Blackfin's JSONL trace files and summarizes agent activity.

Frequently asked questions

What is blackfin-agent?

A local-first framework for running AI agents on your own machine with strict controls over what each agent can access.

What language is blackfin-agent written in?

Mainly Python. The stack also includes Python.

What license does blackfin-agent use?

Source-visible only, no open-source license is granted by default, so reuse rights are unclear without checking the LICENSE file.

How hard is blackfin-agent to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is blackfin-agent for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.