API Reference Condukt v#1.2.1

Copy Markdown View Source

Modules

A framework for building AI agents in Elixir.

Behaviour for compacting a session's conversation history.

Keeps the last N messages of the conversation.

Replaces the content of old tool result messages with a small placeholder, preserving the message structure (and the assistant's tool call reasoning) so the model still sees that the tool was invoked.

Loads project instructions and local skills from the active sandbox.

Metadata for a project skill discovered from .agents/skills.

Command-line entrypoint for the standalone Condukt engine.

Client-side support for the Model Context Protocol.

GenServer that owns the protocol state for a single MCP server connection.

Lifecycle helper for connecting to a list of MCP servers as part of starting a session or executing a workflow.

Declarative configuration for a connected MCP server.

Represents a message in the conversation history.

Typed, named entrypoints on an agent module.

Ollama provider – self-hosted OpenAI-compatible Chat Completions API.

Behaviour for redacting sensitive data before it is sent to an LLM provider.

Default regex-based redactor for common high-precision secret patterns.

Exact-match redactor for resolved session secrets.

Filesystem and process-execution capabilities exposed to tools.

Sandbox that runs each session inside a dedicated Kubernetes Pod.

Sandbox that operates against the host filesystem and host shell.

Sandbox that runs against an in-memory virtual filesystem and a Rust-implemented bash interpreter via the bashkit NIF.

Sandbox-specific tool for Condukt.Sandbox.Virtual that lets the agent mount a host directory into the virtual filesystem at runtime.

Behaviour for loading session secrets from trusted providers.

Session-scoped secrets for agent tool execution.

Loads a session secret from the host process environment.

Loads a session secret from 1Password CLI secret references.

Loads a plaintext value from trusted application configuration.

GenServer that manages an agent session.

Generates UUIDv7 identifiers for Condukt.Session instances.

Behaviour for persisting and restoring Condukt sessions.

Disk-backed session store using Erlang term serialization.

ETS-backed session store for restoring sessions within the current VM.

Serializable session snapshot persisted by session stores.

Telemetry integration for Condukt.

Behaviour for defining tools that agents can use.

Struct returned by Condukt.tool/1.

Built-in tools for Condukt.

Tool for executing bash commands.

Tool for executing one trusted command without shell parsing.

Tool for making surgical edits to files.

Tool for finding files by glob pattern.

Tool for searching file contents by regular expression.

Tool for reading file contents.

Tool for delegating a task to a registered sub-agent role.

Tool for writing content to files.

Public facade for Condukt workflows.

Normalizes .exs workflow files to workflow documents.

Loaded representation of a workflow document.

Executes a validated workflow document.

Expression sub-language for Condukt workflows.

Normalizes HCL workflow files to canonical workflow documents.

Resolves the id field of a tool workflow step to a tool module (or inline tool spec) suitable for Condukt.Tool.execute/3.

Mix Tasks

Validates a Condukt workflow file without executing it.

Runs a Condukt workflow file.