{"_id":"@ainative-studio/aikit-core","_rev":"6-099425e17593310dec06631180143891","name":"@ainative-studio/aikit-core","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@ainative-studio/aikit-core","version":"0.1.0","keywords":["ai","agents","llm","tool-calling","orchestration","openai","anthropic","streaming"],"author":{"name":"AINative"},"license":"MIT","_id":"@ainative-studio/aikit-core@0.1.0","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"dist":{"shasum":"4151bbbf4bc71fc5b0ec0803bf679d1305d437e8","tarball":"https://registry.npmjs.org/@ainative-studio/aikit-core/-/aikit-core-0.1.0.tgz","fileCount":66,"integrity":"sha512-B9+3g9vsFTbKKuoS1Wc08e9rm31foY1G7lasxsMvQ/PnGRvGANPPWEq0k/K/ay/OAVhxOiwYWT7KrCWCOv+jpw==","signatures":[{"sig":"MEQCIDfAxMaGPViGof0XdODAoRQugg9tswDxnwv1FQp9wJBXAiBDGIi0tL2Gjj2/UHIEOmKid7TNBbsRHw+2Zh7Vp9LKcA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175477},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"99f74d952ceffdc67af8c5f094a7f9003373be23","scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsc","test:watch":"jest --watch","type-check":"tsc --noEmit","test:coverage":"jest --coverage"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"_npmVersion":"10.9.4","description":"Core AI agent orchestration framework with tool calling and streaming support","directories":{},"_nodeVersion":"22.21.0","dependencies":{"zod":"^3.22.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.6","@typescript-eslint/parser":"^6.17.0","@typescript-eslint/eslint-plugin":"^6.17.0"},"_npmOperationalInternal":{"tmp":"tmp/aikit-core_0.1.0_1763756739843_0.13217230405218983","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ainative-studio/aikit-core","version":"0.1.1","keywords":["ai","agents","llm","tool-calling","orchestration","openai","anthropic","streaming"],"author":{"name":"AINative"},"license":"MIT","_id":"@ainative-studio/aikit-core@0.1.1","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"dist":{"shasum":"2962286b2d0e8641fa7a28ac40e4701f4eed52c1","tarball":"https://registry.npmjs.org/@ainative-studio/aikit-core/-/aikit-core-0.1.1.tgz","fileCount":66,"integrity":"sha512-9DsqdJEsjXBhDM3AzJRMTKQujyugKv5URwzJ3/wcL/H4bY6NhhML4QxD8zodvVpqafNoNUm+PR1n0dBHAjVGPQ==","signatures":[{"sig":"MEUCIQDvfCafprbZ3SJaQ5t3FGNhKPF0Rduk8nFhvsDrTQi+IgIgEwgYG44XdXpZxvv7Fujn8QcvTsF2whkz2fRNW5bStNU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":176653},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"99f74d952ceffdc67af8c5f094a7f9003373be23","scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsc","test:watch":"jest --watch","type-check":"tsc --noEmit","test:coverage":"jest --coverage"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"_npmVersion":"10.9.4","description":"Core AI agent orchestration framework with tool calling and streaming support","directories":{},"_nodeVersion":"22.21.0","dependencies":{"zod":"^3.22.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.6","@typescript-eslint/parser":"^6.17.0","@typescript-eslint/eslint-plugin":"^6.17.0"},"_npmOperationalInternal":{"tmp":"tmp/aikit-core_0.1.1_1763756975675_0.011717659348639664","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@ainative-studio/aikit-core","version":"0.1.2","keywords":["ai","agents","llm","tool-calling","orchestration","openai","anthropic","streaming"],"author":{"name":"AINative"},"license":"MIT","_id":"@ainative-studio/aikit-core@0.1.2","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"dist":{"shasum":"63ba51ea68e620e4b30a90c5543e98f768b72ca7","tarball":"https://registry.npmjs.org/@ainative-studio/aikit-core/-/aikit-core-0.1.2.tgz","fileCount":66,"integrity":"sha512-BlP/zYF93MP6YFss4tjI0WvJGrzmTbs3zktV60/+SttW00ESCt3BDuYWWnXrf9j1Zle1PYDVQzQhuVFOdViG6w==","signatures":[{"sig":"MEYCIQDagx1/HKnG4A4HUZVfzC2jLHovoVG55NdeLPvGVJQcwQIhAK2auhty2liQ1S1761g03f4iDbGkbGWteHkSCp4mNKT0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":176917},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"99f74d952ceffdc67af8c5f094a7f9003373be23","scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsc","test:watch":"jest --watch","type-check":"tsc --noEmit","test:coverage":"jest --coverage"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"_npmVersion":"10.9.4","description":"Core AI agent orchestration framework with tool calling and streaming support","directories":{},"_nodeVersion":"22.21.0","dependencies":{"zod":"^3.22.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.6","@typescript-eslint/parser":"^6.17.0","@typescript-eslint/eslint-plugin":"^6.17.0"},"_npmOperationalInternal":{"tmp":"tmp/aikit-core_0.1.2_1763757133216_0.06096903594654557","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@ainative-studio/aikit-core","version":"0.1.3","keywords":["ai","agents","llm","tool-calling","orchestration","openai","anthropic","streaming"],"author":{"name":"AINative"},"license":"MIT","_id":"@ainative-studio/aikit-core@0.1.3","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"dist":{"shasum":"46175aa75f53ed42ea667ec28e6a4c7e27428126","tarball":"https://registry.npmjs.org/@ainative-studio/aikit-core/-/aikit-core-0.1.3.tgz","fileCount":82,"integrity":"sha512-KZJ7FouZfYZ0JMrrDYVky7104c6ZE7xBzKvaj1excnaYH2G4DNBYeiQBVbTLzTj1XseoAMhWqiQgrQXPcI/jPw==","signatures":[{"sig":"MEQCIGFsHjsaP7pYFnZOplEytisEbBapTj4lHFjQvWvp4qmlAiAVuPbrBkXn+bk5pr7g83qtBMWGcYo93iVPBqUJMZ3pxg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195866},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./auth":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"./rlhf":{"types":"./dist/rlhf/index.d.ts","default":"./dist/rlhf/index.js"}},"gitHead":"1da6b6388415edde5469293edf6e8f176b33dd97","scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsc","test:watch":"jest --watch","type-check":"tsc --noEmit","test:coverage":"jest --coverage"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"_npmVersion":"10.9.4","description":"Core AI agent orchestration framework with tool calling and streaming support","directories":{},"_nodeVersion":"22.21.0","dependencies":{"zod":"^3.22.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.6","@typescript-eslint/parser":"^6.17.0","@typescript-eslint/eslint-plugin":"^6.17.0"},"_npmOperationalInternal":{"tmp":"tmp/aikit-core_0.1.3_1763767276452_0.161943888542454","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@ainative-studio/aikit-core","version":"0.1.4","keywords":["ai","agents","llm","tool-calling","orchestration","openai","anthropic","streaming"],"author":{"name":"AINative"},"license":"MIT","_id":"@ainative-studio/aikit-core@0.1.4","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"homepage":"https://www.ainative.studio/ai-kit","bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"dist":{"shasum":"f622cedea69a9bc9ddaaac73fbe1a638e8ad3d20","tarball":"https://registry.npmjs.org/@ainative-studio/aikit-core/-/aikit-core-0.1.4.tgz","fileCount":82,"integrity":"sha512-AzbEqNrX3EexUDZkwnHox4KD99sXEEHm4nCU7eFAnbB7XriemU9Zq5KEcf0qRTODtYVKWkcmeRMPhDDmy18Paw==","signatures":[{"sig":"MEQCIGMowfa4b2Khq8G8oGUr27qMCIOi9jiHgphAyhKnHCZkAiBJqjVKSsKg8nnk2GZZelXXhpiNQsxeQpExhTlUD0Ippg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":196196},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./auth":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"./rlhf":{"types":"./dist/rlhf/index.d.ts","default":"./dist/rlhf/index.js"}},"gitHead":"3c5aff128e4331f3bb321584b7ec32011b2e838d","scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsc","test:watch":"jest --watch","type-check":"tsc --noEmit","test:coverage":"jest --coverage"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"repository":{"url":"git+https://github.com/AINative-Studio/ai-kit.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.4","description":"Core AI agent orchestration framework with tool calling and streaming support","directories":{},"_nodeVersion":"22.21.0","dependencies":{"zod":"^3.22.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","ts-jest":"^29.1.1","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.6","@typescript-eslint/parser":"^6.17.0","@typescript-eslint/eslint-plugin":"^6.17.0"},"_npmOperationalInternal":{"tmp":"tmp/aikit-core_0.1.4_1765478520609_0.1294460509618185","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@ainative-studio/aikit-core","version":"0.1.5","description":"Core AI agent orchestration framework with tool calling and streaming support","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./auth":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"./rlhf":{"types":"./dist/rlhf/index.d.ts","default":"./dist/rlhf/index.js"}},"scripts":{"build":"tsc","test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","lint":"eslint src/**/*.ts","type-check":"tsc --noEmit"},"keywords":["ai","agents","llm","tool-calling","orchestration","openai","anthropic","streaming"],"author":{"name":"AINative"},"license":"MIT","homepage":"https://www.ainative.studio/ai-kit","repository":{"type":"git","url":"git+https://github.com/AINative-Studio/ai-kit.git","directory":"packages/core"},"bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"dependencies":{"zod":"^3.22.4","zod-to-json-schema":"^3.22.4"},"devDependencies":{"@types/jest":"^29.5.11","@types/node":"^20.10.6","@typescript-eslint/eslint-plugin":"^6.17.0","@typescript-eslint/parser":"^6.17.0","eslint":"^8.56.0","jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.3.3"},"engines":{"node":">=18.0.0"},"_id":"@ainative-studio/aikit-core@0.1.5","gitHead":"e2e8022896882454b5ae587c822910423d04d460","_nodeVersion":"22.21.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-atSlrBVq3B/oWAmJ+gK6tDEgBRQ9OOZNCsH26An7tupDRL6okpXojfwBkC8s9DNkibImcMmVQu9w7X0+Il13cw==","shasum":"c2c683b31bb27396824e2506d79e52b453780d66","tarball":"https://registry.npmjs.org/@ainative-studio/aikit-core/-/aikit-core-0.1.5.tgz","fileCount":83,"unpackedSize":195162,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAzEOTbgDXfZRVUkoxXjcvz4X8b4ukYr526tXqQoCFM8AiEA3g8F1TOz0PDxarmUpMLBuI6N+gf3g3YpphC1jlPdVmQ="}]},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"directories":{},"maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aikit-core_0.1.5_1765504726603_0.7476699739729997"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-21T20:25:39.746Z","modified":"2025-12-12T01:58:46.992Z","0.1.0":"2025-11-21T20:25:40.026Z","0.1.1":"2025-11-21T20:29:35.911Z","0.1.2":"2025-11-21T20:32:13.406Z","0.1.3":"2025-11-21T23:21:16.659Z","0.1.4":"2025-12-11T18:42:00.760Z","0.1.5":"2025-12-12T01:58:46.755Z"},"bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"author":{"name":"AINative"},"license":"MIT","homepage":"https://www.ainative.studio/ai-kit","keywords":["ai","agents","llm","tool-calling","orchestration","openai","anthropic","streaming"],"repository":{"type":"git","url":"git+https://github.com/AINative-Studio/ai-kit.git","directory":"packages/core"},"description":"Core AI agent orchestration framework with tool calling and streaming support","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"readme":"# @aikit/core - AI Agent Orchestration Framework\n\nA powerful, type-safe framework for building AI agents with tool calling capabilities, multi-step reasoning, and streaming support.\n\n## Features\n\n- **Type-Safe Tool Definitions**: Use Zod schemas for robust parameter validation\n- **Multi-Step Execution**: Automatic orchestration of LLM → Tool → LLM loops\n- **Streaming Support**: Real-time execution updates and streaming responses\n- **Framework-Agnostic**: Works with OpenAI, Anthropic, and custom LLM providers\n- **Execution Tracing**: Detailed logging and debugging of agent execution\n- **Error Handling**: Graceful error recovery with configurable retries\n- **Production-Ready**: Comprehensive test coverage (80%+)\n\n## Installation\n\n```bash\nnpm install @ainative-studio/aikit-core zod\n```\n\n## Quick Start\n\n### Basic Agent\n\n```typescript\nimport { Agent, AgentExecutor } from '@ainative-studio/aikit-core';\nimport { z } from 'zod';\n\n// Define your agent\nconst agent = new Agent({\n  id: 'assistant',\n  name: 'My Assistant',\n  systemPrompt: 'You are a helpful AI assistant.',\n  llm: {\n    provider: 'openai',\n    model: 'gpt-4',\n    apiKey: process.env.OPENAI_API_KEY,\n  },\n  tools: [],\n});\n\n// Execute\nconst executor = new AgentExecutor(agent);\nconst result = await executor.execute('Hello! How are you?');\n\nconsole.log(result.response);\n```\n\nSee README.md for complete documentation with examples of:\n- Agent with Tools\n- Streaming Execution\n- Error Handling\n- Custom LLM Providers\n- Multi-Agent Systems\n\n## API Reference\n\nSee full documentation in README.md\n\n## License\n\nMIT\n","readmeFilename":"README.md"}