API Reference Planck.Agent v#0.1.7

Copy Markdown View Source

Modules

OTP-based LLM agent.

Static, serializable agent definition.

Factory functions for the built-in tools: read, write, edit, bash.

Loads external tool definitions from TOOL.json files on the filesystem.

Behaviour and default implementation for context compaction in Planck.Agent.

Behaviour for injecting dynamic content into an agent's system prompt.

Behaviour for post-turn reflection in Planck.Agent.

An agent-side message with metadata.

Pure functions for constructing Planck.Agent.Message values.

Persistent session store backed by SQLite.

Database operations for an agent's conversation history.

Behaviour and utilities for sidecar applications that extend planck_headless over distributed Erlang.

Filesystem-based agent skills.

Holds all skill-related state for a running agent.

Per-project SQLite database tracking skill usage per agent type.

Accumulates the output of a single LLM stream turn.

Top-level supervisor for the planck_agent runtime.

Assembles the runtime system prompt for an agent.

A named collection of agents that share a team_id and can address each other via the inter-agent tools.

An executable tool for use in agent turns.

Tracks in-flight tool executions and accumulates their results.

Factory functions for built-in inter-agent tools.

Pure queries over an agent's in-memory message history.

Tracks the agent's turn counter and checkpoint stack.

Accumulated token usage and cost for an agent session.