Logo
npm i vibeta

start

import { Agent, Vendor, Memory } from "vibeta";

const vendor = new Vendor();

const model = vendor.llm();

model.text();
model.json();
model.stream();

const agent = new Agent({
  model,
});

const memory = new Memory({

});

const tool = new Tool({
  name: "",
  description: "",
  schema: z.object(),
  (params,envs)=>{

  }
});

const agent = new Agent({
  system: "",
  model,
  memory,
  envs,
  tools: [],
});

agent.thread.switch();
agent.thread.create();
agent.thread.clone();

// 执行
agent.run("");

agent.thread.agent // 设置
  .set({});

//监听hook开始执行
agent.on();
class CustomProvider extends BaseProvider {}

class CustomMemory extends BaseProvider {}

Written by

Unknown

At

Date to be announced