prebuilt.startup.agent¶
Master startup agent that orchestrates all subgraphs for complete startup development.
This agent manages the entire flow from ideation through pitch deck creation, coordinating between different specialized subgraphs.
Attributes¶
Classes¶
Master agent that orchestrates the complete startup development process. |
|
Master state that coordinates all subgraphs. |
|
Request model for startup development. |
|
Response model for startup development. |
Functions¶
|
Develop a complete startup from idea to pitch deck. |
Module Contents¶
- class prebuilt.startup.agent.MasterStartupAgent¶
Bases:
haive.agents.base.agent.AgentMaster agent that orchestrates the complete startup development process.
This agent coordinates between ideation, research, business model development, and pitch deck creation subgraphs.
- build_graph() langgraph.graph.StateGraph¶
Build the master coordination graph.
- coordinate_workflow_node(state: MasterStartupState) Dict[str, Any]¶
Coordinate the workflow and prepare for next subgraph.
- determine_next_subgraph(state: MasterStartupState) str¶
Determine which subgraph to run next.
- extract_results_node(state: MasterStartupState) Dict[str, Any]¶
Extract results from completed subgraph.
- invoke_with_goal(user_goal: str, **kwargs) StartupDevelopmentResponse¶
Invoke the master agent with a specific goal.
- Parameters:
user_goal – Natural language description of what the user wants
**kwargs – Additional parameters
- Returns:
Complete startup development response
- prepare_final_output_node(state: MasterStartupState) Dict[str, Any]¶
Prepare the final output with all results.
- quality_gate_decision(state: MasterStartupState) str¶
Make quality gate decision.
- quality_gate_node(state: MasterStartupState) Dict[str, Any]¶
Check quality gates and decide if we can proceed.
- class prebuilt.startup.agent.MasterStartupState(/, **data: Any)¶
Bases:
haive.core.schema.state_schema.StateSchemaMaster state that coordinates all subgraphs.
- messages: List[langchain_core.messages.BaseMessage] = None¶
- workflow_stage: Literal['ideation', 'research', 'business_model', 'pitch_deck', 'complete'] = 'ideation'¶
- class prebuilt.startup.agent.StartupDevelopmentRequest(/, **data: Any)¶
Bases:
pydantic.BaseModelRequest model for startup development.
- target_stage: Literal['idea', 'validated', 'pitch_ready'] = None¶
- class prebuilt.startup.agent.StartupDevelopmentResponse(/, **data: Any)¶
Bases:
pydantic.BaseModelResponse model for startup development.
- startup_idea: haive.prebuilt.startup.models.StartupIdea¶
- prebuilt.startup.agent.develop_startup(goal: str = 'Create a fundable B2B SaaS startup with pitch deck', industry: str | None = None, funding_goal: float | None = None, **kwargs) StartupDevelopmentResponse¶
Develop a complete startup from idea to pitch deck.
- Parameters:
goal – Natural language description of the startup goal
industry – Target industry/vertical
funding_goal – Target funding amount
**kwargs – Additional parameters
- Returns:
Complete startup package with idea, research, and pitch deck
- prebuilt.startup.agent.result¶