AgentKit Local Studio
A local workspace for authoring, builds, conversations, and cloud lifecycle operations.
Current in 0.8.3
AgentKit Local Studio creates, builds, and tests Agents in the browser and manages cloud lifecycle operations through existing platform APIs. Version 0.8.3 also exposes controlled plugin entry points, one conversation surface, and local Scheduler Lite while preserving Provider, permission, and local-runtime boundaries.
agentengine studio is KsADK's local-first workspace. It brings Agent definitions, build history, conversations, resources, traces, and orchestration into one browser surface, while model calls and builds still run through the local KsADK runtime.
It does not replace agentengine web: use the Web UI to debug one existing project; use Studio to create and maintain several local Agents from an initial requirement.
Start a workspace
After installing KsADK, start Studio in a directory that will hold your local Agents:
pip install -U "ksadk[all]"
mkdir my-agent-workspace
agentengine studio ./my-agent-workspaceStudio binds to 127.0.0.1:8080 by default. The command prints a local session URL and opens it in the browser. That URL is for local use only: do not share its #session=... fragment.
# Do not open a browser, and use a different port
agentengine studio ./my-agent-workspace --port 8081 --no-open
# Provide model settings for this launch
agentengine studio ./my-agent-workspace --env-file ./model.env--env-file reads only OPENAI_API_BASE, OPENAI_API_KEY, and OPENAI_MODEL_NAME. Existing process environment values take precedence and are not overwritten. When a Codex project needs Responses-to-Chat compatibility conversion, use --codex-proxy auto; see the full options in the CLI reference.
Local control client, not a multi-user SaaS
The Studio UI and credential proxy still run locally. Cloud lifecycle management is supported, but shared multi-user workspaces are not. The browser never receives AK/SK; the local service signs cloud requests and sends them to AgentEngine Server.
Create, build, and chat
In Studio's Create Agent flow, choose a runtime, template, and model profile, then provide the Agent name and task. The runtimes currently available for local creation and execution are:
- Codex: a declarative YAML Agent for debugging with the native local Codex Runtime.
- ADK: a Python Agent that exports
root_agent. - LangGraph: a Python Agent that exports a compiled graph.
The flow creates an editable Agent definition and can build it immediately. After a successful build, open the Agent's conversation view to send a message and inspect its response, run history, and traces in the same workspace. Model credentials stay in the local environment or explicit configuration file; they are not written into the Agent definition.
You can also keep using CLI templates and then debug the generated project in the local Web UI:
ksadk init --framework langgraph my-langgraph-agent
cd my-langgraph-agent
agentengine web .For generated files, runtime entry-point conventions, and deployment paths, see Create a project, Codex Managed Runtime, and cloud deployment.
Cloud deployment and lifecycle
After a successful build, Studio can start deployment directly. It reuses AgentEngine's existing CreateAgent, UpdateAgent, status, and delete APIs instead of introducing a parallel deployment API:
- Choose a successful build on the Builds page and deploy it, or start a deployment on the Deployments page.
- Follow progress, then inspect the Endpoint, runtime status, current build, and version history on the detail page.
- Chat opens the cloud Agent inside Studio by default. Hosted UI and third-party Runtime dashboards remain secondary actions.
- Rebuild after editing the Agent and publish with
UpdateAgent; select an older version and confirm to roll back. - Deleting an Agent calls the cloud lifecycle API and removes the corresponding local receipt.
Cloud targets combine Studio deployment receipts with Agents already present in the account, including high-code Agents deployed by the CLI. Identity always uses the complete agent_id, so changing the source does not create duplicate conversations. If Hermes or OpenClaw does not advertise the capabilities required by Studio chat, Studio says so and links to the official dashboard instead of pretending full compatibility.
Ordinary chat is a foreground streaming request and does not require Background mode. Background sessions are reserved for tasks that must continue after the foreground connection closes. Conversations support incremental text, reasoning, tools, approvals, attachments, model selection, three approval levels, and Goal / Plan controls. There is no separate “Loop” mode in the composer.
Plugins and local automation in 0.8.3
The Studio plugin page exposes two explicit host boundaries. A managed DSH toolchain owns DSH Bundle/Profile lifecycle operations, while official Codex plugins remain owned by Codex App Server. KsADK does not copy plugin implementations or present an arbitrary local directory as an installed capability.
The Automations page and the Agent detail automation tab use Scheduler Lite for once, interval, cron, IANA timezone, run-now, and occurrence-history flows. Scheduling belongs to the current Studio process: stopping Studio stops 24x7 wakeups, and no cross-Pod high availability is implied. See Plugins and automations for the complete boundary.
Studio and the local Web UI
| Scenario | Command | Best for |
|---|---|---|
| Create or maintain several local Agents | agentengine studio <workspace> | authoring, builds, resources, conversations, traces, and orchestration |
| Debug an existing KsADK project | agentengine web <project> | messages, local sessions, attachments, and the OpenAI-compatible API |
| Quickly validate a project from the terminal | agentengine run <project> -i | interactive execution and problem isolation |
Both Studio and agentengine web bind to loopback only; neither browser UI calls a model provider directly. Browser writes are checked with local session and CSRF tokens, then the local runtime invokes the configured framework runner.
Local state and reset
Workspace data and conversations are local development state, not source code to commit. To clear a local experiment, stop Studio and remove .agentengine/ inside that workspace before starting it again.
Do not remove Agent source files or agentengine.yaml to reset conversations. Those files define the project and should remain under version control.
UI package and source
Wheel users do not need to build the Studio frontend: the wheel includes the reviewed production static assets. The public repository, sdist, and wheel do not include editable Studio React / TypeScript source; the public release gate validates and packages only ksadk/studio/static.
See build and package and the Web UI source and release contract for details.