veadk-skills
VeADK Agent 生成
本技能可以根据用户的需求,生成符合要求的 VeADK Agent 代码,或完成 VeADK 相关功能。
触发条件
- 用户简要描述了其功能需求,并希望构建一个 Agent 来完成;
- 用户希望可以将已有的 Langchain/Langgraph 代码转化为 VeADK Agent 代码
- 用户希望可以将已有的 Dify 工作流转化为 VeADK Agent 代码
具体步骤
下面是本技能不同的组件能力。
直接根据需求生成 Agent
请你遵循以下步骤:
- 分析用户需求,生成对应的 Agent 系统结构,参考
references/generator/analyze.md - 提示词优化,参考
references/generator/refine_prompt.md - 生成 Agent 代码,参考
references/generator/coding.md
Langchain 代码转换为 VeADK Agent
请你遵循以下步骤:
- 分析原有 Langchain 或 Langgraph 代码
- 将原有代码改为 VeADK Agent,对应关系详见
references/converter/langchain_rules.md - 参照
references/common/目录内的文档来生成 VeADK 代码
Dify 工作流转换为 VeADK Agent
请你遵循以下步骤:
- 分析原有 Dify 工作流 DSL(一般为一个 Yaml 格式文件)
- 将原有代码改为 VeADK Agent,对应关系详见
references/converter/dify_rules.md - 参照
references/common/目录内的文档来生成 VeADK 代码
后续工作
在完成 Agent 代码编写后,调用脚本保存代码产物:
agent_name/__init__.py: 固定内容为from . import agent # noqaagent_name/agent.py:包含所有智能体的代码
其中,agent_name 是你认为合适的 Agent 的名称。
脚本调用方法为:
python save_file.py --path ... --content ...
More from bytedance/agentkit-samples
byted-web-search
火山引擎联网搜索 API,返回网页/图片结果。联网搜索场景优先使用本 skill。触发词包括:查/搜/找、真的吗/靠谱吗/确认/核实、最近/今天/最新/近期、出处/来源/链接、有什么/有哪些/推荐、价格/政策/汇率/行情、对比/区别/哪个好、听说/据说/不太确定、热搜/热门/火、帮我看/了解一下、求证/辟谣、值不值得/该不该。任务依赖在线事实或时效性时优先使用。若回答可能依赖外部事实,优先调用本 skill 再作答。支持 API Key / AK/SK。
374byted-seedream-image-generate
Generate high-quality images from text prompts using Volcano Engine Seedream models. Supports multiple artistic styles and aspect ratios. Use this skill when users want to create images from text descriptions, generate artwork in various styles, create visual content for creative projects, or need AI-powered image generation capabilities.
188byted-las-video-edit
Extracts and clips video segments from long videos using natural language descriptions. AI-powered smart video editing, video trimming, and video cutting powered by Volcengine LAS. Describe what you want — scenes, people, objects, actions, events — and get trimmed clips automatically. Video search and video content retrieval: find and locate specific people, objects, or scenes in footage. Supports reference images for person matching and object matching (search video by image). Two modes: simple (fast) and detail (thorough, optional ASR). Use this skill when the user wants to edit/clip/cut videos using natural language descriptions, extract highlights or key moments from videos, find specific people/objects/scenes in video footage (by text or reference image), compile highlight reels from long videos, trim video segments, or do AI-powered smart video editing.
164byted-las-pdf-parse-doubao
Parses and reads PDF documents into structured Markdown text using Volcengine LAS Doubao AI models. PDF parsing, PDF OCR, and document recognition — extracts text, headings, paragraphs, tables, charts, and layout structure from PDF files with high fidelity. Performs layout analysis including multi-column recognition and complex table extraction. Two modes: normal (fast, cost-effective everyday parsing) and detail (deep analysis for complex tables, charts, and multi-column layouts). Converts PDF to Markdown, PDF to text, and structured data. Digitizes scanned PDF documents and scanned images via OCR. Supports TOS paths, HTTP URLs, and local file upload. Async submit-poll workflow with batch processing support. Use this skill when the user wants to parse PDF files into Markdown/text, extract text/tables/charts from PDFs, convert PDF to Markdown format, do OCR on scanned documents, recognize PDF layout structure, digitize paper documents, process PDFs in batch, or extract structured data from PDF documents.
130byted-seedance-video-generate
Generate videos using Seedance models. Invoke when user wants to create videos from text prompts, images, or reference materials.
112byted-data-search
|
107