Elixir bridge package that seamlessly integrates Legion's code-execution agents with DeepSeek's powerful reasoning models
Here's a complete, publishable Elixir bridge package that seamlessly integrates Legion's code-execution agents with DeepSeek's powerful reasoning models. This package provides a clean configuration layer, pre-optimized agent modules, and utilities to leverage DeepSeek-specific features.
legion_deepseek/
├── README.md
├── LICENSE
├── mix.exs
├── config/
│ └── config.exs
├── lib/
│ ├── legion_deepseek.ex
│ ├── legion_deepseek/
│ │ ├── config.ex
│ │ ├── agent.ex
│ │ ├── tools.ex
│ │ └── reasoning.ex
│ └── mix/
│ └── tasks/
│ └── deepseek.setup.ex
└── test/
├── test_helper.exs
└── legion_deepseek_test.exs
README.md# LegionDeepSeek
A seamless bridge between [Legion](https://github.com/legion-framework/legion) and [DeepSeek](https://deepseek.com), enabling powerful code-executing AI agents with state-of-the-art reasoning.
## Features
- 🔌 **Zero-config DeepSeek integration** for Legion agents
- 🧠 **Optimized for `deepseek-reasoner`** with extended timeout support
- 🛠️ **Pre-built tools** for common tasks (HTTP, file I/O, shell)
- ⚡ **Streaming support** for real-time code generation feedback
- 📦 **Simple API** - start building agents in minutes
## Installation
Add `legion_deepseek` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:legion_deepseek, "~> 0.1.0"}
]
end
export DEEPSEEK_API_KEY="your-api-key-here"
defmodule MyAgent do
use LegionDeepSeek.Agent
end
{:ok, result} = Legion.call(MyAgent, "List all Markdown files and summarize their content")
IO.puts(result)
Add to your config/runtime.exs:
import Config
config :legion_deepseek,
api_key: System.get_env("DEEPSEEK_API_KEY"),
model: "deepseek-reasoner", # or "deepseek-chat"
timeout: 60_000, # Extended timeout fo
Open-source AI coding agent for the terminal. Claude Code-grade accuracy with smart model routing — uses the right AI model for each task, cutting costs 10x. Supports Claude, GPT, Gemini, DeepSeek & more.
A general-purpose Python framework for building LLM agents and multi-agent systems. "Four lines of code, an agent with memory."
Ultimate LLM API Integration Cookbook 2026 for Cursor & AI Agents
Ultimate Multi-Agent OS for Autonomous AI NPCs 2026
PrivateAgent is an open-source Android automation agent built with Flutter. It utilizes the DeepSeek API and native Android Accessibility Services to interpret screen layouts and execute multi-step tasks across any installed application via natural language commands.
把一队分工 Agent 织成一条写小说的流水线,做成桌面客户端;写作指纹让它越写越像你(BYO DeepSeek key,纯本地)。
Workflows from the Neura Market marketplace related to this DeepSeek resource