Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 2.21 KB

File metadata and controls

71 lines (53 loc) · 2.21 KB

heypi

heypi

Pi-native chat agents for teams.

heypi connects one Pi agent to Slack, Discord, Telegram, local applications, or trusted webhooks. It adds conversation routing, runtime isolation, approvals, memory, attachments, schedules, and operational audit records without replacing Pi's model loop.

Documentation · Quickstart · Discord

Create an agent

npm create heypi@latest -- codex-tag my-agent
cd my-agent
cp .env.example .env
npm run dev

Use as a library

npm install @hunvreus/heypi
import { host, loadAgent, local, modelFromEnv, runHeypi } from "@hunvreus/heypi";

const agent = loadAgent("./agent", {
	model: modelFromEnv(),
	runtime: host({ workspace: "./workspace" }),
});

await runHeypi(agent, [local()]);

Set HEYPI_MODEL to a Pi model ID such as openai/gpt-5.4-mini and provide that model provider's credentials. Replace local() with Slack, Discord, Telegram, or webhook for network ingress.

Packages

The canonical documentation source is packages/heypi/docs. The complete hosted documentation is at heypi.dev/docs.

Development

Requires Node.js 22 or later and pnpm 10.

pnpm install
pnpm check
pnpm typecheck
pnpm test
pnpm build