Improved the system prompt
This commit is contained in:
@@ -1,77 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
|
||||
<!-- Delete command removes an entry from working memory by its ID -->
|
||||
<xs:element name="delete">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="id" type="xs:string" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!--
|
||||
Delete command removes an entry from the context by its ID.
|
||||
Use it to remove unnecessary items and stop background processes.
|
||||
When you delete something, it is gone.
|
||||
Make sure all important info is stored in files.
|
||||
-->
|
||||
<xs:element name="delete">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="id" type="xs:string" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<!-- Stop command terminates the agent gracefully -->
|
||||
<xs:element name="stop">
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
<!--
|
||||
Stop command terminates the agent gracefully.
|
||||
For the main SIA instance this will trigger an update and restart.
|
||||
For sub-instances this is the correct way to stop after all tasks are complete.
|
||||
-->
|
||||
<xs:element name="stop">
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
|
||||
<!-- Background script that runs continuously without blocking the agent
|
||||
Output is captured and stored in working memory -->
|
||||
<xs:element name="background">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!--
|
||||
Single script that runs once and completes.
|
||||
Output is stored in context until explicitly deleted.
|
||||
Used for one-time operations like file manipulation.
|
||||
-->
|
||||
<xs:element name="single">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<!-- Repeat script that runs on every iteration
|
||||
Output is refreshed each time and stored in working memory
|
||||
Useful for monitoring files or system state -->
|
||||
<xs:element name="repeat">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!--
|
||||
Repeat script runs each time the context is generated.
|
||||
After a command is issued, all repeat scripts in context are run again.
|
||||
Useful for monitoring changing files or viewing results immediately after changing a file.
|
||||
Repeat scripts should execute quickly to avoid blocking the agent.
|
||||
-->
|
||||
<xs:element name="repeat">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<!-- Single shot script that runs once and completes
|
||||
Output is stored in working memory until explicitly deleted
|
||||
Used for one-time operations like file manipulation -->
|
||||
<xs:element name="single_shot">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!--
|
||||
As an agent it is important to reason about your actions and their results.
|
||||
In a reasoning action you can write freeform text.
|
||||
This is also stored in context until deleted.
|
||||
-->
|
||||
<xs:element name="reasoning">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<!-- Reasoning documents the agent's thought process
|
||||
Stored in working memory for context and learning
|
||||
Can be referenced by future iterations to improve decisions -->
|
||||
<xs:element name="reasoning">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<!-- Read stdin command retrieves input from the IO buffer
|
||||
Blocks until input is available
|
||||
Input is stored in working memory as a ReadEntry -->
|
||||
<xs:element name="read_stdin">
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
|
||||
<!-- Write stdout command sends output to the IO buffer
|
||||
Output is stored in working memory as a WriteEntry
|
||||
Used for communicating with users or other processes -->
|
||||
<xs:element name="write_stdout">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!--
|
||||
Read all available text on stdin and store it in context.
|
||||
-->
|
||||
<xs:element name="read_stdin">
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
|
||||
<!--
|
||||
Write to stdout.
|
||||
This is your main way of contacting the user.
|
||||
-->
|
||||
<xs:element name="write_stdout">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
|
||||
Reference in New Issue
Block a user