# Summary

[Executive Vision](./executive-vision.md)
[Introduction](./introduction.md)

# Part I - Getting Started

- [Chapter 01: Run and Talk](./chapter-01/README.md)
  - [Overview](./chapter-01/overview.md)
  - [Quick Start](./chapter-01/quick-start.md)
  - [Installation](./chapter-01/installation.md)
  - [First Conversation](./chapter-01/first-conversation.md)
  - [Sessions and Channels](./chapter-01/sessions.md)

# Part II - Package System

- [Chapter 02: About Packages](./chapter-02/README.md)
  - [.gbai Architecture](./chapter-02/gbai.md)
  - [.gbdialog Dialogs](./chapter-02/gbdialog.md)
  - [.gbkb Knowledge Base](./chapter-02/gbkb.md)
  - [.gbot Bot Configuration](./chapter-02/gbot.md)
  - [.gbtheme UI Theming](./chapter-02/gbtheme.md)
  - [.gbdrive File Storage](./chapter-02/gbdrive.md)
  - [Bot Templates](./chapter-02/templates.md)
  - [Template Samples & Conversations](./chapter-02/template-samples.md)
  - [Template: Business Intelligence](./chapter-02/template-bi.md)
  - [Template: Web Crawler](./chapter-02/template-crawler.md)
  - [Template: Legal Documents](./chapter-02/template-law.md)
  - [Template: LLM Server](./chapter-02/template-llm-server.md)
  - [Template: LLM Tools](./chapter-02/template-llm-tools.md)
  - [Template: API Client](./chapter-02/template-api-client.md)
  - [Template: Platform Analytics](./chapter-02/template-analytics.md)
  - [Template: Office Automation](./chapter-02/template-office.md)
  - [Template: Reminders](./chapter-02/template-reminder.md)
  - [Template: Sales CRM](./chapter-02/template-crm.md)
  - [Template: CRM Contacts](./chapter-02/template-crm-contacts.md)
  - [Template: Marketing](./chapter-02/template-marketing.md)
  - [Template: Creating Templates](./chapter-02/template-template.md)

# Part III - Knowledge Base

- [Chapter 03: gbkb Reference](./chapter-03/README.md)
  - [KB and Tools System](./chapter-03/kb-and-tools.md)
  - [Vector Collections](./chapter-03/vector-collections.md)
  - [Document Indexing](./chapter-03/indexing.md)
  - [Semantic Search](./chapter-03/semantic-search.md)
  - [Episodic Memory](./chapter-03/episodic-memory.md)
  - [Semantic Caching](./chapter-03/caching.md)

# Part IV - User Interface

- [Chapter 04: .gbui Interface Reference](./chapter-04-gbui/README.md)
  - [Suite User Manual](./chapter-04-gbui/suite-manual.md)
  - [UI Structure](./chapter-04-gbui/ui-structure.md)
  - [single.gbui - Simple Chat](./chapter-04-gbui/single-gbui.md)
  - [Console Mode](./chapter-04-gbui/console-mode.md)
  - [Monitoring Dashboard](./chapter-04-gbui/monitoring.md)
  - [HTMX Architecture](./chapter-04-gbui/htmx-architecture.md)
  - [Suite Applications](./chapter-04-gbui/apps/README.md)
    - [Suite - Full Desktop](./chapter-04-gbui/apps/suite.md)
    - [Chat - AI Assistant](./chapter-04-gbui/apps/chat.md)
    - [Drive - File Management](./chapter-04-gbui/apps/drive.md)
    - [Tasks - To-Do Lists](./chapter-04-gbui/apps/tasks.md)
    - [Mail - Email Client](./chapter-04-gbui/apps/mail.md)
    - [Calendar - Scheduling](./chapter-04-gbui/apps/calendar.md)
    - [Meet - Video Calls](./chapter-04-gbui/apps/meet.md)
    - [Player - Media Viewer](./chapter-04-gbui/apps/player.md)
    - [Paper - AI Writing](./chapter-04-gbui/apps/paper.md)
    - [Research - AI Search](./chapter-04-gbui/apps/research.md)
    - [Analytics - Dashboards](./chapter-04-gbui/apps/analytics.md)
    - [Designer - Visual Builder](./chapter-04-gbui/apps/designer.md)
    - [Sources - Prompts & Templates](./chapter-04-gbui/apps/sources.md)
    - [Compliance - Security Scanner](./chapter-04-gbui/apps/compliance.md)
    - [Compliance API Reference](./chapter-04-gbui/apps/compliance-api.md)
  - [How-To Tutorials](./chapter-04-gbui/how-to/README.md)
    - [Create Your First Bot](./chapter-04-gbui/how-to/create-first-bot.md)
    - [Write Your First Dialog](./chapter-04-gbui/how-to/write-first-dialog.md)
    - [Add Documents to Knowledge Base](./chapter-04-gbui/how-to/add-kb-documents.md)
    - [Connect WhatsApp](./chapter-04-gbui/how-to/connect-whatsapp.md)
    - [Monitor Your Bot](./chapter-04-gbui/how-to/monitor-sessions.md)

# Part V - Themes and Styling

- [Chapter 05: gbtheme CSS Reference](./chapter-05-gbtheme/README.md)
  - [Theme Structure](./chapter-05-gbtheme/structure.md)
  - [CSS Customization](./chapter-05-gbtheme/css.md)

# Part VI - BASIC Dialogs

- [Chapter 06: gbdialog Reference](./chapter-06-gbdialog/README.md)
  - [Dialog Basics](./chapter-06-gbdialog/basics.md)
  - [Universal Messaging & Multi-Channel](./chapter-06-gbdialog/universal-messaging.md)
  - [BASIC vs n8n/Zapier/Make](./chapter-06-gbdialog/basic-vs-automation-tools.md)
  - [Template Variables](./chapter-06-gbdialog/template-variables.md)
  - [Template Examples](./chapter-06-gbdialog/templates.md)
    - [start.bas](./chapter-06-gbdialog/templates/start.md)
    - [enrollment.bas](./chapter-06-gbdialog/templates/enrollment.md)
    - [auth.bas](./chapter-06-gbdialog/templates/auth.md)
    - [ai-search.bas](./chapter-06-gbdialog/templates/ai-search.md)
    - [analytics-dashboard.bas](./chapter-06-gbdialog/templates/analytics-dashboard.md)
    - [announcements.bas](./chapter-06-gbdialog/templates/announcements.md)
    - [backup.bas](./chapter-06-gbdialog/templates/backup.md)
    - [bank.bas](./chapter-06-gbdialog/templates/bank.md)
    - [broadcast.bas](./chapter-06-gbdialog/templates/broadcast.md)
    - [default.bas](./chapter-06-gbdialog/templates/default.md)
    - [edu.bas](./chapter-06-gbdialog/templates/edu.md)
    - [employees.bas](./chapter-06-gbdialog/templates/employees.md)
    - [erp.bas](./chapter-06-gbdialog/templates/erp.md)
    - [helpdesk.bas](./chapter-06-gbdialog/templates/helpdesk.md)
    - [privacy.bas](./chapter-06-gbdialog/templates/privacy.md)
    - [sales-pipeline.bas](./chapter-06-gbdialog/templates/sales-pipeline.md)
    - [store.bas](./chapter-06-gbdialog/templates/store.md)
    - [talk-to-data.bas](./chapter-06-gbdialog/templates/talk-to-data.md)
    - [whatsapp.bas](./chapter-06-gbdialog/templates/whatsapp.md)
  - [Webhook Integrations and Jobs](./chapter-06-gbdialog/examples-consolidated.md)
  - [Data Sync Tools](./chapter-06-gbdialog/tools-data-sync.md)
  - [Keywords Reference](./chapter-06-gbdialog/keywords.md)
    - [TALK](./chapter-06-gbdialog/keyword-talk.md)
    - [HEAR](./chapter-06-gbdialog/keyword-hear.md)
    - [SET CONTEXT](./chapter-06-gbdialog/keyword-set-context.md)
    - [GET BOT MEMORY](./chapter-06-gbdialog/keyword-get-bot-memory.md)
    - [SET BOT MEMORY](./chapter-06-gbdialog/keyword-set-bot-memory.md)
    - [GET USER MEMORY](./chapter-06-gbdialog/keyword-get-user-memory.md)
    - [SET USER MEMORY](./chapter-06-gbdialog/keyword-set-user-memory.md)
    - [REMEMBER / RECALL](./chapter-06-gbdialog/keyword-remember.md)
    - [BOOK / BOOK_MEETING](./chapter-06-gbdialog/keyword-book.md)
    - [WEATHER / FORECAST](./chapter-06-gbdialog/keyword-weather.md)
    - [ADD BOT](./chapter-06-gbdialog/keyword-add-bot.md)
    - [ADD MEMBER](./chapter-06-gbdialog/keyword-add-member.md)
    - [ADD SUGGESTION](./chapter-06-gbdialog/keyword-add-suggestion.md)
    - [MODEL ROUTE](./chapter-06-gbdialog/keyword-model-route.md)
    - [SEND TEMPLATE](./chapter-06-gbdialog/keyword-send-template.md)
    - [SET USER](./chapter-06-gbdialog/keyword-set-user.md)
    - [USE MODEL](./chapter-06-gbdialog/keyword-use-model.md)
    - [DELEGATE TO BOT](./chapter-06-gbdialog/keyword-delegate-to-bot.md)
    - [BOT REFLECTION](./chapter-06-gbdialog/keyword-bot-reflection.md)
    - [RUN PYTHON / JAVASCRIPT / BASH](./chapter-06-gbdialog/keyword-run-code.md)
    - [USE KB](./chapter-06-gbdialog/keyword-use-kb.md)
    - [CLEAR KB](./chapter-06-gbdialog/keyword-clear-kb.md)
    - [USE WEBSITE](./chapter-06-gbdialog/keyword-use-website.md)
    - [USE TOOL](./chapter-06-gbdialog/keyword-use-tool.md)
    - [CLEAR TOOLS](./chapter-06-gbdialog/keyword-clear-tools.md)
    - [GET](./chapter-06-gbdialog/keyword-get.md)
    - [SET](./chapter-06-gbdialog/keyword-set.md)
    - [ON](./chapter-06-gbdialog/keyword-on.md)
    - [SET SCHEDULE](./chapter-06-gbdialog/keyword-set-schedule.md)
    - [CREATE SITE](./chapter-06-gbdialog/keyword-create-site.md)
    - [CREATE DRAFT](./chapter-06-gbdialog/keyword-create-draft.md)
    - [CREATE TASK](./chapter-06-gbdialog/keyword-create-task.md)
    - [PRINT](./chapter-06-gbdialog/keyword-print.md)
    - [WAIT](./chapter-06-gbdialog/keyword-wait.md)
    - [FORMAT](./chapter-06-gbdialog/keyword-format.md)
    - [FIRST](./chapter-06-gbdialog/keyword-first.md)
    - [LAST](./chapter-06-gbdialog/keyword-last.md)
    - [FOR EACH](./chapter-06-gbdialog/keyword-for-each.md)
    - [EXIT FOR](./chapter-06-gbdialog/keyword-exit-for.md)
    - [SEND MAIL](./chapter-06-gbdialog/keyword-send-mail.md)
    - [FIND](./chapter-06-gbdialog/keyword-find.md)
    - [INSTR](./chapter-06-gbdialog/keyword-instr.md)
    - [IS NUMERIC](./chapter-06-gbdialog/keyword-is-numeric.md)
    - [SWITCH](./chapter-06-gbdialog/keyword-switch.md)
    - [WEBHOOK](./chapter-06-gbdialog/keyword-webhook.md)
    - [TABLE](./chapter-06-gbdialog/keyword-table.md)
  - [KB Statistics Keywords](./chapter-06-gbdialog/keywords-kb-statistics.md)
    - [KB STATISTICS](./chapter-06-gbdialog/keyword-kb-statistics.md)
    - [KB COLLECTION STATS](./chapter-06-gbdialog/keyword-kb-collection-stats.md)
    - [KB DOCUMENTS COUNT](./chapter-06-gbdialog/keyword-kb-documents-count.md)
    - [KB DOCUMENTS ADDED SINCE](./chapter-06-gbdialog/keyword-kb-documents-added-since.md)
    - [KB LIST COLLECTIONS](./chapter-06-gbdialog/keyword-kb-list-collections.md)
    - [KB STORAGE SIZE](./chapter-06-gbdialog/keyword-kb-storage-size.md)
  - [Multi-Agent Keywords](./chapter-06-gbdialog/keywords-multi-agent.md)
  - [Social Media Keywords](./chapter-06-gbdialog/keywords-social-media.md)
  - [Lead Scoring Keywords](./chapter-06-gbdialog/keywords-lead-scoring.md)
  - [HTTP & API Operations](./chapter-06-gbdialog/keywords-http.md)
    - [POST](./chapter-06-gbdialog/keyword-post.md)
    - [PUT](./chapter-06-gbdialog/keyword-put.md)
    - [PATCH](./chapter-06-gbdialog/keyword-patch.md)
    - [DELETE HTTP](./chapter-06-gbdialog/keyword-delete-http.md)
    - [SET HEADER](./chapter-06-gbdialog/keyword-set-header.md)
    - [GRAPHQL](./chapter-06-gbdialog/keyword-graphql.md)
    - [SOAP](./chapter-06-gbdialog/keyword-soap.md)
  - [Data Operations](./chapter-06-gbdialog/keywords-data.md)
    - [SAVE](./chapter-06-gbdialog/keyword-save.md)
    - [INSERT](./chapter-06-gbdialog/keyword-insert.md)
    - [UPDATE](./chapter-06-gbdialog/keyword-update.md)
    - [DELETE](./chapter-06-gbdialog/keyword-delete.md)
    - [MERGE](./chapter-06-gbdialog/keyword-merge.md)
    - [FILL](./chapter-06-gbdialog/keyword-fill.md)
    - [MAP](./chapter-06-gbdialog/keyword-map.md)
    - [FILTER](./chapter-06-gbdialog/keyword-filter.md)
    - [AGGREGATE](./chapter-06-gbdialog/keyword-aggregate.md)
    - [JOIN](./chapter-06-gbdialog/keyword-join.md)
    - [PIVOT](./chapter-06-gbdialog/keyword-pivot.md)
    - [GROUP BY](./chapter-06-gbdialog/keyword-group-by.md)
  - [Media & Messaging](./chapter-06-gbdialog/keywords-media.md)
    - [PLAY](./chapter-06-gbdialog/keyword-play.md)
    - [QR CODE](./chapter-06-gbdialog/keyword-qrcode.md)
    - [SEND SMS](./chapter-06-gbdialog/keyword-sms.md)
  - [File Operations](./chapter-06-gbdialog/keywords-file.md)
    - [READ](./chapter-06-gbdialog/keyword-read.md)
    - [WRITE](./chapter-06-gbdialog/keyword-write.md)
    - [DELETE FILE](./chapter-06-gbdialog/keyword-delete-file.md)
    - [COPY](./chapter-06-gbdialog/keyword-copy.md)
    - [MOVE](./chapter-06-gbdialog/keyword-move.md)
    - [LIST](./chapter-06-gbdialog/keyword-list.md)
    - [COMPRESS](./chapter-06-gbdialog/keyword-compress.md)
    - [EXTRACT](./chapter-06-gbdialog/keyword-extract.md)
    - [UPLOAD](./chapter-06-gbdialog/keyword-upload.md)
    - [DOWNLOAD](./chapter-06-gbdialog/keyword-download.md)
    - [GENERATE PDF](./chapter-06-gbdialog/keyword-generate-pdf.md)
    - [MERGE PDF](./chapter-06-gbdialog/keyword-merge-pdf.md)

# Part VII - Extending General Bots

- [Chapter 07: gbapp Architecture Reference](./chapter-07-gbapp/README.md)
  - [Architecture Overview](./chapter-07-gbapp/architecture.md)
  - [Building from Source](./chapter-07-gbapp/building.md)
  - [Container Deployment (LXC)](./chapter-07-gbapp/containers.md)
  - [Docker Deployment](./chapter-07-gbapp/docker-deployment.md)
  - [Scaling and Load Balancing](./chapter-07-gbapp/scaling.md)
  - [Infrastructure Design](./chapter-07-gbapp/infrastructure.md)
  - [Observability](./chapter-07-gbapp/observability.md)
  - [Philosophy](./chapter-07-gbapp/philosophy.md)
  - [Example gbapp](./chapter-07-gbapp/example-gbapp.md)
  - [Module Structure](./chapter-07-gbapp/crates.md)
  - [Service Layer](./chapter-07-gbapp/services.md)
  - [Creating Custom Keywords](./chapter-07-gbapp/custom-keywords.md)
  - [Adding Dependencies](./chapter-07-gbapp/dependencies.md)

# Part VIII - Bot Configuration

- [Chapter 08: gbot Reference](./chapter-08-config/README.md)
  - [config.csv Format](./chapter-08-config/config-csv.md)
  - [Bot Parameters](./chapter-08-config/parameters.md)
  - [LLM Configuration](./chapter-08-config/llm-config.md)
  - [Context Configuration](./chapter-08-config/context-config.md)
  - [Drive Integration](./chapter-08-config/drive.md)
  - [Multimodal Configuration](./chapter-08-config/multimodal.md)
  - [Secrets Management](./chapter-08-config/secrets-management.md)

# Part IX - Tools and Integration

- [Chapter 09: API and Tooling](./chapter-09-api/README.md)
  - [Tool Definition](./chapter-09-api/tool-definition.md)
  - [PARAM Declaration](./chapter-09-api/param-declaration.md)
  - [Tool Compilation](./chapter-09-api/compilation.md)
  - [MCP Format](./chapter-09-api/mcp-format.md)
  - [Tool Format](./chapter-09-api/openai-format.md)
  - [GET Keyword Integration](./chapter-09-api/get-integration.md)
  - [External APIs](./chapter-09-api/external-apis.md)
  - [LLM REST Server](./chapter-09-api/llm-rest-server.md)
  - [NVIDIA GPU Setup for LXC](./chapter-09-api/nvidia-gpu-setup.md)

- [Chapter 10: REST API Reference](./chapter-10-api/README.md)
  - [Files API](./chapter-10-api/files-api.md)
  - [Document Processing API](./chapter-10-api/document-processing.md)
  - [Users API](./chapter-10-api/users-api.md)
  - [User Security API](./chapter-10-api/user-security.md)
  - [Groups API](./chapter-10-api/groups-api.md)
  - [Group Membership API](./chapter-10-api/group-membership.md)
  - [Conversations API](./chapter-10-api/conversations-api.md)
  - [Calls API](./chapter-10-api/calls-api.md)
  - [Whiteboard API](./chapter-10-api/whiteboard-api.md)
  - [Email API](./chapter-10-api/email-api.md)
  - [Notifications API](./chapter-10-api/notifications-api.md)
  - [Calendar API](./chapter-10-api/calendar-api.md)
  - [Tasks API](./chapter-10-api/tasks-api.md)
  - [Storage API](./chapter-10-api/storage-api.md)
  - [Backup API](./chapter-10-api/backup-api.md)
  - [Analytics API](./chapter-10-api/analytics-api.md)
  - [Reports API](./chapter-10-api/reports-api.md)
  - [Admin API](./chapter-10-api/admin-api.md)
  - [Monitoring API](./chapter-10-api/monitoring-api.md)
  - [AI API](./chapter-10-api/ai-api.md)
  - [ML API](./chapter-10-api/ml-api.md)
  - [Security API](./chapter-10-api/security-api.md)
  - [Compliance API](./chapter-10-api/compliance-api.md)
  - [Example Integrations](./chapter-10-api/examples.md)

# Part X - Feature Deep Dive

- [Chapter 11: Feature Reference](./chapter-11-features/README.md)
  - [Feature Editions](./chapter-11-features/editions.md)
  - [Core Features](./chapter-11-features/core-features.md)
  - [Conversation Management](./chapter-11-features/conversation.md)
  - [AI and LLM](./chapter-11-features/ai-llm.md)
  - [Knowledge Base](./chapter-11-features/knowledge-base.md)
  - [Automation](./chapter-11-features/automation.md)
  - [Email Integration](./chapter-11-features/email.md)
  - [Storage and Data](./chapter-11-features/storage.md)
  - [Multi-Channel Support](./chapter-11-features/channels.md)
  - [Drive Monitor](./chapter-11-features/drive-monitor.md)
  - [Platform Capabilities](./chapter-11-features/platform-comparison.md)
  - [Enterprise Platform Migration](./chapter-11-features/m365-comparison.md)
  - [Projects](./chapter-11-features/projects.md)
  - [Multi-Agent Office Suite Design](./chapter-11-features/multi-agent-design.md)
  - [What's New: Multi-Agent Features](./chapter-11-features/whats-new.md)
  - [Multi-Agent Orchestration](./chapter-11-features/multi-agent-orchestration.md)
  - [Memory Management](./chapter-11-features/memory-management.md)
  - [Hybrid RAG Search](./chapter-11-features/hybrid-search.md)

# Part XI - Security

- [Chapter 12: Authentication & Permissions](./chapter-12-auth/README.md)
  - [User Authentication](./chapter-12-auth/user-auth.md)
  - [Password Security](./chapter-12-auth/password-security.md)
  - [API Endpoints](./chapter-12-auth/api-endpoints.md)
  - [Bot Authentication](./chapter-12-auth/bot-auth.md)
  - [Security Features](./chapter-12-auth/security-features.md)
  - [Security Policy](./chapter-12-auth/security-policy.md)
  - [Compliance Requirements](./chapter-12-auth/compliance-requirements.md)
  - [Permissions Matrix](./chapter-12-auth/permissions-matrix.md)
  - [User Context vs System Context](./chapter-12-auth/user-system-context.md)

# Part XII - Community

- [Chapter 13: Contributing](./chapter-13-community/README.md)
  - [Development Setup](./chapter-13-community/setup.md)
  - [Testing Guide](./chapter-13-community/testing.md)
  - [Documentation](./chapter-13-community/documentation.md)
  - [Pull Requests](./chapter-13-community/pull-requests.md)
  - [Community Guidelines](./chapter-13-community/community.md)
  - [IDEs](./chapter-13-community/ide-extensions.md)

# Part XIII - Migration

- [Chapter 14: Migration Guide](./chapter-14-migration/README.md)
  - [Migration Overview](./chapter-14-migration/overview.md)
  - [Platform Comparison Matrix](./chapter-14-migration/comparison-matrix.md)
  - [Migration Resources](./chapter-14-migration/resources.md)
  - [Common Concepts](./chapter-14-migration/common-concepts.md)
  - [Knowledge Base Migration](./chapter-14-migration/kb-migration.md)
  - [Cloud Productivity Migration](./chapter-14-migration/google-workspace.md)
  - [Enterprise Platform Migration](./chapter-14-migration/microsoft-365.md)
  - [n8n Migration](./chapter-14-migration/n8n.md)
  - [Notion Migration](./chapter-14-migration/notion.md)
  - [Perplexity Migration](./chapter-14-migration/perplexity.md)
  - [Zapier and Make Migration](./chapter-14-migration/zapier-make.md)
  - [Intercom Migration](./chapter-14-migration/intercom.md)
  - [Dialogflow Migration](./chapter-14-migration/dialogflow.md)
  - [Botpress Migration](./chapter-14-migration/botpress.md)
  - [Automation Migration](./chapter-14-migration/automation.md)
  - [Validation and Testing](./chapter-14-migration/validation.md)

# Appendices

- [Appendix A: Database Model](./appendix-15/README.md)
  - [Schema Overview](./appendix-15/schema.md)
  - [Tables](./appendix-15/tables.md)
  - [Relationships](./appendix-15/relationships.md)

- [Appendix B: External Services](./appendix-external-services/README.md)
  - [Service Catalog](./appendix-external-services/catalog.md)
  - [LLM Providers](./appendix-external-services/llm-providers.md)
  - [Weather API](./appendix-external-services/weather.md)
  - [Channel Integrations](./appendix-external-services/channels.md)
  - [Storage Services](./appendix-external-services/storage.md)
  - [Directory Services](./appendix-external-services/directory.md)
  - [Attendance Queue](./appendix-external-services/attendance-queue.md)
  - [Hosting, DNS, and MDA](./appendix-external-services/hosting-dns.md)
  - [Time-Series Database](./appendix-external-services/timeseries.md)
  - [NVIDIA GPU](./appendix-external-services/nvidia.md)
  - [Multimodal](./appendix-external-services/multimodal.md)
  - [Console (XtreeUI)](./appendix-external-services/console.md)

- [Appendix C: Environment Variables](./appendix-env-vars/README.md)

- [Appendix D: Documentation Style](./appendix-docs-style/conversation-examples.md)
  - [SVG and Conversation Standards](./appendix-docs-style/svg.md)

[Glossary](./glossary.md)
[Contact](./contact/README.md)