We want to create an AI-powered tool that can analyze pre-seed startups based on pitch decks and other documents. The tool will extract key information, conduct research, and generate a structured report in Notion.
Let’s put an example.
Let’s imagine is 2008 and Bryan Chesky sends an email to a fund with a pitch deck for a startup called Airbnb. Our tech incubator is super successful and we don’t want to miss any good candidates. So we create an agentic tool in
Latitude that can receive emails like this and analyze the startups that are being pitched.
This project use different parts from Latitude let’s start by listing them:
Prompt references like for example <prompt path="section_example" /> allow you to reuse prompts in different parts of your project. This is useful to avoid duplication and keep your code DRY.
Steps allow to interact with the AI in a step-by-step manner, breaking down complex tasks into manageable parts. In this case, we use steps to handle the analysis of the startup in a structured way.
steps
<step agents={{ ["agents/interpreter"] }}>1. Interpretation:You should use the `interpreter` agent to extract and organize all the official information provided in the email, including the complete content and attached URLs.</step><step agents={{ ["agents/team_finder"] }}>2. Team identification:You should use the `team_finder` agent to find the main team members.</step><step agents={{ ["agents/identity_checker"] }}>3. Team verification:You should use the `identity_checker` agent to validate the background and profiles of all founders and key members.</step><step agents={{ ["agents/metrics_hunter"] }}>4. Traction metrics:You should use the `metrics_hunter` agent to search and confirm data about users, revenue, growth, etc.</step><step agents={{ ["agents/business_model_analyzer"] }}>5. Business model:You should use the `business_model_analyzer` agent to investigate and analyze the business model.</step><step agents={{ ["agents/investigator"] }}>6. Funding:You should use the `investigator` agent to research investment rounds, investors, and valuation.</step><step agents={{ ["agents/tech_stacker"] }}>7. Product analysis:You should use the `tech_stacker` agent to investigate the technology used in the product.</step><step agents={{ ["agents/market_mapper"] }}>8. Market analysis:You should use the `market_mapper` agent to analyze the target market, size, and competitors.</step><step agents={{ ["agents/competition_research"] }}>9. Solution mapping:You should use the `competition_research` agent to obtain an overview of all existing solutions to the problem the company is trying to solve, without bias.</step><step agents={{ ["agents/evaluation_expert"] }}>11. Final evaluation:You should use the `evaluation_expert` agent to evaluate the draft, identify strengths, risks, and issue a final recommendation.</step>
Email triggers allows us to receive emails in our Latitude accoun when they are sent to a specific address.
Check the docs to see how to set it up.
In latitude you convert a prompt into an agent by adding the type: agent field to the prompt. This allows you to create a multi-agent architecture where each agent is responsible for a specific task in the analysis process. You can learn more about agents in the agents documentation.
Latitude tools are used to search information in Internet
In this example we use the Notion MCP integration to call the Notion API and create a database item with the final report. MCP calls allow you to interact with external APIs in a structured way, making it easy to integrate with services like Notion.
We also use this Apify MCP to extract information from Crunchbase.
Most of the elements used in this project are easy to understand following
Latitude documentation, but the Notion integration is a bit more complex. Let’s
do a quick overview of how to set it up.
The tool is an AI agent divided in sub-agents, each responsible for a specific task in the analysis process. The main agent coordinates the workflow and ensures that all tasks are completed efficiently.
Latitude is flexible enough to allow you to structure workflows quite complex in a way that
makes sense for you. In this case we decided to create an agents folder with
all the processing work and a publish agent that is responsible for the
formatting and publishing of the final report in Notion.