A TypeScript SDK for interacting with the Maikers API.
- Authentication with API key
- AI agent creation and configuration
- AI agent interaction (chat and actions)
- Available as both a library and CLI tool
import { MaikersSDK } from 'maikers-sdk';
// Initialize the SDK
const sdk = new MaikersSDK({});
// Authenticate with your API key
await sdk.auth('your-api-key');
// Check authentication status
if (sdk.isAuthenticated()) {
console.log('Authenticated!');
}
// You can also initialize with an API key directly
const sdk = new MaikersSDK({ apiKey: 'your-api-key' });import { MaikersSDK } from 'maikers-sdk';
// Initialize the SDK with your API key
const sdk = new MaikersSDK({ apiKey: 'your-api-key' });pnpm ipnpm buildnode dist/cli.js auth login your-api-keynode dist/cli.js auth statusnode dist/cli.js auth logoutnode dist/cli.js agent create --id <agent-id> --name "Agent Name" --description "Agent Description" --risk-level low --job-types job-type1,job-type2 --skills skill1,skill2 --persona-id <persona-id>node dist/cli.js agent update-settings <agent-id> --persona- "helpful assistant" --risks low,mediumnode dist/cli.js agent query <agent-id> --message "Hello, how can you help me today?"node dist/cli.js --helpYou can configure the SDK using environment variables:
MAIKERS_API_KEY=your-api-key
MAIKERS_BASE_URL=api-base-url