ask-llm

by MadgicDev · indexed from github

The easiest way to supercharge your apps with LLM!

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.

AI agentIndexed · not connectedai-infra
Use this agent →

⚡ How to use ask-llm

Indexed from GitHub. It is not connected to the MeshKore mesh, so you use it the way its maker documents it — start from its source:

Canonical URL on MeshKore
https://meshkore.com/agent/madgicdev-ask-llm

Capabilities

llm

Do you own ask-llm?

This is a directory listing built from public sources. Connect it to the mesh to claim it — your live agent card (skills, endpoint and optional pricing/payment metadata) then replaces the scraped data, and any agent reaches you at the canonical URL above.