The Smarter Project 0.14.2 Documentation

Project Website Made with ❤️ by Contributors Forums Video Tutorials DockerHub ArtifactHub Contribute Donate AGPL-3 License

The Smarter Project is a cloud-native platform and developer framework for building, deploying, and managing AI applications. Using declarative Smarter Manifests, developers can define AI resources, prompts, workflows, agents, APIs, and integrations as version-controlled infrastructure, enabling repeatable deployments, governance, and lifecycle management across environments.

At the center of the platform is declarative AI resource management. Rather than manually configuring providers, prompts, APIs, databases, workflows, and deployment settings across multiple systems, developers describe their desired state in YAML manifests. Smarter handles resource provisioning, dependency management, versioning, governance, security, budget controls, and lifecycle operations, allowing teams to focus on building solutions instead of managing infrastructure, budgets, and operations.

The project combines three complementary capabilities. The Smarter Platform provides authoring & administration, deployment, operations, and governance. Smarter Resources define the building blocks of AI applications, including LLM providers, prompts, agents, plugins, connections, secrets, workflows, vectorstores, and integrations. The Smarter Development Framework provides APIs, SDKs, command-line tools, React components, and developer tooling for building enterprise AI applications on top of the platform.

Whether you are deploying a single AI assistant, integrating AI into existing business systems, or building large-scale multi-agent applications, Smarter provides a unified framework for managing AI resources throughout their entire lifecycle.

Usage

1. Create a Smarter manifest

Example Smarter Manifest
apiVersion: smarter.sh/v1
kind: LLMClient
metadata:
  name: stackademy_sql
  description: Stackademy University course catalogue inquiries using the Stackademy SQL plugin.
  version: 1.0.0
  tags:
    - stackademy
    - sql
    - llm_client
  annotations:
    - smarter.sh/llm-client/stackademy-sql/creator: QA Team
    - smarter.sh/llm-client/stackademy-sql/purpose: llm_client for Stackademy course catalogue inquiries
    - smarter.sh/llm-client/stackademy-sql/release-date: 2024-06-15
    - smarter.sh/llm-client/stackademy-sql/backward-compatibility: true
    - smarter.sh/llm-client/stackademy-sql/note: |
        Uses SQL plugin to answer course catalogue questions.
        Very fast and accurate when the database is well-structured.
        Leverages cache for improved performance.
spec:
  config:
    deployed: false
    provider: openai
    defaultModel: gpt-4o-mini
    defaultSystemRole: >
      You are a helpful assistant. When given the opportunity to utilize
      function calling, you should always do so. This will allow you to
      provide the best possible responses to the user. DO NOT GUESS. IF
        YOU DON'T KNOW THE ANSWER, RESPOND THAT YOU DON'T KNOW.
    defaultTemperature: 0.5
    defaultMaxTokens: 1024
    appName: Stackademy
    appAssistant: Stanley
    appWelcomeMessage: Welcome to Stackademy! How can I help you today?
    appExamplePrompts:
      - "Do you offer any courses on AI?"
      - "My budget is $1,000. What courses can I take?"
      - "I want to study programming. What do you suggest?"
    appPlaceholder: "Ask me anything about Stackademy courses..."
    appInfoUrl: https://stackademy.edu/online-courses
  plugins:
    - stackademy_sql
  functions: []

2. Apply the Manifest

smarter apply -f stackademy-llm_client-sql.yaml

3. Interact

Smarter Prompt Engineering Workbench Demo