lmcli/TODO.md

1.7 KiB

TODO

  • Strip anthropic XML function call scheme from content, to reconstruct when calling anthropic?
  • dir_tree tool
  • Implement native Anthropic API tool calling
  • Agents - a name given to a system prompt + set of available tools + potentially other relevent data (e.g. external service credentials, files for RAG, etc), which the user explicitly selects (e.g. lmcli chat --agent code-helper, lmcli chat -a financier).
    • Specialized agents which have integrations beyond basic tool calling, e.g. a coding agent which bakes in efficient code context management (only the current state of relevant files get shown to the model in the system prompt, rather than having them in the conversation messages)
    • Agents may have some form of long term memory management (key-value? natural lang?).
  • Support for arbitrary external script tools
  • Search - RAG driven search of existing conversation "hey, remind me of the conversation we had six months ago about X")
  • Conversation categorization - model driven category creation and conversation classification
  • Image input
  • Image output (sixel support?)
  • Conversation exports to html/pdf/json

UI

  • Prettify/normalize tool_call and tool_result outputs so they can be shown/optionally hidden in lmcli view and lmcli chat
  • User confirmation before calling (some?) tools
  • Conversation deletion in conversations view
  • Message deletion, Ctrl+D to delete a message and attach its children to its parent, Ctrl+Shift+D to delete a message and its descendents
  • Show available key bindings and their action in any given view