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 run
Run the full local harness: Bun host, workerd agents, host bridge, and cli.ts.
Usage
ayjnt run [options] [-- <args for cli.ts>]
--cwd <path>
--port <n> default 8787; 0 chooses a free port
--data-dir <path> Durable Object persistence directory
--allow-host-writes allow hostTool sideEffects: "write"
--allow-host-exec allow hostTool sideEffects: "exec"Arguments and permissions
Non-flag arguments are passed to cli.ts. Use -- when your CLI needs a flag that Ayjnt would otherwise claim.
Read-only host tools are available by default. Write and execution permissions must be granted explicitly each run.