v0.43 Release: A New Web Console, and an API-Only Backend
v0.43 rebuilds the web console from the ground up. Until now, every console page was a Django page that embedded a React app, and every click loaded a new page from the server. In v0.43 the console is one React application. It loads once, then moves between pages without reloading, keeps what it has already fetched, and shows you the shape of a page while its data arrives.
The second change is just as large, though you won’t see it in a browser. The React code has moved to its own repository, smarter-sh/smarter-console. The smarter repository is now the API and the platform behind it, and installs a released, versioned build of the console. That removed more than 185,000 lines from the backend’s repository.
| Change | What it means for you |
|---|---|
| One single-page console | Every page, from sign-in to the Prompt Engineer’s Workbench, is one app that navigates in place, with the same addresses as before. |
| Faster, steadier pages | Lists and dashboard widgets are cached as you browse, pages show skeletons while they load, and the dashboard paints in about half the time on a slow network. |
| Public documentation pages | Example manifests, JSON Schemas and the OpenAPI reference for every resource kind, readable without signing in. |
| Safer accounts | Email verification on sign-up, rate-limited sign-in, and several access bugs closed. |
| An API-only backend | The console has its own repository, tests and releases, and the backend pins the console release it ships. |
| Static files from a CDN | The console’s scripts, styles and fonts load from your environment’s CDN, while pages, cookies and the API stay on your platform host. |
One console, one app
The console used to be dozens of Django pages. Each one built its own context on the server, rendered a template, and mounted a React app with its settings in HTML attributes. Moving from the dashboard to the Secrets list threw away everything the browser had and started again.
Now the console is a single-page application. The browser downloads it once. After that, a click changes the page in place, and the sidebar, header and user menu stay where they are. The console learns who you are, which account you’re in and what you may see from one call, GET /api/web/session/, and reads everything else from the API.
Every page moved, one at a time.
- Sign-in and accounts. Sign in, sign up, password reset, account activation, and the pages for inactive accounts and social sign-in.
- The dashboard, with its widgets, global search, Getting Started and Budget vs Actual chart.
- All 17 resource lists, from API Keys and Budgets to Vectorsearches and Vectorstores.
- The manifest pages of every resource kind, with the manifest editor.
- The Extensions console, the manifest drop zone, Prompt Passthrough and the terminal.
- The Prompt Engineer’s Workbench, with Smarter Chat, the Manifest, Architecture, Server Logs, Tool Calls, Config and Deployment tabs.
- The documentation pages under
/docs/.
Every page kept its address, so bookmarks, emailed links and links in your own documentation still work.
What changed in the frame
- A theme menu. Choose Light, Dark or System from the header, and the console remembers it.
- The welcome tour, onboarding hints and Did you know? tips now run in the console itself, below the product’s name in the header.
- The sidebar shows what you may use. The Terminal and Infrastructure Resources appear for superusers only, and the Django admin link for staff only. The old sidebar showed the admin link to every user.
- A real error page. A page that fails shows an error page inside the console, with Reload and Return Home, instead of a bare error. A browser tab left open across a release reloads once to pick up the new version, rather than failing.
- A logo you can read at the top of the sidebar again.
Faster, and calmer on a slow network
A single-page app makes caching possible, and v0.43 uses it.
- Pages don’t redraw on every click. Lists, the dashboard’s widgets and Budgets are kept in memory as you browse, using TanStack Query. Going back to a page shows it at once, then refreshes it quietly in the background. The cache starts empty for each user and account, and the session is checked again when you return to the browser tab.
- Skeletons instead of spinners. While a page, a tab, a dialog or a list loads, the console shows grey placeholders in the shape of what is coming, the way YouTube or LinkedIn do. List rows, dashboard widgets and charts each have their own.
- A splash screen from the first paint. The console’s page now paints a dark splash with the project’s name before anything else has downloaded, even on a slow network. It stays at least 1.2 seconds, long enough to read, and on a slow connection a light sweeps across it so you can see that something is happening. The sign-in pages, and visitors who aren’t signed in, skip it.
- The dashboard paints in half the time. Under Chrome’s Slow 4G emulation, the time until the dashboard’s main content appears fell from 5.7 seconds to about 3.0, and the layout shift as it loads fell from 1.39 to 0.02, well under the 0.1 that Google counts as good. Images and charts below the fold load only when you scroll to them, and the dashboard’s header art is a 4 kB drawing instead of a 54 kB image.
- One font file, from your own server. The console’s text font, Inter, used to come from Google Fonts as five files from two other hosts. It is now one 47 kB file, served with the console and preloaded.
The first screen of the console is 155 kB, compressed, and a check in the console’s build fails if it grows past 175 kB.
Documentation pages anyone can read
The /docs/ pages used to require a sign-in, although the API they describe is public. They had their own frame, sales copy, and 50 separate views, one for each page of each resource kind.
They are now public pages of the console.
- Example manifests and JSON Schemas for all 25 resource kinds, each on its own page.
- The OpenAPI reference, rendered with Scalar, for every route of the API.
- The OpenAPI document has a new address,
/api/v1/openapi.json, beside the API it describes. The old address,/docs/openapi.json, redirects there.
Safer accounts
Moving the sign-in pages to the API was a chance to look at each of them again. Several problems turned up, and all of them are fixed.
Security
- Email verification. A password sign-up used to create an active, signed-in account at once, so anyone could hold an account on an address that wasn’t theirs. A new account is now inactive until its owner follows the link that Smarter emails them, and the link works once.
- Rate limits on credentials. Sign-in, sign-up and password reset requests are limited to 10 a minute per IP address, together. Above that, Smarter answers 429 with a Retry-After header.
- No more account discovery. Sign-in used to answer an unknown address differently from a wrong password, which told anyone which addresses had accounts. Both now get the same answer.
- A staff page that could grant superuser is gone. An old, unlinked account page could edit every field of any user, including making them a superuser. It has been removed, along with about a dozen other dead pages.
- Registration means what its switch says. Self-registration used to accept sign-ups while
ENABLE_ACCOUNT_REGISTRATIONwas off, because only the link was hidden. The server now refuses them. - Signing out takes a POST. A plain link to
/logout/used to sign you out, so any page could do it to you. Sign-out is now a POST to the API. - Two read leaks closed. Since v0.33.5, any signed-in user could read another account’s LLMClient manifest by its id, and any signed-in user could read any Budget’s details. Both now answer 404, as for a resource that doesn’t exist.
An API-only backend
This is the change contributors will feel most. The web console has moved, with its full git history, to smarter-sh/smarter-console. The smarter repository is now the Django API, the platform’s background work, and the Helm chart that deploys them.
- Two repositories, two toolchains. Backend contributors no longer build, lint or test a React workspace of 36 packages. Front-end contributors run the console’s tests and Storybook against mocks of the API, and need a local Smarter backend only to try a page against real data.
- A pinned console release. Each console release publishes its build as a tarball. The backend names the release it ships in
smarter-console-version.txt, andmake consoleinstalls it. Upgrading the console is a one-line change with its own tests, and a backend release always ships a tested, versioned console. - Tests where the code is. The console has its own suite, more than 2,100 Vitest tests, plus Storybook, ESLint and Playwright end-to-end tests, and its own release workflow. The backend’s CI runs only the Python suite, in eight parallel shards.
- The full Python suite on your own machine, in 11 minutes.
make docker-test-shardedruns the same eight shards at once, each in a Docker stack of its own, and prints one report. The whole suite, more than 7,200 tests, took 11 minutes with 16 CPUs given to Docker. - The npm packages moved too.
@smarter.sh/ui-chatand@smarter.sh/ui-widgetsare now published from the console’s repository. The embed snippet for Smarter Chat uses@smarter.sh/ui-chat@1. - Contracts keep the two sides honest. The session API, the chat API and the OpenAPI document are generated from Pydantic models here and copied into the console, which generates its TypeScript types from them. A weekly job checks every copy against its source.
📖 How the backend and the console fit together
Static files from your CDN
A new setting, SMARTER_STATIC_FILES_ON_CDN, moves the platform’s static files to the environment’s S3 bucket and serves them from its CDN. That includes the console’s scripts, styles and fonts. The page itself, your session cookie, the API and the terminal’s WebSocket stay on your platform host, so nothing about sign-in, CORS or CSRF changes.
- Uploaded on every deployment.
initialize_platformuploads the files when a deployment starts. Until the new build is on the CDN, the platform keeps serving it from its own pods, so a page never asks the CDN for a file it doesn’t have yet. - On in every environment that the project’s deploy workflow manages. Plain Kubernetes installs, and local development, keep serving static files from the server.
Web console improvements
- The workbench opens on your platform’s own host. The LLMClient list’s Workbench button used to open a separate host.
- Eleven lists lost a Chat icon that led to a workbench they don’t have. Only LLMClients have one.
- The welcome email shows the real console. The graphic in the email that new users receive was stock artwork of another product. It now shows Smarter’s dashboard, LLMClient list and a Stackademy chat.
Fixes and operations
- The api has a new name in Docker and Kubernetes. Its container, Deployment and Service are now
smarter-api, since the backend no longer serves a front end. The Helm chart ran both names for one release, so the rename dropped no request, and Smarter pointed every deployed LLMClient’s ingress at the new name on its own. - Quieter logs. A chat request for an LLMClient that no longer exists, usually a widget still configured for a deleted one, wrote an error before its correct 404. It is now logged at INFO.
- Smarter’s own MCP server indexes the console. The repositories that Smarter’s code search and file tools read now include smarter-console.
- End-to-end tests no longer send email. Test accounts that needed an admin got a real one, whose welcome email was sent for real. Their admins are now test accounts too, and their email is quiet.
Upgrading
- Developers. Remove the old api container once, with
docker rm -f smarter-app, then runmake console,make collectstaticandmake build. Without a console build, every console page answers 503. Themake react-*targets are gone. React work happens in smarter-console. - Helm. The api’s objects are named
smarter-api. v0.43.0 runs them under both names. In v0.43.1, the old name is off by default. If you upgrade straight from a release before v0.43.0 and your own ingresses name thesmarterService, setapp.legacyName.enabled: truefor that upgrade, point your ingresses atsmarter-api, then upgrade again without it. - Static files on a CDN.
SMARTER_STATIC_FILES_ON_CDNis off by default. Turning it on needs AWS, a CDN in front of the environment’s S3 bucket, and these S3 permissions for the deploy user on that bucket,s3:PutObject,s3:PutObjectAcl,s3:GetObjectands3:ListBucket. - New sign-ups verify their email. Existing, active users are not affected. Make sure your platform can send email before you rely on self-registration.
- Moved and removed routes.
GET /logout/is gone, and signing out is a POST to/api/web/account/logout/. The user menu’s endpoints moved from/account/dashboard/to/api/web/account/, and the workbench’s from/workbench/llm-clients/<id>/to/api/web/prompt/llm-clients/<id>/. The old paths answer 404. The OpenAPI document moved to/api/v1/openapi.json, and its old address redirects. - Embedding Smarter Chat. Use
@smarter.sh/ui-chat@1. The@0tag stays on the last 0.x release. - No database migrations in this release.
What’s next
With the console in its own repository, it can move at its own pace. Next are the rest of the slow-network work, such as a smaller theme stylesheet and lighter icon fonts, and more of the console’s own pages built on the API alone.
The full list of changes is in the changelog, and the decision behind the new console is ADR-035. To try the release, start with the documentation, or browse the code of the API and the web console on GitHub.
