🧠 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.
🚀 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.
💬 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| humsana_local-1.0.0.tar.gz | 6.3 kB | Without provenance | Details for humsana_local-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| humsana_local-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for humsana_local-1.0.0-py3-none-any.whl |
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
|
Security for humsana-local 1.0.0
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.