AWS Builder Center

AIdeas: Kanso — A Cloud-Native Semantic Intelligence Layer to Prevent Engineering Duplication

Kanso is a cloud-native semantic intelligence layer that detects duplicate initiatives across Jira, GitHub, Notion, Slack, and Linear in real time. It prevents redundant engineering effort before it happens and transforms fragmented workflows into a unified organizational memory system.

Student at SRMIST
Category: Workplace Efficiency
Team members: @joshuva  , @akilan1977  , @vig 

The Hidden Cost of Growing Teams

Two teams build the same feature.
Not because they lack talent.
Not because they made a mistake.
But because they used different words.
One team creates an “Authentication Service.”
Another builds a “Login Backend.”
A third writes documentation for an “Auth Flow Redesign.”
Different names.
Same intent.
Zero visibility.

Additional Organizational Costs

When semantic duplication occurs inside large engineering organizations, the impact extends far beyond two teams building the same feature. Hidden costs include:
Impact AreaDescription
Duplicate WorkEngineers unknowingly rebuild existing systems, repeating design and implementation work.
Wasted Sprint CyclesEntire sprint capacity may be spent on redundant work before duplication is discovered.
Cloud Cost DuplicationDuplicate infrastructure, environments, and compute workloads increase operational cost.
Morale & Coordination LossTeams become frustrated when discovering parallel work that could have been collaboration.
Roadmap SlowdownStrategic initiatives are delayed because engineering capacity is consumed by redundant development.
These inefficiencies remain largely invisible in modern organizations because tools store information but do not understand intent.

Modern tools do not share semantic understanding.

ToolWhat it StoresWhat it Cannot Understand
JiraTicketsIntent similarity
GitHubCodeCross-team feature overlap
NotionDocsSemantic duplication
SlackConversationsHidden project collisions
Kanso becomes the shared semantic memory layer across all of them.

My Vision

Kanso is a Cloud-Native Semantic Intelligence Layer that detects hidden “semantic fissures” -- overlapping initiatives expressed differently across systems.
Instead of discovering duplication in retrospectives,
Kanso detects it while the engineer is still typing.

Why Existing Tools Fail

Modern engineering organizations already use dozens of SaaS tools—issue trackers, code repositories, documentation platforms, and communication systems. Yet duplication continues to occur.
The problem is not lack of data, but lack of semantic understanding.
Tool CategoryWhat It Does WellWhat It Cannot Detect
Issue TrackingTask managementCross-team intent similarity
Source ControlCode historyParallel feature development
Documentation ToolsKnowledge storageDuplicate architectural initiatives
Messaging PlatformsCommunicationHidden project collisions
Traditional search relies on keywords. But engineers rarely describe the same idea using identical words.
Example:
  • “Authentication Service”
  • “Login Backend”
  • “Identity API”
All describe the same intent but appear unrelated in keyword search systems. Kanso solves this by introducing semantic understanding across systems, enabling organizations to detect duplicate initiatives before development begins.

How I Built This

When I first started architecting Kanso, the naive approach was to build a highly optimized keyword search. But I quickly realized that in a sprawling engineering org, an "Authentication Backend" and a "Login Service" would never trigger a keyword match, even though they represent the exact same engineering effort. I needed the system to understand intent, not just vocabulary.
This realization shaped the entire AWS serverless architecture.
The Semantic Engine: Why Titan and Claude 3 Sonnet? To solve the intent problem, I moved away from text matching and built a pipeline centered around vector embeddings using Amazon Bedrock. When a developer writes an initiative or a Jira ticket, Kanso uses the Titan Text Embeddings model to convert that text into a high-dimensional vector.
However, vector proximity isn't perfect. For example, "Implement Stripe billing" and "Deprecate Stripe billing" share high semantic similarity but have opposite intents. If Kanso flagged every highly similar vector, developers would suffer from severe alert fatigue. To solve this, I introduced a secondary reasoning layer. When vector similarity crosses the 85% threshold, the payload is routed to Claude 3 Sonnet (via Bedrock). Claude acts as the contextual validator, analyzing status conflicts, intent variations, and cross-tool references to confirm if it is a true duplicate before firing an alert.
The Core Engineering Challenge: The 500ms Latency Budget The biggest technical hurdle wasn't the AI—it was the user experience. For Kanso to be effective as an IDE extension (VS Code/Kiro), it has to analyze what a developer is typing as they type it, without lagging their environment. I gave myself a strict 500ms latency budget.
To achieve this, I had to optimize both the edge and the cloud:
  1. At the Edge: I built a 500ms debouncer and an embedding cache directly into the extension's Similarity Engine to prevent noisy, redundant API calls while the developer is mid-sentence.
  2. In the Cloud: I needed lightning-fast vector retrieval. I chose Amazon OpenSearch Serverless for its KNN similarity matching. The serverless configuration allowed me to query thousands of vectors in milliseconds, leaving just enough time in the latency budget to invoke Claude 3 Sonnet only when absolutely necessary.
The Fully Managed Pipeline The resulting event-driven flow is entirely serverless. The IDE extensions act as sensors, securely passing payloads through Amazon API Gateway to an AWS Lambda (Python 3.11) compute layer. Lambda orchestrates the Bedrock embeddings, queries OpenSearch, and stores the metadata and finalized alerts in an on-demand DynamoDB table.
Because the entire stack is serverless, Kanso scales seamlessly from a two-person startup to an enterprise engineering org without requiring any manual infrastructure provisioning.

Core Infrastructure Stack

LayerServicePurpose
IngestionAmazon API GatewaySecure API entry point
ComputeAWS Lambda (Python 3.11)Event processing
EmbeddingsAmazon Bedrock (Titan)Semantic vector generation
ReasoningClaude 3 SonnetContextual validation
Vector SearchOpenSearch ServerlessKNN similarity matching
MetadataDynamoDB (On-Demand)Initiative & alert storage
MonitoringCloudWatchLogging & metrics
This architecture is fully managed and auto-scaling.

The Edge Extensions (The Sensors)

Kanso integrates into:
  • VS Code
  • Kiro IDE
  • Jira
  • GitHub
  • Notion
  • Linear

When a developer types:

  1. Extension detects change
  2. Debounce (500ms)
  3. Similarity analysis triggered
  4. Alert shown if threshold exceeded

Extension Core Architecture


Extension Internal Components

ComponentRole
CodeDetects document changes
DebouncerReduces noisy API calls
Similarity EnginePre-validates similarity
Embedding CacheReduces redundant embedding calls
Alert ManagerConstructs alert objects
UI NotifierDisplays inline warning
Alert QueueHandles offline cases
The extension is lightweight.
The intelligence runs in AWS.

Predictive Overlap Warning

When similarity exceeds threshold (default ~85%), the user sees:
  • Similar initiative reference
  • Similarity score
  • Evidence bullets
  • Suggested action
  • Confidence score

Overlap Decision Logic

ConditionAction
Similarity < 75%Ignore
75–85%Flag for lightweight review
> 85%Trigger Claude reasoning
Claude confirms overlapCreate alert
User confirmsMerge / Link initiatives
This makes duplication prevention proactive.
The Cloud Intelligence Core
Kanso does not rely on keyword matching.
It uses embeddings + reasoning.

Kanso System Architecture Overview

The Kanso architecture is organized into six core functional layers.

LayerRole
IngestionCollects events from developer tools via extensions and APIs
Embedding GenerationConverts text into semantic vectors using Titan embeddings
RetrievalFinds similar initiatives using OpenSearch KNN search
ReasoningUses Claude to validate whether similarity represents true duplication
Alert GenerationGenerates structured alerts for engineers and leadership
Storage & MetricsStores events, alerts, and metrics in DynamoDB and monitoring systems
This layered architecture allows Kanso to operate as a real-time semantic intelligence layer across engineering workflows.

AI Workflow

StepEngineFunction
1Titan EmbeddingsConvert text → vector
2OpenSearch KNNRetrieve top similar initiatives
3Threshold FilterRemove low similarity
4Claude 3 SonnetValidate semantic overlap
5JSON ResponseSend structured alert
Claude analyzes:
  • Rewritten intent variations
  • Tag similarity
  • Status conflict
  • Cross-tool references
  • Executive Redundancy Graph
  • Kanso builds a semantic relationship graph.

Knowledge Graph UI


What Leadership Sees

MetricMeaning
Overlap ClustersGroups of semantically similar initiatives
Duplicate DensityPercentage of redundancy in workspace
High-Risk DomainsTeams with repeated overlap
Prevented DuplicationsAlerts resolved before execution
Estimated Time SavedCalculated engineering hours avoided
This turns invisible inefficiency into measurable insight.

Metric Calculation Methodology
The executive dashboard metrics are computed from the event stream generated by semantic overlap detections.
MetricCalculation
Overlap ClustersGroups of initiatives with embedding similarity above the clustering threshold
Duplicate Density(Total Overlap Alerts / Total Initiatives) × 100
High-Risk DomainsTeams or repositories with the highest frequency of overlap alerts
Prevented DuplicationsAlerts that were resolved or merged before code implementation began
Estimated Time Saved(Average engineering hours per feature × prevented duplications)
These metrics transform duplication detection into measurable operational insights for leadership.

Data Model

Users ---> Alerts---> Metrics Schema

Every overlap event is stored.
Every resolution updates metrics.

Security & Multi-Tenant Design

Kanso uses JWT-based authentication with refresh tokens.
Security Architecture
FeatureImplementation
AuthenticationJWT access + refresh tokens
AuthorizationBearer token validation
Multi-Tenant IsolationworkspaceId partitioning
API ProtectionAPI Gateway + Lambda authorizers
Audit LoggingCloudWatch event logs
Security is built-in, not added later.

Product Walkthrough


Onboarding



Interface Workflow Narrative The Kanso interface is designed to expose semantic overlaps at multiple organizational levels.
  • Onboarding Flow: Developers connect existing tools such as Jira, GitHub, or Notion. Kanso begins ingesting metadata and generating semantic embeddings for initiatives.
  • Dashboard Overview: The dashboard aggregates organization-wide metrics including detected overlaps, prevented duplication events, and estimated engineering time saved.
  • Live Alerts Panel: When potential duplication is detected, engineers receive contextual alerts showing:
    • Similar initiative references
    • Similarity score
    • Evidence supporting the match
    • Suggested actions (merge, link, or ignore)
This workflow ensures engineers can resolve overlaps before development effort is duplicated.


Dashboard Overview


Dashboard Metrics

CardDescription
Total AlertsAll detected overlaps
Prevented DuplicationsResolved before execution
Estimated SavingsHours saved
Activity FeedRecent overlap events


Live Alerts Panel

Developers can:

  • Compare initiatives
  • Accept / Ignore
  • Merge references
  • Track history
SaaS Integrations
Kanso does not replace tools.
It connects them semantically.

Measurable Impact

KPIWhy It Matters
Prevented duplicationsDirect cost avoidance
Alert frequencyOverlap density
Time savedProductivity gain
Compute avoidedCloud cost reduction
Overlap clustersStrategic visibility


What I Learned

  • Embeddings outperform keyword search in organizational systems.
  • Preventive detection has higher ROI than reactive review.
  • Human-in-the-loop builds trust.
  • Serverless reduces operational drag.

Final Positioning

Kanso is:
  • Cloud-native
  • Serverless
  • AI-powered
  • Event-driven
  • Multi-tenant
  • Semantic-first
It transforms fragmented SaaS workflows into a unified intelligence system.
Effort aligns.
Knowledge is reused.
Redundancy disappears.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article