← Back to projects

2025 · Personal project

DeepSeek CLI

A Rust command-line client with multi-turn conversations, history management, and piped input.

01

Problem

Using a model from the terminal should support one-off prompts, ongoing conversations, and local history without becoming a heavyweight workflow.

02

Approach

Used Tokio, clap, and reqwest to implement stateless, new-session, and resume-session modes, with conversation history stored in the local configuration directory.

03

Outcome

Built a CLI prototype that accepts command-line arguments or Unix pipes, with local API configuration and support for resuming previous conversations.