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.

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([goal, industry, funding_goal])

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()¶

Build the master coordination graph.

Return type:

langgraph.graph.StateGraph

coordinate_workflow_node(state)¶

Coordinate the workflow and prepare for next subgraph.

Parameters:

state (MasterStartupState)

Return type:

Dict[str, Any]

determine_next_subgraph(state)¶

Determine which subgraph to run next.

Parameters:

state (MasterStartupState)

Return type:

str

extract_results_node(state)¶

Extract results from completed subgraph.

Parameters:

state (MasterStartupState)

Return type:

Dict[str, Any]

invoke_with_goal(user_goal, **kwargs)¶

Invoke the master agent with a specific goal.

Parameters:
  • user_goal (str) – Natural language description of what the user wants

  • **kwargs – Additional parameters

Returns:

Complete startup development response

Return type:

StartupDevelopmentResponse

prepare_final_output_node(state)¶

Prepare the final output with all results.

Parameters:

state (MasterStartupState)

Return type:

Dict[str, Any]

quality_gate_decision(state)¶

Make quality gate decision.

Parameters:

state (MasterStartupState)

Return type:

str

quality_gate_node(state)¶

Check quality gates and decide if we can proceed.

Parameters:

state (MasterStartupState)

Return type:

Dict[str, Any]

class prebuilt.startup.agent.MasterStartupState(/, **data)¶

Bases: haive.core.schema.state_schema.StateSchema

Master state that coordinates all subgraphs.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)

class prebuilt.startup.agent.StartupDevelopmentRequest(/, **data)¶

Bases: pydantic.BaseModel

Request model for startup development.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)

class prebuilt.startup.agent.StartupDevelopmentResponse(/, **data)¶

Bases: pydantic.BaseModel

Response model for startup development.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)

prebuilt.startup.agent.develop_startup(goal='Create a fundable B2B SaaS startup with pitch deck', industry=None, funding_goal=None, **kwargs)¶

Develop a complete startup from idea to pitch deck.

Parameters:
  • goal (str) – Natural language description of the startup goal

  • industry (Optional[str]) – Target industry/vertical

  • funding_goal (Optional[float]) – Target funding amount

  • **kwargs – Additional parameters

Returns:

Complete startup package with idea, research, and pitch deck

Return type:

StartupDevelopmentResponse