The Letta 1.x Migration
Broca v0.11.0, released February 5, completes the migration to Letta's 1.x API. This isn't a minor version bump β Letta 1.x changed how identities are created, how messages are sent synchronously, and how async context managers behave.
What Changed
- Identity creation and sync-in-thread: Broca now creates Letta identities correctly and runs synchronous API calls inside threads to avoid blocking the event loop.
- Sender identity threading: Every message now carries a
sender_idthrough the agent and queue pipeline. Your agent knows who said something, not just what was said. - Asyncio lifecycle fix: Events, Queues, and Locks were being created before the event loop existed. Fixed by deferring creation to loop startup.
- Ruff linting: B023 (loop variable binding) and formatting fixes across the streaming and queue modules.
- Test suite: Integration and E2E tests added; disabled plugin tests moved to
tests-disabled/rather than being deleted.
The core dump that was accidentally committed was also cleaned up, and core files are now in .gitignore.