KaziAI-Agent-1.0: Open weights for AI that acts
As our enterprise customers move to KaziAI 2.0, we’re releasing KaziAI-Agent-1.0 under the MIT license. Explore its business workflows, architecture, evaluation results and deployment options, then build on your own infrastructure.
Most AI models are built to talk. Enterprises need models that act: post the transaction, respect the approval chain, and get the tax right on every invoice. That gap is why we built KaziAI.
Why we’re releasing KaziAI 1.0
Our enterprise customers are now moving to KaziAI 2.0. So today we’re releasing the weights of KaziAI-Agent-1.0 under the MIT license, giving developers and businesses a foundation they can inspect, adapt and run on their own infrastructure.
KaziAI 1.0 is a compact, business-specialized language model built around structured tool calling. Its training focuses on the work inside enterprise applications: finding the right customer, preparing a valid transaction, carrying context across a conversation, and recognizing when information or authorization is missing.
The release is for developers building business agents, teams integrating AI into existing software, and researchers evaluating specialized models for African commerce. The public 1.0 weights and the KaziAI 2.0 enterprise offering are separate; this announcement covers the capabilities and artifacts of 1.0.
From a request to a verified business action
A business agent needs more than a plausible answer. It needs a structured request that an application can validate, authorize and execute. KaziAI is trained to identify the intended operation and emit tool calls with the required arguments, while reasoning through permissions, missing parameters and business constraints.
In the KaziAI agent architecture, a neuro-symbolic runtime surrounds the model. The language model interprets and plans; deterministic components handle calculations, durable state, entity resolution and access checks. Business APIs perform the actual updates.
- Interpret the request and identify the relevant workflow, tools and business entities.
- Ask for clarification when a customer, amount, account or instruction is ambiguous.
- Validate the proposed call against the tool schema and check the authenticated user’s role, tenant and approval requirements.
- Use the finance engine for exact calculations and the session ledger for transaction identifiers and workflow state.
- Execute authorized calls through connected business services, then check application state and record the outcome.
The business workflows it targets
KaziAI’s domain adaptation covers ERP, customer relationship management, retail operations, healthcare administration and finance. The published reliability report describes representative workflows evaluated with connected tools and stateful simulators, including interruptions, retries and changes made during a conversation.
| Business area | Example workflow | Application outcome to verify |
|---|---|---|
| KaziDesk / accounts receivable | Investigate an unpaid invoice, locate a disputed M-Pesa payment and reconcile its allocation. | Correct invoice status, customer balance and ticket history. |
| KaziPOS / retail | Prepare a checkout with cash and M-Pesa split tender, then handle a partial return. | Updated inventory, payment journal, refund and receipt. |
| Finance / accounting | Process supplier invoices, apply configured tax rules and flag a duplicate invoice. | Balanced ledger entries, correct calculations and no duplicate posting. |
| CRM / sales | Qualify leads and reassign a pipeline after a territory or account-owner change. | Valid owner identifiers, preserved history and an authorized audit trail. |
| Kazi Afya / clinical administration | Coordinate patient registration, appointment availability and insurance authorization. | A valid appointment, stored authorization and role-appropriate record access. |
| Merchant operations | Reconcile M-Pesa transactions and resolve a disputed sale in Kiswahili or Sheng. | A settlement that matches the transaction journal and the correct customer or sale. |
Long sessions, interruptions and ambiguity
Real business work rarely fits into one prompt. A customer disputes a payment halfway through reconciliation. A cashier needs an approval before completing a refund. A finance team discovers a duplicate reference after several invoices have already been checked.
KaziAI’s agent architecture uses a SessionStateLedger to retain entity identifiers and transaction state across extended conversations. The published deep-workflow evaluation includes 20 to 50 turn sessions with interruptions, retries and mid-dialogue changes. These are system-level workflows that depend on the surrounding stateful runtime.
The DisambiguationEngine provides a separate check when multiple records could match an instruction. A request involving two similarly named customers should pause for clarification before any update. Applications should resolve and retain stable identifiers rather than letting a generated name silently choose the record.
Finance designed around Kenyan commerce
KaziAI’s financial specialization includes Kenyan tax and payment workflows commonly encountered in East African business software. The model identifies the operation and relevant inputs; the FinanceMathEngine performs exact arithmetic with decimal rounding and configured rules.
The release model card describes support for 16% VAT, 2% withholding VAT, five-band PAYE and M-Pesa reconciliation. These are the supported Kenyan rule examples in the release, not a claim that one tax configuration applies across every East African jurisdiction. Deployments need to maintain the applicable rates, exemptions, payroll inputs and effective dates in their calculation tools.
For example, 50 cases at KES 1,200 each produce a subtotal of KES 60,000. Under a configured 16% VAT rule, VAT is KES 9,600 and the total is KES 69,600. The calculation should come from the finance tool, and the resulting invoice should be written only after customer identity, tax applicability and authorization have been checked.
M-Pesa workflows also require a live payment or reconciliation connector. A transaction reference in a message is an input to verify against the payment service and ledger; generating a reference or a payment confirmation does not establish that money moved.
English, Kiswahili and Sheng
Frontline teams should be able to express work in the language they use with colleagues and customers. KaziAI is trained for English, Kiswahili and Sheng, including code-switching in commercial conversations.
A request such as “Rekodi malipo ya Ksh 2,500 ya mteja Juma kwa huduma ya mtandao” asks the agent to record a customer payment. The system still needs to identify which Juma, verify the payment details and apply the same access rules it would use for an English instruction.
This localization is relevant to retailers, service desks, merchants and business-software developers serving African teams. Language support makes the interface more accessible; exact transaction handling continues to depend on validated tools and application state.
Permissions, approvals and tenant boundaries
KaziAI is trained to recognize organizational roles and approval constraints. Enforcement happens at the execution boundary, where the PermissionEngine checks authenticated identity, role attributes, tenant identifiers and authorization scope before a tool call reaches the application.
The documented policy routes high-value financial operations of $1,000 or KES 100,000 and above to supervisor approval. Destructive operations, such as customer deletion, can be refused under the configured policy. Sensitive financial and clinical actions need explicit authorization appropriate to the deployment.
Tenant boundaries must also be enforced by the runtime and data services. A tenant identifier generated by a model is not sufficient proof of access. The application needs to bind requests to the authenticated tenant and validate every requested record against that scope.
The published runtime design additionally uses idempotency keys to prevent replayed financial operations, and audit logs to record proposals, refusals, approvals and execution outcomes. These controls belong in the application even when the model usually produces a correct call.
Model architecture and training
KaziAI-Agent-1.0 is built on DeepSeek-R1-Distill-Qwen-1.5B. The standalone merged checkpoint contains approximately 1.78 billion parameters in BF16. A rank-128 LoRA adaptation specializes the foundation for multi-turn enterprise trajectories, and the raw adapter is also available for compatible serving setups.
| Property | Release detail |
|---|---|
| Foundation | deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B |
| Merged model | Approximately 1.78 billion parameters; BF16 safetensors |
| LoRA configuration | Rank 128, alpha 256, dropout 0.05 |
| Adaptation capacity | 147,718,144 trainable parameters, approximately 8.31% of the base model |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj and down_proj across 28 layers |
| Training corpus | 8,000 multi-turn enterprise trajectories, as described in the model card |
| Reasoning and output | Business constraint analysis followed by structured tool-call proposals |
What you can download today
The public Hugging Face repository brings the main serving formats together. File sizes below are approximate figures from the release model card. Select the format that fits your hardware and serving stack; you do not need every weight format for one deployment.
| Artifact | Approximate size | Purpose |
|---|---|---|
| model.safetensors | 3.32 GB | Merged BF16 checkpoint for standard model-serving stacks. |
| KaziAI-Agent-1.0-Q8_0.gguf | 1.89 GB | 8-bit quantized model for Ollama or llama.cpp. |
| KaziAI-Agent-1.0-BF16.gguf | 3.55 GB | BF16 GGUF for compatible CPU or Apple Silicon serving. |
| Modelfile | Less than 1 KB | Provided Ollama model packaging and prompt configuration. |
| adapter_model.safetensors | 564 MB | Raw rank-128 LoRA adapter for the matching foundation model. |
| Configuration and tokenizer files | Varies | Model, generation, tokenizer and chat-template configuration. |
| evaluations/ and SHA256SUMS | Small metadata files | Reports, benchmark registry, audit manifest and checksum records. |
Run locally or serve on your infrastructure
For local inference, the Q8_0 GGUF can be loaded through Ollama or llama.cpp. The model card reports approximately 2.1 GB of active RAM for Q8_0 with a 4,096-token context, including weights and KV cache. That is a measured model footprint, not the total memory budget for an operating system, business runtime or concurrent production service. Memory usage increases with context length and concurrency.
Install Ollama and the Hugging Face CLI before using the local example below. Download the GGUF and Modelfile into the same directory, then create the local model. Configure your context window explicitly when comparing memory use with the published 4,096-token profile.
For GPU serving, the merged checkpoint can be used with vLLM; the model card also documents Transformers-based loading. Dynamic LoRA serving uses the original foundation model plus the raw adapter, with a serving configuration that supports rank 128. Business tenant isolation still needs authorization in your application.
These commands start model inference. Connecting an ERP, posting a payment or modifying a clinical record requires separate business integrations and execution controls.
hf download hillganinnovations/KaziAI-Agent-1.0 KaziAI-Agent-1.0-Q8_0.gguf Modelfile --local-dir ./kaziai-local
cd kaziai-local
ollama create kaziai -f Modelfile
ollama run kaziai "Create an invoice for 50 cases at KES 1,200 each with 16% VAT."vllm serve hillganinnovations/KaziAI-Agent-1.0 \
--dtype bfloat16 \
--max-model-len 4096 \
--port 8000Evaluation results and how to read them
The release publishes internal evaluations for function calling, business execution, financial precision, longer conversations and adversarial behavior. The summary below reproduces the headline model-card figures. These are self-reported results, not an independently verified leaderboard placement or a guarantee for a new deployment.
Function-calling tests measure structured call correctness. Business simulation measures the model working with the surrounding agent runtime and stateful tools. Standalone refusal and combined runtime containment are separate security measurements.
| Evaluation | Reported result | What is measured |
|---|---|---|
| BFCL overall AST match | 94.11% | Structured function-call match; 2,000 cases described in the model card. |
| BFCL simple / multiple calls | 96.25% / 94.75% | Single-function and multiple-function calling. |
| Track B business simulation | 98.44% | End-to-end completion across 2,500 tasks with the agent system. |
| KaziDesk / KaziPOS / Kazi Afya | 98.80% / 98.40% / 97.80% | Domain-specific business simulation success. |
| Financial and tax precision | 99.20% | Financial correctness with the calculation and business tools. |
| Interrupted 20 to 50 turn workflows | 94.20% | Deep enterprise workflow performance, as summarized in the model card. |
| Standalone adversarial refusal | 96.80% | Model refusal without runtime enforcement. |
| Combined adversarial containment | 99.73% | Model plus runtime policy layer; 1,500 attempts described in the model card. |
Known limits and integration requirements
KaziAI 1.0 remains a language model with residual failure modes. The model card documents ambiguity between similarly named entities, identifier drift in long conversations, indirect prompt-injection vulnerability in standalone use, and arithmetic drift on cross-currency calculations without an exchange-rate tool.
The published benchmark registry classifies the evaluated candidate as controlled staging, with independent external attestation pending. Teams adopting the released weights should evaluate their own tool schemas, languages, business rules and failure recovery before giving an agent access to live operations.
- Connect allowlisted business tools and validate their arguments against explicit schemas.
- Bind every call to authenticated identity and tenant scope; enforce approvals outside the model.
- Keep exact tax, payroll, money and FX calculations in maintained deterministic services.
- Persist transaction identifiers and workflow state outside the conversation context.
- Use idempotency keys and verify application state after updates, including retries and interruptions.
- Evaluate ambiguous entities, multilingual requests, adversarial inputs and escalation behavior using your own workflows.
MIT license, adaptation and attribution
The repository is public and ungated. The MIT license permits use, modification, redistribution and commercial use, subject to retaining the copyright and permission notices in copies or substantial portions. The released license includes attribution to Hillgan Innovations and the DeepSeek foundation model.
Developers can use the merged checkpoint as a starting point, evaluate the GGUF variants for local deployment, or work with the raw adapter and compatible foundation model. The publication includes model weights and evaluation documents; it does not publish the underlying training corpus or grant access to KaziAI 2.0 services.
For research or derivative releases, use the citation provided in the model card and identify the checkpoint or revision you evaluated. When reproducing a result, also record the quantization, context window, prompt template, tools and runtime configuration.
Build with 1.0. Talk to us about 2.0.
If you’re building agents for African businesses, start with a workflow you can verify: one invoice, one reconciliation, one lead update or one appointment. Run the model against your tools, check the resulting application state and expand from measured outcomes.
For teams adopting our enterprise offering, our customers are now moving to KaziAI 2.0. Contact Hillgan Innovations to discuss your workflows, integrations, infrastructure and approval requirements. The open 1.0 release gives the wider developer community a practical foundation to build on while that enterprise work continues.
Start with a business outcome you can verify
KaziAI-Agent-1.0 is available now under MIT. Download the weights, connect your business tools and build around exact calculations, durable state and accountable execution. For KaziAI 2.0 enterprise deployments, talk to our team.
