API Reference CodingAgent v#0.1.0

Copy Markdown View Source

Modules

A small library for building coding-agent harnesses on top of OpenRouter (via req_llm), with each agent conversation running as its own GenServer session and support for Claude-Code-style skills (directories with a SKILL.md that the agent can discover and invoke).

Thin convenience layer on top of req_llm's OpenRouter provider.

A GenServer that owns one agent's conversation and drives its agentic loop: send the context to the model, execute any tool calls it asks for, feed the results back, and repeat until the model produces a final answer (or :max_turns is hit).

A single skill discovered on disk, in the same shape Claude Code uses

Discovers and holds the set of skills available to an agent session.

Built-in coding tools, defined as ReqLLM.Tool structs so they can be handed straight to ReqLLM.generate_text/3 via the :tools option.