BonsAI Internal Documentation

Welcome to BonsAI πŸ‘‹ #

BonsAI is a document intelligence platform that uses AI to extract structured information from unstructured documents. This documentation will help you get started, whether you’re a new team member or an experienced developer.

πŸš€ Quick Start #

New to BonsAI? Start here:

  1. Getting Started Guide - Set up your Coder workspace and get running in minutes
  2. Development Workflow - Learn our development process and best practices
  3. Example Workflow - Follow a complete end-to-end example: adding a new field to invoice extraction

Need help? Contact the team on Slack or email us at dev@gotofu.com

πŸ“š Documentation Sections #

For New Developers #

Start with these guides to get up and running:

Services & Architecture #

Understand the BonsAI platform:

  • Webapp - Next.js frontend application (TypeScript, React, TanStack Query)
  • BonsAPI - Rust backend service (Actix Web, PostgreSQL)
  • Hinoki - ML-powered document processing engine (Python, RabbitMQ)
  • Database - Schema, migrations, and CloudBeaver database management

Advanced Topics #

Deep dives for experienced developers:

Operations & Deployment #

For DevOps and production concerns:

Operations Runbooks #

Step-by-step guides for production operations and incident response:

Common Tasks #

Tools & Services #

πŸ†˜ Need Help? #

πŸ“ Contributing to Documentation #

This documentation lives in the repository at /docs/internal. To improve it:

  1. Open the file you want to edit in your Coder workspace
  2. Make your changes to the Markdown files
  3. Submit a pull request with your improvements

The documentation site is built with Hugo and automatically deployed when changes merge to main.


Ready to dive in? Head to the Getting Started Guide to set up your environment!