Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
enums.h File Reference

Shared enumerations used across .so boundaries. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  entropic_model_state_t { ENTROPIC_MODEL_STATE_COLD = 0 , ENTROPIC_MODEL_STATE_WARM , ENTROPIC_MODEL_STATE_ACTIVE }
 Model VRAM lifecycle states. More...
 
enum  entropic_agent_state_t {
  ENTROPIC_AGENT_STATE_IDLE = 0 , ENTROPIC_AGENT_STATE_PLANNING , ENTROPIC_AGENT_STATE_EXECUTING , ENTROPIC_AGENT_STATE_WAITING_TOOL ,
  ENTROPIC_AGENT_STATE_VERIFYING , ENTROPIC_AGENT_STATE_DELEGATING , ENTROPIC_AGENT_STATE_COMPLETE , ENTROPIC_AGENT_STATE_ERROR ,
  ENTROPIC_AGENT_STATE_INTERRUPTED , ENTROPIC_AGENT_STATE_PAUSED
}
 Agent execution states. More...
 
enum  entropic_directive_type_t {
  ENTROPIC_DIRECTIVE_STOP_PROCESSING = 0 , ENTROPIC_DIRECTIVE_TIER_CHANGE , ENTROPIC_DIRECTIVE_DELEGATE , ENTROPIC_DIRECTIVE_PIPELINE ,
  ENTROPIC_DIRECTIVE_COMPLETE , ENTROPIC_DIRECTIVE_CLEAR_SELF_TODOS , ENTROPIC_DIRECTIVE_INJECT_CONTEXT , ENTROPIC_DIRECTIVE_PRUNE_MESSAGES ,
  ENTROPIC_DIRECTIVE_CONTEXT_ANCHOR , ENTROPIC_DIRECTIVE_PHASE_CHANGE , ENTROPIC_DIRECTIVE_NOTIFY_PRESENTER
}
 Directive types emitted by MCP tool results. More...
 
enum  entropic_compute_backend_t { ENTROPIC_BACKEND_CPU = 0 , ENTROPIC_BACKEND_CUDA , ENTROPIC_BACKEND_VULKAN }
 Compute backend types. More...
 

Detailed Description

Shared enumerations used across .so boundaries.

These are C enums for cross-boundary use. C++ code within a single .so may use typed enums, but these specific values are the wire format.

Version
1.8.0

Definition in file enums.h.

Enumeration Type Documentation

◆ entropic_agent_state_t

Agent execution states.

Enumerator
ENTROPIC_AGENT_STATE_IDLE 

No active generation.

ENTROPIC_AGENT_STATE_PLANNING 

Assembling context and tools.

ENTROPIC_AGENT_STATE_EXECUTING 

Generating response.

ENTROPIC_AGENT_STATE_WAITING_TOOL 

Tool call in progress.

ENTROPIC_AGENT_STATE_VERIFYING 

Post-generation verification.

ENTROPIC_AGENT_STATE_DELEGATING 

Child delegation running.

ENTROPIC_AGENT_STATE_COMPLETE 

Turn finished.

ENTROPIC_AGENT_STATE_ERROR 

Unrecoverable error.

ENTROPIC_AGENT_STATE_INTERRUPTED 

Cancelled by consumer.

ENTROPIC_AGENT_STATE_PAUSED 

Awaiting user input.

Definition at line 36 of file enums.h.

◆ entropic_compute_backend_t

Compute backend types.

Enumerator
ENTROPIC_BACKEND_CPU 

CPU-only inference.

ENTROPIC_BACKEND_CUDA 

NVIDIA CUDA.

ENTROPIC_BACKEND_VULKAN 

Vulkan compute.

Definition at line 70 of file enums.h.

◆ entropic_directive_type_t

Directive types emitted by MCP tool results.

Version
1.8.4
Enumerator
ENTROPIC_DIRECTIVE_STOP_PROCESSING 

Halt directive processing.

ENTROPIC_DIRECTIVE_TIER_CHANGE 

Switch active tier.

ENTROPIC_DIRECTIVE_DELEGATE 

Route to another identity.

ENTROPIC_DIRECTIVE_PIPELINE 

Multi-stage sequential execution.

ENTROPIC_DIRECTIVE_COMPLETE 

Mark task complete.

ENTROPIC_DIRECTIVE_CLEAR_SELF_TODOS 

Clear self-directed todos (engine no-op)

ENTROPIC_DIRECTIVE_INJECT_CONTEXT 

Inject message into context.

ENTROPIC_DIRECTIVE_PRUNE_MESSAGES 

Prune old tool results.

ENTROPIC_DIRECTIVE_CONTEXT_ANCHOR 

Replace context anchor.

ENTROPIC_DIRECTIVE_PHASE_CHANGE 

Switch active inference phase.

ENTROPIC_DIRECTIVE_NOTIFY_PRESENTER 

Generic UI notification passthrough.

Definition at line 53 of file enums.h.

◆ entropic_model_state_t

Model VRAM lifecycle states.

COLD ──warm()──> WARM ──activate()──> ACTIVE
^ | |
└──unload()─────┘<──deactivate()──────┘
Enumerator
ENTROPIC_MODEL_STATE_COLD 

On disk only, no RAM consumed.

ENTROPIC_MODEL_STATE_WARM 

mmap'd + mlock'd in RAM, slow inference

ENTROPIC_MODEL_STATE_ACTIVE 

GPU layers loaded, full inference speed.

Definition at line 27 of file enums.h.