🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

pepeso

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pepeso

A framework for building AI agents with tool usage capabilities

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Pepeso AI Framework

Pepeso AI Framework is a simple, modern, flexible, and extensible AI framework for building AI-powered applications.

Features

  • Simple, modern, flexible, and extensible AI framework
  • Supports multiple models (GPT-3.5, GPT-4)
  • Supports multiple tools (Weather, News, Calculator, custom Tools)

Installation

npm install pepeso

Usage

import { Agent } from 'pepeso';
import { OpenAIModel } from 'pepeso/models';
import { v4 as uuid } from 'uuid';

const initialMessages: Message[] = [
    { id: uuid(), role: 'user', content: 'Hello!' },
    { id: uuid(), role: 'assistant', content: 'Hi! How can I assist you?' },
];

const agent = new Agent({ 
    model: new OpenAIModel(), 
    tools: [new WeatherTool(), new NewsTool(), new CalculatorTool()], 
    systemPrompt: 'You are a helpful assistant.', 
    messages: initialMessages 
});

const response = await agent.chat('What is the weather like in Mumbai?');
console.log(response);

Keywords

ai

FAQs

Package last updated on 16 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts