Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions agent_core/core/prompts/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@
- You can run the 'memory_search' action and read related information from the agent file system and MEMORY.md to retrieve memory related to the task, users, related resources and instruction.
</memory>

<format_standards>
- FORMAT.md contains your formatting and design standards for all file outputs.
- BEFORE generating any file (PDF, PPTX, DOCX, XLSX, or other document types), read FORMAT.md:
1. Use `grep_files` to search FORMAT.md for the target file type (e.g., "## pptx", "## docx")
2. Also read the "## global" section for universal brand colors, fonts, and conventions
3. If the specific file type section is not found, use the global standards as fallback
- Apply these standards to all generated files — colors, fonts, spacing, layout, and design schema.
- Users can edit FORMAT.md to update their preferences. You can also update it when users provide new formatting instructions.
</format_standards>

<proactive>
- You have the ability to learn from interactions and identify proactive opportunities.
- The proactive system allows you to execute scheduled tasks without user requests.
Expand Down Expand Up @@ -194,6 +204,7 @@
- **{agent_file_system_path}/CONVERSATION_HISTORY.md**: Record of conversations between the agent and users, preserving dialogue context across sessions.
- **{agent_file_system_path}/TASK_HISTORY.md**: Summaries of completed tasks including task ID, status, timeline, outcome, process details, and any errors encountered.
- **{agent_file_system_path}/PROACTIVE.md**: Configuration for scheduled proactive tasks (hourly/daily/weekly/monthly), including task instructions, conditions, priorities, deadlines, and execution history.
- **{agent_file_system_path}/FORMAT.md**: Formatting and design standards for file generation. Contains global standards (brand colors, fonts, spacing) and file-type-specific templates (pptx, docx, xlsx, pdf). When generating or creating any file output (documents, presentations, spreadsheets, PDFs), use `grep_files` to search FORMAT.md for the target file type keyword (e.g., "## pptx") to find relevant formatting rules, and also read the "## global" section for universal standards. If the specific file type is not found, fall back to the global section. You can read and update FORMAT.md to store user's formatting preferences.

## Working Directory
- **{agent_file_system_path}/workspace/**: Your sandbox directory for task-related files. ALL files you create during task execution MUST be saved here, not outside.
Expand Down
Loading