Stxck AI Stock Analyst 1.0

Designing and shipping a conversational research tool that shows its work: live market data, cited answers, risk-free practice.

Solo Designer & EngineerAI Research ToolEnd-to-End ProductPersonal Project
Visit Site

First load takes ~30s while the free server wakes.

Solo Designer & Engineer of Stxck, an AI Stock Analyst

0→1

Designed, built and shipped solo

11

Live market tools the analyst can call

82 kB

Gzipped first load

01

Background

1.1 About Stxck

Stxck is an AI stock analyst you talk to. You ask about a company or the market in plain English; it pulls live prices, fundamentals and news, explains what actually matters, and shows you every source it used. Then it lets you do something with the answer: add the ticker to a watchlist, set a price alert, backtest the idea, or buy it with virtual money.

I built it for the person researching their own money: someone who wants an analyst’s reasoning without an analyst’s vocabulary, and who would rather practise an idea than learn by losing on it. It is live, free, and open source.

9

Product surfaces designed

42

US large caps screened live

$100K

Virtual cash in every account

1.2 Owning the end-to-end build

There was no team. Every decision below (what to build, what it looks like, how it behaves when it breaks, and whether it was good enough to ship) was mine, across eight sprints.

Scope

Product definition: what an AI analyst should and should not do

logotokenstype scalemotion

Brand and design system, from the mark to the motion rules

9

Product surfaces, from the chat thread to the paper-trading ticket

React 1959 modulesno UI kit

Frontend engineering with hand-written CSS

Express14 endpointsSSE

Backend, API design and the streaming protocol

11 tools

Agent architecture: market tools and the system prompt

Desktop · home
Desktop · home
Phone · landing
Phone · landing
Phone · home
Phone · home

02

Why Build It

Ask a general-purpose chatbot what a stock is worth and it will tell you, confidently, from memory: a number that was true months ago. Ask a brokerage app the same question and it shows you a chart and no opinion. Neither closes the gap between understanding something and doing something about it. Three problems, in the order they bite:

The core problem

A number you can’t check is a number you can’t trust.

Chatbots answer from memory; brokerages show charts with no opinion. Neither closes the gap between understanding and doing.

Problem 01

The numbers can’t be checked

An AI answer reads the same whether the price came from a live feed or from memory. Readers either verify every figure by hand or trust it when they shouldn’t.

Problem 02

Insight and action live in different apps

You read an analysis in one tab and act in another. The context does not survive the switch, and the idea is usually abandoned in the gap.

Problem 03

Practice costs real money

There is no low-stakes way to find out whether your reasoning about a company was any good. Beginners learn by losing, or they don’t learn.

A finished Stxck answer about Nvidia
  1. 1

    Demo mode, labelled

    Which analyst answered is never ambiguous.

    honesty
  2. 2

    The card lands first

    Prices and ranges come from a tool call and render before the prose.

    problem 01
  3. 3

    Figures in context

    Every number in the paragraph matches the card above it.

    problem 01
  4. 4

    Sources, one tap away

    The pill expands to every feed the answer used.

    problem 01
  5. 5

    Four ways to act

    Watch, simulate, compare or paper-trade without leaving the answer.

    problem 02 · 03
  6. 6

    Ask next

    Three follow-ups that go deeper instead of repeating the buttons.

    momentum
  7. 7

    Insight rail

    The summary stays pinned while you keep reading or ask again.

    layout
A finished answer in the live build. Each marker answers one of the problems above.

03

Design Strategy

1Ship every sprint2Act without leavingAnswer as launchpad3Trust by constructionShow the work

Click a level of the pyramid to see the strategy behind it.

3.1 Ship something usable every sprint

Working alone, the main risk is not a bad decision; it is six weeks of invisible progress. So every sprint had to end with something I could open and use. Each sprint closed with tests, a production build and a click-through at phone and desktop widths, which is what produced the bug list in section 06.

3.2 An answer you can act on without leaving it

A stock answer is not a destination; it is a decision point. So every analysis ends in four one-tap paths (watch, simulate, compare, paper-trade) plus three generated follow-up questions. The research and the action share one surface, which is the whole reason the product exists.

3.3 Trust by construction

  1. The model may never state a price, return or date from memory, only from a tool call.
  2. Every step the analyst takes is visible while it runs, not summarised afterwards.
  3. When data is stale or unavailable, the interface says so in place rather than hiding it.

04

Key Design Decisions

Four decisions did most of the work. Each follows the same unit: the problem, the options, what I picked, the trade-off I accepted, and what it produced.

4.1 A three-zone shell that collapses to one

The first build put everything in the thread, and the thread became a scrolling archive where the watchlist you wanted was 2,000 pixels up. I tried tabs above the thread, a bottom sheet, and a persistent side rail. Tabs hid the market whenever you were reading; the sheet fought the composer for the same thumb. The rail won because it is the only one that lets you read an answer and watch a price at the same time.

The shipped shell is three zones: a narrow icon rail for navigation, the main column for the thread or current view, and a collapsible insight rail where a new analysis pushes its summary.

Where does the market live?

How do you read an answer and watch a price at the same time?

A

Tabs above the thread

Hid the market every time you were reading.

B

Bottom sheet

Fought the composer for the same thumb.

CChosen

Persistent side rail

The only option that shows the answer and the price together.

The shipped three-zone shell: icon rail, thread, and the insight rail open.
The shipped three-zone shell: icon rail, thread, and the insight rail open.
Trade-off

Three zones is a lot of width to ask for → below 1200px the rail closes by default and the icon rail becomes a slide-out drawer, which meant designing two navigation systems instead of one.

Outcome

One layout serves phone and desktop with no separate mobile build, and a ticker you are tracking stays visible while you read about it.

4.2 Streaming the work, not just the answer

An answer takes ten to thirty seconds because the analyst is making real network calls. The options were a spinner, a fake progress bar, or showing the actual steps. I built the third: a status line, the model’s summarised reasoning, and a live trail of tool calls, each marked running, done or unavailable. Cards appear the moment their data lands, so the price chart is usually on screen before the explanation starts writing.

The second-order effect was better error handling. A failed tool is a step that says unavailable, not a silent gap in a paragraph and not a whole answer lost.

Ten to thirty seconds of waiting

What should the screen show while the analyst works?

A

A spinner

Honest about nothing. The wait feels longer and proves nothing.

B

A fake progress bar

Pretends to know the timeline. It never does.

CChosen

The actual work

Status, reasoning and each tool call, live. The wait becomes evidence.

  1. Thinking: a status line appears the moment the question is sent
    1Thinking: a status line appears the moment the question is sent
  2. Tool running: “Pulling AMD price action”, with a stop button
    2Tool running: “Pulling AMD price action”, with a stop button
  3. The price card lands before a single word of the answer
    3The price card lands before a single word of the answer
  4. Complete: text, source pill, action row and “Ask next”
    4Complete: text, source pill, action row and “Ask next”
GET /api/chat · text/event-stream

# one stream, eight event types; every UI state maps to one of them

←event: status → “Reading your question”

←event: thinking → summarised reasoning, collapsible

←event: tool → get_price_history("AMD") · running

←event: card → price card renders before any prose

←event: text → the answer, streamed

←event: sources → the feeds behind every figure

event: done → action row + three “Ask next” chips

event: error → one step marked unavailable, never the whole answer

Captured in demo mode, which emits the same event stream as the live agent; demo answers arrive in about three seconds instead of ten to thirty.

Trade-off

Eight event types to design, each with its own loading, success and failure state → in exchange, the wait stops being dead time and becomes the evidence that the numbers are real.

Outcome

The slowest part of the product is the part that earns the most trust. A tool failure degrades one line instead of the answer.

4.3 Every answer is a launchpad

Every stock answer ends with an action row (Add to Watchlist, Simulate, Compare, Buy) followed by three generated follow-up questions that go deeper rather than repeating the buttons.

The sharp edge was trading. The agent may propose a paper trade, which opens a pre-filled order ticket; it is never allowed to fill one. Even with virtual money, an AI that executes orders because it inferred you wanted it teaches exactly the wrong reflex.

The action row and “Ask next” chips under a finished answer
The action row and “Ask next” chips under a finished answer
The trade ticket it opens: pre-filled, virtual money, waiting for a person to confirm
The trade ticket it opens: pre-filled, virtual money, waiting for a person to confirm
Trade-off

One extra tap on every trade, forever → no path, including a misread instruction, where an order is placed without a person confirming the ticket.

Outcome

Four one-tap routes out of every analysis, and a hard line between what the agent can prepare and what it can do.

4.4 Designing for the thing being unavailable

No API key: I built a second analyst that runs in the browser and answers structured questions from templates. It emits the same event protocol as the real agent, so every component on screen is the same code on both paths. The live site runs this way today, and the whole product is explorable without a key.

No market data: prices fall back to a frozen snapshot and get tagged Snapshot in place. Every asynchronous surface has a drawn loading, empty and error state.

● Demo mode

The browser analyst announces itself in the top bar.

Snapshot

Frozen prices are tagged in place, never passed off as live.

ContentRunningDoneUnavailable

Every tool step resolves to a named state.

Demo mode: a templated answer on live prices, the badge in the top bar.
Demo mode: a templated answer on live prices, the badge in the top bar.
Trade-off

A second analyst to keep in sync, and showing stale data instead of nothing → the staleness is labelled, so it informs rather than misleads.

Outcome

There is no first-run dead end and no blank screen. A network failure degrades the data, not the interface.

05

Impact

What shipped

A live, open-source analyst that shows its work, usable by anyone without an API key.

Stxck is a solo project with no analytics yet, so this section measures what was delivered rather than claiming traffic it does not have. Every figure is checkable in the repository or on the live site.

0→1

Shipped solo in 8 sprints

11

Live market tools the analyst can call

9

Product surfaces, phone to desktop

17

Automated tests, 0 lint errors

82 kB

Gzipped first load

100%

Of the product usable with no API key

Measured at the 1.0 release: 59 modules, 8,800 lines of JavaScript and 5,600 of hand-written CSS, on ten runtime dependencies and no component library.

06

Reflection

6.1 Key takeaways

Trust is an interface problem before it is a model problem

A better prompt did not make answers more credible. Showing the work did: the tool trail, the source list, the Snapshot tag. The model got no smarter; the interface stopped asking to be taken on faith.

The fallback is the product, not the exception

Demo mode began as a stopgap and became the way most people see the app. Whichever path users are most likely to land on is the primary path.

Working alone, the review has to be scheduled

Every bug worth mentioning was caught by looking at the running app at the end of a sprint. With no one else to catch them, the click-through had to be a ritual rather than a mood.

6.2 Next steps

  • Instrument it: privacy-respecting analytics on first question asked, action taken from an answer, and return visit.
  • Move state to the server: chats and portfolios live in one browser today. Postgres closes that.
  • Run alerts in the background: server-side checks plus email or push.
  • Put it in front of five people: ten minutes each, watching rather than explaining.

07

Other Designs

The work that does not fit a narrative section but shows the standard the rest was held to.

Error states

A tool that could not reach its data, a cut-off answer with a retry, a lost connection, an expired session, a card that crashed without taking the answer with it.

Empty states

An empty watchlist, a portfolio with no positions, a history with no chats, a screener filtered to nothing: each with one line of guidance and the action that resolves it.

Responsive layouts

One codebase from 375px to desktop: the insight rail collapses, the icon rail becomes a drawer, tables scroll inside their cards, modals become bottom sheets.

Product extensions

A landing page with a live ticker tape, a three-step onboarding flow, a ⌘K command palette, and the Stxck brand: mark, wordmark, loader and favicon.

Screener
Screener
⌘K command palette
⌘K command palette
Paper portfolio with $100,000 virtual cash
Paper portfolio with $100,000 virtual cash
Onboarding: step 1 of 3 tunes explanations to how you invest
Onboarding: step 1 of 3 tunes explanations to how you invest
Phone · landing
Phone · landing
Phone · home
Phone · home

Thanks for reading!

I’m always up for talking about AI products, design systems, or why your portfolio tool should show its sources. Reach out any time.