Skip to main content
@botmesh/core — transport-agnostic bot engine. Flows, hooks, plugins, conversations, scheduler and DI. Pair it with a transport provider (@botmesh/baileys for WhatsApp) and, optionally, a store (@botmesh/sqlite-store, @botmesh/redis-store) and the @botmesh/ai plugin. This entry exports what an application needs: the Bot, the flow DSL, the message vocabulary, the option types and the errors an app can catch. The other entries:
  • @botmesh/core/testing: test kit (createTestBot, MockProvider, chaos kit, golden transcripts, crash simulation, in-memory coordinators).
  • @botmesh/core/spi: for authors of stores, durability backends, schedule stores, coordinators, tracer integrations and transports (reference backends, record types, key and form helpers).
  • @botmesh/core/dev: the botmesh dev terminal simulator.
  • @botmesh/core/internal: engine building blocks, with no semver guarantee.

Example

Bot

Messages & context

Triggers

Flows

Conversations

Forms

Hooks & plugins

Handoff & access lists

i18n

Store

User data

Scheduler

Operations

Errors

Provider

Durability

Coordination

Tracing

Flow inspection

Golden transcripts

Dev simulator

Utilities