Smarter AI Resource Reference
Smarter Resources are a combination of LLM Provider APIs, SQL database data, AWS cloud infrastructure, and Kubernetes resources that work in concert to provide configurable, secure, scalable and performant AI-powered building blocks for developers, data scientists and prompt engineers.
Smarter Resources are declared using Smarter Application Manifests (SAM), which are YAML files that define the desired state of each resource. Smarter’s declarative approach allows for easy versioning, change management, and collaboration among team members. And importantly, SAM files are human-readable, infrastructure-as-code documents that can be reviewed and understood by non-developers, like business analysts and product managers.
apiVersion: smarter.sh/v1
kind: Secret
metadata:
description: |
An example secret manifest. This is a real credential used for authenticating to
the Smarter Remote SQL test database. This is a public-access test database
used for development and testing purposes only. Do not use this credential
for production purposes. Password value is the same as the user.
See the annotations below for connection details.
name: smarter_test_user
version: 1.1.0
tags:
- example
- test
- stackademy
annotations:
- smarter.sh/test-db/host: sql.lawrencemcdaniel.com
- smarter.sh/test-db/port: "3306"
- smarter.sh/test-db/db: smarter_test_db
- smarter.sh/test-db/user: smarter_test_user
- smarter.sh/test-db/pwd: smarter_test_user
- smarter.sh/test-db/access: anyone can access this test database
spec:
config:
description: smarter_test_user password. Password value is the same as the user.
value: smarter_test_user
Smarter manifest files are processed by the Smarter CLI, which interacts seamlessly and securely with the Smarter API to provision, update, and manage the lifecycle of Smarter Resources. The Smarter Project maintains a VS Code Extension that provides syntax highlighting,
Smarter considers the entire lifecycle of an AI resource, from declaration through provisioning, testing, deployment, scaling, monitoring, maintenance, change management, and its eventual sunsetting. Smarter considers the technical capabilities of the various team member roles, and provides usable tools and abstractions for each.
Prompt engineers work with Smarter YAML manifests and the Smarter CLI.
Business Process Analysts work with Smarter’s MySQL database and reporting tools.
Application developers work with Python and the Smarter Application Framework, and it’s built-in REST APIs.
Data scientists work with Python
DevOps engineers work with Smarter CLI, GitHub Actions, and Kubernetes.
Cloud engineers work with Smarter’s AWS and Kubernetes Helpers classes.