Live data from Hacker News

Launch HN: Patterns (YC S21) – A much faster way to build and deploy data apps

news.ycombinator.com

1–10 of 37 posts

Launch HN: Patterns (YC S21) – A much faster way to build and deploy data apps

#1
Hey HN, I’m Ken, co-founder of Patterns (https://www.patterns.app/) with with my friend Chris. Patterns gets rid of repetitive gruntwork when building and deploying data applications. We abstract away the micro-management of compute, storage, orchestration, and visualization, letting you focus on your specific app’s logic. Our goal is to give you a 10x productivity boost when building these things. Basically, we’re Heroku for AI apps. There’s a demo video here: https://www.patterns.app/videos/homepage/demo4k.mp4.

Our target audience are data engineers and scientists who feel limited by Jupyter notebooks and frustrated with Airflow. They're stitching together business apps (e.g. CRMs or email marketing tools), AI models, and building proprietary automations and analytics in between them (e.g. generating a customer health score and acting on it). We want to solve the impedance mismatch between analytical systems (like your pipelines for counting customers and revenue) and automations (like a "do something on customer signup" event).

We built Patterns because of our frustration trying to ship data and AI projects. We are data scientists and engineers and have built data stacks over the past 10 years for a wide variety of companies—from small startups to large enterprises across FinTech, Ecommerce, and SaaS. In every situation, we’ve been let down by the tools available in the market.

Every data team spends immense time and resources reinventing the wheel because none of the existing tools work end-to-end (and getting 5 different tools to work together properly is almost as much work as writing them all yourself). ML tools focus on just modeling; notebook tools are brittle, hard to maintain, and don’t help with ETL or operationalization; and orchestration tools don’t integrate well with the development process.

As a result, when we worked on data applications—things like a trading bot side-project, a risk scoring model at a startup, and a PLG (product-led growth) automation at a big company—we spent 90% of our time doing things that weren’t specific to the app itself: getting and cleaning data, building connections to external systems and software, and orchestrating and productionizing. We built Patterns to address these issues and make developing data and AI apps a much better experience.

At its core, Patterns is a reactive (i.e. automatically updating) graph architecture with powerful node abstractions: Python, SQL, Table, Chart, Webhook, etc. You build your app as a graph using the node types that make sense, and write whatever custom code you need to implement your specific app.

We built this architecture for modularity, composability, and testability, with structurally-typed data interfaces. This lets you build and deploy data automations and pipelines quickly and safely. You write and add your own code as you need it, taking advantage of a library of forkable open-source components—see https://www.patterns.app/marketplace/components and https://github.com/patterns-app/patterns-components.git .

Patterns apps are fully defined by files and code, so you can check them into Git the same way you would anything else—but we also provide an editable UI representation for each app. You work at either level, depending on what’s convenient, and your changes propagate automatically to the other level with two-way consistency.

One surprising thing we’ve learned while building this is that the problem actually gets simpler when you broaden the scope. Individual parts of the data stack that are huge challenges in isolation—data observability, lineage, versioning, error handling, productionizing—become much easier when you have a unified “operating system”.

Our customers include SaaS and ecommerce co’s building customer data platforms, fintech companies building lending and risk engines, and AI companies building prompt engineering pipelines.

Here are some apps we think you might like and can clone: 1. Free Eng Advice - a GPT-3 slack bot: (https://studio.patterns.app/graph/kybe52ek5riu2qobghbk/eng-a...) 2. GPT3 Automated Sales Email Generator: (https://studio.patterns.app/graph/8g8a5d0vrqfp8r9r4f64/sales...) 3. Sales lead enrichment, scoring, and routing: (https://studio.patterns.app/graph/9e11ml5wchab3r9167kk/lead-...)

Oh and we have two Hacker News specials. Our Getting Started Tutorial features a Hacker News semantic search and alerting bot (https://www.patterns.app/docs/quick-start). We also built a template app that uses a LLM from Cohere.ai to classify HN stories into categories like AI, Programming, Crypto, etc. (https://studio.patterns.app/graph/n996ii6owwi5djujyfki/hn-co...).

Long-term, we want to build a collaborative ecosystem of reusable components and apps. To enable this, we’ve created abstractions over both data infrastructure (https://github.com/kvh/dcp.git) and “structurally-typed data interfaces” (https://github.com/kvh/common-model.git), along with a protocol for running data operations in Python or SQL (other languages soon) in a standard way across any cloud database or compute engine.

Thanks for reading this—we hope you’ll take a look! Patterns is an idea I’ve had in my head for over a decade now, and I feel blessed to have the chance to finally build it out with the best co-founder on the planet (thanks Chris!) and a world-class engineering team.

We’re still early beta and have a long road ahead, but we’re ready to be tried and eager for your feedback!

Re: Launch HN: Patterns (YC S21) – A much faster way to build and deploy data apps

#2
It’d be great to show the debugging experience in the video (in fact, I’d prefer seeing that over the breadth of features). E.g. what happens when there’s a syntax error in my sql query or the python code fails on an invalid input?

That tends to be the critical make it or break it feature when you’re writing code in an app builder.

Re: Launch HN: Patterns (YC S21) – A much faster way to build and deploy data apps

#3
post #2

It’d be great to show the debugging experience in the video (in fact, I’d prefer seeing that over the breadth of features). E.g. what happens when there’s a syntax error in my sql query or the python code fails on an invalid input? That tends to be the critical make it or break it feature when you’re writing code in an app builder.

Agree, debugging is a critical user experience! In Patterns, you'll see the full stack trace and all logs when you execute Python or SQL.

Re: Launch HN: Patterns (YC S21) – A much faster way to build and deploy data apps

#5

This looks like a data equivalent of WordPress, and I don't mean that in a good way. What happens when someone no longer wants to use Patterns?

Good concern. All Patterns apps are fully defined by code that you can download. We're building our open source execution engine, once that lands you'll be able to self host forever if desired

Re: Launch HN: Patterns (YC S21) – A much faster way to build and deploy data apps

#7
Congrats on the launch! As an iOS dev who dabbles in ML, I'm having trouble understanding what you mean by "data applications" and who this is for. I'm guessing it's targeted at teams that crank out lots of small apps and therefore investment in learning your platform would make sense? It would be helpful if you gave clearer explanation of the use case(s), beyond the generic "customer data platforms, fintech companies building lending and risk engines, and AI companies building prompt engineering pipelines" (which, tbh, means nothing to me).

Re: Launch HN: Patterns (YC S21) – A much faster way to build and deploy data apps

#9
post #7

Congrats on the launch! As an iOS dev who dabbles in ML, I'm having trouble understanding what you mean by "data applications" and who this is for. I'm guessing it's targeted at teams that crank out lots of small apps and therefore investment in learning your platform would make sense? It would be helpful if you gave clearer explanation of the use case(s), beyond the generic "customer data platforms, fintech companie…

Our target audience are data engineers and scientists who are stitching together business apps like CRMs/email marketing tools etc, and building proprietary automations and analytics in between them like generating a customer health score and actioning on it.

One of the problems we’ve intended to solve is the separation of analytical systems (like all your pipelines for counting customers and revenue) and your automations (like do something on customer signup event).

Post reply on HN