helixent
Helixent is a small library for building ReAct-style AI agent loops based on the Bun stack.
File Explorer
- settings.json
- use-bun-instead-of-node-vite-npm-pnpm.mdc
- pre-commit
- check.yml
- bun.md
- code-convention.md
- foundation.md
- SKILL.md
- SKILL.md
- skills.test.ts
- todos.test.ts
- tool-result-policy.test.ts
- tool-result-runtime.test.ts
- tool-result-summary.test.ts
- index.ts
- list-skills.ts
- skill-reader.ts
- skills-middleware.ts
- index.ts
- todos.ts
- types.ts
- agent-event.ts
- agent-middleware.ts
- agent.ts
- index.ts
- tool-result-policy.ts
- tool-result-runtime.ts
- tool-result-summary.ts
- first-run-wizard.tsx
- index.ts
- integrity.ts
- model-wizard.tsx
- add.ts
- index.ts
- list.ts
- prompt-select-model.ts
- remove.ts
- set-default.ts
- index.ts
- index.ts
- schema.test.ts
- index.ts
- schema.ts
- settings-loader.test.ts
- settings.test.ts
- index.ts
- settings-loader.ts
- settings-writer.ts
- settings.ts
- command-registry.test.ts
- input-editor.test.ts
- token-usage.test.ts
- approval-prompt.tsx
- ask-user-question-prompt.tsx
- command-list.tsx
- footer.tsx
- header.tsx
- highlighted-input.tsx
- input-box.tsx
- markdown.tsx
- message-history.tsx
- streaming-indicator.tsx
- todo-panel.tsx
- use-agent-loop.ts
- use-animation-frame.ts
- use-approval-manager.ts
- use-ask-user-question-manager.ts
- use-command-input.ts
- use-input-history.ts
- index.ts
- app.tsx
- command-registry.ts
- index.ts
- input-editor.ts
- message-text.ts
- todo-view.ts
- token-usage.ts
- index.tsx
- model-providers.ts
- version.ts
- index.ts
- lead-agent.ts
- approval-manager.test.ts
- coding-approval-middleware.test.ts
- requires-approval.test.ts
- approval-manager.ts
- approval-persistence.ts
- approval-types.ts
- coding-approval-middleware.ts
- index.ts
- requires-approval.ts
- apply-patch.test.ts
- ask-user-question-manager.test.ts
- ask-user-question.test.ts
- bash.test.ts
- file-info.test.ts
- glob-search.test.ts
- grep-search.test.ts
- list-files.test.ts
- mkdir.test.ts
- move-path.test.ts
- read-file.test.ts
- str-replace.test.ts
- tool-result.test.ts
- tool-utils.test.ts
- write-file.test.ts
- apply-patch.ts
- ask-user-question-manager.ts
- ask-user-question.ts
- bash.ts
- file-info.ts
- glob-search.ts
- grep-search.ts
- list-files.ts
- mkdir.ts
- move-path.ts
- read-file.ts
- str-replace.ts
- tool-result.ts
- tool-utils.ts
- write-file.ts
- index.ts
- stream-utils.test.ts
- utils.test.ts
- index.ts
- model-provider.ts
- stream-utils.ts
- utils.ts
- stream-utils.test.ts
- utils.test.ts
- index.ts
- model-provider.ts
- stream-utils.ts
- types.ts
- utils.ts
- tools.test.ts
- content.ts
- index.ts
- message.ts
- role.ts
- index.ts
- index.ts
- model-context.ts
- model-provider.ts
- model.ts
- function-tool.ts
- index.ts
- structured-tool-result.ts
- index.ts
- index.ts
- .gitignore
- .markdownlint.json
- .prettierrc
- AGENTS.md
- bun.lock
- CLAUDE.md
- eslint.config.js
- index.ts
- package.json
- README.md
- README.zh.md
- test.log
- tsconfig.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
bun build
View Details ▼
bun build
Bundle JavaScript and TypeScript files with Bun's fast native bundler.
bun build {{path/to/entry.ts}} --outfile {{path/to/output.js}}
Bundle an entry point to a single output file:
bun build {{path/to/entry1.ts path/to/entry2.ts ...}} --outdir {{path/to/dist}}
Bundle multiple entry points to an output directory:
bun build {{path/to/entry.ts}} --outfile {{path/to/output.js}} --sourcemap
Bundle with source maps for debugging:
bun install
View Details ▼
bun install
Install JavaScript dependencies for a project from `package.json`.
bun {{[i|install]}}
Install all dependencies listed in `package.json`:
bun {{[i|install]}} {{package_name}}@{{version}}
Install a single package (this is an alias for `bun add`):
bun {{[i|install]}} {{[-g|--global]}} {{package_name}}
Install a package globally:
bun run
View Details ▼
bun run
Execute a JavaScript/TypeScript file, or a script from `package.json`.
bun run {{script_name}}
Run a script defined in `package.json`:
bun run {{path/to/file.ts}}
Run a JavaScript or TypeScript file directly:
bun run --watch {{path/to/file.ts}}
Run a file in "watch" mode (restarts automatically when the file changes):
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npm
View Details ▼
npm
JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.
npm init {{[-y|--yes]}}
Create a `package.json` file with default values (omit `--yes` to do it interactively):
npm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npx
View Details ▼
npx
This command is an alias of `npm exec`.
tldr npm exec
View documentation for the original command:
openai
View Details ▼
openai
CLI tool providing access to the OpenAI API.
openai api models.list
List models:
openai api completions.create --model {{ada}} --prompt "{{Hello world}}"
Create a completion:
openai api chat_completions.create --model {{gpt-3.5-turbo}} --message {{user "Hello world"}}
Create a chat completion:
