KevRojo/Dulus
A self-hostable terminal agent for switching models and keeping task context
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Dulus separates an open Python terminal agent from a private desktop client. The terminal core targets Python 3.10 or later and is packaged with setuptools and wheel. The source tree separates the CLI (dulus.py), agent and provider code (agent.py, providers.py), and context management (context.py, compaction.py, memory/). Within a conversation, /model switches the backend for the next turn. Context compaction and persistent memory address different needs: keeping the active session manageable and retaining information across sessions.
The extension surface is visible in dulus_tools/, dulus_mcp/, and plugin/, alongside multi_agent/, checkpoint/, and governance.py. This layout shows where those concerns are represented, but not how tools are isolated or which authorization checks apply to each execution path. The desktop client layers on a browser pane, screen interaction, and a visual Round Table. Those product features should not be assumed to ship with the pip package or Compose deployment.
Key Capabilities & Differentiators
Dulus can use external providers with user-supplied keys, a local model, or its own hosted models. The desktop interface offers a common reasoning control, and v7.0.7 extends /thinking 0 to disable reasoning on Dulus-hosted models such as DeepSeek, Qwen, GLM, and Gemma. Requests are shaped to preserve cache reuse; context windows of up to one million tokens depend on the provider, not on a uniform Dulus limit. Memory is scoped to profiles and projects, flags stale facts, and keeps compacted conversations searchable. None of this establishes a predictable savings figure across backends.
The desktop Round Table supports up to 26 agents, including a mix of models, on a shared task board. Agents can hand work to named peers and surface decisions for user input. That is a product limit, not a measured throughput or concurrency guarantee. The desktop edition also provides MCP connection installation, a plugin and skill catalog, WebDrive, and Telegram pairing for ongoing conversations and approvals. Hosted models are exposed through an OpenAI-compatible API that uses the same Fuel balance; that endpoint is distinct from the self-hosted WebChat.
Trade-offs & Limitations
The strongest case for Dulus is work that crosses model providers and tools without giving up persistent context. For repository-only tasks, a coding-first CLI such as Aider or Claude Code is a useful baseline: test edit review, permission prompts, and session recovery on the same task before taking on an additional tool layer. Switching providers offers more choice, but leaves operators to validate credentials, tool-call behavior, context limits, and cache economics. Round Table seats can generate additional model calls, so budget from observed token usage and active seats rather than the advertised seat limit.
Self-hosting covers the GPL-3.0 core, not the private desktop experience. The desktop app can use your own keys or models; the Operator plan adds hosted model credits, a cloud PC, and Dulus OS. Bring-your-own-key avoids Dulus model charges but not provider bills. Desktop approval prompts provide a point for user intervention, not proof of sandboxing. For sensitive workspaces, scope filesystem access and credentials, review third-party MCP connections before enabling them, and verify which tool outputs reach the selected model provider.
Hardware & Deployment Guide
For the open CLI, use Python 3.10+ and pip install dulus. The build manifest pins setuptools>=61,<77 so package metadata remains readable by older pip versions, including pip 24.0. For Compose, copy .env.example to .env, configure credentials if needed, and run docker compose up -d. The default image is ghcr.io/kevrojo/dulus:latest; it launches dulus --daemon, exposes WebChat at http://localhost:5050/, and supports an interactive session via docker compose exec dulus dulus. The included Dockerfile also gives operators a local build path.
For local inference, Compose includes an optional Ollama block and an OLLAMA_HOST setting. Test offline operation end to end if required: a local model does not make an MCP connection or remote tool offline. Remote inference offloads model execution, while local inference capacity depends on model size, context, quantization, and concurrency. Pin and verify the artifact you deploy: the supplied manifest shows package version 3.15.11, the release list shows v7.0.8, and the desktop showcase references v7.0.9. The v7.0.8 release adds terminal self-update, per-seat Round Table memory, and a correction to the displayed compaction token count.
/model changes the backend for the next turn without starting a new conversation; supported paths include user-supplied API keys, local models, and Dulus-hosted models.dulus --daemon and serves WebChat on port 5050, with an interactive REPL accessible through docker compose exec dulus dulus.Individuals and teams that want a self-hosted terminal agent with portable model choice, persistent project context, and MCP tools. Evaluate the desktop edition separately if visual computer use or a shared Round Table is central to the workflow.
You require the entire desktop stack to be open for audit and self-hosting, need verified offline operation across every tool, or only want a tightly scoped repository-editing loop.
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| Dulus ★ | 2.4k | +1.3k | Python | GPL-3.0 | A self-hostable terminal agent for switching models and keeping task context |
| cua | 34.1k | +973 | Rust | MIT | Rust-backed sandboxes and cross-OS desktop controls for computer-use agents |
| OpenHands | 94.8k | +374 | TypeScript | MIT | Self-hosted control plane for coding agents across local, remote, and cloud back |
| multica | 59.1k | +891 | Go | — | A shared task board that dispatches coding agents to machines you control. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/KevRojo/Dulus.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Dulus
How do model switching and MCP integration work?
/model to select a different backend for the next response in the same conversation. The open core includes an MCP implementation under dulus_mcp/; the desktop marketplace adds a graphical flow for installing connections and signing in. During evaluation, check tool-call and context behavior against each backend you intend to use instead of assuming provider parity.How should I size a host for API-backed versus local inference?
Can a company self-host or redistribute Dulus?
When is Dulus a better fit than a coding-first CLI?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy