DeepSeek opens API access to app features and chat-demo
DeepSeek has made its application's search, file handling, and voice capabilities available via API, accompanied by an open-source chat-demo client.
DeepSeek has expanded its API to include all features previously exclusive to its official application, including web search, file processing, and voice capabilities. To facilitate implementation, the company released , an open-source TypeScript client that demonstrates how to integrate these tools into a custom chatbot. This update allows developers to replicate the full DeepSeek user experience in their own software using the deepseek-flash model.
API tools for search and content processing
The API now supports several specialized tools for handling external data. The deepseek_web_search tool enables the model to perform web or image searches and provide answers with citations. When combined with thinking enabled, the model can execute multiple reasoning steps to search the web and read links independently.
For document handling, the API supports file input for PDF, Word, PowerPoint, and image files. The system extracts plain text or parses rich layouts to add the content to the conversation context. Additionally, the deepseek_read_url tool allows the model to detect links in user messages and fetch page content for contextual answers.
Voice and safety integration
DeepSeek provides separate API endpoints for speech-to-text (ASR) and text-to-speech (TTS), enabling voice input and read-aloud responses. Developers can also enable a safety check parameter that reviews model input and output, returning a refusal marker if a risk is detected. This is intended for public services that must fulfill AI labeling and content safety obligations.
The API also supports a user metadata marker to provide the model with the current date, user location, and language. To automate chat management, a conversation title feature can generate short titles once an answer is completed.
Technical implementation of the chat-demo client
The provided demo is a static application that connects the browser directly to the API service without requiring a backend. It uses the Messages API, Responses API, or Chat Completions API, with the Messages API being Anthropic-compatible. The client stores API keys and settings in localStorage, while conversations and attachments are kept in IndexedDB.
The interface supports Markdown, KaTeX math, and Mermaid diagrams. It also includes a system for importing and exporting chat history via ZIP archives, allowing users to migrate conversations from the official DeepSeek Chat. This approach to building agentic-style interfaces ensures that data remains isolated by browser profile and site origin.
Running the demo locally
The project requires Node.js 22.12+ and pnpm. To set up the development environment, use the following commands:
git clone https://github.com/deepseek-ai/chat-demo.git
cd chat-demo
pnpm install
pnpm devThe application becomes available at http://localhost:8090. For production, the static site can be generated using
pnpm builddist/ directory. This build can be deployed to any static web server or opened directly via index.html if the browser supports storage on file:// pages.
API request configuration
When using tools like deepseek_web_search or enabling high-level safety checks, the service ignores certain parameters to maintain stability. In the Messages API, ignored parameters include temperature, top_p, top_k, and stop_sequences. The Responses API ignores temperature, top_p, and reasoning.summary, while the Chat Completions API ignores frequency_penalty and presence_penalty.
The max_tokens parameter continues to function normally, limiting the output of each individual inference step rather than the total output of the entire round. This allows for precise control over DeepSeek efficiency and response length during complex tool-use sequences.
Sources
cdn.deepseek.com — content not available without authorization
Related news
DeepSeek V4 FlashOpenModel Offers DeepSeek V4 Flash Free via API with Anthropic CompatibilityOpenModel provides free access to DeepSeek V4 Flash including both input and output tokens, plus $1 credit for new users.·mentions DeepSeek
AI ToolsOpenAI releases apps-sdk-ui for building ChatGPT app interfacesOpenAI has open-sourced apps-sdk-ui, a React and Tailwind component library designed specifically for building interactive interfaces inside ChatGPT apps.·same source: github.com
- AI ToolsChrome, Edge, Firefox and MDN launch modern-web-guidance for coding agentsBrowser vendors collaborate on a skill set that steers AI agents toward native web APIs instead of legacy JavaScript patterns.·same source: github.com
AI AgentsDeepSeek Releases Vision-Capable Flash Model for AgentsDeepSeek's new experimental multimodal model matches Opus 4.8 on visual agent benchmarks while retaining Flash-tier speed and cost.·same source: api-docs.deepseek.com
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.