AI & Integration Guide
Everything you need to build on top of ZeyOS — the REST API, the JavaScript client, the CLI, and CLI-first workflows for coding agents and automation, with tutorials and ready-to-run sample apps.
- Sections
- 6
Choose your task
Each path lists what you need, the pages to read in order, and how to tell that it worked.
Build a ZeyOS app
Write native iXML and Zymba that runs inside ZeyOS, and package it as an application.
Before you start
- The ZeyOS SDK (zeysdk) and a linked sandbox instance
- Permission to send source to that instance
Read in this order
First success
You run zeysdk compile on the minimal app against your sandbox and it reports no errors. The published sample compiles on a sandbox but has not been run on an instance, so this run is your first evidence for your own instance.
- Sample
- Minimal app
- Troubleshooting
- Native troubleshooting
Connect an external application
Read and write ZeyOS data from a service, browser app or script running outside ZeyOS.
Before you start
- Access to a ZeyOS instance
- OAuth client credentials
- Node.js 18 or later for the JavaScript client
Read in this order
- Integration architecture
- Authentication
- JavaScript client: getting started
- Making requests
- Server-side integrations
First success
client.schema.validate('listTickets', { fields: ['ID', 'name'] }) passes offline, then the same query returns your tickets.
- Troubleshooting
- Practical guide
- Reference
- REST APIAuthenticationDatabase
Use a coding agent with ZeyOS
Give a coding agent the authoritative references, project instructions and validation tools.
Before you start
- A coding agent such as Kilo Code, Pi or OpenCode
- The ZeyOS CLI and client, version 1.0.0 or later
Read in this order
First success
The agent follows the project instructions and shows a request preview without writing anything.
- Sample
- Agent recipes
- Troubleshooting
- CLI coverage and escalation
Use ZeyOS business data
Answer questions from your records, and run record operations you explicitly request, with or without an agent.
Before you start
- The
zeyosCLI, signed in withzeyos login
Read in this order
First success
zeyos count accounts --filter '{"type":1,"visibility":0}' prints your number of customers.
- Sample
- Agent recipes
- Troubleshooting
- CLI coverage and escalation
Related
Browse the Guide
Pick a section to dive in.