07· 2026

Kali: Agent Infra

One chat unifies 11+ SaaS tools into cited, plain-English answers, live with a $2.4M nonprofit.

Founding Engineer
Agent infra🏆 HackDavis 2026: Best Use of SolanaVisit live site ↗
overview

Kali is the agentic context layer for nonprofits, one chat that sits across Salesforce, Bloomerang, QuickBooks, Zoom, and 11+ disconnected tools, answering in plain English with every claim cited back to its source record. It's live in production with Rivertown Community Foundation, a $2.4M-budget nonprofit, and won Best Use of Solana at HackDavis 2026.

Kali: Agent Infra

In four minutes I knew which 14 lapsed donors to call this week, and why each one. Used to take my dev director half a day.

Sarah Chen, Executive Director, Rivertown Community Foundation

The goals

  • Give lean nonprofit teams one place to ask questions across 11+ disconnected systems
  • Make every answer cited back to its source record, no black boxes
  • Let agents take real action (drafts, payments) with a human approval step before anything ships

What I did

  • Built 11 first-class connectors (Salesforce NPSP, Bloomerang, M365, SharePoint, QuickBooks, Instrumentl, Zoom, Power Automate, Power BI, KnowBe4, Solana), each exposing typed query functions to the agent
  • Designed cross-tool entity resolution that unifies the same donor across Bloomerang + Salesforce + M365 + Zoom into one canonical Kali ID, so the agent can chain lookups without a manual join
  • Shipped inline citation chains, every claim resolves to a clickable chip that opens the source record
  • Built onchain rails: x402 agent-donation endpoints (USDC over HTTP 402) and per-tenant Cause Coins (SPL Token-2022) on Solana
  • Implemented a persistent chat + immutable audit log (Postgres RLS) recording every tool call and onchain settlement

What's inside

Eleven first-class connectors

Each tool exposes typed query functions to the agent plus a real OAuth integration. Cross-tool entity resolution unifies the same donor across Bloomerang + Salesforce + M365 + Zoom into one canonical Kali ID, so the agent can chain getDonor → getRelatedAccount → searchEmail without us writing a join.

Citation chains

Every claim Kali makes is marked [N] inline. The frontend resolves each [N] to a clickable chip that opens the source record. No black boxes.

Onchain rails

x402 agent donations: every tenant gets a public HTTP 402 endpoint, any AI agent can pay USDC over the wire to a nonprofit, receipts auto-issued. Cause Coins: a per-tenant SPL Token-2022 mint with onchain metadata, 1B supply to the treasury.

Persistent chat + audit log

Every conversation, every tool call, every onchain settlement recorded immutably with row-level security in Postgres. Open any thread from a month ago and the source-pulse + receipts replay exactly as they happened.

Live impact

863
People resolved
2,437
Donations indexed
$5.2M
Lifetime giving tracked
38
Active grants in pipeline
60 + 30
Zoom meetings + transcripts indexed
$303K
USDC disbursed on Solana (devnet)
70+
Tools across 11 connectors
2.6s
Avg query latency

Tools & skills

Next.js 16 (Turbopack) + TypeScript strict + Tailwind 4 on the frontend. Claude Sonnet 4.6 with parallel tool-use and prompt caching (~90% input-token savings) across 70+ tools. Supabase (Postgres + Auth + RLS) for persistence. OpenAI text-embedding-3-small over ~7K record chunks per tenant, hybrid retrieval with top-k=20 reranking. Solana web3.js + SPL Token-2022 with x402 facilitators (PayAI / Coinbase CDP) and Privy delegated signing for tenant treasuries. SOC 2 Type 1 in progress, IRS 990 + AML/sanctions screening on every settlement.

Next.js 16TypeScriptClaude Sonnet 4.6SupabaseSolanaTailwind 4OpenAI Embeddings

The results

Live in production with Rivertown Community Foundation ($2.4M budget, 6 active programs)
863 people resolved across systems · 2,437 donations indexed · $5.2M lifetime giving tracked
Best Use of Solana, HackDavis 2026
Kali: Agent Infra screenshot 2
Kali: Agent Infra screenshot 3
Kali: Agent Infra screenshot 4
Kali: Agent Infra screenshot 5
Kali: Agent Infra screenshot 6

Built with Nicole Wang · Frank Lin · Stephen Hung · Matthew Kim