惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MongoDB | Blog
MongoDB | Blog
宝玉的分享
宝玉的分享
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
罗磊的独立博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
SegmentFault 最新的问题
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
博客园 - 聂微东
博客园 - 司徒正美
博客园 - 叶小钗
T
Tailwind CSS Blog
博客园 - Franky
V
V2EX
有赞技术团队
有赞技术团队
美团技术团队
雷峰网
雷峰网
爱范儿
爱范儿
Jina AI
Jina AI
D
DataBreaches.Net
H
Help Net Security
酷 壳 – CoolShell
酷 壳 – CoolShell

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How I Built an AI Sales Advisor Using DeepSeek + Vercel —...
Jing Bai · 2026-06-01 · via DEV Community
Cover image for How I Built an AI Sales Advisor Using DeepSeek + Vercel — and What I Learned from 30 Years of B2B Deals

Jing Bai

Jing Bai

Posted on • Edited on

I remember a deal I lost in 2018 — a $2M automation project in Guangzhou. I had the best product, the best price, and I lost it. Not because of the competition. Because I never figured out that the real decision maker wasn't the VP of Engineering — it was the CFO who sat in on only one meeting and never spoke. That loss cost me six months of work. Cliento was born from that loss.

The Problem I Kept Seeing

After 30+ years closing complex B2B deals in industrial automation, robotics, and enterprise software, I kept watching the same thing happen:

Talented sales reps losing deals they should have won.

Not because of lack of effort. But because at 9pm before a critical meeting, there was no senior advisor to call. No one to help diagnose why a deal went cold. No framework to figure out who the real decision maker was.

So I built Cliento — an AI Sales Advisor that puts 30 years of real deal experience into the hands of every B2B sales rep.

What Cliento Does

Cliento is a conversational AI coach for B2B account executives navigating complex, multi-stakeholder deals.

Ask it anything about a live deal:

  • "How do I find my real target customers?"
  • "Who is the internal champion in this account?"
  • "Why did this deal suddenly go cold?"
  • "How do I prepare for a meeting with the CFO?"

Every response follows a structured format:

  • Core Issue — what's really going on
  • Sharp Questions — what you need to ask yourself
  • Direction — what to do next

The Tech Stack

Layer Technology
Frontend Single-page HTML/CSS/JS
AI Model DeepSeek (deepseek-chat)
API Proxy Vercel Serverless Function
Hosting Vercel (free tier)

Total infrastructure cost: near zero.
Deployment time: under 5 minutes.

Why DeepSeek?

I chose DeepSeek for three reasons:

  1. Cost — fraction of GPT-4 pricing for similar output
  2. Speed — fast response times for conversational use
  3. Reasoning quality — surprisingly strong at structured sales reasoning when given the right prompts

The secret isn't the model. It's the prompt engineering built on 30 years of real sales frameworks.

The Architecture

export default async function handler(req, res) {
  const response = await fetch(
    'https://api.deepseek.com/chat/completions', {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${process.env.DEEPSEEK_KEY}`,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      model: 'deepseek-chat',
      messages: req.body.messages
    })
  });
  const data = await response.json();
  res.json(data);
}

Simple. Secure. No API key exposed to the client.

The 10 Questions Cliento Answers

These are the real questions that win or lose B2B deals:

  1. How do I find my target customers?
  2. How do I uncover real pain points?
  3. What background questions confirm a real opportunity?
  4. How do I ask diagnostic questions?
  5. Who is the internal champion?
  6. How do I prepare for the key decision maker?
  7. What's my logic for saying this deal is 75% likely to close?
  8. How do I handle last-minute negotiation obstacles?
  9. How do I reach a win-win agreement?
  10. How do I debrief what I won and lost?

What I Learned

Building this taught me something unexpec
 ted: the hardest part wasn't the code. It was distilling 30 years of sales intuition into structured prompts.

Every framework, every diagnostic question, every coaching sequence had to be precise enough that an AI could deliver it consistently — and honest enough that a senior sales leader would recognize it as real.

Try It

Live: https://cliento-sales-advisor.vercel.app

GitHub: https://github.com/andybai2000/Cliento-sales-advisor

It's free. Open source. Deploy your own in 5 minutes.

Happy to answer questions about the sales methodology, the prompts, or the tech. Ask me anything below. 👇

A note for B2B sales teams in Asia: the decision chain in Chinese enterprise accounts is often invisible on the org chart. Cliento helps you map it.