<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/semlib-semantic-data-processing-pvszqxnpf" -->

---
title: Semlib: Semantic Data Processing | daily.dev
description: Semlib is a Python library that brings functional programming primitives (map, reduce, sort, filter) to LLM-powered data processing pipelines. Instead of...
canonical: https://daily.dev/posts/semlib-semantic-data-processing-pvszqxnpf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Semlib: Semantic Data Processing | daily.dev
og:description: Semlib is a Python library that brings functional programming primitives (map, reduce, sort, filter) to LLM-powered data processing pipelines. Instead of...
og:url: https://daily.dev/posts/semlib-semantic-data-processing-pvszqxnpf
og:image: https://api.daily.dev/og/posts/pvsZQxNPF.png
og:image:alt: Semlib: Semantic Data Processing
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Semlib: Semantic Data Processing

**[Anish Athalye](https://daily.dev/sources/anishathalye)** · 10 min read · 1 upvotes · 0 comments

## Summary

Semlib is a Python library that brings functional programming primitives (map, reduce, sort, filter) to LLM-powered data processing pipelines. Instead of dumping all data into a single LLM prompt, Semlib structures complex tasks into smaller, concurrent sub-tasks described in natural language, improving quality, reducing cost, and handling arbitrarily large datasets. The author built it while automating performance review synthesis for their engineering team, finding the structured multi-step approach outperformed single-shot prompting with Claude. Semlib handles prompting, parsing, concurrency, caching, and cost tracking under the hood, and is positioned as a simpler, more practical alternative to research systems like DocETL, LOTUS, and Palimpzest.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://anishathalye.com/semlib/>

## Similar posts on daily.dev

- [Auto semantic layer: From Sakila to Chat-BI with BSL and dltHub](https://daily.dev/posts/auto-semantic-layer-from-sakila-to-chat-bi-with-bsl-and-dlthub-pe295zj95) · dltHub · 3 upvotes · 0 comments
- [GitHub - MinishLab/semble: Fast and Accurate Code Search for Agents. Uses ~98% fewer tokens than grep\+read](https://daily.dev/posts/github---minishlab-semble-fast-and-accurate-code-search-for-agents-uses-98-fewer-tokens-than-gre-lb2zru47u) · Hacker News · 0 upvotes · 0 comments
- [We measured what a semantic layer is actually worth to an AI agent](https://daily.dev/posts/we-measured-what-a-semantic-layer-is-actually-worth-to-an-ai-agent-1xc7gjlvq) · Medium · 1 upvotes · 1 comments
- [Automate Writing Your LLM Prompts](https://daily.dev/posts/automate-writing-your-llm-prompts-yv2mxht51) · Towards Data Science · 0 upvotes · 0 comments
- [Open Source Extraction Service](https://daily.dev/posts/open-source-extraction-service-v9yijohcv) · LangChain · 0 upvotes · 0 comments

---

Tags: [#context-engineering](https://daily.dev/tags/context-engineering), [#data-processing](https://daily.dev/tags/data-processing), [#llm](https://daily.dev/tags/llm), [#python](https://daily.dev/tags/python)

[View this post on daily.dev](https://daily.dev/posts/semlib-semantic-data-processing-pvszqxnpf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Semlib: Semantic Data Processing","url":"https://daily.dev/posts/semlib-semantic-data-processing-pvszqxnpf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/semlib-semantic-data-processing-pvszqxnpf"},"datePublished":"2026-03-31T12:29:17.035Z","dateModified":"2026-04-23T02:14:16.293Z","description":"Semlib is a Python library that brings functional programming primitives (map, reduce, sort, filter) to LLM-powered data processing pipelines. Instead of...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bc6e4069876a8d8269b882867e27c1f3?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bc6e4069876a8d8269b882867e27c1f3?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Anish Athalye","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Anish Athalye","logo":"https://media.daily.dev/image/upload/s--eU7i6Qkh--/c_limit,w_256/f_auto,q_auto/v1774960043/logos/anishathalye?_a=BAMAMiWQ0","url":"https://daily.dev/sources/anishathalye"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/semlib-semantic-data-processing-pvszqxnpf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"context-engineering,data-processing,llm,python","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Anish Athalye","item":"https://daily.dev/sources/anishathalye"},{"@type":"ListItem","position":3,"name":"Semlib: Semantic Data Processing"}]}
```

