0.2.3 • Published 5 months ago

@just-every/mech v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 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

5 months ago

0.2.2

5 months ago

0.1.29

5 months ago

0.1.28

5 months ago

0.1.27

5 months ago

0.1.26

5 months ago

0.1.25

5 months ago

0.1.24

5 months ago

0.1.23

5 months ago

0.1.22

5 months ago

0.1.21

5 months ago

0.1.20

5 months ago

0.1.19

5 months ago

0.1.18

5 months ago

0.1.17

5 months ago

0.1.16

5 months ago

0.1.15

5 months ago

0.1.14

5 months ago

0.1.13

5 months ago

0.1.12

5 months ago

0.1.11

5 months ago

0.1.10

5 months ago

0.1.8

5 months ago

0.1.7

5 months ago

0.1.6

5 months ago

0.1.5

5 months ago

0.1.4

5 months ago

0.1.3

5 months ago

0.1.2

5 months ago

0.1.1

5 months ago

0.1.0

5 months ago