Tools / invent_program
Enterprise Pipeline

$2.00 per program

invent_program

JSON-defined invention programs. Define custom step sequences with generate, compute, assert, call, and return actions.

Get Enterprise Access
Capabilities

What It Does

While auto_invent runs a fixed pipeline, invent_program lets you define your own invention workflow as a JSON program.

Generate hypotheses with specific constraints
Compute numerical validation
Assert conditions that must hold
Call other 50c tools in sequence
Return structured results

Example Program Structure

{
  "name": "prime_pattern_finder",
  "steps": [
    {
      "action": "generate",
      "prompt": "Hypothesize a pattern in twin primes",
      "tool": "mind_opener"
    },
    {
      "action": "compute",
      "code": "# Validate with first 1000 twin primes"
    },
    {
      "action": "assert",
      "condition": "accuracy > 0.95"
    },
    {
      "action": "call",
      "tool": "genius_plus",
      "input": "Prove or disprove: {{hypothesis}}"
    },
    {
      "action": "return",
      "fields": ["hypothesis", "proof", "accuracy"]
    }
  ]
}
Demo

Action Types

generate

Call an AI tool to generate hypotheses, ideas, or solutions. Variables captured for later steps.

compute

Execute Python code for numerical validation. Access variables from previous steps.

assert

Check conditions. Program halts with failure if assertion fails. Gate for quality control.

call

Invoke any 50c tool with interpolated inputs. Chain tools in custom sequences.

return

Define which fields to include in final output. Structured, predictable responses.

branch

Conditional logic based on previous results. Different paths for different outcomes.

Use Cases

When to Use

Mathematical Conjecture Testing

Generate conjectures, compute numerical tests, assert success rate, call Genius+ for proof attempt, return with confidence scores.

Research Hypothesis Pipeline

Generate hypothesis, web search for prior art, assert novelty, validate with tools, return refined hypothesis.

Custom Verification Workflows

Define domain-specific verification sequences. Medical claims, legal analysis, financial models—each with appropriate tool chains.

Related Tools

Compare

auto_invent

Fixed 8-tool pipeline. Zero configuration. Best for general invention tasks.

$2.00 per invention

invent_program

Custom JSON workflows. Full control. Best for domain-specific discovery.

$2.00 per program

Build Your Invention Workflow

Define exactly how discovery should happen. JSON programs for repeatable, verifiable invention.

Get Enterprise Access