
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@phantasy/sheesh-agent
Advanced tools
AI Agent Framework with multi-provider support and real-time broadcasting
AI Agent Framework for real-time broadcasting and multi-provider support
npm install @phantasy/sheesh-agent
# or
yarn add @phantasy/sheesh-agent
# or
pnpm add @phantasy/sheesh-agent
npx @phantasy/sheesh-agent init
This creates:
.env file for configurationmy-agent.js example agentEdit .env and add at least one provider:
OPENAI_API_KEY=sk-...
# or
MAHO_API_KEY=...
# or
ALKAHEST_API_KEY=...
# or
AKASH_API_KEY=...
# With admin panel
npx @phantasy/sheesh-agent start my-agent.js --admin
# Without admin panel (headless)
npx @phantasy/sheesh-agent start my-agent.js
import { AgentController } from '@phantasy/sheesh-agent';
import { createSheeshPlugin } from '@phantasy/sheesh-agent/plugins/sheesh';
import { MahoText } from '@phantasy/sheesh-agent/providers/text/maho';
// Initialize AI provider
const textProvider = new MahoText();
await textProvider.initialize({
apiKey: process.env.MAHO_API_KEY,
model: 'gpt-4-turbo'
});
// Create agent controller
const agent = new AgentController({
providers: { text: textProvider },
personality: {
name: 'Assistant',
traits: ['helpful', 'friendly'],
tone: 'professional'
}
});
// Connect to platform
const plugin = createSheeshPlugin({
partyKitUrl: 'ws://localhost:1999',
roomId: 'main',
agentId: 'assistant-001',
agentName: 'Assistant',
onUserMessage: async (userId, message) => {
const response = await agent.processUserMessage(userId, message);
plugin.broadcastResponse(response);
}
});
await plugin.initialize();
console.log('Agent is online!');
const response = await agent.processUserMessage(userId, message);
// Add animations
response.actions = [
{
type: 'vrm',
action: 'animation',
value: 'wave',
duration: 3000
},
{
type: 'vrm',
action: 'expression',
value: 'happy',
duration: 5000
}
];
plugin.broadcastResponse(response);
const agent = new AgentController({
providers: { text: textProvider },
personality: { /* ... */ },
tipGoals: [
{
id: 'dance',
title: 'Unlock Dance',
targetAmount: 5,
reward: {
type: 'animation',
value: 'special-dance'
}
}
]
});
// Handle tips
plugin.on('tip:received', async (data) => {
const goals = await agent.processTip(data.userId, data.amount);
plugin.updateTipGoals(goals);
});
# Start agent with options
sheesh-agent start <agent-file> [options]
-a, --admin Start admin panel
-p, --admin-port Admin panel port (default: 8080)
--no-build Skip building
# Start only admin panel
sheesh-agent admin [options]
-p, --port Port to run on (default: 8080)
# Build framework
sheesh-agent build
# Initialize new project
sheesh-agent init
# Admin Panel
ADMIN_TOKEN=your-secure-token
# AI Providers (at least one required)
OPENAI_API_KEY=sk-...
MAHO_API_KEY=...
ALKAHEST_API_KEY=...
AKASH_API_KEY=...
# Provider Selection
AI_TEXT_PROVIDER=maho
AI_TTS_PROVIDER=openai
# PartyKit Connection
PARTYKIT_URL=ws://localhost:1999
# Optional
NODE_ENV=development
DEBUG=false
// OpenAI
const openai = new OpenAIText();
await openai.initialize({
apiKey: process.env.OPENAI_API_KEY,
model: 'gpt-4-turbo'
});
// Maho (OpenRouter Alternative)
const maho = new MahoText();
await maho.initialize({
apiKey: process.env.MAHO_API_KEY,
baseUrl: 'https://maho.sh/api/v1'
});
// Alkahest (Privacy-focused)
const alkahest = new AlkahestText();
await alkahest.initialize({
apiKey: process.env.ALKAHEST_API_KEY,
baseUrl: 'https://alkahest.ai/api/v1'
});
The optional admin panel provides:
Access at http://localhost:8080 when running with --admin flag.
@phantasy/sheesh-agent
├── core/ # Core framework
│ ├── agent-controller.ts
│ └── types.ts
├── providers/ # AI providers
│ ├── text/
│ ├── tts/
│ └── image/
├── services/ # Feature services
│ ├── vrm-integration.ts
│ ├── canvas-integration.ts
│ └── tip-management.ts
├── plugins/ # Plugin system
│ └── sheesh/
└── admin/ # Admin panel
# Clone repository
git clone https://github.com/phantasy-bot/sheesh-agent.git
cd sheesh-agent
# Install dependencies
npm install
# Run tests
npm test
# Build
npm run build
# Development mode
npm run dev
We welcome contributions! Please see our Contributing Guide for details.
git checkout -b feature/amazing)git commit -m 'feat: add amazing feature')git push origin feature/amazing)MIT License - see LICENSE for details.
Built with ❤️ by the Sheesh team and contributors.
Special thanks to all our contributors!
FAQs
AI Agent Framework with multi-provider support and real-time broadcasting
We found that @phantasy/sheesh-agent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.