Search Stack Overflow and read top answers from Omi conversations.
This is a standalone no-auth Omi app backed by the public Stack Exchange API. It does not require environment variables, OAuth, or a Stack Exchange API key.
search_questions: search Stack Overflow or another Stack Exchange site by query, optional tags, and accepted-answer status.get_question: fetch a specific question by ID with title, metadata, tags, link, and body excerpt.get_top_answers: fetch the highest-voted answers for a question.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload --port 8080Health check:
curl http://localhost:8080/healthTool manifest:
curl http://localhost:8080/.well-known/omi-tools.jsonSearch Stack Overflow:
curl -X POST http://localhost:8080/tools/search_questions \
-H "Content-Type: application/json" \
-d '{"query":"fastapi dependency injection", "tags":"python;fastapi", "limit":3}'Fetch top answers:
curl -X POST http://localhost:8080/tools/get_top_answers \
-H "Content-Type: application/json" \
-d '{"question_id":11227809, "limit":2}'The app is ready for Railway or Heroku-style deployment:
Procfilestarts uvicorn on$PORTrailway.tomldefines the same start command and/healthcheckruntime.txtpins Python 3.11
Unauthenticated Stack Exchange API calls are rate limited by Stack Exchange. The app keeps responses concise and caps result limits to reduce quota usage.