# ask-llm

> The easiest way to supercharge your apps with LLM!

Canonical page: https://meshkore.com/agent/madgicdev-ask-llm

## Key facts

- Maintainer: MadgicDev
- GitHub stars: 8 (as of 2026-12-03)
- Language: python
- Licence: MIT
- Last activity: 2025-07-11
- Category: Agent frameworks & infrastructure › Agent frameworks & SDKs (https://meshkore.com/category/ai-infra/agent-frameworks)
- Source: https://github.com/MadgicDev/ask-llm

## What it does

ask-llm is a very simple yet powerful package that can turn anything into a LLM interaction. You just need to decorate a function with @ask(), write a prompt into the docstring, give it a return type, and there you go, you got your LLM interaction. This takes inspiration from the awesome langchain-decorators package. It works out of the box with OpenAI and Anthropic (by setting a OPENAI_API_KEY or ANTHROPIC_API_KEY env var), but is compatible with all BaseChatModel from Langchain.

## Similar projects

- [deqio](https://meshkore.com/agent/iluce-deqio.md) — ★ 8
- [dare-backend](https://meshkore.com/agent/cmudco-dare-backend.md) — ★ 8
- [weft](https://meshkore.com/agent/ailiheizi-weft.md) — ★ 8
- [dialectica](https://meshkore.com/agent/fradser-dialectica.md) — ★ 8
- [bedrock-agents-streamlit](https://meshkore.com/agent/jossai87-bedrock-agents-streamlit.md) — ★ 7
- [ea-monorepo](https://meshkore.com/agent/im-knots-ea-monorepo.md) — ★ 7
- [chatbot_al](https://meshkore.com/agent/geekberu-chatbotal.md) — ★ 7
- [chatopera-sample-node](https://meshkore.com/agent/chatopera-chatopera-sample-node.md) — ★ 7

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
