hablas-ai
v2.2.15
Published
Single-agent terminal AI engineering runtime with full tools, direct execution, and clean UX.
Downloads
11,083
Maintainers
Readme
Hablas CLI
Single-agent terminal AI engineering runtime.
Hablas is being rebuilt from scratch around one strict product decision:
one visible agent, one execution surface, full tools, zero internal theatre
This stable branch no longer treats multi-agent choreography as the product. The product is now Hablas only.
Product principles
- Single visible agent
- Fast direct path for trivial turns
- Full tool execution for real engineering work
- No hidden routing leaks in the UX
- No handoff theatre, no mode maze, no orchestration drama
- Read before edit, verify before claim
- Direct technical tone: no emojis, no hype, no filler
- Professional shell UX matters as much as model quality
Installation
git clone https://github.com/Monopoly63/mobile-bot.git
cd mobile-bot/flowagent
npm install
npm run build
npm linkRequirements:
- Node.js 20+
- One provider:
- Ollama
- NVIDIA NIM
- any OpenAI-compatible API
Usage
First run / setup
On first launch, Hablas now offers the restored classic setup flow:
Hablas Integrated Engine
- ready-made
- preconfigured NVIDIA-backed endpoint
- selected model already configured
- user just chooses option 1
Custom Provider
- Ollama
- OpenAI
- Groq
- OpenRouter
- Together
- DeepSeek
- custom OpenAI-compatible API
- NVIDIA NIM
You can also run setup manually anytime:
hablas --setupInteractive
hablasInteractive with automatic tool confirmations where allowed
hablas --autoOne-shot
hablas run "read package.json and tell me the version"Web and asset workflow
Hablas now keeps the professional web tool chain active:
web_searchsearch_image_candidatesinspect_imagescrape_urlextract_linksdownload_asset
This means Hablas can:
- search the web for references and assets
- rank trusted image page candidates before downloading
- inspect a remote or local image candidate before adoption
- resolve a page candidate into a direct image candidate with an explicit verdict
- download real images/files into the project when appropriate
- preserve full file reads in-context so long files are not silently cut into tiny fragments that force rereads
Image pipeline stance
For image replacement work, the intended flow is:
search_image_candidatesinspect_imagedownload_asset
The runtime should stay inside this image toolchain.
It should not fall back to shell hacks (curl, powershell, guessed public image IDs) for public asset discovery unless the user explicitly asks for low-level debugging.
Current command surface
CLI commands
hablashablas run "..."hablas doctorhablas infohablas securityhablas statshablas --setup
Slash commands
/help/status/model [name]/models [query]/provider [ollama|nvidia|custom|test]/history [n]/clear/workspace/doctor/version/about/exit
Shell UX
- tab completion for slash commands
- tab completion for common file paths after verbs like
read,write,edit,patch #filereference completion- persisted command history
- rebuilt Apple-slate terminal styling
- visible thinking state while the model is working
- direct-turn streaming when the provider supports it
Execution model
Hablas analyzes a request into one of four internal task kinds:
casualreadanalysisimplementation
The runtime uses a lightweight local task profiler so first-turn latency stays clean and there is no hidden pre-turn model call before Hablas starts responding.
Then it decides whether the turn should be:
- direct text execution
- tool-based execution
There is no public build/design/ask mode system anymore.
There is no visible team routing layer.
Examples
Simple direct turn
hiExpected behavior:
- no tool calls
- short direct answer
Project inspection
what is the current version of this projectExpected behavior:
- inspect the minimum relevant files
- answer from evidence
Architecture request
design the architecture for auth in this repositoryExpected behavior:
- structured analysis
- inspect files only if needed
- answer as one agent
Continuation request
continue the unfinished projectExpected behavior:
- continue from existing work
- do not restart from zero
One-step delivery request
just give me the finished project in one step no questionsExpected behavior:
- aggressive execution posture
- no unnecessary follow-up questions
- verify before claiming done
Architecture docs
See:
docs/ARCHITECTURE.mddocs/CLI.mddocs/ROADMAP.mddocs/STATUS.mddocs/PUBLISH.md
Development
npm install
npm run build
npm test
npm run dev -- run "your prompt"Current automated checks cover:
- shared execution engine smoke behavior
- analyzer behavior
- session continuity behavior
- image pipeline helper behavior
Memory and state
Hablas now uses larger defaults for the rebuilt runtime and also keeps a project-local state folder:
- larger message history budget
- larger context budget
- project-local
.hablas/session.jsonpersistence for the current workspace
This is separate from the user-home config directory used for global config/history.
Rebuild status
This branch is under an intentional full rebuild of the stable product surface. Dead code from the previous multi-agent product is being physically removed instead of patched.
License
MIT
