Skip to content

v0.2.0 - CP-Agent

Choose a tag to compare

@iliketocode2 iliketocode2 released this 09 Oct 03:12
· 76 commits to main since this release

CP-Agent now solves problems against a real model and a real Python kernel. The Demo page has the traces.

New

  • show: writes any value as text that reads back, so a value can go into a prompt and come back out: validate (show v) τ = v. Plus substring, string-truncate and string-contains?.
  • Typed tool results. A grant declares what each operation answers with: (grant py (kernel [exec (Text 4000)] [count Num])). Declaring anything closes the interface. Calling an operation it never named is an error.
  • Real tool hosts in live mode and a Python kernel to go in one.

Breaking

Every .nrm file from v0.1.0 still runs. Cap gained an ops field, HostSpec::Kernel and its siblings now carry one, and Prim::ALL is longer.


The Python kernel has no sandbox. It runs model-written code with your permissions.