Documentation
How to set up and use Darkstar.
Getting started
Darkstar runs on Windows 11. Run the installer and follow the pages. It asks for a license key. Leave it empty and you start the 31-day Community Trial. Then it offers a list of models to download, each marked with whether it is likely to fit your computer's memory. Take one, several or none. A model that can see images comes with its projector. Everything Darkstar needs is inside the installer, and it installs for your account only, so there is no administrator prompt.
Open Darkstar from the Start menu or the desktop shortcut. Already have a model? Drop its .gguf file in the models folder inside the Darkstar folder, or browse to it from Settings, Language Model; the file can stay where it is. Then choose a working folder for your project and say something.
The window
Tabs run along the top, one per conversation. + opens a New Tab, which asks what it is: an Agent chat, a Sandbox, a Task Force or a Swarm. Agent is chosen to start with, and your first message makes the choice final. Below those four, Notebook and Ghostwriter turn the tab into that page at once. Right-clicking + opens a menu of all six. Closing a tab deletes everything it kept: its folder, its sandboxes and the files it sent you.
Your files and projects are on the left. The message box is at the bottom, and the status bar below it holds the Settings gear, the spaces of the tab, the button that unloads the model, the speed of the current reply, how full the context is, the raw context button and, in tabs where an agent works, Pause.
| Sidebar | What it does |
|---|---|
| File Explorer | The project's files, and each tab's own folder. Add Directory brings in a folder you already have. Drag a file into the message box to hand it to the model. |
| Projects | One per piece of work. New Project adds one; right-click a project to rename or delete it. |
Settings opens from the gear or from the DARKSTAR title. Beside its tabs sit a few switches.
| Button | What it does |
|---|---|
| Internet | Internet Access. Off, nothing web-related works. |
| Sound | Mutes the interface sounds. |
| Theme | Switches between Space, Light and Terminal. |
| Clear | Empties the active chat's context. |
| Traces | Opens or folds every reasoning and tool trace. |
Keys
Press these with no text box focused. The small icons in the status bar switch spaces the same way.
| Key | What it does |
|---|---|
| Q | The chat. |
| W | The Action Engine, Darkstar's browser. |
| E | The plan in an Agent or Sandbox chat, the Roadmap in a Task Force, the Tree of Objectives in a Swarm. |
| R | The chatrooms, in a Task Force or a Swarm. |
| Tab | The Table of Organization, in a Task Force or a Swarm. |
| P | The raw context: exactly what the model is being sent. |
| O | Opens or closes Settings. |
| F6 (hold) | Shows how the visible text is split into tokens. |
| Esc | Back to the chat. |
Projects and chats
Everything lives in a project: a set of tabs and one workspace folder, the place the model reads and writes. Choose that folder before you start, because Darkstar won't let you chat without one. Each Agent tab works in its own folder inside it, named after the tab.
Delete a project and its chats go with it, along with the folder Darkstar made for it. A folder you attached yourself is only let go. Its files stay where they are. Chats are saved as you go.
Chatting
Type and send. Up and Down bring back what you sent before. Long pastes and dropped files fold into chips instead of flooding the box. Replies render full Markdown, tables and math included.
While the model answers, the send button stops it if the box is empty. With text in the box it sends your message straight into the work, and the model takes it up at once. Hold Ctrl to schedule the message for after the reply instead; scheduled messages wait behind a button with their count, where you can edit or remove them.
Right-click a message to edit it, retry from it, copy it, continue a reply that stopped, or delete it. Pause, in the status bar, holds a reply where it is, and play carries on from exactly there. Reasoning and tool calls show as traces you can open.
Agent chats
An Agent chat is one model that can act: use tools, read skills, use MCP servers and browse. The model must support tool calling for this to work. Before each tool call the agent says in a sentence or two what it is about to do, and that line stays at the bottom of its reply until it writes again, so you can follow along.
When an agent reads or edits a file, the Action Engine shows it in a Code View, scrolling to the part being changed and typing the new text in place as the model writes it. Tools in an Agent chat run with your own Windows rights, so add only tools you trust.
Tasks
For software development and other work with several steps, the agent of an Agent or Sandbox chat first writes a plan: your request restated in full, its requirements, the materials it pins (your request word for word with its images and every message you send while it works, which Darkstar always pins itself, then earlier messages it picked out, files) and a task list. It marks each task as it starts and finishes it, and adds or drops tasks as the work goes.
Press E to watch the plan. Before there is one, E shows your request, word for word with its images, and the messages you sent while it worked. The plan belongs to one request: when the reply finishes, it is cleared, and a new request is planned afresh. A reply you stopped, or cut short by sending a message while it worked, keeps its plan, so continuing it carries on with the same tasks; any other new message starts without it. Retrying or editing the message a plan was made for clears it too. Turn Tasks off under Conversation.
Sandbox tabs
A Sandbox tab is an Agent chat whose agent works only inside its own sandbox, the same kind every swarm agent uses. It cannot read or change your files, your programs or the system: its terminal, files and browser all live in the sandbox, which starts empty.
Its work reaches you through send_file, which hands you a copy of a file from its sandbox; you can also browse its folder in the file explorer. Closing the tab deletes the sandbox. It has Tasks and Infinite Context, but MCP servers, skills and Global Memory are not available in it.
Notebook tabs
A Notebook tab is a notebook you write in plain words. Open one from the New Tab screen or the + menu. Each Instruction cell says what a step should do. Run it with Ctrl+Enter, or Shift+Enter to run and move on, and Darkstar's agent writes the Python, runs it in the notebook's kernel and fixes what fails. It reads the cells above and revises their code when a new instruction changes what they should do, so the notebook stays one clean program.
Code cells hold your own Python, which the agent never changes (Ctrl+M switches a cell between Instruction and Code), and Markdown cells hold notes. Every cell shares one Python kernel, started in the tab's working folder with your rights. A cell shows what it printed, tables and charts for pandas data, figures and images, and a progress bar for loops written with progress(...); %pip install adds packages. Run All, Stop, Restart, Clear Outputs and Variables sit in the notebook's toolbar.
Ghostwriter tabs
A Ghostwriter tab is a manuscript you write together with your model, made for papers, thesis chapters, reports and any other prose. Open one from the New Tab screen or the + menu. You write in the page, and Generate (or Ctrl+Enter) has the model continue from where your text ends. Retry writes the last passage again and keeps every version as a take you can switch between.
The Brief beside the page holds what the model gets with every passage: Memory (the research question, field and style), an Author's Note (where the text goes next), the Length of each passage, and References that enter the model's view when their keys appear in the text. The model is told never to invent citations, data or results, and to leave a visible placeholder where it lacks one. Export saves the manuscript as text or Markdown.
Task Forces
A Task Force tab puts you one step down the chain of command. You talk directly to a Lieutenant, which leads a single task force of up to 8 agents like a real team. It plans your request as a roadmap of tasks, each starting only once the tasks it builds on are finished and approved, keeps a few standing agents, hands them ready tasks one at a time, judges each finished task and reports back to you.
The Lieutenant and its agents keep the lean context of an Agent chat: with Infinite Context on, each agent's finished runs come back to it as their orders and reports only, and an agent never runs out of context: its earliest runs are set aside when it passes 90%, still readable to it. The Lieutenant and every agent work in their own sandbox and on their own branch, and your working folder only changes when you approve the delivery.
Watch it with Tab, E (the Roadmap) and R. Skills, MCP servers and Global Memory are for Agent chats only.
Swarms
A Swarm tab runs an organization of agents. You talk to the Central Orchestration Element, which plans the work as objectives and hands each one to a Hive Marshal. Marshals lead Lieutenants, and Lieutenants lead Agents.
Every element works in its own Windows sandbox and on its own branch. Changes climb the chain of command for review, and your working folder only changes when you approve the delivery.
Watch it with E, R and Tab. Pause in the status bar halts the whole swarm without losing anything. Skills and MCP servers are for Agent chats only.
Language model
Settings, then Language Model. Right-click any of these fields, or a file in its list, and choose Open File Location to show the file in File Explorer.
| Setting | What it does |
|---|---|
| Model | Pick one from the list, or browse to a .gguf file anywhere. |
| Projector | Lets a vision model see images. Darkstar picks the matching one from the model's folder. |
| Speculative drafter | Optional. A small model that guesses ahead so the big one can move faster. |
| MTP module | Optional. A model's multi-token prediction head published as its own file, which speeds generation up the same way. Darkstar picks a matching one by itself. It can't be used together with a drafter. |
| Unload model | Frees the memory it was using. The status bar has the same button. |
Darkstar reads a model into memory when it fits. A model larger than your free memory is read from disk as it is needed instead, so loading it doesn't stall the computer.
Inference
These decide how the model runs on your hardware. The defaults are sensible. Change one when you have a reason.
| Setting | What it does |
|---|---|
| llama.cpp backend | The engine. CUDA for NVIDIA cards, Vulkan for most others, CPU if you have no card. |
| Darkstar version | The version you have. Check for updates looks for a newer one. |
| llama.cpp version | The bundled build by default. Update Backend installs the newest llama.cpp and Unsloth llama.cpp builds next to it. |
| Context size | How much the model can hold in mind at once, as a share of its maximum. |
| Rope Frequency Base | 0 keeps the model's own value. Change it only if you know why. |
| KV cache | The model's short-term memory. Keep it in video memory for speed or in system memory for room. The type sets how it is stored; the default q4_0 uses the least memory. |
| GPU layers | How much of the model sits on the graphics card. Auto by default; more is faster until the memory runs out. |
| Multi-GPU loading | How a model is split across cards: one after another (the default) or side by side. |
| Threads, Batch size, Parallel Slots | Throughput tuning. Threads at 0 uses half your performance cores, so the computer stays responsive. More slots let several tabs generate at once, each with a share of the context. |
Multi-token prediction and N-gram tables are tuned to the model and your computer by themselves, with nothing to set.
Text generation
System prompt is the standing instruction every chat starts with. Reasoning Effort sets how long a model thinks before it answers, for models that think. Temperature, Top K, Top P, Min P and Repeat penalty are the usual dials: lower is steadier, higher is looser. Min P moves in steps of 0.05 from 0.05. DRY fights repeated phrases: 1 is off, and each level up to 5 is firmer.
Conversation settings
| Setting | What it does |
|---|---|
| Name Conversations | Titles a new chat before its first answer. On by default. |
| Model idle unload | Frees the model after 10 minutes with nothing to do. Off by default. |
| Global Memory | Lets Agent chats search and read every conversation in every project, reasoning and tool calls included. On by default. |
| Infinite Context | Sends the model only your messages and its final replies, so long agent chats stay small; a reply that was stopped or cut short is still sent whole. Above 90% context it also sets aside the earliest 75% of earlier turns, or of a long reply's own steps, so an Agent or Sandbox chat never runs out of room. With Global Memory on, the model can still read them. On by default. |
| Tasks | Lets Agent and Sandbox chats plan their work as a task list. On by default. |
| Web Crawler | Gives the model web search. Max Results is how many pages it reads per search. Allow JS in Search lets those pages run their scripts. |
| MCP Servers | The master switch for MCP. Off by default. |
| Microphone, Transcription backend, Voice transcription hotkey | Voice input: which microphone, where speech is transcribed, and the key you hold. |
Tools
Tools are how the model does things instead of only talking: edit a file, run a command, open a page. Choose them under Tools & Skills. In an Agent chat they run with your own Windows rights, so add only tools you trust.
Included with Darkstar
| Tool | What it does |
|---|---|
| file_operations | Creates, reads and edits files in the workspace. |
| windows_cmd | Runs Windows commands in the workspace. |
Built in
| Tool | What it does |
|---|---|
| browser_control | Drives the Action Engine. |
| search_web | Searches the web and reads the pages it finds. |
| list_dir, file_search | Look through folders and files. |
| read_context | Lets the agent search and read its own conversation. |
| global_memory | Searches every conversation, while Global Memory is on. |
| clipboard | Copies lines between files and the conversation, so the model doesn't retype them. |
| file_history | Undo for files: earlier versions of every file the agent changed, until Darkstar closes. |
| tasks | The agent's plan and task list, while Tasks is on. |
| send_file | Hands you a file as a card you can save. |
| show_image | Shows an image in the reply. |
| ask_user_yes_no | Asks you a short yes or no question. |
| end_chat | Lets the agent you talk to end the chat for good, as a last resort: when you keep pressing for something it declined as seriously harmful, or keep being abusive after it asked you to stop. It warns you first. The chat stays readable, but nothing can be sent, retried or continued in it again. |
Skills
A skill is a written guide the model follows for one kind of job. Darkstar ships with two: Darkstar Guide, so the model can answer questions about Darkstar itself, and Procedural Motion & Sound, for animations, title sequences and music visualizers that run in a browser.
To add your own, open Tools & Skills and choose Add SKILL.md Files…, or drag the files in. A skill is a Markdown file called SKILL.md that opens with a name and a description.
MCP servers
MCP servers give the model extra tools. Turn on MCP Servers under Conversation first, then add one under Tools & Skills: a command that runs on your computer, or an HTTPS address. Pasting a server's JSON configuration fills the form in for you. A local server starts in the folder of the Agent chat that uses it.
Environment values and headers are stored encrypted with your Windows account. Servers on the internet also need Internet Access. Browser sign-in (OAuth) is not supported, so use a token header where a server offers one.
Writing a tool
A tool is one Python file. Add it with Add Tool Files… or drag it onto Tools & Skills. It imports the registry, describes itself and registers a function:
from tools.registry import registry
SCHEMA = {
"name": "my_tool",
"description": "What the tool does.",
"parameters": {"type": "object", "properties": {}},
}
def handler(args, **context):
return "result"
registry.register(
name="my_tool", toolset="custom", schema=SCHEMA,
handler=handler, description="What the tool does.",
)
Action Engine and web search
Press W to watch the Action Engine, Darkstar's browser. Every tab an agent opened is on screen at once, tiled. Agents open, use and close tabs while you watch. Choose local HTML opens a file from your workspace, and the reset button closes every tab and erases cookies and site data. It blocks common trackers and declines cookie banners where it can.
Web search reads the pages it finds in the background, without changing what is on screen. The model is told to search on every factual question you ask, however simple, and whenever you mention something it doesn't recognise or that contradicts what it believes, rather than telling you you're mistaken. It can keep a search to one site, leave sites out, or ask for recent pages only.
The Action Engine and web search need Internet Access on.
Images
An image you add before typing is attached large above the text. Once you have typed, an image becomes a small chip where your cursor is; drag a chip to move it, or hold Ctrl+V to paste an image large anyway. The model sees images only when it is a vision model with its projector loaded.
Voice input
Hold the voice hotkey in the message box (Ctrl+O unless you changed it), talk, and let go. Your speech is turned into text on your computer and lands in the box. The microphone, where transcription runs and the hotkey are under Conversation in Settings.
Updates
When Darkstar starts, it checks whether a newer version is out; Check for updates under Inference asks again. If there is one, a notice downloads its installer, checks it, closes Darkstar and runs it. The update keeps your chats, projects and settings. Not now keeps the version you have.
Trial and license
Your 31 days start the first time you open Darkstar. At startup a notice tells you how many are left and links to the plans. Enter a Professional or Enterprise key there with Enter license key.
Where Darkstar keeps things
Darkstar installs to %LOCALAPPDATA%\Programs\Darkstar unless you picked another folder. Your chats, projects and settings live in %LOCALAPPDATA%\Darkstar. Models sit in the models folder inside Darkstar's own. Uninstalling keeps your models and your data unless you tick the box to delete them. Closing Darkstar ends everything it started.
Troubleshooting
| Problem | What to try |
|---|---|
| "Context contract exceeded" | The chat no longer fits. Turn on Infinite Context, raise the context size in Inference, start a new chat, or delete old messages. |
| The model won't load | Pick the backend that matches your graphics card, or lower GPU layers or context size, or move the KV cache to system memory. |
| The model repeats itself | Raise DRY above 1, or the repeat penalty a little above 1. |
| The model ignores its tools | The model must support tool calling. Web tools also need Internet Access on. |
| An MCP server does nothing | Turn on MCP Servers under Conversation. A local command must be installed on your computer. |
| The model can't see an image | Choose a projector under Language Model. |
| "Darkstar's program files have been changed or damaged" | Run the installer again over your install. It keeps your chats, projects and settings. |