API Reference Condukt v#0.16.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 a project root.

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

Command-line entrypoint for the standalone Condukt engine.

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 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.

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 Starlark-defined Condukt workflows.

Minimal Condukt agent used for materialized workflow runs.

Exception raised for workflow loading and runtime errors.

Starlark parsing and evaluation bridge for workflow files.

Behaviour for workflow package fetchers.

Git-backed workflow package fetcher.

Workflow dependency lockfile loaded from condukt.lock.

Workflow package manifest loaded from condukt.toml.

Materialized workflow project.

PubGrub-backed dependency resolver for workflow packages.

Dependency requirement extracted from a Starlark load() string.

Caller-owned supervisor for workflow workers and triggers.

Cron trigger process for workflow runtimes.

Optional Bandit listener for workflow webhook triggers.

Plug-compatible router for workflow webhook triggers.

Runtime worker responsible for invoking one materialized workflow.

Content-addressed local store for resolved workflow packages.

Resolves Starlark workflow tool references to Condukt tool modules.

Materialized workflow declaration.

Mix Tasks

Validates a Condukt workflows project.

Resolves workflow dependencies and writes condukt.lock.

Runs one Condukt workflow from a project.

Starts a Condukt workflow runtime and blocks.