Skip to main content
DeepCLI is the Termux Monorepo’s command-line interface for the DeepSeek API. This guide walks you through a complete session lifecycle: creating a session, sending messages, enabling thinking mode, reviewing history, exporting your conversation, and branching it with a fork.
1

Create a new session

Start by initializing a fresh conversation context with the new command.
Expected output:
2

Send a message

Pass your prompt directly to the send command. DeepCLI forwards it to the DeepSeek API and prints the response.
Expected output (truncated):
3

Enable thinking mode

Add the --thinking flag when you want the model to show its reasoning chain before the final answer.
Expected output:
4

List active sessions

View all stored sessions so you can pick one to resume.
Expected output:
5

View session history

Use the history command with a session ID to inspect the full message log.
Expected output:
6

Export the session

Export a conversation to a JSON file for backup, sharing, or further processing.
Expected output:
7

Fork a conversation branch

Create a new session branched from a specific message. This is useful when you want to explore an alternate reply without losing the original thread.
Expected output:
You can chain commands in scripts. For example, run deepcli.py new && deepcli.py send "Summarize README" --thinking inside a CI step to generate automated release notes.
Next, learn how to run autonomous tasks with ArchWiz or explore the command reference for the full DeepCLI surface.