mirror of
https://github.com/hanzoai/papers.git
synced 2026-10-30 14:58:42 +00:00
25 lines
843 B
TeX
25 lines
843 B
TeX
\section{UNIX-Style API}
|
|
|
|
|
|
Inspired by UNIX philosophy and RENDER network, Hanzo exposes root-level operational endpoints:
|
|
|
|
\begin{itemize}
|
|
\item \texttt{/ps} - List all processes across runtimes
|
|
\item \texttt{/logs/<id>} - Stream workload logs
|
|
\item \texttt{/exec/<id>} - Execute commands in containers
|
|
\item \texttt{/stop/<id>}, \texttt{/kill/<id>}, \texttt{/rm/<id>} - Process control
|
|
\item \texttt{/deploy} - Deploy new workload
|
|
\item \texttt{/scale/<id>} - Scale replicas
|
|
\item \texttt{/inspect/<id>} - Get detailed state
|
|
\item \texttt{/stats}, \texttt{/health}, \texttt{/metrics} - Monitoring
|
|
\end{itemize}
|
|
|
|
This design enables:
|
|
\begin{enumerate}
|
|
\item Unified interface across heterogeneous runtimes
|
|
\item Composability via standard UNIX pipes
|
|
\item Scripting and automation
|
|
\item Intuitive mental model for developers
|
|
\end{enumerate}
|
|
|