Haldwani Times
Haldwani Times
Technology

ayder-cli 2.5.11

ayder-cli 2.5.11
Photo / Illustration: Haldwani Times Editorial Desk

Skip to main content Switch to mobile version ayder-cli 2.5.11 AI agent for any LLMs

pip install ayder-cli==2.5.11 Copy PIP instructions

A multi-provider AI agent chat client for your terminal. ayder supports Ollama, Anthropic Claude, OpenAI, Gemini, or any OpenAI-compatible API and provides an autonomous coding assistant with file system tools and shell access.

Provider SDKs are now optional. The core install ships only OpenAI + Ollama (plus DeepSeek, which reuses the OpenAI SDK); Anthropic, Google, Qwen, and GLM are opt-in extras -- install only what you use. Selecting a driver whose package isn't installed fails fast with the exact pip install command and a list of the drivers available in your install. See CHANGELOG.md and Installation.

Upgrading from 1.x (breaking): anthropic and google are no longer installed by default. Run pip install ayder-cli[anthropic] / [google] (or [all]) if you use them.

Supported LLM providers

Ollama (local or cloud)

DeepSeek (via OpenAI-compatible driver)

Qwen (via DashScope native driver)

GLM / ChatGLM (via ZhipuAI native driver)

Most AI coding assistants require cloud APIs, subscriptions, or heavy IDE plugins. ayder-cli takes a different approach:

Multi-provider -- switch between Ollama, Anthropic Claude, Gemini, or any OpenAI-compatible API with a single /provider command. Each provider has its own config profile.

7 native drivers -- Ollama, OpenAI, Anthropic, Gemini, DeepSeek, Qwen (DashScope), and GLM (ZhipuAI). Each driver guarantees native tool calling and streaming support.

Fully local or cloud -- run locally with Ollama, or connect to any cloud provider.

Agentic workflow -- the LLM reads files, edits code, runs shell commands, and iterates autonomously with configurable iteration limits per message.

Multi-agent -- define specialized sub-agents in config.toml. Each agent runs independently with its own LLM, model, and context. Results are injected back into the main conversation when complete.

Textual TUI -- a full-screen terminal interface whose chat view shows the model's reasoning, tool calls and agent runs as items, in order, next to the conversation (one line each until you expand them), with slash command auto-completion, permission toggles, and tool confirmation modals with diff previews.

Batteries included -- the OpenAI and Ollama SDKs ship with ayder-cli core. Anthropic, Google, Qwen, and GLM are optional extras (install only what you need). The terminal UI is built on Rich and Textual.

LLMs on their own can only generate text. To be a useful coding assistant, the model needs to act on your codebase. ayder-cli ships 16 built-in tools that the model can call, plus optional plugin toolsets (see Plugins):

Each tool has an OpenAI-compatible JSON schema so models that support function calling can use them natively. For models that don't, ayder-cli also parses a custom XML-like syntax (value) as a fallback.

Path sandboxing: All file operations are confined to the project root via ProjectContext. Path traversal attacks (../) and absolute paths outside the project are blocked. The one exception is the session scratch directory, /tmp/ayder-/-// (mode 0700, one subdirectory per agent run), which the system prompt names as the place for temporary files and which the file tools accept. It is not cleaned up; the OS clears /tmp.

Safe mode (TUI): Blocks file_editor, bash, background_process, and fetch_web.

Every tool call requires your confirmation before it runs -- you always stay in control. Use -r, -w, -x flags to auto-approve tool categories.

You may also prefer to run ayder-cli in a container for additional security.

Requires Python 3.12+. Works best with uv. If you don't have uv in your path, get it from Astral uv.

Core install (OpenAI + Ollama, plus DeepSeek which reuses the OpenAI SDK):

pip install ayder-cli Optional providers (install only what you use):

pip install ayder-cli[anthropic] # Claude pip install ayder-cli[google] # Gemini pip install ayder-cli[qwen] # Qwen (dashscope) pip install ayder-cli[glm] # GLM (zhipuai) pip install ayder-cli[all] # everything If you select a driver whose package isn't installed, ayder prints the exact install command and lists the drivers available in your install.

# Install to user environment (uv tool) uv tool install ayder-cli # Or for nightly / development builds: git clone https://github.com/ayder/ayder-cli.git cd ayder-cli # Install in development mode python3.12 -m venv .venv source .venv/bin/activate uv pip install -e . # Or as a uv tool (always on the path) uv tool install -e . Ollama setup (default provider)

# Make sure Ollama is running with a model ollama pull qwen3-coder ollama serve # Optional: optimize Ollama for your model export OLLAMA_CONTEXT_LENGTH=65536 export OLLAMA_FLASH_ATTENTION=true export OLLAMA_MAX_LOADED_MODELS=1 Cloud providers

Add an API key to a profile with /config (or edit ~/.ayder/config.toml, see Configuration below) and switch provider in the TUI:

/provider anthropic # or: openai, google, deepseek, qwen, glm Note: anthropic and google require the corresponding optional extra (see Installation above). openai, ollama, and deepseek are included in the core install.

Configuration: Profiles and Drivers

ayder-cli uses a flexible profile-based configuration system. On the first run, it creates a config file at ~/.ayder/config.toml. When that first run opens the TUI, the config wizard opens over it so you can set up a provider right away; a first run without the TUI (ayder "...", piped input, task commands) only writes the file.

The generated file includes an [llm.evren] profile for the evren gateway (https://evren-llmapi.ssyz.org.tr/v1) with an empty api_key. Fill in your key with /config and make it the default, or switch to it with /provider evren.

The Config Wizard (/config)

/config opens the config wizard at any time; it is the same screen the first run shows. It lists the [llm.] profiles (★ marks the default, "(in use)" the session's profile) and edits them in place:

a add: pick Claude, Gemini, Evren, Ollama, or any OpenAI-compatible endpoint; each comes with its default settings. A provider whose SDK extra is not installed is greyed out with the command to install it (e.g. pip install ayder-cli[anthropic]). Picking a preset whose seeded profile still has an empty API key (anthropic, gemini, evren) edits that profile instead of adding a copy.

e / Enter edit: the form shows only the keys the profile's driver reads: base URL as Host, Port and Path (with a preview), a masked API key, the model, and an Advanced section (num_ctx, max_output_tokens, reasoning_effort, think, stop_sequences, depending on the driver, and for every driver max_concurrent_requests and request_timeout_seconds). Empty advanced fields are not written. For OpenAI-compatible and Ollama profiles, Fetch models lists the endpoint's models in a picker: type to filter, ↑↓ to move, Enter to fill the Model field, Esc to keep it (the evren terms are shown first when the gateway asks for them).

s set default: writes provider under [app] and switches the session to it. A profile becomes the default only if its provider can be built, so a missing SDK or a bad URL can never stop the next start.

d delete: asks first; the default profile, the session's profile, a profile an agent uses, and the last profile cannot be deleted.

Saving the session's profile applies the change to the running session. The wizard rewrites only the edited [llm.] table and the provider line: comments, ordering and every other section of config.toml stay as they are.

Profile Name: A custom named section (e.g., [llm.my_ollama]). You can define as many profiles as you want.

Driver: The underlying native SDK or adapter used by the profile (ollama, openai, anthropic, google, deepseek, qwen, or glm). Each driver guarantees full support for native tool calling and streaming.

Active Provider: The provider setting under [app] determines which profile is currently active.

Chat Protocol: By default, all drivers use native tool calling (chat_protocol = "ollama"). If you encounter a model that fails to trigger tools natively, you can set chat_protocol = "xml" in that profile to force an XML-based fallback.

Example: Running the Same Model via Different Drivers

Because profiles are just names, you can configure the same model to run through different drivers:

config_version = "2.0" [app] provider = "qwen_local" # <--- Currently using the local Ollama version # --- Profiles --- # 1. Local Qwen via Ollama driver [llm.qwen_local] driver = "ollama" base_url = "http://localhost:11434" model = "qwen2.5-coder:latest" num_ctx = 65536 # 2. Cloud Qwen via OpenAI driver (e.g., DeepInfra, Together) [llm.qwen_cloud] driver = "openai" base_url = "https://api.deepinfra.com/v1/openai" api_key = "sk-..." model = "Qwen/Qwen2.5-Coder-32B-Instruct" num_ctx = 65536 In the TUI, typing /provider qwen_cloud seamlessly switches from your local GPU to the cloud endpoint.

Full Configuration Reference

config_version = "2.0" [app] provider = "openai" # Active provider profile name editor = "vim" # Editor for /task-edit command verbose = false # Show file contents after write + LLM debug max_background_processes = 5 # Max concurrent background processes (1-20) max_iterations = 0 # LLM calls per message before the loop stops (default 0 = unlimited) max_output_tokens = 32768 # Max tokens in LLM response max_history_messages = 0 # Messages kept in history (default 0 = unlimited) prompt = "STANDARD" # System prompt tier: MINIMAL, STANDARD, EXTENDED tool_tags = ["core", "metadata"] # Enabled tool tags (see /plugin) # skills = ["development-workflow"] # or "none"; default: the built-in skills agent_timeout = 300 # Seconds before a background agent is cancelled [logging] file_enabled = true # master switch for ALL file logging file_path = ".ayder/log/ayder.log" error_path = ".ayder/log/errors.log" # always written unless file_enabled = false trace_enabled = false trace_path = ".ayder/log/trace.jsonl" rotation = "10 MB" retention = "7 days" # level = "INFO" # optional; omitted entirely when unset, which means NONE. # NONE, ERROR, WARNING, INFO, DEBUG, TRACE [logging.channels] # Per-channel level overrides. Unlisted channels inherit the global level. # Channels: llm, tool, agent, context, plugin, ui, core, external # llm = "TRACE" # verbose LLM traffic # plugin = "WARNING" # quiet plugin discovery # external = "ERROR" # throttle third-party libraries # ui = "NONE" # disable this channel entirely [context_manager] enabled = true max_context_tokens = 8192 # --- Provider Profiles --- [llm.my_local_ollama] driver = "ollama" base_url = "http://localhost:11434" model = "qwen3-coder:latest" num_ctx = 65536 [llm.openai_cloud] driver = "openai" api_key = "sk-..." model = "gpt-4o" num_ctx = 128000 [llm.anthropic] driver = "anthropic" api_key = "sk-ant-..." model = "claude-sonnet-5-5" num_ctx = 200000 [llm.gemini] driver = "google" api_key = "AIza..." model = "gemini-3-pro" num_ctx = 1000000 request_timeout_seconds = 0 # seconds the stream may stay silent before the attempt is retried; 0 = no timeout (default) max_concurrent_requests = 0 # requests this profile may have in flight at once, main chat and agents together; 0 = unlimited (default) Please adjust num_ctx context size window according to your local computer RAM. If Ollama crashes, decrease the value.

Reasoning Effort (/effort)

Use /effort to open a picker, or /effort high to change the active session. Changes apply between turns and are inherited by future agents that use the session's profile; explicit agent settings take precedence. They do not change config.toml. /effort default restores the provider's default behavior (omits OpenAI effort and Ollama's think parameter).

Support varies by model. OpenAI values follow its Chat Completions API. Ollama uses the installed Python SDK's boolean and three-level think options; its SDK does not yet accept the server API's newer max value. GPT-OSS expects low, medium, or high, and cannot disable thinking. See Ollama thinking.

Set persistent defaults per LLM profile and agent:

[llm.openai] driver = "openai" reasoning_effort = "medium" [llm.ollama] driver = "ollama" reasoning_effort = "high" [agents.reviewer] provider = "openai" reasoning_effort = "high" system_prompt = "Review code and report findings." Omit an agent's reasoning_effort to inherit its profile, or set it to "default" to clear an inherited effort. On Ollama, "none" maps to think = false; an explicit effort overrides the legacy think setting. Existing think = true/false/"low"/"medium"/"high" profile and agent settings remain supported. OpenAI omits reasoning effort by default, preserving compatibility with models and endpoints that do not support it.

Changing Models on the Fly (/model)

You do not need a separate profile for every model. The profile defines the connection (driver, base URL, API key).

Once a profile is active, use /model in the TUI to swap models on the fly:

Interactive Picker: /model with no arguments queries the active driver for available models and opens a picker.

Direct Switch: /model immediately switches to that model.

If the provider rejects the listing request, /model shows the server's error.

evren limits how many requests an account may have in flight. When it refuses one, ayder waits as long as evren's Retry-After asks, shows the wait in the chat, and lowers the evren profile's request pool to the limit evren reported; the pool grows back by one each time that many requests, started after the refusal, have completed, up to max_concurrent_requests (0 = no ceiling). The main chat and its agents share the pool; separate ayder sessions on one account do not. /quota shows the account's concurrent requests and token quota.

Changes made with /model apply to the current session only. To make a model the permanent default, update model = "..." in your config.toml.

# Start (launches TUI by default) ayder # Or run as a module python3 -m ayder_cli Command Mode (Non-Interactive)

# Execute a single command and exit ayder "create a hello.py script" # Pipe input (auto-detected, no flag needed) echo "create a test.py file" | ayder # Read from file ayder -f instructions.txt # Explicit stdin mode ayder --stdin < prompt.txt # Override the main LLM system prompt with a file # (the environment section with working directory and start time, # and the tool instructions, are still appended) ayder --system-prompt prompt-file.md "refactor this code" Exit codes, for scripts:

Task Commands (CLI Mode)

Execute task-related commands directly without entering the TUI:

# List all tasks ayder --tasks # Implement a specific task by ID or name ayder --implement 1 ayder --implement auth # Implement all pending tasks sequentially ayder --implement-all Tool Permissions (-r/-w/-x/--http)

By default, every tool call requires user confirmation. Use permission flags to auto-approve tool categories:

Installed plugins extend these categories (e.g. python_editor → write, virtualenv tools → execute, dbs_tool → web).

# Auto-approve read-only tools ayder -r # Auto-approve read and write tools ayder -r -w # Auto-approve everything (fully autonomous) ayder -r -w -x # Allow web tools without prompts ayder -r --http # Combine with other flags ayder -r -w "refactor the login module" echo "fix the bug" | ayder -r -w -x Context Management

ayder-cli includes a context manager that automatically keeps your conversation within the model's token budget. The implementation is driver-aware — Ollama gets a specialized KV-cache-optimized manager, while cloud providers (Anthropic, OpenAI, Gemini) use a general-purpose tiered manager.

Ollama-specific optimizations (automatic when driver = "ollama"):

KV-cache-aware: Messages are append-only and never reordered. The system prompt is frozen at session start. This preserves Ollama's KV-cache prefix between calls — subsequent prompts process only new tokens instead of recomputing everything.

Real token counts: Uses Ollama's prompt_eval_count and eval_count from native API responses instead of estimates. Compaction decisions are based on actual usage, not heuristics.

Cache monitoring: Tracks prompt_eval_duration / prompt_eval_count ratio to detect KV-cache hits (hot/warm/miss). When the cache is hot, compaction is delayed (threshold raised from 70% to 90%) to avoid invalidating it.

Auto-detected context length: On startup, queries /api/show to get the model's real context length instead of relying on num_ctx. Falls back to num_ctx if detection fails.

Heuristic compaction: When the context fills up, the oldest half of the message units is replaced with a text summary — no LLM call needed. The newest unit is never folded. The summary persists: every later request reuses the same summary message, so each request extends the previous one until the next compaction. A new compaction folds the previous summary into one capped summary (8,000 characters).

Prefix contract: Message-level prefix stability holds while the model, tools and max_history = 0 stay unchanged and the history is append-only. Rewriting history (/clear, a compact, loading a session) starts a new generation: the summary is dropped and compaction waits for a fresh token count. This guarantees a stable message prefix; whether the server reuses its cache is up to the server.

Native SDK: Uses ollama.AsyncClient directly (not the OpenAI compatibility layer) for full timing data, native thinking support, and keep_alive=-1 to prevent model unloading.

General-purpose manager (Anthropic, OpenAI, Gemini, and other drivers):

Every message is assigned an importance tier (system > recent user > recent assistant > tool results > old history). When the conversation approaches the token budget, old tool results are compressed (JSON structurally summarized, large text head/tail truncated) and the lowest-priority messages are pruned. Tool call + result pairs are kept as atomic units. The newest unit is always kept, even when it alone exceeds the budget, so the model always sees the request it is answering.

The context manager is configured under [context_manager] in config.toml:

You can also manually manage context with the context tool and its slash-command shortcuts: /save-context, /load-context, /list-contexts, /context-stats, and /compact.

A skill is a directory with a SKILL.md file, optionally starting with name: and description: frontmatter. ayder looks in three places, and a later one overrides an earlier one with the same name:

built-in skills in ~/.ayder/builtin/skills/, managed by ayder and replaced on upgrade; to customize one, copy it to ~/.ayder/skills//

your skills in ~/.ayder/skills//

project skills in /.ayder/skills//

Installed plugins add their own skills (see Plugins): a plugin's skills// folder is the skill plugin:, listed with the source plugin:. The plugin: prefix is reserved for them: a user or project skill folder named plugin:… is listed with a problem and never read. A plugin's skills are offered while one of its tags is enabled (/plugin); a plugin that has skills but no tools offers them always.

ayder ships a development-workflow skill for multi-step software work: a plan note and tasks, approval before any project file changes, then execution with per-task status. Small edits and questions skip it. The system prompt is a general assistant; when a skill fits the request, the model loads it itself.

The skills enabled for a session are listed in the system prompt under "### Skills" (name and description), and only those can be loaded by the model. The skills setting chooses them:

The main session reads [llm.].skills, then [app].skills. An agent reads [agents.].skills, then its provider profile's; never [app]. The /skill command loads any discovered skill, including project skills that are not in the catalog.

The model loads one with skill(action="load", name=...); the instructions come back as the tool result, so the conversation's earlier messages (and the provider's KV cache) are unchanged. Several skills can be active; other files in a skill's directory are read on demand with skill(action="read"). A skill directory or SKILL.md that links outside its skills directory is listed but never read or loaded; copy the skill instead of symlinking it. A loaded skill stays in context for the whole session: when trimming or compaction removes it, ayder adds it back right after the system prompt, or inside the Ollama summary.

Errors are always captured to .ayder/log/errors.log, even when logging_level is NONE. Set file_enabled = false under [logging] to turn off all file logging including errors.

Unhandled exceptions, SIGTERM and SIGINT are captured to .ayder/log/errors.log. Records in flight are lost on SIGKILL (kill -9), which no process can intercept.

Narrative logs go to .ayder/log/ayder.log when a level is set.

Beside file_path, the TUI writes stderr.log (anything that writes to the terminal's stdout or stderr while the UI runs, and a crash traceback) so it cannot draw over the screen, and each stdio MCP server writes its stderr to mcp-.log.

--trace writes structured events to .ayder/log/trace.jsonl. It is not a log level.

--log-channel llm,tool limits console and narrative output to those subsystems. It never filters the error log.

TUI /logging changes are session-only and do not modify config.toml.

CLI --verbose enables stdout logging for that run; it does not narrow channels.

ayder runs full-screen. When you quit, the terminal is restored and the session is saved; continue it later with ayder --resume .

The TUI's colours, including the syntax colours of code blocks in replies, come from a Textual theme. Set it in ~/.ayder/config.toml:

[ui] theme = "ayder" # layout: ayder (default), ayder-dark, ayder-light or claude palette = "auto" # colour scheme of the ayder layout auto, the default, keeps your terminal's own colours; code uses its ANSI palette.

Any Textual theme (monokai, dracula, nord, gruvbox, tokyo-night, catppuccin-mocha, solarized-light, …) paints its own colours, code included, and its own background.

Ctrl+P → Theme lists every theme and switches for the current session only.

An unknown name falls back to the layout's own palette and says so in the chat.

The claude layout keeps its fixed colours and ignores palette.

Efficiency & Optimization

ayder-cli is optimized for both large and small (local) LLMs:

Dynamic Tool Loading: Only core and metadata tools are loaded by default. Use /plugin to enable specialized toolsets (venv, python, http, background, dbs, env) only when needed.

Tiered Prompts: Use prompt = "MINIMAL" in config for smaller models (7B-14B) to strip complex reasoning frameworks and improve follow-through.

Automatic Context Bounding: Conversation history is bounded based on max_history_messages to prevent context rot.

Tool System Prompts: Tool-specific prompt blocks (e.g., DBS instructions) are only injected when their tag is enabled, keeping the system prompt lean.

The standard mode for general coding and chat. Uses the system prompt.

> create a fibonacci function Available tools: file read/write, shell commands, search, context, notes, tasks.

Planning Mode (/plan)

Activated with /plan. The AI breaks down requirements into tasks stored in .ayder/tasks/.

> /plan add user authentication to the app Task Mode (/implement)

Activated with /implement. The AI implements tasks from the task list.

> /implement # Interactive task picker > /implement 1 # Implement TASK-001 directly Task Management

ayder-cli includes a built-in task system:

Plan (/plan) -- Break down requirements into tasks

Implement (/implement) -- Work through tasks one by one

Archive (/archive-completed-tasks) -- Move done tasks to archive

Tasks are stored as markdown files in .ayder/tasks/ using slug-based filenames (e.g., TASK-001-add-auth-middleware.md).

The task tool holds a lock on .ayder/tasks/.lock while it creates or edits a task, so two ayder sessions, or a session and an agent, editing the same task do not overwrite each other. Do not delete that file while ayder is running. On Windows the lock is not available, and only edits within one ayder process are serialized.

The task tool resolves identifiers (a path, filename, ID or slug) only to files inside .ayder/tasks/. An identifier that points elsewhere, including through a symlink, is not resolved. If .ayder/tasks/, .ayder/context/ or .ayder/notes/ itself resolves outside the project, those tools return a security error. An ID (7, 007, TASK-007) matches only that task. A slug must match one task (an exact slug wins); if several match, the tool lists them and asks for the ID. section names a ## heading; the # title is never a section.

> /tasks # Interactive task browser > /task-edit 1 # Open TASK-001 in the in-app editor > /implement 1 # Implement TASK-001 Pluggable Tool Architecture

Adding a new tool is as simple as:

Create a definition file: src/ayder_cli/tools/builtins/mytool_definitions.py

Implement the tool function: Add your logic in a corresponding .py file

Done! Auto-discovery registers the tool automatically

Discovers all *_definitions.py files automatically

Validates for duplicate names and required tools

Registers tools with the LLM via OpenAI-compatible schemas

Supports tag-based filtering for dynamic enable/disable

Injects tool-specific system prompts when enabled

Built-in tools (13):

By default, fetch_web uses the Chrome profile via curl_cffi and accepts impersonate=none to opt out. HTML is returned as text by default, with parse=false for the raw body and links=true to include link URLs. Pages rendered by JavaScript require a browser MCP server.

When agents are configured, the agent tool is also registered so the main LLM can dispatch them (see Multi-Agent System).

Plugin tools — python_editor, dbs_tool, virtualenv tools, and MCP integrations ship as optional plugins in the ayder/ayder-plugins repo (see Plugins). Once installed they are auto-discovered exactly like built-ins.

Main LLM (your conversation) │ ├─ calls `agent` tool ──────────────────────────────────────┐ │ OR you type `/agent ` │ │ ▼ │ AgentRunner (background asyncio task) │ ┌─────────────────────────────────┐ │ │ Isolated ChatLoop │ │ │ • own LLM provider + model │ │ │ • own context window │ │ │ • own ToolRegistry │ │ │ • auto-approves all tools │ │ │ • produces │ │ └────────────────┬────────────────┘ │ │ completes │ ▼ │ AgentSummary → _summary_queue │ ▼ (next main LLM turn) pre_iteration_hook drains queue └─ injects AgentSummary as system message into main context └─ main LLM sees: "[Agent 'reviewer' completed] FINDINGS: ..." Key properties:

Separate context — agents have no access to the main conversation history. They receive only their system prompt and the task description.

Non-blocking — dispatching an agent returns immediately. Both /agent and the agent tool are fire-and-forget.

Concurrent — multiple agents can run simultaneously, each in its own async task.

Summary injection — when an agent finishes, its structured block is injected as a system message into the main LLM's context at the start of the next turn.

Timeout — agents are automatically cancelled after agent_timeout seconds (default: 600).

Add [agents.] sections to your ~/.ayder/config.toml:

[app] provider = "ollama" agent_timeout = 300 # Global timeout for all agents (seconds) [llm.ollama] driver = "ollama" model = "qwen3-coder:latest" num_ctx = 65536 [llm.anthropic] driver = "anthropic" api_key = "sk-ant-..." model = "claude-sonnet-5-5" num_ctx = 200000 # --- Agents --- [agents.code-reviewer] description = "Reviews diffs for bugs, security and style" system_prompt = """You are a senior code reviewer. Review the code for bugs, security issues, and style violations. Be concise and actionable.""" provider = "anthropic" # Optional: use a different provider than main model = "claude-sonnet-5-5" # Optional: use a different model [agents.test-writer] system_prompt = """You are a test engineer. Write comprehensive pytest tests for the code provided. Follow existing test patterns in the codebase.""" # No provider/model → inherits from [app] provider [agents.doc-writer] system_prompt = """You are a technical writer. Write clear, concise docstrings and inline comments for the code provided.""" Each agent field:

From the TUI (slash commands):

# List configured agents and their status /agent list # Dispatch an agent to review your authentication module /agent code-reviewer Review src/auth.py for security issues # Dispatch the test writer for a specific module /agent test-writer Write tests for src/api/users.py # Cancel a running agent /agent cancel code-reviewer Via the main LLM (automatic):

When agents are configured, the main LLM is told about them via its system prompt and can call the agent tool autonomously:

You: Review the authentication module and write tests for it. LLM: I'll dispatch two agents to handle this in parallel. [calls agent: action="call", name="code-reviewer", task="Review src/auth.py..."] [calls agent: action="call", name="test-writer", task="Write tests for src/auth.py..."] Both agents are running in the background. I'll incorporate their findings when they complete. ... (agents run independently) ... LLM: [next turn, after agents complete] The code-reviewer found 2 issues: ... The test-writer produced 8 new tests: ... Agent summary format:

Agents end their final response with a structured block that ayder-cli parses:

FINDINGS: Found a SQL injection vulnerability in login() and missing input validation in register() FILES_CHANGED: none RECOMMENDATIONS: Parameterize all DB queries; add Pydantic validators to all endpoints This summary is injected into the main LLM's context as a system message so the main agent can act on it, summarize it for you, or chain it to further work.

MCP support is built in and installed with Ayder. Add .ayder/mcp.json in your project root, then start Ayder:

{ "mcpServers": { "local-tools": { "command": "python", "args": ["server.py"], "env": {"EXAMPLE_SETTING": "value"}, "parallel": false }, "remote-tools": { "url": "http://localhost:8000/mcp" } } } Local servers use stdio and run from the project root; remote servers use Streamable HTTP. Their tools automatically join the standard core toolset in the CLI, TUI, and delegated agents. No plugin installation or /plugin toggle is needed. Tool calls retain the usual permissions: x for stdio servers and http for HTTP servers. Configure only servers you intend Ayder to connect to: local server commands start during runtime initialization to discover tools.

Calls to MCP tools in one response run at the same time by default. Set "parallel": false on a server to run its calls one at a time, in the order the model sent them. Do this for servers that write local files, so a read sent in the same response cannot see the file before the write. "parallel": true runs all of a server's tools concurrently, whatever the server declares. Without the key, the server's own tool annotations decide: a tool marked readOnlyHint runs concurrently, and one marked readOnlyHint: false or destructiveHint runs alone. MCP calls always wait for built-in tools that change things (file_editor, bash, ...) sent before them.

Tools keep their server-provided names unless they conflict with an existing tool; conflicting names receive a server__ prefix (and a numeric suffix if needed). Unreachable servers are skipped so other tools remain available. Connections are shared by agents in the same project and closed on process exit. Restart Ayder after changing mcp.json.

Existing mcp-tool plugin installations are automatically skipped in favor of built-in support; your existing .ayder/mcp.json continues to work. The legacy ayder-cli[mcp] installation extra is still accepted.

Official plugins (venv, python, dbs) are maintained in the ayder/ayder-plugins repository. Install any plugin directly from GitHub:

ayder install-plugin https://github.com/ayder/ayder-plugins/tree/main/venv-tools ayder install-plugin https://github.com/ayder/ayder-plugins/tree/main/python-tools Plugins can also be hosted in any public GitHub repository — point install-plugin at any repo or subdirectory containing a plugin.toml.

When the TUI starts, ayder checks in the background whether any installed plugin has a higher version at the source it was installed from (a local folder, or the GitHub repository's default branch), and shows one message naming them with the ayder update-plugin command to run. Nothing is updated automatically. A GitHub source is checked at most once a day; the result is kept in ~/.ayder/plugins/update-check.json. When the check cannot reach a source, it says nothing.

install-plugin installs a plugin's [dependencies] into ayder's environment, but uv tool install does not record them, so reinstalling or upgrading ayder drops them. When the TUI starts, ayder checks each loaded plugin's declared dependencies and shows one message naming any that are missing or outside their version range, with the fixes: ayder install-plugin --force, or --with "" on your uv tool install command so they survive reinstalls. Nothing is installed automatically.

An installed plugin's tools are enabled at startup. /plugin switches a plugin's capability tag off and on for the session (/plugin alone opens a picker); the system prompt is rebuilt, so the plugin's tool prompts and skills follow the switch, and switching a plugin off unloads its active skills. Project plugins in /.ayder/plugins/ behave the same way.

A plugin can ship skills that teach the model its tools: each skills//SKILL.md in the plugin folder becomes the skill plugin: (see Skills); plugin.toml declares nothing for them. A plugin with a skills/ folder may omit [tools] and ship skills only. Two plugins may not ship a skill of the same name: the plugin loaded later (global plugins before project plugins, each in folder-name order) is not loaded, and a warning names both.

Released: Dec 3, 2026

Author: Sinan Alyuruk

all anthropic glm google libcst mcp qwen

agent ai ayder cli llm tui

Intended Audience Developers

License OSI Approved :: MIT License

Programming Language Python :: 3

Release files for ayder-cli 2.5.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Built distribution (wheel)

Total release size: 1.7 MB

Release files / ayder_cli-2.5.11.tar.gz

Release files / ayder_cli-2.5.11-py3-none-any.whl

Security for ayder-cli 2.5.11

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Dec 4, 2026 2 release files No provenance

Dec 3, 2026 2 release files No provenance

Dec 2, 2026 2 release files No provenance

Nov 25, 2026 2 release files No provenance

Nov 22, 2026 2 release files No provenance

Nov 21, 2026 2 release files No provenance

Nov 14, 2026 2 release files No provenance

Nov 13, 2026 2 release files No provenance

Oct 22, 2026 2 release files No provenance

Oct 19, 2026 2 release files No provenance

Oct 16, 2026 2 release files No provenance

Sep 29, 2026 2 release files No provenance

Sep 16, 2026 2 release files No provenance

Aug 30, 2026 2 release files No provenance

Jul 23, 2026 2 release files No provenance

Jul 18, 2026 2 release files No provenance

Jul 8, 2026 2 release files No provenance

Jun 28, 2026 2 release files No provenance

Jun 26, 2026 2 release files No provenance

Jun 25, 2026 2 release files No provenance

Jun 24, 2026 2 release files No provenance

Jun 23, 2026 2 release files No provenance

Jun 20, 2026 2 release files No provenance

Jun 17, 2026 2 release files No provenance

Jun 1, 2026 2 release files No provenance

May 16, 2026 2 release files No provenance

May 3, 2026 2 release files No provenance

Apr 17, 2026 2 release files No provenance

Mar 23, 2026 2 release files No provenance

Mar 20, 2026 2 release files No provenance

Mar 18, 2026 2 release files No provenance

Mar 16, 2026 2 release files No provenance

Feb 22, 2026 2 release files No provenance

Feb 20, 2026 2 release files No provenance

Feb 19, 2026 2 release files No provenance

Feb 18, 2026 2 release files No provenance

Feb 17, 2026 2 release files No provenance

Feb 15, 2026 2 release files No provenance

Feb 14, 2026 2 release files No provenance

"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.

© 2026 Python Software Foundation

Deployed from 4d99e05

Source Attribution: This report incorporates information referenced or syndicated from Pypi.org. Read original coverage at Pypi.org.

More from Technology →
Haldwani Times
Haldwani Times Independent News & Editorial
Login
MARKETS & FINANCE
BRENT CRUDE: $78.40 -0.52% SENSEX: 81,450.20 +0.42% NIFTY 50: 24,820.15 +0.38% GOLD (24K): ₹74,500/10g -0.18% USD/INR: ₹95.54 +0.10%

ADMINISTRATIVE LEADERSHIP

Mr. Narendra Modi
Mr. Narendra Modi
Mr. Lt. Gen. Gurmit Singh
Mr. Lt. Gen. Gurmit Singh
Mr. Pushkar S. Dhami
Mr. Pushkar S. Dhami
Mr. Lalit M. Rayal
Mr. Lalit M. Rayal
Mr. Gajraj S. Bisht
Mr. Gajraj S. Bisht

Top Headlines & Breaking Stories

View All News →
बागेश्वर में मातृशक्ति सम्मेलन, सीएम धामी ने महिलाओं के सशक्तिकरण को बताया सरकार की प्राथमिकता
Haldwani

बागेश्वर में मातृशक्ति सम्मेलन, सीएम धामी ने महिलाओं के सशक्तिकरण को बताया सरकार की प्राथमिकता

Bageshwar: CM Dhami: बागेश्वर में भव्य मातृशक्ति सम्मेलन का आयोजन किया गया, जिसमें मुख्यमंत्री पुष्कर सिंह धाम...

Haldwani Times 4 Dec

Haldwani Times – Everything in Haldwani: News, Shops, Businesses & Services

Haldwani Times is the premier digital news and commercial discovery platform built specifically for the citizens, business owners, students, professionals, and visitors of Haldwani, Nainital district, and the wider Kumaon region of Devbhoomi Uttarakhand. As the economic gateway to the Kumaon Himalayas, Haldwani is a bustling metropolis connecting the plains of northern India with the scenic mountain districts of Nainital, Almora, Pithoragarh, Bageshwar, Champawat, and Udham Singh Nagar. Haldwani Times serves as the definitive digital heartbeat of the city, bringing breaking hyperlocal news, verified commercial directories, educational updates, healthcare guides, Mandi Bhav rates, and civic announcements onto a single unified, trusted platform.

The Definitive Source for Breaking Haldwani News & Civic Updates

Haldwani stands as one of the fastest-growing urban conglomerates and commercial engines in northern India. Positioned in the fertile Terai-Bhabhar belt at the foothills of the Shivalik range, the twin cities of Haldwani and Kathgodam form the administrative and logistical nerve center for the entire Kumaon division. With rapid urbanization, expanding commercial infrastructure, flourishing educational centers, and increasing inter-state transit, the demand for fast, fact-checked, and unbiased local journalism has never been greater. Haldwani Times delivers 24/7 comprehensive news coverage built on rigorous journalistic standards: - **Hyperlocal Civic News:** Real-time coverage of municipal corporation affairs, city drainage projects, traffic management blueprints, and road widening drives across Tikonia, Mukhani, Kusumkhera, Bareilly Road, and Rampur Road. - **Administrative Directives:** Official notifications from the District Magistrate (DM) Nainital, Senior Superintendent of Police (SSP), and state secretariat decisions affecting citizen welfare. - **Kumaon Weather & Disaster Alerts:** Timely mountain rainfall warnings, landslide advisories along NH-109 (Haldwani-Nainital Highway), and emergency bulletins during the monsoon and winter seasons. - **Education & Campus News:** Timely reports on Kumaon University examination schedules, Uttarakhand Board (UBSE) results, medical college admissions, and competitive coaching updates. - **Commercial & Market Trends:** Daily wholesale Mandi Bhav rates from Haldwani Subzi Mandi, real estate trends, retail market festivals, and local business openings. - **Cultural & Pahadi Heritage:** In-depth feature stories celebrating Kumaoni folk traditions, Aipan art, Nanda Devi festivals, and local community milestones.

Everything in Haldwani on One Unified Digital Ecosystem

Beyond traditional news reporting, Haldwani Times is engineered as an exhaustive local discovery engine. Historically, finding verified local business telephone numbers, emergency hospital contacts, specialized doctors, reliable plumbers, or trusted real estate consultants in Haldwani required asking neighbors or browsing outdated social media posts. Haldwani Times eliminates this friction by organizing every commercial, professional, and civic resource into searchable, verified categories. Whether you are a newly arrived resident in Kusumkhera looking for high-speed broadband providers, a parent searching for reputable CBSE schools near Kaladhungi Road, or a tourist seeking taxi rentals to Nainital, our portal delivers accurate, verified, and actionable information in seconds.

Local Shops, Retail Hubs & Traditional Bazaars in Haldwani

The retail commerce of Haldwani spans centuries-old traditional bazaars and modern commercial complexes: - **Bada Bazaar & Mangal Parao:** The historic retail heart of Haldwani, renowned for traditional Kumaoni wedding jewelry (Pauji, Guloband, Nath), brass utensils, ethnic handlooms, and wholesale clothing. - **Nainital Road & Tikonia Commercial Corridor:** Modern multi-brand retail showrooms, electronics stores, authorized smartphone service centers, branded footwear outlets, and international apparel stores. - **Bareilly Road & Rampur Road Trade Hubs:** Major agricultural machinery dealers, hardware and building material wholesalers, furniture manufacturing units, plywood distributors, and automobile showrooms. - **Subzi Mandi & Wholesale Grain Market:** One of the largest agricultural distribution centers in North India, supplying fresh vegetables, hill fruits (apples, peaches, plums), and organic Pahadi pulses (Gahat, Bhatt, Rajma) across northern states.

Healthcare Hub of Kumaon: Hospitals & Emergency Services

Haldwani serves as the premier medical lifeline for all six hill districts of Kumaon. Patients travel from Almora, Pithoragarh, Bageshwar, and Champawat to access specialized clinical treatments in Haldwani: - **Government Healthcare Institutions:** Dr. Susheela Tiwari Government Medical College & Hospital (STGH) and Base Hospital Haldwani provide tertiary trauma care, specialized super-specialties, pediatric ICUs, and 24/7 emergency response. - **Private Multi-Specialty Hospitals:** Advanced private medical centers specializing in cardiology, joint replacements, neurology, critical care, nephrology, and advanced laparoscopic surgeries. - **Diagnostic Centers & 24/7 Pharmacies:** Fully automated pathology laboratories, high-resolution MRI/CT scan centers, and round-the-clock emergency pharmacies clustered around Medical College Road, Kaladhungi Road, and Rampur Road.

Education, Colleges, Coaching Academies & Youth Development

Haldwani is the educational capital of the Kumaon region, home to thousands of ambitious students preparing for medical, engineering, defense, and civil services careers: - **Premier Degree Colleges:** Motiram Baburam Government Post Graduate College (MBPG College) and Women's Degree College providing extensive undergraduate and postgraduate humanities, commerce, and science programs. - **Competitive Coaching Ecosystem:** Highly reputed coaching academies for NEET UG, JEE Main & Advanced, UPSC Civil Services, UKPSC/UKSSSC, NDA, CDS, and Banking examinations along Kaladhungi Road and Tikonia. - **Affiliated Schooling Infrastructure:** Esteemed CBSE, ICSE, and Uttarakhand Board schools imparting value-based holistic education with modern sports and laboratory facilities.

Real Estate, Housing Colonies & Urban Expansion Trends

Driven by rapid infrastructure expansion and high quality of life, Haldwani's real estate market is expanding outward into organized residential colonies: - **Prime Residential Localities:** Highly sought-after residential sectors in Mukhani, Kusumkhera, Kaladhungi Road, Judge Farm, Daharia, and Bhotia Parao offering planned housing, green parks, and modern civic amenities. - **Commercial Property Investments:** Thriving commercial retail complexes, office spaces, and warehouse hubs developing rapidly along the proposed Haldwani Ring Road and transport corridors. - **Property Advisory & RERA Compliance:** In-depth real estate updates, circle rate revisions by the Nainital district administration, and buyer advisory guidelines for safe property acquisitions.

Strategic Transit Gateway, Tourism Routes & Kumaon Himalayan Connectivity

Haldwani-Kathgodam is the vital transit bridge connecting the plains of Delhi NCR and Uttar Pradesh with the hill stations of Uttarakhand: - **Kathgodam Railway Terminal:** Connecting Kumaon directly to New Delhi (Shatabdi Express, Ranikhet Express), Lucknow, Kolkata, Jammu, and Dehradun. - **ISBT Haldwani:** Operating round-the-clock interstate and mountain bus routes managed by Uttarakhand Transport Corporation (UTC) and private deluxe coaches. - **Pantnagar Airport (PGH):** Located just 26 km from Haldwani, offering scheduled domestic flights to New Delhi, Dehradun, Pithoragarh, and regional hubs. - **Himalayan Tourism Hub:** The primary staging point for journeys to Nainital (34 km), Bhimtal (30 km), Mukteshwar (72 km), Kainchi Dham (42 km), Almora (90 km), Ranikhet (80 km), and Jim Corbett National Park (55 km).

Gaula River Mining, Ecological Balance & The Bhabhar Economy

The Gaula River represents the undisputed economic and hydrological lifeline of Haldwani and the broader Nainital district. Originating from the Sattal-Bhimtal catchment in the lesser Himalayas, the river flows south past Kathgodam and Haldwani before merging into the Ramganga. For generations, the Gaula riverbed has provided the foundation for both regional agriculture and the construction economy across northern India: - **Regulated Minor Mineral Extraction:** During the open mining season (typically October to May), thousands of registered tractor-trolleys and heavy dumpers harvest riverbed gravel, sand, and boulders under strict surveillance by the Uttarakhand Forest Development Corporation and the Nainital district administration. - **Livelihood Support for Over 50,000 Families:** The Gaula mining economy directly and indirectly sustains vehicle owners, drivers, mechanics, diesel pump stations, roadside eateries, and local laborers, circulating over ₹500 crore into Haldwani's local markets annually. - **Environmental Safeguards & Flood Mitigation:** In strict adherence to High Court and National Green Tribunal (NGT) directives, scientific replenishment studies, satellite GPS tracking on transport vehicles, and seasonal mining bans during the monsoon protect the river's ecological balance and prevent bank erosion along low-lying residential sectors.

Culinary Landscape: From Traditional Kumaoni Rasoi to Modern Cafes

Haldwani's gastronomic scene reflects a delightful blend of rustic mountain traditions and cosmopolitan dining: - **Authentic Kumaoni Specialties:** Local restaurants and heritage dhabas serve traditional mountain delicacies cooked in iron vessels, including Bhatt ki Churkani (black soybean curry), Gahat ke Dubke (horsegram puree), Aloo ke Gutke tempered with wild Himalayan chives (Jamboo) and Jakhiya, and refreshing cucumber Raita flavored with freshly crushed mustard seeds. - **Traditional Confectioneries:** Historic sweet shops along Bada Bazaar and Nainital Road craft Almora's world-famous Bal Mithai (roasted caramelized khoya fudge coated in sugar balls) and Singaudi (sweetened khoya wrapped in wild Malu leaves). - **Vibrant Street Food & Cafe Culture:** As dusk falls, Tikonia and Nainital Road come alive with bustling street food stalls offering steaming Tibetan momos, spiced thukpa, Kathi rolls, and hot Masala Chai, alongside modern rooftop cafes serving specialty Italian coffees and continental snacks.

Cultural Festivals, Folk Heritage & The Aipan Art of Kumaon

Beyond commercial enterprise, Haldwani is the proud cultural showcase of Devbhoomi Uttarakhand: - **Aipan Folk Art Tradition:** The sacred geometrical floor and wall art handcrafted with red ochre (Geru) and white rice paste (Biswar) adorning thresholds, altars, and chowkis during auspicious ceremonies, now preserved through local women's self-help cooperatives. - **Classical Baithki & Khadi Holi:** Unique to Kumaon, musical celebrations starting as early as the month of Paush, featuring classical Hindustani ragas sung in community courtyards followed by energetic Chholiya dance performances during spring. - **Nanda Devi & Chholiya Heritage:** Grand annual fairs celebrating the patron deity Nanda Devi, accompanied by martial sword-and-shield Chholiya dancers whose rhythmic brass trumpets (Ransingha) and hurka drums resonate through the valley.

Public Amenities, Parks & Community Spaces in Haldwani

Urban lifestyle and recreational infrastructure in the city: - **Green Parks & Walking Tracks:** Walkway projects around Daharia, Judge Farm, and Awas Vikas providing lush recreational zones for families and seniors. - **Community Centers & Sports Grounds:** Multi-purpose auditoriums and grounds hosting cultural melas, badminton tournaments, and community celebrations. - **Gaula Barrage & Forest Trails:** Scenic river viewpoints and natural birdwatching areas attracting eco-tourists and local nature enthusiasts on weekends.

Frequently Asked Questions (FAQs)

How can I access live breaking news and weather alerts for Haldwani?

Haldwani Times operates a dedicated 24/7 hyperlocal newsroom providing real-time breaking bulletins, traffic alerts, and meteorological warnings. You can access live news directly from our homepage, subscribe to instant browser push notifications, or view categorical updates on Uttarakhand, Education, and Mandi Bhav. During monsoon and winter weather events, our correspondents provide live updates on NH-109 road blockages and emergency administrative orders issued by the Nainital District Magistrate.

Is Haldwani Times completely free to read for all visitors?

Yes, Haldwani Times offers completely unrestricted, open-access reading to all users without mandatory paywalls. Readers across Haldwani, Uttarakhand, and the global diaspora can freely browse all breaking news reports, investigative articles, business directory listings, and historical archives. Our public-interest mission ensures that essential civic information, emergency hospital directories, and educational circulars remain universally accessible to everyone at zero cost.

How can local business owners list their shop or service in the Haldwani directory?

Local merchants, medical practitioners, schools, and service professionals can register their business by navigating to our 'Business Directory' page and selecting 'Add Listing'. The registration process allows you to input your business name, address, contact numbers, operational hours, services offered, and high-resolution showroom photographs. Once submitted, our local verification team verifies the physical address within 24 hours to ensure high consumer trust and top ranking on Google.

Can I read Haldwani Times articles in Hindi as well as English?

Yes, Haldwani Times features a seamless, native bilingual reading experience tailored for our regional readership. With our one-click language toggle located prominently in the navigation bar, you can instantly switch between English and pure Hindi. Both versions feature carefully crafted editorial phrasing, accurate regional terminology, and culturally resonant storytelling to ensure maximum readability for students, families, and senior citizens alike.

How do I submit news tips, event notices, or press releases to the editorial team?

Our newsroom warmly welcomes verified news tips, community event notices, civic grievances, and official press releases from citizens and local organizations. You can submit your documents, photos, or video evidence directly to our central editorial desk at editorial@haldwanitimes.com or via our Help & Support page. Our senior editors review every submission for factual authenticity, multi-source verification, and public relevance prior to publication.

Where can visitors find authentic Kumaoni Bal Mithai and Singaudi in Haldwani?

Renowned traditional sweet houses clustered along Bada Bazaar, Mangal Parao, Kathgodam Station Road, and Nainital Road specialize in daily batches of authentic Bal Mithai and fragrant Singaudi prepared with pure mountain dairy khoya and natural ingredients.

What transportation options are available for traveling from Haldwani to Nainital and Bhimtal?

Continuous state transport buses (UTC), KMOU coaches, and registered taxi union sharing cabs operate 24/7 from the Haldwani Roadways Bus Station (near Tikonia) and Kathgodam Railway Station. Fares are regulated by the transport department, with mountain travel times ranging between 1 to 1.5 hours.