0.2.3 • Published 10 months ago

@just-every/mech v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@just-every/mind

Mind adds meta-cognition, adaptive model rotation and cost tracking to your @just-every/ensemble agents in a single call.

🚀 Quick install

npm install @just-every/mind

🔑 One-minute setup

Set your LLM keys (any you have will do):

export OPENAI_API_KEY="…" export ANTHROPIC_API_KEY="…" export GOOGLE_API_KEY="…"

⚡ Hello Mind

import { mindTask } from "@just-every/mind"; import { Agent } from "@just-every/ensemble";

const agent = new Agent({ modelClass: "reasoning" });

const stream = mindTask(agent, "Review this function: function add(a, b) { return a + b; }" );

Mind picks the best model, runs until the task is done, and logs every decision.

🎯 Why Mind? • Auto model rotation – performance-based, cost-aware. • Meta-cognition – agents reflect & self-correct. • Tool wiring – any Ensemble tool, zero boilerplate. • Cost tracker – live totals across providers. • Tiny API – one function, sensible defaults.

🧠 Model classes

Class Typical use-cases reasoning Logic, multi-step problems code Code review & generation standard Writing, Q&A, summaries

Set modelClass and let Mind handle the rest.

📚 Docs & examples • Examples – ./examples/* • API Reference – /docs/api.md

📄 License

MIT – hack away.

0.2.3

10 months ago

0.2.2

10 months ago

0.1.29

10 months ago

0.1.28

10 months ago

0.1.27

10 months ago

0.1.26

10 months ago

0.1.25

10 months ago

0.1.24

10 months ago

0.1.23

10 months ago

0.1.22

10 months ago

0.1.21

10 months ago

0.1.20

10 months ago

0.1.19

10 months ago

0.1.18

10 months ago

0.1.17

10 months ago

0.1.16

10 months ago

0.1.15

10 months ago

0.1.14

10 months ago

0.1.13

10 months ago

0.1.12

10 months ago

0.1.11

10 months ago

0.1.10

10 months ago

0.1.8

10 months ago

0.1.7

10 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago