Openhuman
O

Openhuman

Openhuman

34,022 stars
N/A forks
N/A contributors

README

Project documentation from GitHub

Openhuman: The Tiny Humans AI That Brings Open Source Personas to Life

Look, we’ve all been there. You’re building a chatbot, a game NPC, or some interactive demo, and you need a realistic human-like persona. But spinning up a full-blown character system is overkill for a prototype, and hardcoded templates feel lifeless. Enter Openhuman—a tiny, open-source project from TinyHumansAI that lets you create and run lightweight human personas using just a prompt and a few configuration lines.

What It Does

Openhuman is a minimalistic Python library that turns a simple text description into a conversational agent with a consistent personality, memory, and behavior. Think of it as a “character-as-a-function” tool. You define a persona (e.g., “a grumpy barista who loves existential philosophy”), and Openhuman wraps it into a callable object that responds to queries while staying in character. Under the hood, it uses small language models and a concise context management system—no massive LLM dependencies required. Check out the repo at github.com/tinyhumansai/openhuman.

Why It’s Cool

What sets Openhuman apart is its simplicity and portability. Instead of wiring up complex RAG pipelines or fine-tuning models, you get a single JSON-like config for a persona. The clever bit: it uses a small, quantized model (think 7B params or less) with a tight context window, so you can run it on a laptop or even a Raspberry Pi. No API keys, no cloud costs.

The memory system is also neat. Each persona gets a short-term “scratchpad” and a long-term “notes” field that persists across conversations. So your grumpy barista remembers that you ordered a black coffee last time and will judge you for ordering a latte now. It’s ideal for prototyping game dialogues, testing UX flows, or adding personality to hackathon projects without the overhead of full-blown agents.

Another standout: the personas are fully programmable. You can define custom behavior triggers, like a “rant mode” or “fact-checking mode”, just by extending the config. It’s like having a tiny, obedient actor in a box.

How to Try It

Getting started is dead simple:

  1. Clone the repo:

    git clone https://github.com/tinyhumansai/openhuman.git
    cd openhuman
    
  2. Install dependencies (Python 3.10+ recommended):

    pip install -r requirements.txt
    
  3. Run the example persona:

    python examples/grumpy_barista.py
    

    That will start an interactive session where you chat with the barista. The persona file is just a dictionary—edit it to change the t

Did you like this issue?

Join our weekly newsletter

Love discovering amazing projects?

Help us continue bringing you the best open-source discoveries every week.

Back to Projects
Last updated: May 30, 2026