[Integration]: AI Stupid Level

Open Beginner friendly
#764 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 13 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
ai, documentation

Research direction

Read the draft integration page at integrations/aistupidlevel.md and compare its examples with the reported runs using haystack-ai 3.5.0. The proposed entry should explain the routing modes, pinned model ids, and use with an Agent tool; done means a reviewed PR links this issue and lists the integration accurately. The issue says the authors will open that PR after approval.

Written by the indexing model from the issue text.

Description

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

AI Stupid Level

Integration type

Model Provider

Published package or repo (if it exists)

No package of our own. AI Stupid Level's Smart Router is an OpenAI-compatible endpoint (https://aistupidlevel.info/v1), so it works with the stock OpenAIChatGenerator in haystack-ai. As on the TrustedTokens page (#671), the draft page's pypi and repo fields point to haystack-ai and deepset-ai/haystack. Draft integration page: https://github.com/StudioPlatforms/haystack-integrations/blob/add-aistupidlevel/integrations/aistupidlevel.md. Site: https://aistupidlevel.info

Need or proof of use

Use case: a Haystack generator or Agent that passes a routing mode such as auto-coding or auto-tooling as model, so the router chooses the model for each request from AI Stupid Level's coding, reasoning or tool-use rankings. Users add their own OpenAI, Anthropic, Google, DeepSeek, Moonshot (Kimi) or Z.ai (GLM) keys, the provider bills them directly, and the router adds no token markup. The reply's meta["model"] names the model that answered.

What we ran today: the page's two examples with haystack-ai 3.5.0 on Python 3.12, unchanged apart from the base URL, which pointed at a local proxy that adds our sandbox header. In sandbox mode the router makes its real routing decision, then returns a placeholder answer instead of calling the provider.

  • OpenAIChatGenerator with model="auto-coding": a reply came back, and meta["model"] was claude-opus-5-5, the model the router chose.
  • Agent with model="auto-tooling" and a weather(city) tool: the model called weather, the tool ran, and the final answer used its result.
  • Pinning a model id (claude-sonnet-5) instead of a mode also works.

We don't have a public third-party pipeline to link yet.

Short description

Lets a Haystack user send a routing mode instead of a fixed model name, through the stock OpenAIChatGenerator and with their own provider keys, so there is nothing extra to install. The draft page shows the generator on its own and inside an Agent with a tool, and lists the routing modes. This was #677, closed today when the proposal process started; we'll open a new PR linking this issue once it's approved. Disclosure: we are the AI Stupid Level team.

Dominant language
Python
Stars
114
Forks
324
Avg merge
7d 2h
Merged PRs (30d)
13

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from deepset-ai/haystack-integrations

All issues in deepset-ai/haystack-integrations

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.