Better HN
topnewbestaskshowjobs
Log inSign up

heycesr

39 karma · joined Jun 21, 2016 (10y ago) · 41 submissions

founder at latitude.so
Submissions

comment 9mo ago · link · parent

Thanks, let me know how it goes

2.

Show HN: Poncho, a general agent harness built for the web(github.com ↗)

4 points · by heycesr · 9mo ago · 2 comments

comment 1y ago · link · parent

TL;DR: We built PromptL, an open-source templating language for AI prompts, because we were frustrated with how messy prompt engineering had become. PromptL lets you write prompts in a structured, reusable way: with variables, logic, and multi-step workflows. No more hard-coded strings or copy-pasting between AI calls. We hope it makes prompt development more reliable and collaborative, and we’d love to share why and how we built it.

Over the past year, we worked a lot with LLMs. We constantly found ourselves wrestling with prompts: embedding variables into giant strings, stitching together calls, and juggling many slightly different versions. It felt like trying to write a program without a programming language.

We weren’t alone. Most teams manage prompts as plain text or JSON, leading to:

- Repetition and inconsistency - Hard to maintain structure - Poor readability - Clumsy collaboration

So we built PromptL to bring the benefits of a markup language to prompt design. In PromptL, you write a declarative prompt script with system/user messages, variables, and logic. A compiler turns this into something any LLM API can use (OpenAI, Anthropic, etc.).

Here's a quick taste of what PromptL looks like in action:

```

---

model: gpt-4o

temperature: 0.7

---

You are a helpful coding assistant.

<user>

Generate unit tests for the following function:

{{ code_snippet }}

</user>

```

This prompt:

- Defines model settings - Includes a system role message in plain text - Has a user block with a {{ code_snippet }} placeholder

Much easier than managing raw JSON or string concatenation. If you want to change something, just edit the template. PromptL handles formatting and interpolation automatically.

We built in features that we felt were missing in our prompt workflows:

1. Variables: Define once, reuse anywhere. No more brittle string concat.

2. Role blocks: <system>, <user>, <assistant> make multi-turn prompts easy to follow.

3. Control flow: Add basic logic: if/else and loops. Great for adapting prompts to context.

4. Chaining: Compose multiple steps in a workflow. For example, one prompt to analyze, another to act.

5. Multi-modal placeholders: Include non-text inputs (like images) cleanly in templates.

6. Provider-agnostic: PromptL compiles to a standard message array usable with any LLM. Built-in adapters for OpenAI, Anthropic, and open-source models.

We kept the syntax simple. If you know basic YAML/Markdown and a little programming logic, you can use PromptL. That was important, we wanted non-engineers to help build and edit prompts. At our company, even non-devs are tweaking PromptL files now.

Why did we build this?

We weren’t sure a “prompt language” was necessary. But once we built a prototype, we were hooked. It let us iterate faster: no more writing glue code for each prompt change, just edit the template and recompile.

We shared it with a few devs and got great feedback: they saved time and could iterate faster. That led to new features like chaining and control flow. PromptL is now at v0.5.4. Still early, but stable and usable.

We open-sourced it because we believe prompt engineering needs better tools and shared standards. You can find the compiler and spec on GitHub. Contributions welcome!

We’re excited (and a little nervous) to finally launch PromptL. Our goal is to start better conversations about prompt design and offer a tool we found useful. Even if PromptL isn’t the final answer, we hope it helps move things forward.

If you're curious, check out the repo or our docs. There’s a quick start guide and example templates. We’ll be hanging out in the comments, ask us anything!

Thanks for reading, and thanks to HN for inspiring tools like this. We built PromptL to make our lives easier. Maybe it can help you too.

4.

Show HN: Latitude Agents, the first autonomous agent platform built for the MCP(latitude.so ↗)

6 points · by heycesr · 1y ago · 2 comments

5.

Show HN: Latitude, open-source prompt playground for teams(github.com ↗)

1 points · by heycesr · 1y ago · discuss

6.

Show HN: PromptL, a templating language designed for LLM prompting(promptl.ai ↗)

7 points · by heycesr · 2y ago · 4 comments

comment 2y ago · link · parent

Works for me!

8.

Show HN: File-over-App Directory(fileoverapp.latitude.so ↗)

7 points · by heycesr · 2y ago · discuss

9.

Ask HN: What products other than Obsidian share the file over app philosophy?

26 points · by heycesr · 2y ago · 14 comments

comment 2y ago · link · parent

Similar ethos, but we built the framework with SQL at its core instead of Python, which makes it ideal for working with databases or data warehouses.

11.

Show HN: Latitude – Open-source framework for building data apps using SQL(github.com ↗)

11 points · by heycesr · 2y ago · 3 comments

12.

Show HN: See your UA and Google Analytics 4 data in the same place(latitude.so ↗)

1 points · by heycesr · 3y ago · discuss

13.

Decoding Tom Brady's Stats with SQL(blog.latitude.so ↗)

2 points · by heycesr · 3y ago · discuss

14.

Write Faster SQL with AI(blog.latitude.so ↗)

2 points · by heycesr · 3y ago · discuss

15.

Show HN: Multiplayer Data Exploration(latitude.so ↗)

1 points · by heycesr · 4y ago · discuss

16.

How to Effectively Build Software(geclos.substack.com ↗)

6 points · by heycesr · 4y ago · discuss

17.

Ask HN: What does an office you would want to go back to look like?

3 points · by heycesr · 5y ago · 4 comments

comment 5y ago · link · parent

Not open source nor self-hosted AFAIK, but it sounds like you're looking for something like Retool (https://retool.com)

comment 6y ago · link · parent

Shameless plug: I built Typehut[1] for use cases like this, spinning up a super quick blog/publication that people can subscribe to.

Custom templates and domains are built-in too.

[1] https://typehut.com

comment 6y ago · link · parent

I'm working on Typehut, a super-simple publishing platform for blogs, newsletters, changelogs, devlogs, etc.

Currently adding support for private sites and fully custom templates, to enable more use cases.

https://typehut.com/

21.

How to build and launch a SaaS in 30 days(blog.typehut.com ↗)

7 points · by heycesr · 6y ago · discuss

comment 6y ago · link · parent

Hmm, works on my side. What’s the error you’re seeing?

comment 6y ago · link · parent

Shameless plug: I built https://typehut.com as a simpler alternative to classic blog and publishing systems. It's super easy to get started and it has some nice things like email subscriptions built-in.

If anybody tries it out let me know!

24.

Show HN: Typehut, a super simple publishing platform(typehut.com ↗)

3 points · by heycesr · 6y ago · discuss

comment 6y ago · link · parent

Hmm nope, I'm not familiar with TipTap. The text editor is actually just a textarea, nothing fancy :)
12