Skip to main content
Glama
louis030195

Hyperconsciousness

Official
by louis030195

Hyperconsciousness (hc)

An encrypted, append-only knowledge store for humans and agents. HC signs and seals records, syncs them between devices, and gives agents access through scoped, expiring grants.

This repository contains the Rust engine, CLI, MCP/HTTP server, and agent skills. It does not ship a desktop, iOS, Android, or mobile web app. Private Companion and agent orchestration are maintained separately.

Developer alpha. APIs and commands may change. No independent security audit is claimed. Read the security limits before entrusting important data to it. The package is hyperconsciousness; its executable is hc.

Install from source

Install Rust with rustup; this checkout pins Rust 1.88.0. Linux builds also need native headers. On Ubuntu or Debian:

sudo apt-get install build-essential pkg-config libssl-dev libdbus-1-dev

Build the source on macOS or Linux:

git clone https://github.com/louis030195/hyperconsciousness.git
cd hyperconsciousness
cargo build --release --locked
mkdir -p "$HOME/.local/bin"
install -m 755 target/release/hc "$HOME/.local/bin/hc"
export PATH="$HOME/.local/bin:$PATH"
hc --help

On Windows, use cargo build --release --locked and run target\release\hc.exe. Add the binary's directory to your PATH if needed.

The npm packaging scripts are retained for compatibility and tested in CI. The registry package is not the source of this alpha; use this checkout.

Related MCP server: Paper Memory MCP Lite

Try an isolated store

Choose a new directory. Pass it explicitly to every command so this example cannot open an existing personal store:

HC_STORE="$PWD/hc-demo"
hc start --dir "$HC_STORE"
hc write "A demo note" --tags demo --sensitivity normal --dir "$HC_STORE"
hc read --dir "$HC_STORE"
hc status --dir "$HC_STORE"

hc read is a local display command, not a full integrity check. It can display a record with a modified signature and can exit successfully after withholding a record with modified ciphertext. Grant-scoped MCP reads verify history and reject those mutations. Use the documented recovery verification and drill workflow when validating backups.

Give an agent limited access

For a local agent on the same trusted node, use that node's device identity as the grant subject. This example grants one day of read-only access to normal notes tagged demo:

HC_DEVICE="$(hc id --dir "$HC_STORE" | cut -d: -f2)"
hc grant "$HC_DEVICE" --kinds note --tags demo \
  --sensitivity normal --days 1 --dir "$HC_STORE"
hc grants --dir "$HC_STORE"

Copy the grant id into your MCP client configuration. Both paths must be absolute and point to your chosen installation and store:

{
  "mcpServers": {
    "hc": {
      "command": "/absolute/path/to/hc",
      "args": ["mcp", "--as", "<grant-id>", "--dir", "/absolute/path/to/hc-demo"]
    }
  }
}

MCP exposes overview, request_access, access_status, search, recent, record, remember, remember_many, use_secret, and files. A tool's presence does not grant permission to use it. Add --write only when the agent needs capture access. Credential operations require a separate USE grant and a signed device request. For company members, groups, multiple devices and agents, use company gateway access. Company mode checks current membership on every tool call and requires client-side request signing.

hc revoke <grant-id> --dir "$HC_STORE"
hc audit --dir "$HC_STORE"

Grants constrain the server's responses. They do not sandbox a process that already has access to the owner's OS account, files, or keys. Hosted model providers can see plaintext returned through their grants.

The HTTP server supports OAuth/DPoP, capture, and owner-approval APIs for separate clients. It has no bundled application or approval UI. Existing /mobile/... API names are preserved for compatibility; removed client pages and assets return 404.

Keep company and personal data separate

Use independently initialized stores, explicit --dir paths, and separate runtime identities and credentials. A directory name is not an OS security boundary. Run untrusted company agents under a separate OS account or host.

Do not put API keys, recovery phrases, or private brain data in Git, skills, container layers, or machine images. Credential adapters retain secret values; HC stores opaque capability references and grants specific operations.

Documentation

Development

cargo fmt --all -- --check
cargo clippy --locked --all-targets -- -D warnings
cargo test --locked
npm test
npm pack --dry-run
cargo package --locked

MIT licensed. See LICENSE.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    A local-first compiled knowledge graph MCP server that provides structured memory for AI agents with full-text search, vector embeddings, and timeline tracking.
    352 npm
    8
    MIT
  • F
    license
    A
    quality
    A
    maintenance
    Local-first agent-memory MCP server with a why() tool: recall a fact together with its connected subgraph (multi-hop), so linked memories surface even when they share no words with the query. remember/recall/relate/forget/why over one fused vector + graph + columnar engine a single offline Rust binary.
    8
    93
    -