feat: add persona initialization

This commit is contained in:
2026-05-11 16:10:09 +09:00
parent 7b474ddac3
commit c5a3d7e835
6 changed files with 582 additions and 8 deletions

View File

@@ -2,13 +2,21 @@
BoxBrain is an IdentityDB-backed TypeScript framework for creating synthetic personas that can behave like human-like DM contacts.
The project is framework-first rather than product-first. It provides typed services and adapter contracts for:
The project is framework-first rather than product-first. The current foundation provides:
- initializing a persona from personality, history, values, preferences, and relationships
- storing one persona per IdentityDB memory space
- generating and persisting schedule and availability facts
- running DM-style conversations with short multi-message replies and human-like typing delays
- choosing AI text, structured-output, and image providers through simple adapters
- provider-agnostic text, structured-output, and image adapter contracts
- one IdentityDB memory space per persona
- persona initialization from personality, history, values, preferences, and relationships
- LLM-generated biography ingestion into IdentityDB fact drafts
- optional profile image generation through an image adapter
- human-like typing and first-reply delay utilities
Planned next APIs include:
- schedule generation and availability state persistence
- inbound DM-style conversation turns with mandatory/contextual memory retrieval
- proactive outbound messages without user input
- HTTP/RPC wrappers around the core library APIs
## Development