Forkbase 0.2.0
Run ledger; OpenTelemetry; Metrics
- Run ledger: every step of every agent run (its SQL, tool calls, proposal, the policy's decision, approvals, undo, its jobs' attempts) at
GET /agents/v1/runs/{id}/ledger, as JSON or JSON lines, a page at a time. The dashboard's run sheet shows it as a timeline. Keptobserve.retention_days(30). - OpenTelemetry: with
FORKBASE_OTLP_ENDPOINTorOTEL_EXPORTER_OTLP_ENDPOINT, one trace per run (invoke_agent,execute_tool run_sql, GenAI semantic conventions) and metrics, over OTLP/HTTP JSON. - Metrics:
/metricsadds ledger, run-outcome and tool-duration series. - Docker: images carry Node 22, so TypeScript and JavaScript jobs run in the container.
deploy/Dockerfile.releasebuilds the multi-arch image from the signed release tarballs. - Example:
examples/claims, an insurance claims desk with two agents and two policies, ondocker compose up. - Dashboard, daily use: the table editor takes several filters (kept in the URL), inline edits, CSV and JSON export and foreign-key links; approvals show the run's diff beside the policy's reasons; policies are editable as TOML (
PUT/DELETE /agents/v1/policies/{name}, with a dry-run check); a logs explorer; overview charts. - Dashboard, operations: team members with viewer, operator and admin roles and an audit log; database objects (functions, triggers, indexes, extensions); connection details; backups, checkpoints and restore; a realtime inspector; live job logs.