SDKs and APIs

Everything in the console, from your own code

Official SDKs for Python, Node.js and Go give your software typed, complete access to your own Smarter installation, without customizing or forking the platform. They are clients of one published contract, so none of them can do anything your software can’t.

Official SDKs

Python, Node.js and Go

Chat with an assistant, apply manifests from CI, load documents into a vector database, or call your MCP servers’ tools. The three SDKs share one design, and the same configuration file as the CLI.

The reference SDK, on PyPI as smarter-api. Typed models of every resource, generated from the platform’s own schemas.

pip install smarter-api
from smarter import Smarter

client = Smarter()  # SMARTER_API_KEY, or the smarter cli's ~/.smarter/config.yaml

llmclient = client.llm_clients.find("customer_support")
response = client.llm_clients.prompt(llmclient.id, "Where is my order #1234?")
print(response.text)

Built on Smarter

Ask the Smarter SDK Guide

Ada answers from the SDKs’ current code and documentation, through the Smarter Project’s own MCP server, never from memory, and shows a runnable example in your language.

Smarter SDK Guide

Built and run on Smarter

Welcome! Tell me what you're building, and in which language, and I'll show you how to call Smarter.

Try asking

  • How do I send a prompt to an LLMClient from Python?
  • Show me how to apply a manifest with the Node.js SDK.
  • How does the Go SDK authenticate, and where does it read my api key?
  • What does smarter apply do, and which api endpoint does it call?
Open the live chat

Needs a ubc.smarter.sh login. Or run it yourself.

Developer tools

The rest of the toolkit

Write Smarter manifests with the same validation that smarter apply uses, before you apply them.

  • ✓Validation as you type
  • ✓Quick fixes for misspelled keys
  • ✓Completion and hover help
  • ✓Apply and deploy from the editor
secret.yaml
1apiVersion: smarter.sh/v1
2kind: Secret
3metadata:
4 name: openai_api_key
5 descripton: The OpenAI API keyUnknown key 'descripton' in metadata. Did you mean 'description'?
6 version: 1.0.0
7spec:
Smarter MCP Server
Ask your AI assistant

This platform answers questions about itself from its own code and docs, for any MCP client.

$ claude mcp add --transport http smarter-project https://ubc.smarter.sh/api/v1/mcp/smarter-project/
  • search_documentation
  • search_code
  • read_file