Documentation menu
Start here
IntroductionGetting startedWrite an agentProject anatomyUnderstand Ayjnt
Harness engineeringTwo runtimesHuman interfacesHow agents workHost bridgeAgent capabilities
Callable methodsState & SQLiteSessions & memorySchedulingWorkflowsDurable executionInter-agent RPCSub-agentsToolsInterfaces & integrations
Browser clientRouting & middlewareVoiceBrowser toolsMCPEmailObservabilityCLI
Command overviewnewdevrunbuildcompilemigratedeployAPI reference
AgentAgentClientWorkflow classesLocal & cloudMigrationsExamplesayjnt compile
Produce one executable containing the Bun host, generated Worker, browser assets, cli.ts, and workerd.
Usage
ayjnt compile [options]
--cwd <path>
--outfile <path>
--target <target> for example bun-linux-x64
--no-embed-workerd require AYJNT_WORKERD_PATH at runtime
--bytecode precompile embedded JavaScript
--minify minify embedded JavaScriptRuntime contract
The resulting executable accepts --port, --data-dir, --allow-host-writes, and --allow-host-exec. Other arguments go to cli.ts.
Cross-compiling Bun does not cross-compile workerd. Build for the current platform when embedding it, or use --no-embed-workerd and provide a compatible binary.