@arvoretech/pi-bee-context

PI extension that injects confirmed personal facts from the Bee wearable assistant into the system prompt for personalized responses

Packages

Package details

extension

Install @arvoretech/pi-bee-context from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@arvoretech/pi-bee-context
Package
@arvoretech/pi-bee-context
Version
1.0.1
Published
Jun 23, 2026
Downloads
194/mo · 15/wk
Author
joao.barros.arvore
License
MIT
Types
extension
Size
10.3 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./dist/index.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@arvoretech/pi-bee-context

PI extension that injects your confirmed personal facts from the Bee wearable assistant into the system prompt, so the LLM can give more personalized responses.

How it works

  • On session_start, runs bee facts list --json and caches the confirmed facts in memory.
  • On before_agent_start, appends the facts (grouped by tag) to the turn's system prompt. Facts never pollute the conversation history.
  • Fails gracefully: if the bee CLI is missing, unauthenticated, or times out, the extension injects nothing and the agent runs normally.

Requirements

The bee CLI must be installed and authenticated:

bee status

Commands

Command Description
/bee-refresh Re-fetch facts from Bee and update the injected context (the cache is built at session start).
/bee-show Show the facts currently injected.

Privacy

Bee facts can include sensitive personal information (health, beliefs, relationships). The injected block instructs the model to treat them as sensitive, but the content is sent to whichever model provider you use. Only enable this extension where you are comfortable with that.

Usage

Global (all projects)

ln -s $(pwd)/packages/bee-context/dist ~/.pi/agent/extensions/bee-context

Project-local

{
  "extensions": ["./path/to/arvore-pi-extensions/packages/bee-context"]
}