惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

M
MIT News - Artificial intelligence
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
Last Week in AI
Last Week in AI
S
SegmentFault 最新的问题
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
The Cloudflare Blog
IT之家
IT之家
雷峰网
雷峰网
小众软件
小众软件
博客园 - 叶小钗
博客园 - 聂微东
爱范儿
爱范儿
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
博客园 - 【当耐特】
V
V2EX
博客园_首页
T
Tailwind CSS Blog

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - akshaylakkur/Q
akshayl284 · 2026-06-17 · via Hacker News - Newest: "AI"

Qode (q-cli)

Node SDK v0.1.0

MIT

Qode is a terminal-based autonomous coding agent for long-running tasks and massive codebase development. It operates directly in your terminal with a rich TUI, connects to multiple LLM providers, and orchestrates multi-file changes through an intelligent pipeline that scales from one-line fixes to cross-cutting transformations spanning hundreds of files.

The Node SDK is a thin client that reuses the same Qode CLI configuration, tools, skills, and MCP servers. It streams responses in real time, surfaces approvals and tool calls, and lets you orchestrate sessions programmatically.


Overview

Qode provides an autonomous agent runtime, enabling you to:

  • Build custom applications — Integrate Qode into your own tools and workflows
  • Automate complex tasks — Script multi-turn conversations across long-running sessions
  • Run massive codebase operations — Use Modus Maximus for cross-cutting changes

Core capabilities

  • Two execution modes: AUTO (single-agent turn loop with classifier-driven behavior) and MODUS MAXIMUS (4-phase pipeline: plan generation, user confirmation, sequential sub-agent execution through specialist profiles, and final summary)
  • Intent classification: Heuristic analysis of every prompt for scope, depth, file references, action verbs, parallelism needs, and verification requirements
  • Dynamic escalation: Runtime mode escalation via DynamicReclassifier when the current execution strategy is insufficient
  • Modus Maximus: 15-50 dependency-aware plan steps, user confirmation (Looks Good / Needs Revision / Redo), sequential sub-agent execution with heuristic profile resolution, and final summary (Aims to generate 50k-80k lines of code for a fresh project in one shot through our specialized architecture)
  • Specialist agent profiles: Editius (surgical code editing via StrReplace), Rewritius (full-file rewrites and refactoring), Searchius (codebase analysis), Auto (task-adaptive); switchable via /agent
  • Four-tier memory: WorkingMemory with priority-tagged compaction, EpisodicRecall with TF-IDF scoring, LTPM (disk-backed persistence with retention policies), SemanticRecall (vector-based ANN search via HNSW index), CodebaseGraph (language-aware model for TS, JS, Python, Rust, Go, Java)
  • Verification pipeline: 7 gates (syntax, lint, typecheck, unit tests, integration tests, architecture, full suite) with per-language auto-detection and SHA-256 caching
  • Self-correction: Automated fix-and-reverify loop with architecture escalation
  • Multiple LLM providers: Anthropic, OpenAI, Google Gemini, Ollama (local, no API key), Kimi, OpenAI-compatible
  • Plugin system: Manifest-based discovery with lifecycle hooks
  • Skill system: Reusable prompt templates and inline scripts
  • MCP client: stdio and HTTP/SSE transport
  • Session persistence: JSONL wire format, blob store, migration system
  • Non-interactive mode: --prompt for CI/CD, --output-format json
  • Onboarding wizard: First-run setup for provider and model

Available Packages

Package Description Status
apps/q-cli Main CLI — orchestrator, TUI, memory, MCP, plugins, verification Available
packages/agent-core Core agent runtime — context, turn loop, tools, sub-agents, profiles Available
packages/qprovs LLM provider abstraction Available
packages/qmain Execution environment — file ops, shell, git, web Available
packages/node-sdk Programmatic Node.js SDK Available
packages/oauth OAuth 2.0 for MCP server auth Available
packages/telemetry Optional crash reporting and telemetry Available

Quick Start

Installation

npm install -g qode-agent

Requires Node.js >= 22.19.0 and pnpm >= 10.33.0. The installer builds the project, creates ~/.Q/, and installs the q-cli wrapper.

Usage

# Interactive mode (opens TUI)
q-cli

# Shorthand
q

# One-shot prompt for CI/CD
q-cli -p "Add error handling to src/routes/users.ts"

# Use Modus Maximus for complex tasks
q-cli
q> /mode modus-maximus
q> Refactor the authentication system to use OAuth 2.0

# Resume a previous session
q-cli -S <session-id>

# Non-interactive with JSON output
q-cli -p "Fix the type errors" --output-format json

CLI Options

-S, --session <id>       Resume a session
-C, --continue           Continue last session
-y, --yolo               Auto-approve all actions
-m, --model <name>       Override LLM model
-p, --prompt <text>      Non-interactive mode
--plan                   Plan mode on startup
--auto                   Auto permission mode
--setup                  Re-run setup wizard
--output-format <fmt>    text | json | stream-json
--skills-dir <dir>       Additional skill directories
--cwd <path>             Working directory
--tui / --no-tui         Force/enable TUI

Commands

init          Initialize a Qode project
session       Manage sessions (list, show, delete, export, import)
config        View and edit configuration
doctor        Diagnose and fix configuration issues
migrate       Migrate data between versions
update        Check for and install updates
completions   Generate shell completion scripts
daemon        Start/stop the Qode daemon
connect       Connect to a remote instance
profile       Manage agent profiles
plugin        Manage plugins

Slash Commands

/help             Interactive help dashboard
/status           Session status dashboard
/session          Show/manage session info
/clear            Clear transcript
/exit             Gracefully exit
/version          Show version info
/mode <name>      Switch mode (auto, modus-maximus)
/agent <name>     Switch profile (auto, editius, rewritius, searchius)
/qmd              Generate Q.md with project conventions

Environment Variables

Q_PROVIDER    LLM provider (anthropic, openai, ollama, etc.)
Q_MODEL       Model name (e.g. claude-sonnet-4-20250514)
Q_API_KEY     API key for the provider
Q_BASE_URL    Custom base URL
Q_THINKING    Thinking level (none, low, medium, high)

Configuration

Loaded in ascending priority: built-in defaults → ~/.Q/config.toml.q/config.toml (walked up from cwd) → environment variables. First run launches interactive onboarding wizard.


License

MIT