oracle7 / agents /README.md
psiloceyeben's picture
Release 10.3 (full): coverage by the store assembled (the search over learned program structures), one judge over every answer, the opening table on the first interrogative, names written another way learned; full: no organ answers over a terminal refusal; release test pre-registration v39, run once; hashes anchored on Solana
b1aa83e verified
|
Raw History Blame Contribute Delete
2.6 kB

Custom agents

An Oracle7 agent is a chosen set of specialists with a name and a scope. You write one small file; the agent answers only through the specialists you chose (and, if you allow it, the Oracle7 core), so it inherits their tests: every specialist in root/specialists/_gate/standing_v1.txt passed its own held-out examination before it was allowed to answer, and the core passed the gate.

Make one

agents/my-agent/agent.json
{
  "name": "Kitchen Desk",
  "about": "Cooking, food safety, nutrition labels and kitchen units.",
  "specialists": ["cooking-v3", "coldchain-v2", "nutrition-label-v2", "units-v3"],
  "core": "fallback",
  "out_of_scope": "I'm the kitchen desk. That one is outside what I cover."
}
key meaning
name shown in every reply's path: agent:Kitchen Desk>specialist:cooking-v3>...
about one line for people choosing an agent
specialists ids from root/specialists/_gate/standing_v1.txt; each has a card in root/specialists/_cards with its sources, held-out score and what it declines. The order breaks ties.
core "fallback": a turn none of your specialists takes goes to the Oracle7 core, and the core's reply is kept only if it did not come through a specialist you left out. "never": specialists only.
out_of_scope what the agent says when a turn is not its business

Check it, then run it

python agents/check_agent.py agents/my-agent
python oracle7.py --agent agents/my-agent "How long can cooked rice sit out?"
python oracle7.py --agent agents/my-agent --repl
python oracle7.py --agent agents/my-agent --serve 8077

check_agent.py validates the file, asks the agent up to 12 development questions from each chosen specialist's own panel (never the held-out questions that admitted it) and shows how many its specialists answered, and checks the scope with questions from outside every chosen specialist.

What an agent cannot do

It adds no knowledge and no new way to be wrong: every answer is a gated specialist's or the core's, unchanged, with its path. A decline stays a decline. If two of your specialists read a question differently, the agent says so and shows both rather than picking one silently.

Examples

  • kitchen - cooking, food safety, nutrition labels, units (core fallback)
  • space-desk - astronomy, planets, spacecraft, space links (specialists only)
  • home-energy - energy use, renewables, heating and cooling, electrical, wiring (core fallback)
  • lab-bench - chemistry, lab solutions, units, statistics (specialists only)