Liking cljdoc? Tell your friends :D

clj-agent-tui.core

Stable first-pass facade for clj-agent-tui consumers. Prefer this namespace from applications; lower-level namespaces remain available for focused use.

Stable first-pass facade for clj-agent-tui consumers. Prefer this namespace
from applications; lower-level namespaces remain available for focused use.
raw docstring

active-focusclj

Return the currently active focus key from state.

Return the currently active focus key from state.
sourceraw docstring

apply-eventclj

Apply a pure agent/runtime event to state. Returns [state effects].

Apply a pure agent/runtime event to state. Returns [state effects].
sourceraw docstring

claude-configclj

Read Claude-shaped configuration from env/system properties without network calls.

Read Claude-shaped configuration from env/system properties without network calls.
sourceraw docstring

claude-providerclj

Create an offline Claude-shaped provider wrapper for tests/adapters.

Create an offline Claude-shaped provider wrapper for tests/adapters.
sourceraw docstring

command-optionsclj

Return command registry entries as selection option maps.

Return command registry entries as selection option maps.
sourceraw docstring

composerclj

Render the bottom input composer.

Render the bottom input composer.
sourceraw docstring

default-commandsclj

Default slash-command registry used by demos.

Default slash-command registry used by demos.
sourceraw docstring

default-tool-registryclj

Return the default local tool registry used by demos.

Return the default local tool registry used by demos.
sourceraw docstring

default-toolsclj

Return the default ReAct demo tool map.

Return the default ReAct demo tool map.
sourceraw docstring

describe-integrationsclj

Summarize configured integration counts from state.

Summarize configured integration counts from state.
sourceraw docstring

deterministic-providerclj

Create a local provider that echoes submitted text as stream events.

Create a local provider that echoes submitted text as stream events.
sourceraw docstring

drain-effectsclj

Handle local effects until the queue is empty. Returns [state handled-effects].

Handle local effects until the queue is empty. Returns [state handled-effects].
sourceraw docstring

execute-commandclj

Execute a parsed slash command as a pure state/effect transition.

Execute a parsed slash command as a pure state/effect transition.
sourceraw docstring

filter-optionsclj

Filter and score option maps with fuzzy matching.

Filter and score option maps with fuzzy matching.
sourceraw docstring

focusclj

Replace the focus stack with one active focus key.

Replace the focus stack with one active focus key.
sourceraw docstring

Render the keyboard shortcut footer.

Render the keyboard shortcut footer.
sourceraw docstring

Render the top session header.

Render the top session header.
sourceraw docstring

historyclj

Render bounded conversation history from the bottom.

Render bounded conversation history from the bottom.
sourceraw docstring

load-sessionclj

Load a persisted EDN session map.

Load a persisted EDN session map.
sourceraw docstring

lsp-request-effectclj

Create an LSP request effect map.

Create an LSP request effect map.
sourceraw docstring

make-inputclj

Create the default charm.clj text input used by the composer.

Create the default charm.clj text input used by the composer.
sourceraw docstring

mcp-serverclj

Describe an MCP server and its tools as data.

Describe an MCP server and its tools as data.
sourceraw docstring

mcp-tool-effectclj

Create a tool-execution effect for an MCP tool call.

Create a tool-execution effect for an MCP tool call.
sourceraw docstring

Render a blocking dialog/modal.

Render a blocking dialog/modal.
sourceraw docstring

parse-commandclj

Parse slash-command text into a command map, or nil.

Parse slash-command text into a command map, or nil.
sourceraw docstring

pop-focusclj

Pop the active focus key from the focus stack.

Pop the active focus key from the focus stack.
sourceraw docstring

push-focusclj

Push a focus key onto the focus stack.

Push a focus key onto the focus stack.
sourceraw docstring

railclj

Render the right-side task/tool/agent rail.

Render the right-side task/tool/agent rail.
sourceraw docstring

react-run-loopclj

Run a bounded ReAct loop over clj-agent-tui state.

Run a bounded ReAct loop over clj-agent-tui state.
sourceraw docstring

react-stepclj

Execute one deterministic/data-driven ReAct step.

Execute one deterministic/data-driven ReAct step.
sourceraw docstring

render-selectionclj

Render a selection state into a bounded string surface.

Render a selection state into a bounded string surface.
sourceraw docstring

runclj

Run a clj-agent-tui state with charm.clj's program runtime.

Run a clj-agent-tui state with charm.clj's program runtime.
sourceraw docstring

run-toolclj

Run a named local tool from a registry.

Run a named local tool from a registry.
sourceraw docstring

save-session!clj

Persist a serializable state map to EDN.

Persist a serializable state map to EDN.
sourceraw docstring

scripted-llmclj

Create a deterministic test/demo LLM function.

Create a deterministic test/demo LLM function.
sourceraw docstring

selectionclj

Create a fuzzy selection state from option maps.

Create a fuzzy selection state from option maps.
sourceraw docstring

set-queryclj

Set the query on a selection state and clamp the active row.

Set the query on a selection state and clamp the active row.
sourceraw docstring

status-lineclj

Render the stream/status line below the header.

Render the stream/status line below the header.
sourceraw docstring

stream-eventsclj

Return bounded agent events for a provider request.

Return bounded agent events for a provider request.
sourceraw docstring

subagent-effectclj

Create a subagent tool-execution effect map.

Create a subagent tool-execution effect map.
sourceraw docstring

submit-and-runclj

Submit text, then drain all local runtime effects.

Submit text, then drain all local runtime effects.
sourceraw docstring

submit-user-inputclj

Submit a user draft through the pure agent/event boundary. Returns [state effects].

Submit a user draft through the pure agent/event boundary. Returns [state effects].
sourceraw docstring

suggestionsclj

Render a fuzzy suggestion popup.

Render a fuzzy suggestion popup.
sourceraw docstring

tool-optionsclj

Return registered tools as selection option maps.

Return registered tools as selection option maps.
sourceraw docstring

update-fnclj

Default demo reducer. Dialog focus wins, then suggestions, then composer.

Default demo reducer. Dialog focus wins, then suggestions, then composer.
sourceraw docstring

update-selectionclj

Apply a keyboard message to a selection state. Returns [state action].

Apply a keyboard message to a selection state. Returns [state action].
sourceraw docstring

viewclj

Render a complete agent-style shell from a data state map.

Render a complete agent-style shell from a data state map.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close