Northstar Logistics
Reads inventory, retrieves reorder policy, drafts recommendations, and creates approval requests before purchase-order actions.
- Inventory tools
- Policy citations
- Manager approval
Selected project · AI integration
Enterprise AI Integration Gateway
Kipa connects an AI model to existing software through controlled permissions, scoped knowledge, approved tools, and human oversight. One shared backend adapts to three simulated client environments without giving the model unrestricted system access.
01 / PROBLEM AND OVERVIEW
Adding an AI model to company software is not only a prompting problem. The system must decide who is asking, which records and documents they may access, which tools they may use, and when a person must approve an action.
Kipa places those boundaries around the model. I built one FastAPI gateway and adapted it to synthetic logistics, banking, and healthcare backends. Each environment supplies its own tools, privacy rules, knowledge scope, and approval policy while reusing the same orchestration core.
02 / MY ROLE AND CONTRIBUTION
I designed and built the shared gateway, three client adapters and simulators, authorization boundaries, privacy transformations, approval workflow, automated tests, live evaluations, technical documentation, and interactive walkthrough.
03 / SYSTEM ARCHITECTURE
User identity, retrieval scope, and tool permissions are established by the application. The model receives only the context and capabilities allowed for that request.
FastAPI gateway
Deployment, role, allowlist
Scoped RAG, minimized data
OpenAI Responses API
Required for side effects
04 / CLIENT ADAPTATION
The demonstrations use synthetic data and simulated client systems. Their purpose is to show how the same product core can adapt at the client boundary.
Reads inventory, retrieves reorder policy, drafts recommendations, and creates approval requests before purchase-order actions.
Scopes account access, masks sensitive customer information, retrieves lost-card policy, and leaves card-freeze proposals pending.
Minimizes patient context, enforces time-bounded EHR access, cites clinical procedures, and gates follow-up coordination.
05 / ENGINEERING DECISIONS
The most important controls live in application code and deployment configuration, outside the model's discretion.
Deployment and role come from authenticated JWT claims, not from user prompts or model output.
Unnecessary PII and PHI are removed before client records become visible to the model.
Deployment and role filters are applied before similarity ranking across the knowledge store.
Each adapter exposes an allowlist based on the authenticated deployment and employee role.
The model may propose a high-impact action, but a separately authorized person must approve it.
Request IDs, tool calls, proposals, and approvals create an inspectable activity trail.
06 / ENGINEERING EVIDENCE
Verification covers normal workflows and the boundaries most likely to fail, including unauthorized roles, cross-client requests, sensitive-data exposure, approval bypass attempts, and provider errors.
07 / SCOPE AND TRADEOFFS
Kipa demonstrates enterprise-shaped engineering decisions at a portfolio scale. It does not claim access to real companies, customer records, or regulated production environments.
IMPLEMENTED
CURRENT LIMITS
EXPLORE THE PROJECT