This commit is contained in:
geoffsee
2025-05-23 09:48:26 -04:00
commit 66d3c06230
84 changed files with 6529 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import {PerigonClient as NewsSearchTool} from "@agentic/perigon";
script({
system: ["system.tools"],
tools: "agent",
maxTokens: 8192
})
const newSearchTool = new NewsSearchTool();
defTool(newSearchTool)
$`You are a chat assistant that uses agent tools to solve problems.
while true:
- ask the user for a question using the agent_user_input
- make a plan to answer the question step by step
- answer the question
end while
## guidance:
- use the agent tools to help you
- do NOT try to ask the user questions directly, use the agent_user_input tool instead.
`