
Security News
Socket Releases Free Certified Patches for Nuxt Security Vulnerabilities
Socket releases free Certified Patches for high-severity Nuxt vulnerabilities, including server-side remote code execution through server island props.
Nimbus SDK - AI-powered code orchestration with 3-phase pipeline (Gemini + mgrep → Claude → Claude)
AI-powered code orchestration with a 3-phase pipeline: Gemini + mgrep → Claude → Claude
npm install nimbus-sdk
import { NimbusSDK } from 'nimbus-sdk';
// Initialize the SDK
const sdk = new NimbusSDK({
sessionId: 'nb_...', // Get from developer dashboard
walletAddress: '0x...',
repoUrl: 'https://github.com/user/repo',
agentConfig: {
name: 'My AI Agent',
description: 'AI-powered development assistant'
}
});
// Initialize (fetches configuration from backend)
await sdk.initialize();
// Execute AI orchestration with streaming
const result = await sdk.orchestrate({
userGoal: 'Add a dark mode toggle to the settings page',
context: {
currentFile: 'src/App.tsx',
framework: 'React + Tailwind CSS'
},
stream: true,
onStream: (event) => {
console.log(`Phase: ${event.phase}, Status: ${event.status}`);
if (event.message) {
console.log(event.message);
}
}
});
// Check results
console.log('Summary:', result.summary);
console.log('Files Changed:', result.filesChanged);
console.log('Actions:', result.actions);
readFile, runBash, runGrep, runGlob, runGitCommandwriteFile, editFile, installPackage, runGitCommandNimbusSDKnew NimbusSDK(config: NimbusSDKConfig)
Config Options:
sessionId (required): Session ID from developer dashboard (format: nb_...)walletAddress (required): User's wallet addressrepoUrl (required): GitHub repository URLapiUrl (optional): API base URL (defaults to https://sonnetprotocol.com)agentConfig (required): Agent configuration
name: Agent namedescription: Agent descriptionsystemPrompt (optional): Custom system prompttools (optional): Custom tools arraybrandingConfig (optional): Logo and color customizationinitialize(): Promise<void>Fetches developer configuration from backend. Call this after construction.
orchestrate(request: OrchestrationRequest): Promise<OrchestrationResult>Execute 3-phase AI orchestration.
Request:
userGoal (required): Natural language description of what to accomplishcontext (optional): Additional context
currentFile: Currently open fileselectedCode: Selected code snippetadditionalInfo: Any other relevant infostream (optional): Enable streaming (default: false)onStream (optional): Callback for stream eventsResult:
success: Whether orchestration succeededsummary: Human-readable summary of what was donefilesChanged: Array of file paths that were modifiedactions: Array of actions performed (type, file, details)error (optional): Error message if failedprocessIntent(intent: string, walletAddress: string): Promise<ProcessIntentResult>Legacy method for processing user intents. Use orchestrate() for new implementations.
getPaymentConfig(): PaymentConfigGet current payment configuration (pricing, revenue split, etc.)
getPricingInfo(): PricingInfoGet pricing information for display to users.
const sdk = new NimbusSDK({
sessionId: 'nb_...',
walletAddress: '0x...',
repoUrl: 'https://github.com/user/repo',
agentConfig: {
name: 'Custom Agent',
description: 'Agent with custom capabilities',
tools: [
{
name: 'deploy-to-production',
description: 'Deploy application to production',
parameters: {
environment: 'string',
branch: 'string'
},
handler: async (params) => {
// Custom deployment logic
return { success: true, url: 'https://app.example.com' };
}
}
]
}
});
const result = await sdk.orchestrate({
userGoal: 'Refactor authentication logic to use JWT tokens',
context: {
currentFile: 'src/auth/index.ts',
additionalInfo: 'Use jsonwebtoken library'
},
stream: false
});
if (result.success) {
console.log('Refactoring complete!');
console.log('Modified files:', result.filesChanged.join(', '));
} else {
console.error('Error:', result.error);
}
const result = await sdk.orchestrate({
userGoal: 'Add user profile page with avatar upload',
stream: true,
onStream: (event) => {
switch (event.phase) {
case 'data-collection':
console.log('📚 Gathering context...');
break;
case 'planning':
console.log('🎯 Planning implementation...');
if (event.message) console.log(' -', event.message);
break;
case 'execution':
console.log('⚡ Executing...');
if (event.action) {
console.log(` - ${event.action}: ${event.file}`);
}
break;
case 'completed':
console.log('✅ Complete!', event.message);
break;
}
}
});
The SDK includes built-in X402 micropayments:
const paymentConfig = sdk.getPaymentConfig();
console.log('Price per prompt:', paymentConfig.pricePerPrompt);
console.log('Developer revenue:', paymentConfig.developerFeePercentage + '%');
All types are exported for your convenience:
import type {
NimbusSDK,
NimbusSDKConfig,
OrchestrationRequest,
OrchestrationResult,
OrchestrationStreamEvent,
AgentConfig,
AgentTool,
PaymentConfig,
SDKMode
} from 'nimbus-sdk';
try {
const result = await sdk.orchestrate({
userGoal: 'Add search functionality'
});
if (!result.success) {
console.error('Orchestration failed:', result.error);
}
} catch (error) {
console.error('SDK error:', error);
}
initialize() after constructing the SDKcontext field for better resultsGet your session ID and manage your SDK settings at: https://sonnetprotocol.com/api-docs
MIT
FAQs
Nimbus SDK - AI-powered code orchestration with 3-phase pipeline (Gemini + mgrep → Claude → Claude)
We found that nimbus-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 releases free Certified Patches for high-severity Nuxt vulnerabilities, including server-side remote code execution through server island props.

Security News
An open letter signed by 50 companies, from NVIDIA and Microsoft to Mistral and Hugging Face, urges Washington not to restrict open weight AI.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.