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 Two Agent Configuration
|
|
2
|
+
# Simple two-agent setup for focused collaboration
|
|
3
|
+
|
|
4
|
+
agents:
|
|
5
|
+
- id: "primary_agent"
|
|
6
|
+
backend:
|
|
7
|
+
type: "openai"
|
|
8
|
+
model: "gpt-4o"
|
|
9
|
+
temperature: 0.5
|
|
10
|
+
max_tokens: 2500
|
|
11
|
+
enable_web_search: true
|
|
12
|
+
system_message: |
|
|
13
|
+
You are a knowledgeable primary agent who provides comprehensive,
|
|
14
|
+
well-researched responses. Focus on:
|
|
15
|
+
- Thorough analysis and research
|
|
16
|
+
- Accurate and detailed information
|
|
17
|
+
- Clear reasoning and explanation
|
|
18
|
+
- Comprehensive coverage of the topic
|
|
19
|
+
|
|
20
|
+
- id: "secondary_agent"
|
|
21
|
+
backend:
|
|
22
|
+
type: "openai"
|
|
23
|
+
model: "gpt-4o-mini"
|
|
24
|
+
temperature: 0.5
|
|
25
|
+
max_tokens: 2500
|
|
26
|
+
enable_web_search: true
|
|
27
|
+
system_message: |
|
|
28
|
+
You are a secondary agent who reviews, refines, and enhances responses.
|
|
29
|
+
Focus on:
|
|
30
|
+
- Critical evaluation and review
|
|
31
|
+
- Identifying gaps or areas for improvement
|
|
32
|
+
- Adding complementary perspectives
|
|
33
|
+
- Ensuring clarity and completeness
|
|
34
|
+
|
|
35
|
+
ui:
|
|
36
|
+
display_type: "rich_terminal"
|
|
37
|
+
logging_enabled: true
|
|
38
|
+
|
|
39
|
+
# Simple two-agent settings
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""
|
|
2
|
+
MassGen Frontend Package
|
|
3
|
+
|
|
4
|
+
Provides user interface components for MassGen coordination display, logging, and monitoring.
|
|
5
|
+
|
|
6
|
+
TODO - Missing Frontend Features from v0.0.1:
|
|
7
|
+
- Web-based interface for remote coordination monitoring
|
|
8
|
+
- Enhanced terminal displays with better formatting
|
|
9
|
+
- Real-time metrics and performance monitoring
|
|
10
|
+
- Export capabilities for coordination logs
|
|
11
|
+
- Interactive configuration UI
|
|
12
|
+
- Dashboard for multi-session management
|
|
13
|
+
- Advanced visualization of agent interactions
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
from .coordination_ui import CoordinationUI
|
|
17
|
+
from .displays import TerminalDisplay, SimpleDisplay
|
|
18
|
+
from .logging import RealtimeLogger
|
|
19
|
+
|
|
20
|
+
__all__ = ["CoordinationUI", "TerminalDisplay", "SimpleDisplay", "RealtimeLogger"]
|