Architecture¶
KsADK's public architecture is an Agent Runtime Platform layer. You keep building business agents with your chosen framework, while KsADK unifies runtime, debugging, protocols, tools, sandboxing, deployment, and observability.

Overview¶
ADK / LangGraph / LangChain / DeepAgents
│
▼
KsADK
│
┌───────────────┼────────────────┐
▼ ▼ ▼
Skill Runtime Workspace Sandbox
│ │ │
└───────────────┼────────────────┘
▼
AgentEngine
│
▼
Hermes / OpenClaw Runtime
Main Boundaries¶
| Layer | Responsibility |
|---|---|
| Agent frameworks | business orchestration, state, tool calls, and model interaction |
| KsADK CLI | project creation, config loading, local runs, Web UI startup, packaging |
| Runner | adapt ADK, LangGraph, LangChain, and DeepAgents to one invocation contract |
| Local server | expose /v1/responses, /v1/chat/completions, and local Web UI APIs |
| Toolsets | provide Skill, Workspace, Platform, and Sandbox tool entrypoints |
| AgentEngine / Hermes / OpenClaw | remote runtime, deployment, and fuller backend execution |
| OpenTelemetry | standard tracing output for external observability systems |
Local Runtime Path¶
When you run agentengine run or agentengine web:
- the CLI resolves the project directory,
.env, andagentengine.yaml. - framework detection identifies ADK, LangGraph, LangChain, or DeepAgents.
- the runner factory creates the matching runner.
- the runner loads the user agent.
- the terminal, Web UI, or OpenAI-Compatible API invokes the runner.
- sessions, attachments, workspace files, tool calls, and tracing use the KsADK runtime path.
Why This Architecture Matters¶
The boundary lets teams keep their preferred agent frameworks while sharing:
- one local command surface.
- one browser debugging experience.
- one OpenAI-Compatible API surface.
- one Skill / Workspace / Sandbox tool model.
- one deployment and observability path.
For lower-level implementation details, see Runtime Architecture.