adk-deepseek-adapter
v1.0.0
Published
A DeepSeek LLM adapter for the Google Agent Development Kit (ADK)
Maintainers
Readme
Google ADK DeepSeek Adapter
This package provides a DeepSeekLlm adapter for the Google Agent Development Kit (ADK). It allows you to use DeepSeek models (like deepseek-chat) seamlessly within your ADK agents.
Installation
npm install @adk/deepseekNote: This package requires @google/adk as a sibling dependency.
Usage
import { LlmAgent } from '@google/adk';
import { DeepSeekLlm } from '@adk/deepseek';
const agent = new LlmAgent({
name: 'my-agent',
model: new DeepSeekLlm({
apiKey: process.env.DEEPSEEK_API_KEY,
}),
instruction: 'You are a helpful assistant.',
});Configuration
The DeepSeekLlm constructor accepts:
apiKey: (Required) Your DeepSeek API key.model: (Optional) The model name (default:deepseek-chat).baseUrl: (Optional) The API base URL (default:https://api.deepseek.com/v1).
Contribution
Contributions are welcome! Please read our CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
License
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
