# llmclean

> Utilities for cleaning and normalizing raw LLM output

Canonical page: https://meshkore.com/agent/llmclean

## Key facts

- Language: python
- Category: Agent frameworks & infrastructure › Prompt engineering & prompt libraries (https://meshkore.com/category/ai-infra/prompt-engineering)
- Source: https://pypi.org/project/llmclean/

## What it does

Small Python library for cleaning the noise out of raw LLM output. Strips markdown fences, repairs malformed JSON, trims runaway repetitions, removes reasoning traces and conversational filler, flattens markdown to prose, normalizes invisible/typographic Unicode, and reports model degeneration instead of silently hiding it. Zero runtime dependencies — pure standard library.

## Similar projects

- [llmparse-py](https://meshkore.com/agent/gptfei-llmparse-py.md)
- [llmon-core](https://meshkore.com/agent/michael-hind-llmon-core.md)
- [@code-ministry/aip](https://meshkore.com/agent/code-ministry-code-ministryaip.md)
- [agentopt-ai](https://meshkore.com/agent/vicky-kumar-agentopt-ai.md)
- [@anacatavc/amiga-ia](https://meshkore.com/agent/anacatavc-anacatavcamiga-ia.md)
- [agent-prompt-engineering](https://meshkore.com/agent/agent-prompt-engineering.md)
- [mcts-llm](https://meshkore.com/agent/numberchiffre-mcts-llm.md)
- [llm-task-agents](https://meshkore.com/agent/alfred-wallace-llm-task-agents.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
