
Security News
Scaling Socket from Zero to 10,000+ Organizations
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.
@gftdcojp/actor-sdk
Advanced tools
Comprehensive TypeScript SDK for GFTD Actor Platform with Well-becoming Agent as default - Supporting mental wellness and personal growth through AI
A comprehensive TypeScript/JavaScript SDK for building AI-powered applications with the GFTD Actor Platform.
The Actor SDK comes pre-configured with the Well-becoming Agent as the default actor. This compassionate AI companion is dedicated to supporting mental wellness and personal growth.
// Default actor configuration
{
id: 'default',
organizationId: 'anon',
repositoryUrl: 'https://gitlab-gftd-ai.fly.dev/actors/anon/default',
name: 'Well-being Agent',
type: 'wellbeing',
capabilities: [
'wellbeing-coaching',
'mindfulness-guidance',
'emotional-support',
'goal-setting',
'habit-formation',
'stress-management',
'positive-psychology',
'life-balance'
]
}
import { createActorSDK } from '@gftd/actor-sdk'
// Initialize with default Well-being Agent
const sdk = createActorSDK()
await sdk.initialize()
// Start a wellness conversation
const response = await sdk.chat("I'm feeling stressed about work lately")
console.log(response.content) // Compassionate, helpful response
npm install @gftd/actor-sdk
# or
yarn add @gftd/actor-sdk
# or
pnpm add @gftd/actor-sdk
While the Well-being Agent is the default, you can create custom actors:
import { SDKConfigManager } from '@gftd/actor-sdk'
// Create a custom actor
await SDKConfigManager.createDefaultActor('code-generator')
// Or create from scratch
const customConfig = {
name: 'Custom Assistant',
type: 'custom',
description: 'Your custom AI assistant'
}
// Use different actor configurations
const sdk = createActorSDK({
defaultActor: {
id: 'my-custom-actor',
organizationId: 'my-org',
repositoryUrl: 'https://gitlab.example.com/my-org/my-actor'
}
})
import { useGFTDChat } from '@gftd/actor-sdk'
function WellnessChat() {
const { messages, sendMessage, isLoading } = useGFTDChat({
systemPrompt: "Focus on stress management techniques"
})
return (
<div>
{messages.map(msg => <div key={msg.id}>{msg.content}</div>)}
<button onClick={() => sendMessage("Help me relax")}>
Get Relaxation Tips
</button>
</div>
)
}
// Create a wellbeing session
const session = await sdk.createSession({
actorId: 'default',
message: {
role: 'user',
content: 'I want to improve my work-life balance'
}
})
// Continue the conversation
const response = await sdk.continueSession({
sessionId: session.session.id,
message: {
role: 'user',
content: 'What specific steps can I take?'
}
})
The Well-being Agent repository (/actors/anon/default) contains:
# Install dependencies
pnpm install
# Run development server
pnpm dev
# Build the SDK
pnpm build
# Run tests
pnpm test
We welcome contributions to improve the Well-being Agent and the Actor SDK. Please see our Contributing Guidelines for details.
MIT License - see LICENSE file for details.
🌱 Empowering wellness through AI - The Actor SDK with Well-being Agent is designed to support human flourishing and mental wellness in our digital age.
FAQs
Comprehensive TypeScript SDK for GFTD Actor Platform with Well-becoming Agent as default - Supporting mental wellness and personal growth through AI
We found that @gftdcojp/actor-sdk 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
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.

Research
Socket Threat Research maps a rare inside look at OtterCookie’s npm-Vercel-GitHub chain, adding 197 malicious packages and evidence of North Korean operators.

Research
Socket researchers identified a malicious Chrome extension that manipulates Raydium swaps to inject an undisclosed SOL transfer, quietly routing fees to an attacker wallet.