LOGICIAN
PACKAGE ARCHITECTURE
TypeScript
Node.js ≥22.19
4 packages
User · Terminal Session
local · SSH · tmux · VT100
packages/tui
Terminal UI
Streaming presentation and runtime controls
Rendering
Input
Themes
Overlays
direct dependencies
packages/agent-capabilities
Agent Capabilities
todo · ask-user · subagents
reasoners · EOH optimization
behavior modules
packages/coding-agent
Coding Agent
sessions · config · skills · prompts
tools · MCP · trust · context files
orchestration layer
packages/agent-core
Agent Core
loop · harness
hooks · compaction
queue · tool registry
capabilities and coding-agent build on agent-core
AGENT-CORE · HARNESS LOOP
each turn follows the same controlled path
Message Intake
steering · follow-ups
Model Call
stream · parse
Pre-tool Hooks
inspect · veto · rewrite
Tool Execution
permission-gated
Post-tool Hooks
format · diagnostics
Loop Gate
compact · finish
tool result → context assembly → next model turn
GATED TOOL BUS
LLM Backend
OpenAI-compatible API
MCP Servers
stdio · streamable HTTP
SearXNG
web search · web fetch
Filesystem · Git
files · shell · repository
local-first · SSH-ready · thinking-visible
github.com/lseman/logician