Installation
Invokta is distributed as focused ESM packages. Start with @invokta/core, then
install only the adapters and development tools your engine uses.
Requirements
Section titled “Requirements”- Node.js 22.20.0 or later
- An ESM project (
"type": "module") - A schema library that implements Standard Schema v1 and Standard JSON Schema v1
The examples use Zod 4 because it implements both schema contracts.
Install the core
Section titled “Install the core”npm install @invokta/core zodpnpm add @invokta/core zodyarn add @invokta/core zodAdd execution channels
Section titled “Add execution channels”Install the CLI or MCP adapter when the engine needs that boundary.
npm install @invokta/cli @invokta/mcppnpm add @invokta/cli @invokta/mcpyarn add @invokta/cli @invokta/mcp| Package | Use it for |
|---|---|
@invokta/core |
Capabilities, engines, contracts, errors, and events |
@invokta/cli |
list, describe, and run commands |
@invokta/mcp |
MCP tools over stdio or stateless Streamable HTTP |
@invokta/tooling |
Capability-composition checks during development |
@invokta/installer |
Read-only inventory of supported local MCP client targets in its current release |
@invokta/deploy |
Reviewable container packaging and endpoint probes |
Work inside this repository
Section titled “Work inside this repository”Clone the repository and install from its root when contributing to Invokta or running the included examples:
git clone https://github.com/vinilana/invokta.gitcd invoktayarn install --frozen-lockfileyarn buildContinue with your first engine. The package reference overview links the complete public API and command contract for every package.