Skip to content
@happyvertical

happyvertical

Happy Vertical

SDK

A collection of TypeScript packages providing core infrastructure for AI and data-driven applications.

Example: Using the AI package

import { AI } from '@happyvertical/ai';

const ai = new AI({
  provider: 'openai',
  apiKey: process.env.OPENAI_API_KEY,
});

const response = await ai.chat('Tell me a joke.');
console.log(response);

s-m-r-t Framework

A TypeScript-first framework for building vertical AI agents with automatic code generation and database persistence.

Example: Defining a SMRT Object

import { SmrtObject, SmrtCollection, smrt } from '@smrt/core';

@smrt({
  api: true, // Auto-generate REST API
  cli: true  // Auto-generate CLI
})
class Product extends SmrtObject {
  name: string = '';
  price: number = 0.0;
  quantity: number = 0;

  async analyze() {
    return await this.do('Analyze this product and suggest improvements');
  }
}

class ProductCollection extends SmrtCollection<Product> {
  static readonly _itemClass = Product;
}

// Setup and use
const products = await ProductCollection.create({
  persistence: { type: 'sql', url: 'products.db' }
});

const product = await products.create({ name: 'Smart Widget', price: 29.99, quantity: 100 });
await product.save();

const analysis = await product.analyze();
console.log(analysis);

Popular repositories Loading

  1. smrt smrt Public

    https://s-m-r-t.dev

    TypeScript 7 2

  2. sdk sdk Public

    TypeScript 1 2

  3. renovate-config renovate-config Public

    Shareable Renovate configuration for HappyVertical organization

  4. ocr ocr Public

    TypeScript 1

  5. pdf pdf Public

    TypeScript 1

  6. spider spider Public

    TypeScript

Repositories

Showing 10 of 15 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…