You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Production-grade AI agent runtime with native DeepSeek inference, sandboxed Docker execution,
streaming XML protocol, and a standard library of tools, feeds, and relics.
Quickstart
make cortex-mk3
./cortex-mk3 --model deepseek-chat # interactive
./cortex-mk3 --prompt "list files"# one-shot
./cortex-mk3 --raw --prompt "list files"# raw XML output
./cortex-mk3 --verbose --prompt "what time is it"# full debug
./tests/sandbox/run.sh assistant # Docker sandbox test
<actiontype="tool"name="grep"id="g1"mode="sync">{"pattern":"TODO","path":"src/"}</action>
<responsefinal="true">Found 3 TODOs in src/agent.cpp</response>
<action> — call a tool, agent, or relic
<response> — user-visible output (only this reaches the user)
<response final="true"> — final response, conversation ends
Untagged text is internal harness chatter — never shown to user
Standard Library
Tools (14)
Tool
Type
Description
exec
built-in
Execute shell commands (timeout-enforced)
list
built-in
List directory contents
grep
built-in
Search files with regex
fs_read
built-in
Read file with offset/limit
fs_write
built-in
Write/create files
context_pin
built-in
Pin file to persistent context
context_peek
built-in
Read file for N cycles, auto-evict
context_unpin
built-in
Remove pinned file from context
json
built-in
Parse, query, validate JSON
web_fetch
built-in
HTTP GET/POST
ask_tool
built-in
Structured user interaction via cards
reload_manifests
meta
Hot-reload tool manifests from disk
disable_builtin
meta
Disable a built-in tool by name
enable_builtin
meta
Re-enable a disabled built-in
Feeds (3) — auto-injected into prompt
Feed
Data
system_clock
ISO8601, unix, date, time
system_stats
Hostname, platform, CPU, memory, PID
working_directory
CWD, git repo, branch, dirty, commit
Built-in Relics (2)
Relic
Description
session_journal
Session event recording and querying (filesystem)
state_checkpoint
Agent state snapshots for crash recovery (filesystem)