Download Latest Version v0.22.0 source code.zip (2.3 MB)
Email in envelope

Get an email when there's a new version of KaibanJS

Home / v0.22.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-07-24 2.5 kB
v0.22.0 source code.tar.gz 2025-07-24 2.1 MB
v0.22.0 source code.zip 2025-07-24 2.3 MB
Totals: 3 Items   4.4 MB 2

KaibanJS v0.22.0 🚀

🤖 xAI Grok Model Support (Including Grok-4)

KaibanJS now supports the latest Grok-4 model from xAI — bringing advanced LLM reasoning into your multi-agent workflows.

Alongside Grok-4, this release also adds compatibility with additional xAI variants: - grok-3 - grok-3-mini - grok-3-mini-fast

Whether you're building lightweight prototypes or full-scale agentic systems, KaibanJS now offers native support for all current xAI model versions.

🌐 How to Use

Add @langchain/xai to your project and configure the model via llmConfig:

:::ts
const agent = new Agent({
  name: 'XAI Analyst',
  role: 'Use Grok to summarize and report on live sports events',
  llmConfig: {
    provider: "xai",
    model: "grok-4", // or "grok-3-mini-fast"
  }
});

📚 Playground + Storybook Update

We’ve added a new Grok-enabled story to the React Playground (SportNewsTeam.stories.js). This allows developers to explore Grok-powered workflows visually — no setup required.

📐 Features

  • ✅ Native integration with @langchain/xai
  • ✅ Full support for Grok-4, plus grok-3, grok-3-mini, and grok-3-mini-fast
  • 🔐 Environment-based key detection via XAI_API_KEY
  • 💰 Accurate pricing support for all Grok models in the llmCostCalculator
  • 🧠 Compatibility with ReactChampionAgent and core orchestration APIs

🧪 Testing

This release includes test coverage to ensure: - Seamless integration of Grok models across workflows - API key handling is robust and consistent - Cost calculation is model-aware - Agents powered by Grok models pass validation in sportNewsTeam scenarios

🔧 Dependency Updates

  • @langchain/core upgraded to ^0.3.66
  • rollup upgraded to ^4.45.1
  • Minor updates across the stack for improved performance and long-term compatibility

💡 Use Cases for xAI Model Integration

  • Intelligent summarization and analysis powered by Grok-4
  • Prototyping with fast, lightweight models like grok-3-mini-fast
  • Running side-by-side experiments with models from OpenAI, Anthropic, and xAI
  • Cost-aware orchestration of agents using Grok’s pricing profiles

No breaking changes were introduced.
KaibanJS now speaks Grok — from fast variants to Grok-4 itself.
Ready to build smarter agent workflows? Let's go. 🚀

Source: README.md, updated 2025-07-24