Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

460 B
Raw Blame
import { Storage } from './Storage.js'

let storeObject = new Storage();

// Storage API
const localStorageAdapter = object => ({
  get( target, name ) {
    return object.getItem( String( name ))
  },

  set( target, name, value ) {
    object.setItem( String( name ), value )
    return true
  },
})

// Use Storage API adapter
const store = ( object = storeObject ) => {
  return new Proxy({}, localStorageAdapter( object ))
}

export const local = store();