Dealer Expert
Answers questions about hours, location, and policies.
Tekion · Sales AI · Vehicle domain
I worked on the vehicle intelligence inside a multi-agent sales assistant—connecting what a customer means with what’s actually in inventory.
A supervisor routes the question. My vehicle workflow understands the request, searches with filters and embeddings, and checks inventory. Other specialists handle dealership information, appointments, and human follow-up.
01 / Architecture
A supervisor connects each request to the right specialist. My contribution is highlighted in blue.
Select the blue vehicle card to explore my contribution.
Uses conversation context and coordinates the next step.
From a customer’s question to a grounded vehicle answer.
Resolves the request and follow-ups like “the second one,” then decides whether a search is needed.
A contextualized inventory querySearches dealership stock, matches the criteria, and checks live availability through its tools.
Vehicle matches + availabilityExplains the findings and returns the answer or a next-step signal for the supervisor to coordinate.
An answer the customer can act onQuestions answerable from conversation context can skip the inventory search.
Match vehicle names and trims to dealer data.
Apply exact filters and semantic matching.
Merge parallel searches across attributes.
Look up availability for specific vehicles.
Retrieve a vehicle’s detailed equipment.
Other specialists routed by the supervisor
Answers questions about hours, location, and policies.
Books, reschedules, or cancels sales visits.
Prepares CRM follow-up when a person needs to help.
Conversation memory · customer preferences · vehicles discussed · dealership information
A simplified view of the current routing setup. The supervisor can coordinate more than one specialist for a mixed request; the responder shapes the final customer-facing message.
Finance, Credit App, and Trade-In concierges generate links for self-service flows. They are registered helpers but are currently hidden from the supervisor’s direct tool list.
Finance & Appraisal, Pipeline Accelerator, and the standalone Entity Extractor also exist in the repository, but are not registered as supervisor agents in the current setup.
02 / Request walkthrough
Follow the moving signal. The input and output below change at every step.
Understand the intent and choose the vehicle specialist.
message: "Toyota SUV under $40K with premium wheels." context: conversation + dealership
route: Vehicle Enquiry task: find vehicles matching these requirements
A customer message becomes a task for the vehicle domain.
Prepare a search that separates exact facts from descriptive intent.
task: Toyota SUV under $40K with premium wheels context: customer preferences + prior vehicles
inventory query: make: Toyota · body: SUV · max price: 40000 equipment request: "premium wheels"
The question becomes exact criteria plus a descriptive equipment request.
Apply structured filters, rank feature/option embeddings, then check availability.
filters: Toyota · SUV · price ≤ 40000 semantic query: "premium wheels" embedding: features + options
illustrative candidates: [Vehicle A, Vehicle B] source: vehicle equipment descriptions availability: confirmed · tool errors: none
Exact filters keep the requested scope; embeddings retrieve relevant equipment descriptions.
Explain the candidates using their actual returned equipment descriptions.
candidates: [Vehicle A, Vehicle B] equipment descriptions + availability
draft: "These two Toyota SUVs are within budget." next step: compare their wheel specifications
Retrieved vehicle data becomes an answer, with equipment specifics available for comparison.
Bring the specialist answer back into the conversation.
vehicle answer: two in-budget candidate SUVs next step: compare equipment
reply content: vehicle findings + next step source: Vehicle Enquiry destination: Responder
The specialist answer becomes the content for the final reply.
Apply the customer-facing tone and format.
reply content: candidate SUVs + equipment comparison source: Vehicle Enquiry
"I found two Toyota SUVs within your budget. Let’s compare their wheel specifications."
The prepared content becomes the message the customer sees.
Vehicle A and B are example results. Timing explains the sequence; it is not measured service latency.
When color and equipment descriptions need separate semantic searches, their results meet at the vehicle ID.
Structured requirements travel with each search. Partial-match fallbacks are handled separately.
The next question can refer to something the customer has already seen.
Illustrative conversation: references come from the vehicles already discussed.
All three diagrams share the pause control. Reduced-motion preferences show the complete request sequence without animation.
03 / Search intelligence
Choose an example to see how the search adapts.
A make and model are clear identifiers. Features and options are often written differently by customers and manufacturers. My inventory workflow separates what must match exactly from what needs to match in meaning.
“2023 Toyota RAV4” → match make, model, and year fields.
“Premium wheels” → compare meaning with feature and option descriptions.
Resolve names and spelling against the dealer’s actual values.
Check the matching vehicles against live inventory.
Once the identifiers are resolved, exact field filters answer this request.
Customer wording may differ from the equipment descriptions in inventory.
Encode the phrase and compare it with indexed feature and option text.
Retrieve relevant vehicle records and check live availability.
FeaturesStandard equipment described on the vehicle.
OptionsAdd-ons and packages listed for that vehicle.
The feature/option embedding represents this equipment text, so a customer’s phrase can be compared with descriptions that use different words.
An embedding is a numerical representation of meaning. It helps retrieve relevant descriptions without requiring the same words.
Search feature and option embeddings.
Semantic ranking stays inside this search’s make, body, and budget filters.
The fields narrow the candidates. Embeddings rank the descriptive match. A later zero-result retry may relax selected criteria; the answer should make those changes clear.
Why customer language is tricky
A typo, a familiar term, and a related equipment term can all point toward a roof-feature request. The agent interprets that intent; semantic retrieval helps when the inventory describes it differently.
Exact equipment still comes from the vehicle’s data.
sunroofMoonroofKnown equipment can take the exact path, too. The current implementation prefers a direct field when a requested feature maps to one. Embeddings handle the descriptive remainder, such as package names or equipment wording without a dedicated field.
Semantic similarity retrieves candidates; it does not certify exact equipment or guarantee every typo is understood.
Use the returned equipment descriptions and availability results to describe what is really offered.
HOW I EXPLAIN MY WORK “I keep vehicle facts as filters, use embeddings for messy feature and option language, and ground the answer in actual inventory.”
04 / Engineering decisions
Expand only what you want to explore.
Make/model/year queries use normalized field filters. Known equipment can use direct fields, too. Messy feature descriptions and package names use feature/option embeddings; mixed requests keep their exact constraints while ranking semantic matches. Independent semantic searches can run in parallel and meet at the vehicle ID.
Vehicle Enquiry handles conversational context and response generation. Inventory Expert uses a ReAct loop with five tools: normalize entities, search inventory, combine attribute searches, check availability, and inspect vehicle details.
Request-scoped context keeps dealer identity isolated during concurrent searches. Model–trim pairing avoids invalid combinations, and code preserves required test-drive eligibility across retries. Tool results apply pricing disclosure rules before reaching the model.
Availability-service failures are reported as errors rather than empty stock. Selected failures have bounded retries. Prompt-guided broadening can relax secondary search criteria, and the vehicle layer can signal the supervisor when a person needs to help.
Continue the conversation
I’d be happy to walk you through the decisions behind it.