FreeHand
Your local AI agent, on your devices, in your channels.
FreeHand is a local-first AI agent system with OAuth integrations, cross-agent memory import, and Tailscale network access. Built for the South African market — free, open source, no vendor lock-in.
pip install freehand-agent
freehand start
# Open http://localhost:8000
Features
- 🔌 7 OAuth connectors — Gmail, Outlook, Zoom, Facebook, Instagram, GitHub, custom email (IMAP/SMTP)
- 🔗 Cross-agent memory import — automatically detects and imports memories from Hermes Agent and OpenClaw
- 🛠 24 agent tools — 6 write (file writes, OAuth-protected posts/PRs/issues/meetings) + 18 read (email, calendar, sheets, GitHub, Zoom, browser automation, document processing, memory search)
- 🔒 Permission tiers — Autonomous, Semi-Autonomous, Full Access with approval workflows
- 💬 Remote gateways — Telegram, Slack, WhatsApp
- 🧠 FTS5 memory search — full-text search across all vault notes
- 📅 Task scheduler — cron-based task execution via scribble sweep
- 🔐 Encrypted token storage — Fernet encryption for all OAuth tokens
- 🌐 Tailscale support — accessible from anywhere on your tailnet
- 🔀 Pluggable connector backends — OpenConnector for the broad catalog, with an optional Composio adapter for Meta OAuth
- 🖥 Help on your own computer — the FreeHand Helper for Windows (below)
FreeHand Helper for Windows
The FreeHand Helper is a small Windows program that lets FreeHand help on your own computer, whether FreeHand runs on the same PC or on a server. It uses Windows accessibility (what screen readers use), so it's especially good with apps and websites that are hard to use with a screen reader.
- Look: read a window's buttons, fields and menus, say which have no name, take a picture of a window, and check the computer's details.
- Act: click, type, press keys, open apps and websites, and switch, close or minimise windows.
- Change: install, update and remove programs with winget (Windows' own installer), and run four known fixes: sound, printer, network and taskbar.
It asks you first, in a dialog a screen reader reads, and changes are asked every time. Ctrl+Alt+Escape stops it at once. It never types passwords, never acts in Windows' security screens or FreeHand's own console, and can't run commands of its own.
Download: FreeHand.exe (Windows 10 and 11, nothing else to install). When it asks where FreeHand runs, choose Somewhere else. Then, in FreeHand, open Help on my computer and press Add a computer. More in the Helper guide.
Install
Windows: the FreeHand app (easiest)
Download FreeHand.exe and open it. It checks the computer, switches on what Windows needs (one "allow changes?" and a restart), downloads FreeHand (about 1.8 GB), and opens it in the browser. No Docker Desktop, terminal or licence needed, and every screen works with a screen reader. Windows 10 (version 2004 or newer) or 11, with about 12 GB of free space.
Until it's signed, Windows may say "Windows protected your PC": choose More info, then Run anyway. More in the FreeHand app guide.
Linux: one line
curl -fsSL https://github.com/TracySmithConsulting/freehand/releases/latest/download/install.sh | bash
It sets up the same services as the Windows app, from ready-made images, with the free Docker engine (from your Linux's own packages, after asking). Then open http://localhost:8000 for the welcome setup. Running the line again updates FreeHand. Mac comes later.
Windows: one line (PowerShell)
irm https://github.com/TracySmithConsulting/freehand/releases/latest/download/install.ps1 | iex
It downloads the FreeHand app above and opens it.
From PyPI
pip install freehand-agent
freehand start
From source
git clone https://github.com/TracySmithConsulting/freehand.git
cd freehand
pip install -e ".[all]"
freehand start
Quick Start
# 1. Install and start
pip install freehand-agent
freehand start
# 2. Open in browser (the command normally does this for you)
# http://localhost:8000
# 3. Connect your accounts (Settings → OAuth Credentials)
# See docs/OAUTH_SETUP.md for step-by-step
Optional Meta authentication through Composio
FreeHand can use Composio's hosted Connect Links for Facebook and Instagram.
This keeps Meta OAuth credentials and user access tokens outside the local
FreeHand installation. Set these variables before running freehand start:
COMPOSIO_API_KEY=your-project-key
COMPOSIO_AUTH_CONFIG_FACEBOOK=your-facebook-auth-config-id
COMPOSIO_AUTH_CONFIG_INSTAGRAM=your-instagram-auth-config-id
When these are present, the Facebook and Instagram Connect buttons use Composio. Other services continue to use FreeHand or OpenConnector as before. If they are absent, the existing first-party Meta connector remains available. See docs/integrations/composio.md for the complete setup and hosted-deployment notes.
CLI Commands
freehand start # Initialize, start, and open the local UI
freehand serve # Start the web server
freehand init # Initialize database and vault
freehand sweep # Process pending scribble entries
# Connections
freehand connect <service> # Start OAuth flow (google, microsoft, zoom, etc.)
freehand connections # List all connections
freehand disconnect <service> # Remove a connection
freehand test <service> # Test if connection is valid
# Agents (cross-agent import)
freehand agents list # Detect installed AI agents
freehand agents import hermes # Import from Hermes Agent
freehand agents import openclaw # Import from OpenClaw
freehand agents status # Show import history
freehand agents remove <agent> # Remove imported data
# Tools
freehand office read-docx <path>
freehand browser axtree <url>
freehand browser screenshot <url>
# Gateway
freehand gateway status
freehand gateway pair <phone>
OAuth Setup
See docs/OAUTH_SETUP.md for detailed instructions on registering apps with:
- Google Cloud Console (Gmail, Calendar, Sheets, Meet)
- Microsoft Entra ID (Outlook, Teams, Calendar)
- Zoom Marketplace (Meetings, recordings)
- Meta for Developers (Facebook, Instagram)
- GitHub (PAT-based, no app registration needed)
Cross-Agent Memory Import
FreeHand can detect and import memories from other AI agents installed on your system:
| Agent | What gets imported |
|---|---|
| Hermes Agent | SOUL.md, AGENTS.md, MEMORY.md, USER.md, config, 20+ skills, state.db (selective) |
| OpenClaw | SOUL.md, IDENTITY.md, MEMORY.md, USER.md, AGENTS.md, journal entries |
Run freehand agents list to detect, then freehand agents import hermes --state to import.
Architecture
┌─────────────────────────────────────────────┐
│ Web UI (static/index.html) │
│ http://localhost:8000 │
└──────────────────┬──────────────────────────┘
│ FastAPI
┌──────────────────▼──────────────────────────┐
│ server.py core/ │
│ ┌─────────────┴─────────────────────────┐ │
│ │ /api/agent/command ← LLM agent │ │
│ │ /api/integrations/* ← OAuth flows │ │
│ │ /api/agents/* ← import mgmt │ │
│ │ /api/tools/* ← tool API │ │
│ └───────────────────────────────────────┘ │
│ │
│ core/agents/ ← detection & import │
│ core/oauth/ ← token management │
│ core/tools/ ← office, browser, integrations│
│ core/memory/ ← FTS5 search │
│ core/security/ ← permission tiers │
│ core/gateway/ ← Telegram/Slack/WhatsApp │
│ core/scheduler/ ← cron-based sweep │
└──────────────────┬──────────────────────────┘
│
┌──────────────────▼──────────────────────────┐
│ vault/ ← user data │
│ agent.db ← SQLite (FTS5) │
│ connections.json ← encrypted tokens │
│ imports/hermes/ ← imported memories │
│ imports/openclaw/ ← imported memories │
└─────────────────────────────────────────────┘
API Endpoints
| Method | Path | Description |
|---|---|---|
GET |
/api/v1/status |
Service status |
POST |
/api/agent/command |
Run agent command |
GET |
/api/integrations |
List integrations |
GET |
/api/integrations/{service}/authorize |
Get OAuth URL |
GET |
/api/integrations/{service}/callback |
OAuth callback (the only one without the key) |
POST |
/api/integrations/{service}/disconnect |
Remove connection |
GET |
/api/agents |
Detect installed agents |
POST |
/api/agents/import |
Import from agent |
GET |
/api/agents/imported |
Import history |
Full API reference: API Documentation
Security
- All OAuth tokens are encrypted at rest using Fernet (AES-128-CBC + HMAC-SHA256)
- Encryption key is auto-generated on first run at
vault/encryption.key(mode 0o600) - Permission tiers enforce approval workflows for write operations
- Nango removed — all OAuth is handled in-process
- No telemetry or data collection
Code signing policy
Free code signing provided by SignPath.io, certificate by SignPath Foundation.
- What's signed: the FreeHand Helper for Windows, built by GitHub Actions from this repository's public source (workflow). Nothing built on a personal computer is signed.
- Authors and reviewers: the members of TracySmithConsulting. Every change goes through a pull request.
- Approver: Tracy Smith. Every release is approved by hand.
- Privacy: the Helper connects only to the FreeHand address the person pairs it with, and sends only what they allow. It sends nothing to anyone else.
The full policy: Code signing policy.
License
FreeHand is free and open source under the MIT licence. See LICENSE for the legal text and Using, sharing and changing FreeHand for a plain-language guide.
You're welcome to fork FreeHand. If you share your own version, please give it its own name. See The FreeHand name.
Contributing
See CONTRIBUTING.md
Changelog
See CHANGELOG.md
Links
- Source: https://github.com/TracySmithConsulting/freehand
- PyPI: https://pypi.org/project/freehand-agent/
- Issues: https://github.com/TracySmithConsulting/freehand/issues
- Setup Guide: docs/OAUTH_SETUP.md
Metadata
Release files for freehand-agent 0.1.28
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| freehand_agent-0.1.28.tar.gz | 649.1 kB | Without provenance | Details for freehand_agent-0.1.28.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| freehand_agent-0.1.28-py3-none-any.whl | Python 3 | none | any | Details for freehand_agent-0.1.28-py3-none-any.whl |
Total release size: 1.1 MB
Release files / freehand_agent-0.1.28.tar.gz
| Download URL | freehand_agent-0.1.28.tar.gz |
|---|---|
| Size | 649.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f42b4733e372e9564b0381119487a2bc670a4632f8833d35d502ab049a1e56fc
|
|
BLAKE2b-256 checksum How to use checksums |
362c0703084e92a4cb40487f3accac0f0f62e3976df7dec3a4810326b8a1b8a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Release files / freehand_agent-0.1.28-py3-none-any.whl
| Download URL | freehand_agent-0.1.28-py3-none-any.whl |
|---|---|
| Size | 451.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e678398c4bf83e4ac61da9773cd214e1d9e249daabdad94a0d0dad3afd3a4e53
|
|
BLAKE2b-256 checksum How to use checksums |
d5e703eefce6ac091462f90ceac25e1a3325f18add3873fd17e2264beba558ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for freehand-agent 0.1.28
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.