Skip to content

Commit f7e7fb6

Browse files
authored
Merge pull request #748 from alliehowe29/allie/add-agentic-code-samples
Add Agentic Code Samples
2 parents 275885c + f42be08 commit f7e7fb6

File tree

125 files changed

+14265
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+14265
-0
lines changed
File renamed without changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Mastra Invoice Agent
2+
This agent reviews submitted invoices with competing goals: approving invoices quickly and maintaining that
3+
approved invoices stay below a predefined threshold amount. What could possibly go wrong?
4+
5+
## Architecture Diagram
6+
![Invoice Agent Architecture](insecure-invoice-agent.jpg)
7+
8+
## Details on the goal manipulation and memory poisoning vulnerabilities
9+
https://docs.google.com/presentation/d/1ETszW07qVMMCYO_MZD16PEKTmp9EV1HP/edit?usp=sharing&ouid=105327696040816402498&rtpof=true&sd=true
10+
11+
## To run the code
12+
Make a .env inside of ./invoice_agent and add your `ANTHROPIC_API_KEY`
13+
14+
`npm install`
15+
16+
`npm run dev`
172 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
output.txt
2+
node_modules
3+
dist
4+
.mastra
5+
.env.development
6+
.env
7+
*.db
8+
*.db-*

0 commit comments

Comments
 (0)