Skip to main content

Local-first behavioral intelligence engine with collectors, AI agent, and task executor

Project description

tethr-engine

PyPI Python License: MIT

TETHR is a local-first behavioral intelligence engine. It passively observes your devices, detects behavioral patterns without cloud processing, and serves real-time presence context to AI agents in under 300 tokens.

pip install tethr-engine
tethr start

What it does

  • Passive observation — watches active windows, typing cadence, system state via background POTS process
  • Pattern detection — identifies focus areas, app clusters, work rhythms from local data only
  • Agent-ready API/identity/context returns a compact behavioral summary, ready to inject into any system prompt
  • MCP server — native Claude Desktop integration via python -m tethr_engine.mcp_server
  • Zero cloud — everything stays on your device; Groq API used only for LLM inference calls

Quick start

pip install tethr-engine
tethr start          # first run prompts for Groq API key, then serves on :8001
tethr status         # confirm health
curl http://127.0.0.1:8001/identity/context

Full walkthrough → docs/quickstart.md


Agent integration

import requests

context = requests.get("http://127.0.0.1:8001/identity/context", timeout=3).json()["context"]
system_prompt = f"{your_base_prompt}\n\n[User context]\n{context}"

Query once per session, inject into system prompt. ~200–300 tokens.

Full guide → docs/integration.md


CLI

Command Description
tethr start Start server on localhost:8001
tethr start --host 0.0.0.0 Network accessible
tethr start --reload Dev mode
tethr status Health check
tethr version Print version

Configuring data storage

By default TETHR stores data in the package directory. To use an external drive set data_path in config.yaml:

data_path: D:\tethr-data

Or set it during first-run setup when prompted. TETHR creates the directory if it does not exist.


Links

Project details


Download files

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

Source Distribution

lulabell_engine-0.3.0.tar.gz (289.0 kB view details)

Uploaded Source

Built Distribution

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

lulabell_engine-0.3.0-py3-none-any.whl (343.0 kB view details)

Uploaded Python 3

File details

Details for the file lulabell_engine-0.3.0.tar.gz.

File metadata

  • Download URL: lulabell_engine-0.3.0.tar.gz
  • Upload date:
  • Size: 289.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for lulabell_engine-0.3.0.tar.gz
Algorithm Hash digest
SHA256 16514e73d4bc9890f73e8539dd69c4d244836f30dad08c7f5fe73e4f5c23b877
MD5 c05d1699ec13dc3e2bb69b4086a7576c
BLAKE2b-256 6e3843f8512e51f446432eca74850b64f604d39ebf6f6314566bfc83cc01b506

See more details on using hashes here.

File details

Details for the file lulabell_engine-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lulabell_engine-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 045063c4cbe8681d97646d54b082954009ec07084542da2f2fb43def2c2f3dc7
MD5 126e14afe7f7f8422b0145da3532e909
BLAKE2b-256 2793da4e732cc4f7de2d03657a814508522aa4392b158adf9c10077822c18897

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