Skip to content
@happyvertical

happyvertical

Happy Vertical

graph TD
    SDK["Layer 1: SDK<br/>Core infrastructure and utilities"]
    SMRT["Layer 2: SMRT Framework<br/>Smart objects, collections, and code generation"]
    Agents["Layer 3: Agents<br/>Vertical AI agents for specific domains"]
    Products["Layer 4: Products<br/>End-user applications and knowledge bases"]

    SDK --> SMRT
    SMRT --> Agents
    Agents --> Products

    classDef sdk fill:#FF9800,stroke:#fff,stroke-width:2px,color:#fff;
    classDef smrt fill:#2196F3,stroke:#fff,stroke-width:2px,color:#fff;
    classDef agents fill:#8BC34A,stroke:#fff,stroke-width:2px,color:#fff;
    classDef products fill:#4CAF50,stroke:#fff,stroke-width:2px,color:#fff;

    class SDK sdk;
    class SMRT smrt;
    class Agents agents;
    class Products products;
Loading

The 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);

The SMRT 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

    smrt framework for building vertical ai agents in typescript

    TypeScript 1

  2. sdk sdk Public

    TypeScript

  3. renovate-config renovate-config Public

    Shareable Renovate configuration for HappyVertical organization

  4. ocr ocr Public

    TypeScript

  5. pdf pdf Public

    TypeScript

  6. spider spider Public

    TypeScript

Repositories

Showing 10 of 10 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…