Caravan

A typed agent CLI and LLM library in OCaml, light enough for HPC nodes

An agent harness for OCaml 5 on effects and Eio: a REPL, a scriptable agent command and a loopback web UI over 16 LLM providers, with tool permissions, a JSONL transcript of every model and tool call, and a typed library of pipelines, tools and plugins, installed without root.

Trade-offs

  • Every model call, tool call, nudge and summary is a structured trace event, so each session leaves an auditable JSONL transcript.
  • One static binary, one 0600 config and everything under the home directory: no root at any step, for clusters and containers.
  • Defaults are tuned for small and free models, with text tool-call recovery, token-aware compaction and Retry-After handling.

Q&A2

caravan agent takes a turn budget and returns one JSON object with the result, usage and transcript path, with exit codes that keep && chains and Slurm scripts honest.

Reviews

Loading reviews

    More in OCaml

    • quiverDump, load, copy and stream MySQL, MariaDB and TiDB from one consistent snapshot
    • nonnaStructural code similarity for agents: find the function that already exists

    More in AI agents

    See all 99 →
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • DeftSelf-hosted workspace shared by people and AI agents
    • EntrolyLocal context layer that picks what coding agents send to the model
    • Active GraphEvent-sourced graph runtime for long-running, auditable agents
    • AgenvoySelf-hosted agent harness in one Go binary, running around the clock

    More in Claude Code

    See all 421 →
    • jobdGPU-aware job broker for a few personal machines, with an MCP server
    • AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
    • RaspiMIDIHubRaspberry Pi as a plug-and-play USB MIDI hub with virtual instruments
    • StreambedPostgres-to-Iceberg CDC engine with a built-in Postgres wire query server
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • TellyscopeAndroid TV debloater and remote that runs from a phone over ADB