Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic_server.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
12#pragma once
13
16
17#include <functional>
18#include <memory>
19#include <string>
20#include <vector>
21
22namespace entropic {
23
24class TodoTool;
25class DelegateTool;
26class PipelineTool;
27class CompleteTool;
28class PhaseChangeTool;
29class PruneContextTool;
30class DiagnoseTool;
31class InspectTool;
32class ContextInspectTool;
33class FollowupTool;
34class ResumeDelegationTool;
35
47public:
54 EntropicServer(const std::vector<std::string>& tier_names,
55 const std::string& data_dir);
56
57 ~EntropicServer() override;
58
65 bool skip_duplicate_check(const std::string& tool_name) const override;
66
73
74private:
75 std::unique_ptr<TodoTool> todo_;
76 std::unique_ptr<DelegateTool> delegate_;
77 std::unique_ptr<PipelineTool> pipeline_;
78 std::unique_ptr<CompleteTool> complete_;
79 std::unique_ptr<PhaseChangeTool> phase_change_;
80 std::unique_ptr<PruneContextTool> prune_context_;
81 std::unique_ptr<DiagnoseTool> diagnose_;
82 std::unique_ptr<InspectTool> inspect_;
83 std::unique_ptr<ContextInspectTool> context_inspect_;
84 std::unique_ptr<FollowupTool> followup_;
85 std::unique_ptr<ResumeDelegationTool> resume_delegation_;
86 entropic_state_provider_t state_provider_{};
87
90 int register_core_tools(const std::string& tools_dir);
91
94 int register_delegation_tools(
95 const std::string& tools_dir,
96 const std::vector<std::string>& tier_names);
97
100 int register_introspection_tools(const std::string& tools_dir);
101};
102
103} // namespace entropic
gh#32 (v2.1.6) resume
void set_state_provider(const entropic_state_provider_t &provider)
Set the engine state provider for introspection tools.
~EntropicServer() override
Destructor.
bool skip_duplicate_check(const std::string &tool_name) const override
delegate and pipeline skip duplicate check.
Concrete base class for MCP servers (80% logic).
Definition server_base.h:66
Pure C interface contract for MCP server plugins.
Activate model on GPU (WARM → ACTIVE).
MCPServerBase concrete base class + ServerResponse.
Read-only engine state provider for introspection tools.