Smarter Development Framework
The Smarter Development Framework is an opinionated, cloud-native application framework for building, deploying, and managing AI-powered applications at scale. Developers declare AI resources, services, configurations, and dependencies in Smarter Manifests, a standardized YAML specification, and the platform does the rest: deployment, governance, cost management, versioning, and operations.
Around the platform is an ecosystem of open-source packages, each published to the registry its users already know: PyPI, npm, Homebrew, APT, Chocolatey, the VS Code Marketplace, Docker Hub, Artifact Hub, and Go modules. Every one of them is a client of the same Smarter API and its OpenAPI contract, or a building block that the platform and those clients share.
At the center of the framework is declarative resource management: a manifest declares what a resource should be, and the Smarter Broker Model makes it so. Smarter is built on Kubernetes, Docker, Django, React, TypeScript and Pydantic.
Architecture
How the platform is built, and how it runs: its layers, the broker that turns each manifest into a running resource, and how it runs on Kubernetes, or in Docker on a developer’s computer.
APIs, SDKs and Integrations
Every way to work with a Smarter platform from your own code and tools: manifests, the REST API and its OpenAPI contract, the CLI, the SDKs, Smarter Chat, and the website integrations built on it.
Extending Smarter
Adding tools that LLMClients can call: Plugins, which are manifests, and Extensions, which are Python packages installed at run time.
Developing Smarter
For contributors to Smarter itself: the developer guides, the reference of its Python code, and the technologies it is built on, and recommended material for learning them.
Open-Source Packages
All of these packages are open source, and their source is in the smarter-sh organization on GitHub.
Command Line and Editor
The Smarter CLI, smarter, works like kubectl: it
applies, describes, deploys and deletes resources from a terminal or a shell script.
# macOS and Linux, with Homebrew
brew tap smarter-sh/tap https://github.com/smarter-sh/homebrew-tap
brew trust smarter-sh/tap
brew install smarter
# Ubuntu
sudo add-apt-repository ppa:lpm0073/smarter-cli
sudo apt-get update
sudo apt-get install smarter-cli
# Windows
choco install smarter
It is also a Docker image, mcdaniel0073/smarter-cli, and a binary for every platform on its releases page.
Package |
Published on |
What it is |
|---|---|---|
|
Homebrew, Ubuntu APT, Chocolatey, Docker Hub |
The Smarter CLI. |
Smarter Manifest |
The VS Code extension: validation and completion of manifests as you type, and the CLI’s validate, apply and deploy commands. |
SDKs
Libraries that give your own software typed, complete access to a Smarter platform. They have the same resources, verbs and errors in every language.
Package |
Published on |
What it is |
|---|---|---|
|
The Python SDK, |
|
|
The Go SDK,
|
|
|
The Node.js SDK, for JavaScript and TypeScript. |
Chat and Web Components
Package |
Published on |
What it is |
|---|---|---|
|
Smarter Chat, the chat UI of a deployed LLMClient: a
React component, |
|
|
The web console’s dashboard widgets, which smarter.sh also uses. |
The integrations for WordPress, Drupal, Shopify, Google Tag Manager, and Docusaurus, MkDocs and Sphinx documentation sites are built on Smarter Chat’s embed script, and add a deployed LLMClient’s chat to a site from a settings screen.
Running the Platform
Package |
Published on |
What it is |
|---|---|---|
|
The platform’s Docker image. |
|
|
Smarter on Kubernetes,
|
Extensions
Smarter is extended in two ways, with Plugins and Extensions: Plugins are YAML manifests that configure Smarter’s built-in tool patterns, and Extensions are Python packages that platform administrators install at run time, from the signed index in smarter-sh/extensions-registry. Ready-made manifests for every kind are in smarter-sh/example-manifests.