Skip to main content

Self-Hosted AI Companion Platform

Project description

Familiar

Self-hosted AI agent with Signal-grade encryption

Version Python License


Quick Start

Install from PyPI

pip install familiar-agent[llm]
export ANTHROPIC_API_KEY="sk-ant-..."   # or OPENAI_API_KEY
python -m familiar

Run from source

git clone https://github.com/omegcrash/familiar.git
cd familiar/familiar
./run.sh

run.sh auto-detects your setup. If you have Ollama installed, it uses local AI (free, private). If you set an API key, it uses Claude or GPT instead.

That's it. No Docker, no databases, no config files needed.


What Is Familiar?

A self-hosted AI agent that runs on your machine — from a Raspberry Pi to a workstation. Talk to it through CLI, Telegram, Discord, Matrix, Teams, or the web dashboard. It remembers context, executes tools, manages your calendar, reads your email, controls GPIO pins, and browses the web.

Everything is encrypted locally. Your conversations never leave your hardware unless you choose a cloud LLM provider.

Features

  • Multi-provider LLM — Claude, GPT, or local models via Ollama (llama3.2, deepseek-r1, qwen2.5, mistral, gemma3, phi3)
  • 50+ skills — email, calendar, browser, knowledge base, tasks, GPIO, voice, documents, Nextcloud, Gitea, Jellyfin, and more
  • Signal-grade encryption — Double Ratchet secure transport, sessions and memory encrypted at rest
  • Multi-channel — CLI, Telegram, Discord, Matrix, Teams, web dashboard, Signal, iMessage, WhatsApp, SMS
  • Raspberry Pi optimized — runs on 4GB Pi with local Ollama models
  • Multi-device mesh — connect multiple Familiar instances with encrypted peer-to-peer networking
  • HIPAA-ready — compliance mode with audit logging and PHI detection
  • Task hints & eval metrics — context-aware task suggestions, CI evaluation with cost tracking
  • Self-hosted email server — built-in SMTP/IMAP server for fully self-hosted email

Advanced Installation

For running as a system daemon, Pi optimization, or full dependency install:

# Full install with all extras
pip install familiar-agent[full]

# Pi-specific with Ollama optimization
./familiar/scripts/install-pi.sh --with-ollama

# Nonprofit preset (email, calendar, tasks)
./familiar/scripts/install-pi.sh --nonprofit

See docs/INSTALL.md for detailed options.


Configuration

Copy and edit the sample config:

cp config.sample.yaml ~/.familiar/config.yaml

Key settings:

llm:
  default_provider: anthropic     # or openai, ollama
  anthropic_model: claude-sonnet-4-20250514
  ollama_model: llama3.2

agent:
  name: Familiar
  memory_enabled: true
  skills_enabled: true

security:
  encrypt_sessions: true
  encrypt_memory: true

Project Structure

familiar/
├── pyproject.toml           # Package config (pip install -e .)
├── familiar/
│   ├── run.sh               # Quick start script
│   ├── __main__.py          # CLI entry point
│   ├── core/                # Agent, providers, memory, mesh, secure transport
│   ├── channels/            # CLI, Telegram, Discord, Matrix, Teams, etc.
│   ├── skills/              # 50+ built-in skills
│   ├── dashboard/           # Web dashboard
│   ├── admin/               # Admin panel
│   ├── onboard/             # Google Workspace setup wizard
│   ├── docs/                # Documentation
│   └── scripts/             # Install scripts + dev tools

License

MIT — Copyright (c) 2026 George Scott Foley

See LICENSE for full text.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

familiar_agent-1.7.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

familiar_agent-1.7.0-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file familiar_agent-1.7.0.tar.gz.

File metadata

  • Download URL: familiar_agent-1.7.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for familiar_agent-1.7.0.tar.gz
Algorithm Hash digest
SHA256 16c59e304dbb968e14ee692112b03125e6b1e18848667be2d7a9a6ca22e63858
MD5 f9769684a27811c7d615df672ed0e015
BLAKE2b-256 2346ff65573c5b137f6cfe7d73775d6f57fff9185d75b67a0b183cd267fe37c4

See more details on using hashes here.

File details

Details for the file familiar_agent-1.7.0-py3-none-any.whl.

File metadata

  • Download URL: familiar_agent-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for familiar_agent-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56dd829ebd40b265df94776cbfa41a171ac038627e2723b93b37600ffd11464f
MD5 48cd7eaf84c52ad382b0a7a3bfde83f8
BLAKE2b-256 d7fc08a3e31858c8aa5bf9a8f055c10c24f7064f3a8010856dcc73bb05ee4871

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page