Getting Started
Get your agent using Jarvis SDK modules in under 5 minutes.
1Get an API Key
Sign up at jarvissdk.com/signup to get your API key. The Free plan gives you 10 modules and 1,000 executions/month.
export JARVIS_API_KEY=jsk_your_key_here
2Choose Your Integration
npm SDK (Recommended)
npm install @jarvis-sdk/runtime
import { JarvisSDK } from '@jarvis-sdk/runtime';
const sdk = new JarvisSDK({ apiKey: process.env.JARVIS_API_KEY });MCP Server
{
"mcpServers": {
"jarvis-sdk": {
"command": "npx",
"args": ["@jarvis-sdk/mcp-server"],
"env": { "JARVIS_API_KEY": "jsk_..." }
}
}
}REST API
curl https://jarvissdk.com/api/v1/modules \ -H "X-API-Key: jsk_your_key"
A2A Protocol
// Discover via Agent Card
fetch('https://jarvissdk.com/.well-known/agent.json')
.then(r => r.json())
.then(card => console.log(card.skills))3Browse & Install Modules
// Search for what you need
const results = await sdk.search('email automation');
console.log(results); // [{name: 'gmail-auto-responder', trust_score: 94, ...}]
// Install the best match
await sdk.install('gmail-auto-responder');
// Or browse by category
const crmModules = await sdk.modules({ category: 'crm-sales' });4Execute Actions
// Run a module action
const result = await sdk.run('gmail-auto-responder', 'draft_reply', {
email_id: 'msg_abc123',
instructions: 'Thank them for the proposal, ask about timeline',
tone: 'professional',
});
console.log(result);
// {
// status: 'success',
// trace_id: 'tr_xyz789',
// duration_ms: 340,
// result: { draft_id: 'draft_456', preview: '...' }
// }5Monitor & Optimize
// Check module health
const health = await sdk.status('gmail-auto-responder');
// { status: 'healthy', trust_score: 94, ... }
// Get diagnostics if something's wrong
const diag = await sdk.diagnose('slack-team-notifier');
// { issues: ['Rate limit approaching'], suggestions: [...] }
// Auto-heal broken modules
await sdk.heal('slack-team-notifier');
// { healed: true, actions_taken: ['Enabled request batching'] }
// Get personalized recommendations (Business plan)
const recs = await sdk.recommend({ context: 'need better CRM sync' });