Skip to content
System One

research_desk

A live market news desk that takes yfinance headlines and returns ranked trade ideas, running 215 typed judgments through Jev per pass in 2.7 seconds for about a quarter of a cent. Built with Claude Code and TypeSafe's agent skill.

0xnairb/research_desk on GitHub

Stars
2
Forks
0
Language
Python
Last push
18 Sep 2026

Post on X

Views
599
Likes
1
Reposts
0

Read from GitHub and X on . Counts change daily.

How it uses Jev

answers: dict[str, Any] = {}
response = None
try:
    response = await self.client.system_one(state, questions, model=MODEL)
except TypeSafeAPIError as exc:
    error = f"{type(exc).__name__}: {exc}"
except Exception as exc:  # noqa: BLE001 - surfaced to the UI, never swallowed
    error = f"{type(exc).__name__}: {exc}"
elapsed = time.perf_counter() - started

if response is not None:
    for key, answer in response.answers.items():
        answers[key] = msgspec.to_builtins(answer)

View in app/desk/pipeline.py

Open on GitHub

PrimitivesScore

More like this

Use cases this is tagged with