Glossary

DbToo

DbToo lets RPG programs and Db2 for i data call AI models and outside services such as watsonx, Ollama and OpenAI-compatible endpoints. It is an experimental open-source SDK from IBM, and IBM says not to run it in production yet.

IBM calls DbToo experimental. Its documentation says it is "still in bringup state and should not be deployed to production."

Made byIBM, a team led by Jesse Gorzinski
On GitHub asIBM/AI-SDK-Db2-IBMi
ReportedAugust 25, 2025, by IT Jungle
StatusExperimental

What DbToo lets RPG do

It gives RPG programs and Db2 for i data a direct line to outside AI and messaging services. For example, its watsonx_generate function calls IBM watsonx's 8 billion parameter Granite 3 model.

Services it can call

KindServices
AI modelsIBM watsonx, Ollama, Wallaroo, and OpenAI-compatible endpoints such as llama.cpp, LM Studio, LocalAI and vLLM
MessagingKafka through Confluent, Slack, Twilio SMS

Install details

  • Compiles into an RPG-callable library named dbsdk_v1
  • Built with gmake
  • Runs under PASE
  • Needs QIBM_DB_SECADM function usage authority to install

Related Terms