echoai
v2.3.3
Published
Echo - Intelligent AI terminal with autonomous agents, 6 providers (Claude, GPT, Groq, OpenRouter, Meta, Gemini), and advanced output optimization
Maintainers
Readme
Echo AI
Echo AI is a local-first AI coding assistant with a CLI runtime, session persistence, tool orchestration, layered permissions, background task execution, and a VS Code extension.
What It Does
Echo AI combines a terminal-first developer workflow with an AI-native runtime:
- Fast CLI startup with lazy initialization and memoized config/provider loading
- Streamed model output and structured tool-call execution
- Parallel read-only tool batches and serialized mutating tool execution
- Layered permission rules with automated safe-path approvals
- Persistent sessions, event logs, approvals, artifacts, and session memory
- Background shell tasks with logs, status tracking, and stop controls
- Subagent session forking with optional isolated worktrees
- MCP tool/server integration
- VS Code extension for editor-triggered Echo AI workflows
Architecture Highlights
Runtime Kernel
The runtime is built around a streamed event loop:
- assistant deltas and tool calls flow through a unified event stream
- tools execute through a permission-aware orchestration layer
- sessions are persisted as structured runtime state instead of transient chat text
Security Model
Echo AI treats permissions as a runtime concern, not a UI afterthought:
- layered rules:
policy -> flag -> local -> project -> user - safe-path approvals for known low-risk reads and writes
- permission resolver orchestration for automated and interactive decisions
- workspace-bound built-in file tools
- background task logs and metadata guarded through managed runtime paths
Terminal Experience
The CLI renders structured runtime events instead of dumping raw text output. The TUI package also includes a vendored terminal rendering stack for richer terminal interfaces.
Installation
The commands below assume the CLI package is published as echoai.
If you publish under a scope such as @loopxo/echoai, replace echoai in the commands below with your scoped package name.
npm install -g echoaiRun it:
echoaiLocal development install:
git clone https://github.com/Loopxo/echoai.git
cd echoai
pnpm install
pnpm run buildQuick Start
Interactive mode:
echoaiDirect prompt:
echoai "Explain how this repository is structured"Run with explicit provider/model:
echoai "Refactor this TypeScript utility" --provider claude --model claude-3-5-sonnetSession workflows:
echoai sessions list
echoai sessions show <session-id> --messages
echoai sessions export <session-id> --format markdownBackground tasks:
echoai tasks start "pnpm test"
echoai tasks ps
echoai tasks logs <session-id> <task-id> --follow
echoai tasks kill <session-id> <task-id>Security and permissions:
echoai security status
echoai security audit
echoai security permissionsVS Code Extension
The VS Code extension lives in packages/extensions/vscode.
Package a Marketplace upload file:
cd packages/extensions/vscode
npm run packageThat produces a .vsix file you can upload in the Visual Studio Marketplace publisher dashboard.
The extension currently shells out to the latest published Echo AI CLI, so keep the CLI release and extension release aligned.
MCP Support
Echo AI supports MCP-compatible tools and servers.
Common commands:
echoai mcp list
echoai mcp add --id my-tool --name "My Tool" --transport stdio --command "/path/to/server"
echoai mcp tools
echoai mcp call calculator expression="2+2*3"Treat MCP configuration as trusted configuration. A malicious stdio command or remote MCP endpoint can execute code or expose data.
Development
Install dependencies:
pnpm installBuild everything:
pnpm run buildRun tests:
pnpm exec vitest run --passWithNoTestsValidate release readiness:
pnpm run validateRun the CLI locally:
pnpm run devRelease
CLI / npm
Update the root package version in package.json, then:
pnpm run validate
npm publishIf the package is scoped, publish with public access:
npm publish --access publicVS Code Extension
Update the extension version in packages/extensions/vscode/package.json, then:
cd packages/extensions/vscode
npm run packageUpload the generated .vsix in the Visual Studio Marketplace publisher portal, or publish with vsce publish if your publisher auth is configured locally.
Repository
- GitHub: Loopxo/echoai
- License: MIT
Contributing
Issues and pull requests are welcome. Keep changes focused, testable, and aligned with the runtime-first architecture of the project.
