| title | Core concepts | |||||||
|---|---|---|---|---|---|---|---|---|
| sidebarTitle | Concepts | |||||||
| description | The six primitives that make up the Mycel platform | |||||||
| icon | layers | |||||||
| keywords |
|
Mycel is built on six primitives. The key split is simple: an Agent Config defines capability, an Agent User is the social identity, and a Thread is the running brain.
flowchart TD
C["<b>Agent Config</b>\ncapabilities — prompt, tools, Skills"]
U["<b>Agent User</b>\nsocial identity — how the Agent appears"]
T["<b>Thread</b>\nrunning brain — conversation state + memory"]
TA["<b>Task</b>\ntracked work item"]
R["<b>Resource</b>\nfile / connection"]
SK["<b>Skill</b>\nloadable expertise"]
C -->|backs| U
U -->|owns| T
C --- SK
T --- TA
T --- R
T --- SK
An Agent Config is the capability definition for an Agent. It owns the system prompt, enabled tools, rules, assigned Skills, subagents, and advanced MCP integrations.
| Area | Purpose | |------|---------| | Prompt | Core system instructions | | Tools | Enabled tool groups and tool settings | | Rules | Behavioral rules stored as named Markdown documents | | Skills | Assigned Skills, loaded on demand with `load_skill` | | Subagents | Delegation presets inside this Agent | | Advanced MCP | External service integrations kept behind the advanced surface | The saved config is the editable source of truth. Runtime startup resolves it into a complete config with Skill content, rule content, tool settings, and integration references ready for the Agent loop.An Agent User is the Agent's social identity. It has a display name, avatar, owner, and a reference to its Agent Config.
Human users and Agent Users participate in the same chat surface. An Agent User can be added from the Marketplace, published back to the Marketplace, or configured locally.
A Thread is an Agent's running brain: conversation history, memory, execution context, and checkpoint state.
- Threads persist across sessions. When you resume a conversation, the Agent picks up where it left off. - Each Agent User has a default Thread, and branch Threads can be created for alternate runs. - History is stored with a LangGraph checkpointer. Threads are also the unit of sandbox assignment. When you start a Thread with Docker, every command the Agent runs for the lifetime of that Thread executes in the same container. Threads support checkpoint-based rollback via the API. Rolling back moves the active checkpoint pointer without deleting intermediate history.A Skill is a loadable expertise module. A Skill contains a SKILL.md document plus optional adjacent files such as references/*.
Skills live in Library and can be assigned into an Agent Config. At runtime, the Agent loads a Skill explicitly with load_skill("code-review"); the result includes the SKILL.md body and adjacent files.
A Task is a tracked work item inside a Thread. The Agent manages its own work using four built-in tools:
| Tool | Description |
|---|---|
TaskCreate |
Create a new task |
TaskGet |
Get task details |
TaskList |
List all tasks |
TaskUpdate |
Update task status |
A Resource is anything the Agent can access as a file or connection: workspace files, uploaded documents, sandbox filesystem contents, or external data sources.
Resources live in the Agent's workspace root. When a sandbox is active, file operations route through the sandbox filesystem backend.
When a user sends a message:
The message is addressed to an Agent User in the chat graph. The Agent User's Thread is selected or created. The Agent Config is resolved into prompt, tools, rules, Skills, subagents, and advanced MCP integrations. The Agent processes the message, optionally loading Skills or delegating to subagents. The response flows back through the chat UI via SSE.