{{DESCRIPTION}}
Built with llmist - see the documentation for more details.
# Use all gadgets
bunx @llmist/cli agent "your task" -g {{PACKAGE_NAME}}
# Use subagent preset (Explorer only)
bunx @llmist/cli agent "your task" -g {{PACKAGE_NAME}}:subagent
# Use readonly preset
bunx @llmist/cli agent "your task" -g {{PACKAGE_NAME}}:readonly
# Use from GitHub (before publishing to npm)
bunx @llmist/cli agent "your task" -g git+https://github.com/{{GITHUB_USER}}/{{PACKAGE_NAME}}.gitConfigure in ~/.llmist/cli.toml:
[subagents.Explorer]
model = "sonnet" # Model for the explorer subagent
maxIterations = 20 # Maximum steps before giving upnpm install {{PACKAGE_NAME}}
# or
bun add {{PACKAGE_NAME}}import { LLMist } from 'llmist';
import { ExplorerSubagent } from '{{PACKAGE_NAME}}';
const result = await LLMist.createAgent()
.withModel('sonnet')
.withGadgets(new ExplorerSubagent())
.askAndCollect('Explore this topic and report findings');
console.log(result.text);import { LLMist, AgentBuilder } from 'llmist';
import { exampleSearch, ExampleAction, SessionManager } from '{{PACKAGE_NAME}}';
// Function-based gadget (stateless)
const agent1 = new AgentBuilder(new LLMist())
.withGadgets(exampleSearch)
.ask('Search for something');
// Class-based gadget (with session manager)
const manager = new SessionManager();
const agent2 = new AgentBuilder(new LLMist())
.withGadgets(new ExampleAction(manager))
.ask('Perform an action');import { createGadgets, createGadgetsByPreset } from '{{PACKAGE_NAME}}';
// Create all gadgets
const gadgets = createGadgets();
agent.withGadgets(gadgets.ExampleSearch, gadgets.ExampleAction);
// Create by preset
const readonlyGadgets = createGadgetsByPreset('readonly');
agent.withGadgets(...readonlyGadgets);| Preset | Gadgets | Use Case |
|---|---|---|
all |
All gadgets | Full functionality |
subagent |
Explorer | Autonomous exploration |
readonly |
ExampleSearch | Read-only operations |
minimal |
ExampleSearch | Minimal footprint |
| Gadget | Type | Description |
|---|---|---|
ExampleSearch |
Function | Search for information |
ExampleAction |
Class | Perform actions on resources |
Explorer |
Subagent | Autonomous exploration agent |
- llmist Documentation - Full documentation
- Creating Gadgets - How to create gadgets
- Subagents - Building autonomous subagents
- CLI Usage - Using the llmist CLI
- Configuration - Configuration options
# Install dependencies
bun install
# Run tests
bun test
# Type check
bun run typecheck
# Lint
bun run lint
# Build
bun run build
# Run all checks (pre-commit)
bun run precheckThis project was created from the llmist gadget template. To customize:
- Replace all
{{PACKAGE_NAME}}placeholders with your package name - Replace all
{{DESCRIPTION}}placeholders with your description - Replace all
{{AUTHOR}}placeholders with your name/org - Replace all
{{GITHUB_USER}}placeholders with your GitHub username
Placeholders appear in:
package.jsonREADME.mdLICENSEsrc/index.tsexamples/demo.ts
- llmist.dev - Official website
- llmist Documentation - Full documentation
- GitHub - Source code
MIT