|
Entropic 2.3.8
Local-first agentic inference engine
|
Full identity configuration. More...
#include <entropic/config/identity.h>
Public Attributes | |
| std::string | name |
| Unique identity name (e.g., "eng", "npc_blacksmith") | |
| std::string | system_prompt |
| Full system prompt text (markdown body) | |
| std::vector< std::string > | focus |
| Classification focus keywords (min 1) | |
| std::vector< std::string > | examples |
| Few-shot classification examples. | |
| std::string | grammar_id |
| Grammar registry key (empty = no grammar) | |
| std::string | auto_chain |
| Auto-chain target tier name (empty = none) | |
| std::vector< std::string > | allowed_tools |
| Tool filter list (empty = all tools via identity) | |
| std::vector< std::string > | bash_commands |
| Allowed bash commands. | |
| std::vector< MCPKey > | mcp_keys |
| MCP authorization keys (v1.9.4) | |
| std::string | adapter_path |
| LoRA adapter path (v1.9.2, empty = base model) | |
| int | max_output_tokens = 1024 |
| Default max output tokens. | |
| float | temperature = 0.7f |
| Default temperature. | |
| float | repeat_penalty = 1.1f |
| Default repeat penalty. | |
| bool | enable_thinking = false |
| Default enable_thinking. | |
| bool | interstitial = false |
| Interstitial (non-routable, triggered by tools) | |
| bool | routable = true |
| Participates in tier routing. | |
| bool | explicit_completion = false |
| Requires explicit entropic.complete to finish. | |
| std::unordered_map< std::string, PhaseConfig > | phases |
| Named inference phases. | |
| IdentityOrigin | origin = IdentityOrigin::DYNAMIC |
| How this identity was created. | |
| int | max_iterations_override = -1 |
| Per-identity max_iterations (-1 = global, P3-18) | |
| int | max_tool_calls_per_turn_override = -1 |
| Per-identity tool cap (-1 = global, P3-18) | |
Full identity configuration.
All fields from IdentityFrontmatter are present. Dynamic identities set these programmatically; static identities set them from YAML parsing.
The origin field distinguishes static from dynamic identities. This matters for lifecycle: static identities cannot be destroyed via the dynamic identity API (they are owned by the config loader).
Definition at line 48 of file identity.h.
| std::string entropic::IdentityConfig::adapter_path |
LoRA adapter path (v1.9.2, empty = base model)
Definition at line 58 of file identity.h.
| std::vector<std::string> entropic::IdentityConfig::allowed_tools |
Tool filter list (empty = all tools via identity)
Definition at line 55 of file identity.h.
| std::string entropic::IdentityConfig::auto_chain |
Auto-chain target tier name (empty = none)
Definition at line 54 of file identity.h.
| std::vector<std::string> entropic::IdentityConfig::bash_commands |
Allowed bash commands.
Definition at line 56 of file identity.h.
| bool entropic::IdentityConfig::enable_thinking = false |
Default enable_thinking.
Definition at line 62 of file identity.h.
| std::vector<std::string> entropic::IdentityConfig::examples |
Few-shot classification examples.
Definition at line 52 of file identity.h.
| bool entropic::IdentityConfig::explicit_completion = false |
Requires explicit entropic.complete to finish.
Definition at line 65 of file identity.h.
| std::vector<std::string> entropic::IdentityConfig::focus |
Classification focus keywords (min 1)
Definition at line 51 of file identity.h.
| std::string entropic::IdentityConfig::grammar_id |
Grammar registry key (empty = no grammar)
Definition at line 53 of file identity.h.
| bool entropic::IdentityConfig::interstitial = false |
Interstitial (non-routable, triggered by tools)
Definition at line 63 of file identity.h.
| int entropic::IdentityConfig::max_iterations_override = -1 |
Per-identity max_iterations (-1 = global, P3-18)
Definition at line 68 of file identity.h.
| int entropic::IdentityConfig::max_output_tokens = 1024 |
Default max output tokens.
Definition at line 59 of file identity.h.
| int entropic::IdentityConfig::max_tool_calls_per_turn_override = -1 |
Per-identity tool cap (-1 = global, P3-18)
Definition at line 69 of file identity.h.
| std::vector<MCPKey> entropic::IdentityConfig::mcp_keys |
MCP authorization keys (v1.9.4)
Definition at line 57 of file identity.h.
| std::string entropic::IdentityConfig::name |
Unique identity name (e.g., "eng", "npc_blacksmith")
Definition at line 49 of file identity.h.
| IdentityOrigin entropic::IdentityConfig::origin = IdentityOrigin::DYNAMIC |
How this identity was created.
Definition at line 67 of file identity.h.
| std::unordered_map<std::string, PhaseConfig> entropic::IdentityConfig::phases |
Named inference phases.
Definition at line 66 of file identity.h.
| float entropic::IdentityConfig::repeat_penalty = 1.1f |
Default repeat penalty.
Definition at line 61 of file identity.h.
| bool entropic::IdentityConfig::routable = true |
Participates in tier routing.
Definition at line 64 of file identity.h.
| std::string entropic::IdentityConfig::system_prompt |
Full system prompt text (markdown body)
Definition at line 50 of file identity.h.
| float entropic::IdentityConfig::temperature = 0.7f |
Default temperature.
Definition at line 60 of file identity.h.