跳转至

AI Agent 实习面试准备

按项目准备时,可进入 Sec Review BotThesis RAG 的专项材料。

1. 面试主线

一句话介绍方向:

我主要投 AI 应用开发 / Agent 工程方向,重点做过多阶段 Agent 安全审查系统和论文知识库 RAG 系统,更偏应用工程和端到端链路,不是模型训练算法方向。

Sec Review Bot 要讲清楚:

  • 支持全仓扫描、Issue 审计、PR 审计
  • 多阶段 workflow:发现问题、确认漏洞并收集证据、生成补丁、独立复查、整理并合并交付内容
  • Analyzer / Mitigator / Verifier 的角色边界
  • Skills 和 CodeGraph MCP 的作用
  • Docker sandbox、补丁导出约束、换行不一致、声明变更与实际 diff 不一致、工作区污染
  • PatchEval 结果:Default multi-stage + DeepSeek V4 Pro 为 78/230,接近 ClaudeCode + GPT-5 的 79/230

Thesis RAG 要讲清楚:

  • 文档解析与 chunking
  • Parent-Child Chunking:小块用于检索,大块用于回答
  • Milvus 向量检索 + OpenSearch 关键词检索
  • Query rewrite / HyDE / 多路召回
  • RRF 融合
  • Cross-Encoder 精排
  • 低分拒答
  • 输出带页码、来源、分数和原文片段的可检查检索结果

2. 算法题风险

应用开发 / Agent 实习也可能有手撕题,但通常不是主战场。

更可能问:

  • 项目深挖
  • RAG 链路
  • Agent workflow
  • 工具调用
  • 向量数据库 / embedding / rerank
  • 上下文压缩
  • 评测与优化
  • 基础后端问题
  • 少量 easy / medium 编程题

如果面试官问算法基础:

基础数据结构和常见题型我有准备,但我的主要优势还是 AI Agent/RAG 应用开发和工程落地项目。

3. LeetCode 最小准备集合

目标不是冲算法岗,而是避免开发岗基础手撕题崩掉。

链表 4 题

  1. 反转链表
    https://leetcode.cn/problems/reverse-linked-list/

  2. 合并两个有序链表
    https://leetcode.cn/problems/merge-two-sorted-lists/

  3. 链表的倒数第 k 个节点
    https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof/

  4. 环形链表
    https://leetcode.cn/problems/linked-list-cycle/

二叉树 5 题

  1. 二叉树的层序遍历
    https://leetcode.cn/problems/binary-tree-level-order-traversal/

  2. 二叉树的最大深度
    https://leetcode.cn/problems/maximum-depth-of-binary-tree/

  3. 二叉树的右视图
    https://leetcode.cn/problems/binary-tree-right-side-view/

  4. 对称二叉树
    https://leetcode.cn/problems/symmetric-tree/

  5. 二叉树的最近公共祖先
    https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree/

数组 / 哈希 / 双指针 7 题

  1. 两数之和
    https://leetcode.cn/problems/two-sum/

  2. 三数之和
    https://leetcode.cn/problems/3sum/

  3. 盛最多水的容器
    https://leetcode.cn/problems/container-with-most-water/

  4. 有效三角形的个数
    https://leetcode.cn/problems/valid-triangle-number/

  5. 合并区间
    https://leetcode.cn/problems/merge-intervals/

  6. 最长连续序列
    https://leetcode.cn/problems/longest-consecutive-sequence/

  7. 移动零
    https://leetcode.cn/problems/move-zeroes/

栈 / 单调栈 3 题

  1. 有效的括号
    https://leetcode.cn/problems/valid-parentheses/

  2. 最小栈
    https://leetcode.cn/problems/min-stack/

  3. 每日温度
    https://leetcode.cn/problems/daily-temperatures/

二分 2 题

  1. 二分查找
    https://leetcode.cn/problems/binary-search/

  2. 搜索旋转排序数组
    https://leetcode.cn/problems/search-in-rotated-sorted-array/

BFS / DFS 3 题

  1. 岛屿数量
    https://leetcode.cn/problems/number-of-islands/

  2. 腐烂的橘子
    https://leetcode.cn/problems/rotting-oranges/

  3. 全排列
    https://leetcode.cn/problems/permutations/

最小刷题顺序:

  1. 链表 4 题
  2. 二叉树前 3 题
  3. 数组前 5 题
  4. 栈前 2 题

也就是先完成 14 题,够应对很多开发岗基础手撕。剩下 10 题有时间再补。

4. 投递策略

投递材料里不要把自己写成算法训练候选人。主线应该是:

我有 Agent/RAG 实战项目,懂工具调用、workflow、检索、评测和工程约束,不只是会调 LangChain demo。

不同岗位突出不同项目:

  • AI Agent 开发:优先讲 Sec Review Bot
  • RAG / 知识库:优先讲 Thesis RAG
  • Agent 评测 / 代码 Agent / 代码审计场景:讲 PatchEval、仓库 case、sandbox、补丁导出约束
  • 后端 + AI:讲 Python/TypeScript、Docker、Kubernetes、GitHub App、端到端链路

面试中要诚实边界:

  • 没有商业生产上线经验
  • 不主打模型训练和微调
  • 安全漏洞知识需要继续补,但能围绕项目讲审查流程和评测
  • Temporal 不主动讲,被问到再说它用于长任务、状态和 retry 编排