Oldowan Framework
@elite-agents/oldowan 🪨
Features
Installation
# Using bun:
bun add @elite-agents/oldowanQuick Start
import { OldowanTool } from '@elite-agents/oldowan';
import { z } from 'zod';
export const weatherTool = new OldowanTool({
name: 'get_weather',
description: 'Get current weather conditions',
schema: {
location: z.string().describe('City name or postal code'),
unit: z.enum(['celsius', 'fahrenheit']).optional(),
},
async execute({ location, unit }) {
// Example API call
const response = await fetch(`https://api.weather.com/${location}`);
const data = await response.json();
return {
temp: data.current.temp,
unit: unit || 'celsius',
conditions: data.current.conditions,
};
},
});REST API Wrapping with OpenAPI Support
Key Concepts
Tool Development
Server Features
Error Handling
Monetization Examples
API Reference
ED25519_ALGORITHM_IDENTIFIER
ED25519_ALGORITHM_IDENTIFIERgenerateKeypairRawBytes
generateKeypairRawBytesOldowanServer
OldowanServerRestApiWrappedOldowanServer
RestApiWrappedOldowanServerOldowanTool
OldowanToolOldowanTool Example
OldowanTool ExampleLast updated
