IdeaCredIdeaCred

yash91sharma/MALTopic-py

60

A multi-agent LLM topic modeling library

What's novel

A multi-agent LLM topic modeling library

Code Analysis

10 files read · 3 rounds

A Python library that uses sequential LLM API calls (via OpenAI) to enrich survey free-text responses with structured data, extract topics from the enriched text, and optionally deduplicate overlapping topics, with a Streamlit GUI wrapper.

Strengths

Clean separation of concerns across core, LLM client, prompts, utils, and stats modules; comprehensive test suite with good mocking of LLM interactions covering edge cases like token limits, invalid JSON, and fallback paths; practical batching logic with tiktoken-based token counting and graceful degradation.

Weaknesses

The 'multi-agent' framing is misleading — it's really three sequential LLM calls with different prompts, not independent agents; the core logic is primarily prompt engineering and API orchestration rather than novel algorithms, and the consolidation step is explicitly a naive name-based dedup; only OpenAI is supported despite the README mentioning Gemini and Llama as future options.

Score Breakdown

Innovation
5 (25%)
Craft
61 (35%)
Traction
7 (15%)
Scope
55 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+2

Craft

Ci-3
Tests+8
Polish+0
Releases+5
Has License+5
Code Quality+23
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+4
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+3
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+7
Languages+3
Subsystems+10
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+8
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

24

Contributors

1

Files

19

Active weeks

7

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

3

Forks

0

License

MIT