theopenconversationkit/tock
Tock, the open source conversational AI toolkit.
Tock – The Open Conversation Kit
What it is – Tock is an open‑source platform for building conversational AI bots. It bundles a natural‑language‑processing (NLP) stack, a visual studio (Tock Studio) for designing dialogue flows, a Kotlin‑based DSL (with Node.js, Python and REST bindings) and ready‑made connectors to many chat‑ and voice channels.
Key components
- NLP engine – works with popular libraries such as OpenNLP, Stanford CoreNLP and Rasa, letting you plug‑in the language models you prefer.
- Tock Studio – a web UI where non‑technical users can author “stories” (dialogue scripts), test bots and view analytics.
- Conversational DSL – a Kotlin‑flavoured language for defining intents, entities and flow logic; the same concepts are exposed through Node.js, Python SDKs and a generic REST API.
- Connectors – out‑of‑the‑box integrations for Messenger, WhatsApp, Google Assistant, Alexa, Twitter, etc., so a bot can be deployed to many channels without custom code.
- Toolkits – front‑end starter kits for React (web) and Flutter (mobile) to embed a bot UI in your own applications.
- Deployment – Docker images and Helm charts that let you run Tock on any cloud provider or on‑premise infrastructure.
Typical workflow
- Define intents & entities using the DSL or via the Studio UI.
- Train the NLP model (leveraging OpenNLP/Stanford/Rasa back‑ends).
- Design conversation flows (stories) in Studio, optionally testing them interactively.
- Connect the bot to a channel through a pre‑built connector or a custom one.
- Deploy the whole stack with Docker, monitor usage through built‑in analytics.
Who uses it – Companies that need a self‑hosted, extensible chatbot framework (e.g., banks, insurers, e‑commerce sites) and developers who want a Kotlin‑first approach but still need multi‑language SDKs.
Project health – The repository is actively maintained (badge shows recent commits, CI via Travis, Maven Central releases). Documentation, a live demo, and a community chat (Gitter) are provided.
Getting started – Clone the repo, run the Maven install command (or use the Docker configurations in the companion tock-docker repo), then open Tock Studio in a browser to begin building bots.
TL;DR – Tock is a full‑stack, open‑source conversational AI platform that lets you build, train, and deploy bots across many messaging and voice channels, with a Kotlin‑centric DSL plus Python/Node.js bindings, all runnable via Docker.
Related
- Project
- Project
- Dispatch
- Project
- Project