SDKs
Run the MonkeysCode agent from TypeScript, Python or Go, with the same tools, permissions and events as the CLI.
- SDK overviewWhich package to install, how the SDKs run the agent, and how they authenticate.
- TypeScriptquery() in process with monkeyscode-agent, or over an installed mc with monkeyscode-sdk/subprocess.
- PythonRun the agent from Python with monkeyscode.cli_process: one-shot query() or a multi-turn MonkeysCodeClient.
- GoRun the agent from Go with monkeyscode.Query and monkeyscode.Open over an installed mc.
- Events and resultsThe stream-json events every SDK yields, the result object, result subtypes and exit codes.