Skip to main content

🧠 Humsana Local

Your AI coding assistant doesn't know if you're in deep focus or exhausted. Now it does.

A tiny local server that gives Continue.dev (and other AI tools) real-time awareness of your focus state. No cloud, no accounts, no tracking.

Humsana Local Demo

🚀 Install

pip install humsana-local

▶️ Run

humsana-local

# If that doesn't work (PATH issues):
python -m humsana_local.server

⚙️ Add to Continue.dev

Add to ~/.continue/config.json under contextProviders:

{
  "name": "http",
  "params": {
    "url": "http://localhost:25060/api/v5/context",
    "title": "myself",
    "displayTitle": "My State"
  }
}

✨ Use It

Type @myself in Continue chat. Your AI now sees:

## My Current State
- State: deep_coding
- Focus Score: 0.87 (high - don't over-explain)
- Energy: 0.65 (good)
- Cognitive Load: deep_focus
- Interruptible: no - in the zone

AI Guidance: User is in deep focus. Be concise. Skip explanations. Provide code directly.

🔍 What It Detects

Signal How Why It Matters
Focus Score Window switching frequency Lots of alt-tabbing = fragmented attention
Energy Level Time of day + session length 3am after 6 hours = probably exhausted
Coding Ratio Time in IDE vs other apps High ratio = deep in code
State Combined signals deep_coding, focused_work, context_switching, low_energy

🔒 Privacy

  • 100% local — nothing leaves your machine
  • No accounts — just run it
  • No telemetry — we don't even know you're using it
  • Open source — read the code yourself

🍎 macOS Note

For window tracking, you may need to grant Terminal Accessibility permissions in System Preferences → Privacy & Security → Accessibility.

🆚 Local vs Cloud

Feature Humsana Local (Free) Humsana Cloud
Privacy 100% offline Enterprise-grade encryption
Focus Detection ✅ Window switching ✅ + behavioral context
Energy Estimate ✅ Time of day ✅ + calendar + workload
Meeting Awareness ❌ ✅
Communication Style ❌ ✅
Personality Model ❌ ✅ OCEAN profiling
Burnout Prediction ❌ ✅
Anomaly Detection ❌ ✅

Local is for Focus. Cloud is for Context.

Local sees you typing fast. Cloud knows it's the deadline, not the coffee.

→ Unlock full context

💬 Feedback?

Early beta. Found a bug? Have an idea?

Open an Issue or DM on Twitter/X

License

MIT

Metadata

Release files for humsana-local 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for humsana-local 1.0.0
File Size Uploaded
humsana_local-1.0.0.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for humsana-local 1.0.0
File Interpreter ABI Platform
humsana_local-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / humsana_local-1.0.0.tar.gz

Download URL humsana_local-1.0.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d436fcdd200b40aebfbd172f1f8ea3e8cf222500106cfb56e78bfc67f86825e1
BLAKE2b-256 checksum
How to use checksums
e2cc1959115881580793afd2da2f50cb8866d0604d56dd38680947e2d112cf27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.1

Release files / humsana_local-1.0.0-py3-none-any.whl

Download URL humsana_local-1.0.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8797c958aa3ab3766a4f3e82a9dad94ca8417fe7aee150c3e7b4ddc7c189353
BLAKE2b-256 checksum
How to use checksums
1612375341972c086cc0973ccd8dcb94f58e94be1d2a971c94e948ccc2d680db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.1

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page