massgen 0.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of massgen might be problematic. Click here for more details.
- massgen/__init__.py +94 -0
- massgen/agent_config.py +507 -0
- massgen/backend/CLAUDE_API_RESEARCH.md +266 -0
- massgen/backend/Function calling openai responses.md +1161 -0
- massgen/backend/GEMINI_API_DOCUMENTATION.md +410 -0
- massgen/backend/OPENAI_RESPONSES_API_FORMAT.md +65 -0
- massgen/backend/__init__.py +25 -0
- massgen/backend/base.py +180 -0
- massgen/backend/chat_completions.py +228 -0
- massgen/backend/claude.py +661 -0
- massgen/backend/gemini.py +652 -0
- massgen/backend/grok.py +187 -0
- massgen/backend/response.py +397 -0
- massgen/chat_agent.py +440 -0
- massgen/cli.py +686 -0
- massgen/configs/README.md +293 -0
- massgen/configs/creative_team.yaml +53 -0
- massgen/configs/gemini_4o_claude.yaml +31 -0
- massgen/configs/news_analysis.yaml +51 -0
- massgen/configs/research_team.yaml +51 -0
- massgen/configs/single_agent.yaml +18 -0
- massgen/configs/single_flash2.5.yaml +44 -0
- massgen/configs/technical_analysis.yaml +51 -0
- massgen/configs/three_agents_default.yaml +31 -0
- massgen/configs/travel_planning.yaml +51 -0
- massgen/configs/two_agents.yaml +39 -0
- massgen/frontend/__init__.py +20 -0
- massgen/frontend/coordination_ui.py +945 -0
- massgen/frontend/displays/__init__.py +24 -0
- massgen/frontend/displays/base_display.py +83 -0
- massgen/frontend/displays/rich_terminal_display.py +3497 -0
- massgen/frontend/displays/simple_display.py +93 -0
- massgen/frontend/displays/terminal_display.py +381 -0
- massgen/frontend/logging/__init__.py +9 -0
- massgen/frontend/logging/realtime_logger.py +197 -0
- massgen/message_templates.py +431 -0
- massgen/orchestrator.py +1222 -0
- massgen/tests/__init__.py +10 -0
- massgen/tests/multi_turn_conversation_design.md +214 -0
- massgen/tests/multiturn_llm_input_analysis.md +189 -0
- massgen/tests/test_case_studies.md +113 -0
- massgen/tests/test_claude_backend.py +310 -0
- massgen/tests/test_grok_backend.py +160 -0
- massgen/tests/test_message_context_building.py +293 -0
- massgen/tests/test_rich_terminal_display.py +378 -0
- massgen/tests/test_v3_3agents.py +117 -0
- massgen/tests/test_v3_simple.py +216 -0
- massgen/tests/test_v3_three_agents.py +272 -0
- massgen/tests/test_v3_two_agents.py +176 -0
- massgen/utils.py +79 -0
- massgen/v1/README.md +330 -0
- massgen/v1/__init__.py +91 -0
- massgen/v1/agent.py +605 -0
- massgen/v1/agents.py +330 -0
- massgen/v1/backends/gemini.py +584 -0
- massgen/v1/backends/grok.py +410 -0
- massgen/v1/backends/oai.py +571 -0
- massgen/v1/cli.py +351 -0
- massgen/v1/config.py +169 -0
- massgen/v1/examples/fast-4o-mini-config.yaml +44 -0
- massgen/v1/examples/fast_config.yaml +44 -0
- massgen/v1/examples/production.yaml +70 -0
- massgen/v1/examples/single_agent.yaml +39 -0
- massgen/v1/logging.py +974 -0
- massgen/v1/main.py +368 -0
- massgen/v1/orchestrator.py +1138 -0
- massgen/v1/streaming_display.py +1190 -0
- massgen/v1/tools.py +160 -0
- massgen/v1/types.py +245 -0
- massgen/v1/utils.py +199 -0
- massgen-0.0.3.dist-info/METADATA +568 -0
- massgen-0.0.3.dist-info/RECORD +76 -0
- massgen-0.0.3.dist-info/WHEEL +5 -0
- massgen-0.0.3.dist-info/entry_points.txt +2 -0
- massgen-0.0.3.dist-info/licenses/LICENSE +204 -0
- massgen-0.0.3.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# MassGen Configuration: Single Agent Mode
|
|
2
|
+
#
|
|
3
|
+
# Simple configuration for single-agent processing.
|
|
4
|
+
# Ideal for straightforward tasks that don't require multi-agent collaboration.
|
|
5
|
+
#
|
|
6
|
+
# Usage:
|
|
7
|
+
# uv run python -m massgen.v1.cli --config examples/single_agent.yaml "Simple question"
|
|
8
|
+
|
|
9
|
+
orchestrator:
|
|
10
|
+
max_duration: 300 # 5 minutes - shorter for simple tasks
|
|
11
|
+
consensus_threshold: 1.0 # Not used in single agent mode
|
|
12
|
+
max_debate_rounds: 0 # Not used in single agent mode
|
|
13
|
+
status_check_interval: 1.0
|
|
14
|
+
thread_pool_timeout: 5
|
|
15
|
+
|
|
16
|
+
agents:
|
|
17
|
+
# Single Agent: OpenAI GPT-4o
|
|
18
|
+
- agent_id: 1
|
|
19
|
+
agent_type: "openai"
|
|
20
|
+
model_config:
|
|
21
|
+
model: "o4-mini"
|
|
22
|
+
tools: ["live_search", "code_execution"]
|
|
23
|
+
max_retries: 10
|
|
24
|
+
max_rounds: 10 # Fewer rounds for simple processing
|
|
25
|
+
max_tokens: 4000 # Reasonable token limit
|
|
26
|
+
temperature: 0.7 # Balanced creativity
|
|
27
|
+
top_p: 0.9
|
|
28
|
+
inference_timeout: 120 # 2 minutes timeout
|
|
29
|
+
stream: false
|
|
30
|
+
|
|
31
|
+
streaming_display:
|
|
32
|
+
display_enabled: true # Still show progress
|
|
33
|
+
max_lines: 10 # Smaller display for single agent
|
|
34
|
+
save_logs: true
|
|
35
|
+
|
|
36
|
+
logging:
|
|
37
|
+
log_dir: "logs"
|
|
38
|
+
session_id: null # Auto-generate
|
|
39
|
+
non_blocking: true
|