English | ไธญๆ
Humanaize v2.0 is a local autonomous AI agent with a modern GUI interface. It runs entirely on your Windows machine using a local LLM server, providing privacy-focused AI interactions with memory, personality, and extensible skills.
- Local Chat Interface: Modern CustomTkinter-based UI with chat history
- Memory System: Persistent conversation memory and thought tracking
- Personality Engine: Customizable AI personality traits
- GAN-style Self-Debate: Internal argumentation for enhanced responses
- Skills System: Extensible skill framework (OpenClaw-compatible)
| Skill | Description |
|---|---|
shell |
Execute shell commands |
file-read |
Read files from the filesystem |
file-write |
Write content to files |
memory |
Query and manage conversation memory |
reminder |
Set timed reminders |
web-search |
Search the web |
web-fetch |
Fetch content from URLs |
detect-emotion |
Analyze user's facial expressions |
humanaize-society-network |
Connect with other Humanaize AIs |
- Dark/Light theme support
- Multi-language support (English, ไธญๆ)
- Real-time thought display
- Command output panel
- System status monitoring
- GAN result persistence
.
โโโ main.py # Application entry point
โโโ ui.py # Main GUI interface
โโโ Agent.py # Agent execution engine
โโโ thinking_engine.py # Async task processing
โโโ skills_manager.py # Skills framework
โโโ config.py # Configuration settings
โโโ llm.py # LLM communication
โโโ memory.py # Memory management
โโโ personality.py # Personality system
โโโ autonomous.py # Autonomous decision engine
โโโ idle.py # Idle engine
โโโ gan_iteration.py # GAN self-debate
โโโ language_adapter.py # Language detection
โโโ tools.py # Utility functions
โโโ requirements.txt # Python dependencies
โโโ LICENSE # MIT License
โโโ README.md # This file
โ
โโโ skills/ # Skills directory
โ โโโ SKILL.md # Skill definition format
โ โโโ shell/
โ โโโ file-read/
โ โโโ file-write/
โ โโโ memory/
โ โโโ reminder/
โ โโโ web-search/
โ โโโ web-fetch/
โ โโโ detect-emotion/
โ โโโ HumanaizeSocietyNetwork/
โ
โโโ data/ # Runtime data (not tracked)
โ โโโ agent_prompt.txt # Agent instructions
โ โโโ memory.json # Conversation memory
โ โโโ personality.json # Personality config
โ โโโ ui_settings.json # UI preferences
โ
โโโ llama/ # Llama.cpp binaries (not tracked)
โโโ models/ # LLM model files (not tracked)
- Python 3.10 or higher
- Windows operating system
- A running LLM server (llama.cpp or similar)
git clone https://github.com/A113NWu/Humanaize2-Project.git
cd Humanaize2-Projectpython -m venv .venv
.venv\Scripts\activatepip install -r requirements.txtPlace your GGUF model file in the models/ directory. Recommended: TinyLlama
cd llama
start_server.batOr manually:
llama\llama-server.exe -m models\tinyllama.gguf -c 2048 -port 8080python main.py boot # CLI mode
python main.py boot -m gui # GUI modepython main.py boot -m guipython main.py bootpython main.py skills -list # List all skills
python main.py skills -enable shell # Enable a skill
python main.py skills -disable shell # Disable a skill
python main.py skills -install skill.zip # Install a skill- Launch the application in GUI or CLI mode
- Type your message in the input field
- Press Enter or click Send
- The AI will respond with thoughts and answers
Skills can be invoked through natural language. Example:
"Can you read the file at C:\test.txt?"
"What's the weather like?"
"Set a reminder for 5 minutes."
For direct invocation, the AI outputs JSON:
{"skill": "shell", "input": "dir"}Access settings via the โ๏ธ button in the GUI:
- Language selection
- Theme (Dark/Light)
- Model configuration
- Skills prompt customization
- GAN toggle
- Auto break silence toggle
| Variable | Default | Description |
|---|---|---|
LLAMA_SERVER_URL |
http://127.0.0.1:8080 |
LLM server endpoint |
LLAMA_SERVER = "http://127.0.0.1:8080"
MODEL_NAME = "tinyllama"
MAX_TOKENS = 256
TEMPERATURE = 0.7
TOP_P = 0.9Edit data/agent_prompt.txt to customize AI behavior:
You are an assistant that can execute shell commands and use skills...
Create a folder in skills/ with a SKILL.md file:
skills/my-skill/
โโโ SKILL.md
---
name: my-skill
description: What this skill does
metadata:
category: utility
risk_level: low
requires_approval: false
version: 1.0.0
---
# My Skill
## Purpose
Describe what this skill does.
## Input Format
JSON object with input data.
## Example
{"skill": "my-skill", "input": "..."}- ThinkingEngine: Async task processor for chat, GAN, and reflection
- Agent: Executes skills and shell commands
- SkillsManager: Loads and manages skill lifecycle
- Memory: Persists conversation history
- Personality: Manages AI character traits
User Input โ ThinkingEngine โ LLM โ Agent โ Skills โ Response
โ
Memory/Persistence
- Ensure llama.cpp server is running:
llama\llama-server.exe -m models\model.gguf - Check server URL in config.py
- Verify skill is enabled:
python main.py skills -list - Check skill configuration in
data/skills_config.json
- Ensure no other application is using the camera
- Grant camera permissions to Python
This project is licensed under the MIT License - see the LICENSE file for details.
- llama.cpp - Local LLM inference
- CustomTkinter - Modern Python UI
- DeepFace - Facial analysis
- OpenClaw - Skill framework inspiration
Note: This software requires a local LLM server. Humanaize provides the framework but does not include LLM model files due to their size. Download a compatible GGUF model separately.