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¶

MasterStartupAgent

Master agent that orchestrates the complete startup development process.

MasterStartupState

Master state that coordinates all subgraphs.

StartupDevelopmentRequest

Request model for startup development.

StartupDevelopmentResponse

Response model for startup development.

Functions¶

develop_startup(→ StartupDevelopmentResponse)

Develop a complete startup from idea to pitch deck.

Module Contents¶

class prebuilt.startup.agent.MasterStartupAgent¶

Bases: haive.agents.base.agent.Agent

Master 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.

description: str = None¶
enable_business_modeling: bool = None¶
enable_deep_research: bool = None¶
enable_ideation: bool = None¶
enable_pitch_deck: bool = None¶
min_idea_score: float = None¶
min_market_size: float = None¶
name: str = None¶
class prebuilt.startup.agent.MasterStartupState(/, **data: Any)¶

Bases: haive.core.schema.state_schema.StateSchema

Master state that coordinates all subgraphs.

__shared_fields__ = ['messages', 'selected_idea']¶
business_model_results: Dict[str, Any] | None = None¶
deck_approved: bool = False¶
funding_goal: float | None = None¶
idea_portfolio: haive.prebuilt.startup.models.IdeaPortfolio | None = None¶
idea_validated: bool = False¶
ideation_results: Dict[str, Any] | None = None¶
market_research_results: Dict[str, Any] | None = None¶
market_validated: bool = False¶
messages: List[langchain_core.messages.BaseMessage] = None¶
model_validated: bool = False¶
pitch_deck_results: haive.prebuilt.startup.pitch_deck_models.PitchDeck | None = None¶
selected_idea: haive.prebuilt.startup.models.StartupIdea | None = None¶
target_industry: str | None = None¶
time_to_market: str | None = None¶
user_goal: str = None¶
workflow_stage: Literal['ideation', 'research', 'business_model', 'pitch_deck', 'complete'] = 'ideation'¶
class prebuilt.startup.agent.StartupDevelopmentRequest(/, **data: Any)¶

Bases: pydantic.BaseModel

Request model for startup development.

constraints: List[str] = None¶
focus_area: str | None = None¶
funding_goal: float | None = None¶
target_stage: Literal['idea', 'validated', 'pitch_ready'] = None¶
class prebuilt.startup.agent.StartupDevelopmentResponse(/, **data: Any)¶

Bases: pydantic.BaseModel

Response model for startup development.

business_model: Dict[str, Any]¶
estimated_fundability: float = None¶
market_validation: Dict[str, Any]¶
next_steps: List[str]¶
pitch_deck: haive.prebuilt.startup.pitch_deck_models.PitchDeck | None = None¶
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¶