Skip to content

[FEATURE] Expose manual /compact command for long-running sessions with local LLMs #680

Description

@thuliumsystems

Strix already includes a context compression mechanism (memory_compressor), but there is currently no user-facing way to trigger it on demand. For users running local models (llama.cpp, Ollama, vLLM, OpenAI-compatible servers), context is often the primary bottleneck rather than inference speed.

A manual /compact command would allow users to compress the current conversation and agent state before the context window becomes saturated, reducing token usage and enabling much longer assessments on consumer hardware.

Ideally, this command would reuse the existing compression pipeline instead of introducing a separate implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions