community_8_modules_llm_budget - grisuno/LazyOwn GitHub Wiki

modules: llm_budget

Community 8 | 26 files | cohesion 0.43

Definition

This community groups 26 file(s) rooted at modules with dominant language py (cohesion 0.43). Central symbols: AIModel, ASTToolExtractor, AgentRunner, AgentTool, AiCommandSet, AnthropicModel, BudgetConfig, BudgetExceeded. Core file: core/llm_budget.py (45 symbols). Documented purpose: Artificial Intelligence command set. Covers the do_ask, do_groq, do_ai_playbook and do_ai_toggle commands. ask answers through the configur.

Files

modules (10 files)

File Language Layer Symbols Doc
modules/agent_runner.py py utility 38 yes
modules/ai_model.py py business_logic 39 yes
modules/llm_adapter.py py infrastructure 15 yes
modules/llm_client.py py infrastructure 12 yes
modules/llm_factory.py py infrastructure 28 yes

tests (6 files)

File Language Layer Symbols Doc
tests/test_ai_commands_llm.py py testing 18 yes
tests/test_lazy_streaming.py py testing 17 yes
tests/test_llm_adapter_parity.py py testing 41 yes
tests/test_llm_budget.py py testing 27 yes
tests/test_llm_prompts.py py testing 27 yes

. (4 files)

File Language Layer Symbols Doc
discord_c2.py py utility 21 no
slack_c2_bot.py py utility 16 yes
telegram_c2.py py utility 18 no
telegram_hermes.py py utility 29 yes

contrib/legacy (3 files)

File Language Layer Symbols Doc
contrib/legacy/lazyaddon_creator.py py utility 14 yes
contrib/legacy/lazyllmchat.py py utility 30 no
contrib/legacy/lazyphishingai.py py presentation 12 yes

core (2 files)

File Language Layer Symbols Doc
core/llm_budget.py py utility 45 yes
core/parsers.py py utility 1 yes

cli/commands (1 files)

File Language Layer Symbols Doc
cli/commands/ai.py py utility 8 yes

... and 6 more files in this community.

Key Symbols

Internal vs External Edges

  • Internal resolved imports (EXTRACTED): 73
  • Cross-boundary resolved imports (EXTRACTED): 70

Connections

  • [EXTRACTED] depends_on community 0 <-> 8 (strength 0.9): Extracted import edge crosses communities: cli/banner_config.py imports core/parsers.py.
  • [EXTRACTED] depends_on community 8 <-> 3 (strength 0.9): Extracted import edge crosses communities: cli/commands/ai.py imports modules/killchain.py.

Risks

Open Questions

Sources