Skip to content

nitrologic/relay

Repository files navigation

License: MIT Deno Discord

nitrologic Relay 1.8.6 ⛲

A research tool for advanced model manipulation.

documentation

  • Relay Reference Manual - forge user documentation forge.md
  • Summary Notes - machine generated summary blocks notes.md

logging

Timestamps in logging files use slopmarks, a hexadecimal encoding of sixteenths of a second since 2025.4.12.

setup

Requires an api environment variable, see accounts.json for latest

  • DEEPSEEK_API_KEY
  • XAI_API_KEY
  • OPENAI_API_KEY
  • GEMINI_API_KEY
  • MISTRAL_API_KEY
  • ALIBABA_API_KEY
  • ANTHROPIC_API_KEY
  • COHERE_API_KEY
  • MOONSHOT_API_KEY
  • HUGGINGFACE_API_KEY

supported

The following native API are used by Slop Relay:

		"api": "OpenAI",
		"api": "DeepSeek",
		"api": "Google",
		"api": "Anthropic",

roadmap

  • relay.ts project support
  • relay.ts sloppybots testing on discord
  • consider agents.md additions to system prompt

project support

On /share of a relay.md file a Relay project is keyed to that folder name.

  • ~/relay.log
  • ~/relay.md

Shares and home path are keyed per project.

When project activated with /project command:

  • current path and shares restored
  • any writable %project/relay.log is appended with forge.log history

roha.keyedShares[key]=roha.sharedFiles;

websearch planning notes

To consider:

  • config search on
  • implementation per API with account hints and tool billing

websearch providers and syntax

openai

import OpenAI from 'openai';

const client = new OpenAI({
	apiKey: process.env.OPENAI_API_KEY
});

const response = await client.responses.create({
	model: 'gpt-5.5',
	tools: [
		{ type: 'web_search' }
	],
	input: 'What are the latest RP2350 announcements?'
});

console.log(response.output_text);

anthropic webSearch


import Anthropic from '@anthropic-ai/sdk';

const anthropic = new Anthropic({
	apiKey: process.env.ANTHROPIC_API_KEY
});

const response = await anthropic.messages.create({
	model: 'claude-sonnet-4-20250514',
	max_tokens: 512,
	tools: [
		{
			type: 'web_search_20250305',
			name: 'web_search'
		}
	],
	messages: [
		{
			role: 'user',
			content: 'What are the latest RP2350 announcements?'
		}
	]
});

console.log(response);

xai tools webSearch

import { xai } from '@ai-sdk/xai';
import { generateText } from 'ai';
const { text, sources } = await generateText({
  model: xai.responses('grok-4.3'),
  prompt: 'What is xAI?',
  tools: {
    web_search: xai.tools.webSearch(),
  },
});
console.log(text);
console.log('Citations:', sources);

deprecated

Accounts and SDK support for Cohere Mistral Nvidia and Alibaba retired until previous notice.

history

Stage one nitrologic roha roha

Second stage nitrologic foundry foundry

Third stage nitrologic forge forge

Fourth stage slop fountain forge

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors