Skip to content

pjo256/tensorclaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TensorClaw

🦞🧪 TensorClaw is an ML research harness on top of pi, inspired by autoresearch.

TensorClaw screenshot

Install

pip install -e .

Requires:

  • Python 3.10+
  • pi on your PATH (brew install pi-coding-agent)
  • OPENAI_API_KEY or ANTHROPIC_API_KEY

Usage

tensorclaw [--dry-run]

Run from the target repo root.

How It Works

TensorClaw enforces a metric-gated loop:

  1. Chat with the agent.
  2. Agent proposes one experiment plan.
  3. You approve (Y) or reject (N).
  4. Harness runs the experiment and parses objective metrics.
  5. Harness keeps improvements, reverts regressions/crashes, and records the iteration.

Dashboard

  • Chat pane: streamed user/agent conversation + pending proposal card
  • Metrics pane: objective sparkline, live monitor, run context, and pi token usage
  • Iterations pane: baseline + keep/discard/crash history with best/latest markers
  • Output pane: streamed setup/apply/experiment output
  • Status bar: phase, metric snapshot, and total pi tokens

Commands

Command Description
Enter (with text) Send a chat message
Y Approve pending proposal and start run
N Reject pending proposal
/status Print current state summary
/reset Clear local TensorClaw history in .tensorclaw/
/help Show command help

Data

TensorClaw stores run state under .tensorclaw/ in the target project:

.tensorclaw/
  results.tsv         # iteration ledger
  journal.md          # readable run journal
  metrics.jsonl       # live metric samples
  memory.jsonl        # retrieved memory for future prompts
  logs/               # run/apply logs
  instructions/       # saved prompts/instructions
  session.jsonl       # chat + pending plan state

TinyStories

We use the TinyStories dataset. See autoresearch for more info.

For a demo on Apple Silicon, run TensorClaw from your autoresearch-mlx project root:

tensorclaw

License

MIT

About

AI Research Assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages