|
Entropic 2.14.3
Local-first agentic inference engine
|
entropic serve — a headless host for every MCP client (gh#204).
More...
#include <entropic/entropic.h>#include <csignal>#include <cstdio>#include <cstdlib>#include <cstring>#include <filesystem>#include <string>#include <pthread.h>
Go to the source code of this file.
Namespaces | |
| namespace | entropic |
| Activate model on GPU (WARM → ACTIVE). | |
Functions | |
| int | entropic::cli::run_serve (int argc, char *argv[]) |
entropic serve entry point. | |
entropic serve — a headless host for every MCP client (gh#204).
Configures one engine from a YAML file, serves its external bridge at http://127.0.0.1:<port>/mcp, and runs until SIGINT or SIGTERM. Every MCP client points at that one URL with the bearer token from ~/.entropic/serve/<port>.token, instead of each spawning its own host.
Exits non-zero, with the engine's own reason, if the engine cannot be configured or the port cannot be served — a host that is not reachable must not look like one that is.
Definition in file serve.cpp.