<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Deepika bhuvaneshwaran</title>
    <description>The latest articles on DEV Community by Deepika bhuvaneshwaran (@deepika_bhuvaneshwaran_63).</description>
    <link>https://dev.to/deepika_bhuvaneshwaran_63</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4202017%2Fad3f246a-5221-4194-bd00-4616643d9730.png</url>
      <title>DEV Community: Deepika bhuvaneshwaran</title>
      <link>https://dev.to/deepika_bhuvaneshwaran_63</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/deepika_bhuvaneshwaran_63"/>
    <language>en</language>
    <item>
      <title>Building Chain of Custody: Exploring AI Agent Safety with Python and FastAPI</title>
      <dc:creator>Deepika bhuvaneshwaran</dc:creator>
      <pubDate>Fri, 23 Oct 2026 08:27:43 +0000</pubDate>
      <link>https://dev.to/deepika_bhuvaneshwaran_63/building-chain-of-custody-exploring-ai-agent-safety-with-python-and-fastapi-3jo5</link>
      <guid>https://dev.to/deepika_bhuvaneshwaran_63/building-chain-of-custody-exploring-ai-agent-safety-with-python-and-fastapi-3jo5</guid>
      <description>&lt;h1&gt;
  
  
  Building Chain of Custody: Exploring AI Agent Safety with Python and FastAPI
&lt;/h1&gt;

&lt;p&gt;As AI agents become more capable, one important question comes to mind:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How can we make AI agent actions safer, more transparent, and easier to review?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As a Computer Science and Engineering student interested in AI agents and cloud technologies, I explored this question by building a project called &lt;strong&gt;Chain of Custody — AI Agent Safety and Decision Monitoring&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 What is Chain of Custody?
&lt;/h2&gt;

&lt;p&gt;Chain of Custody is a web-based dashboard designed to help users review proposed AI agent actions, evaluate potential risks, and inspect safety decisions.&lt;/p&gt;

&lt;p&gt;The project focuses on three possible outcomes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;PROCEED:&lt;/strong&gt; Allow an action when it meets the applicable safety checks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CONFIRM:&lt;/strong&gt; Require additional human review before proceeding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DENY:&lt;/strong&gt; Block an action that fails the applicable safety checks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These outcomes help demonstrate how a safety-review workflow can make agent actions easier to understand.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛠️ Technology Stack
&lt;/h2&gt;

&lt;p&gt;I used the following technologies to build the application:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Python&lt;/strong&gt; for backend logic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FastAPI&lt;/strong&gt; for API endpoints.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HTML, CSS, and JavaScript&lt;/strong&gt; for the web interface.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Strands Decider integration&lt;/strong&gt; to explore AI-assisted action evaluation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vercel&lt;/strong&gt; for deployment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub&lt;/strong&gt; for source control.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🖥️ Key Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Dashboard
&lt;/h3&gt;

&lt;p&gt;Provides an overview of the application's safety-monitoring workflow.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Inbox
&lt;/h3&gt;

&lt;p&gt;Provides an interface for reviewing incoming requests.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Agent Run
&lt;/h3&gt;

&lt;p&gt;Allows proposed actions to be evaluated and displays a PROCEED, CONFIRM, or DENY outcome.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Flight Recorder
&lt;/h3&gt;

&lt;p&gt;Provides an interface for inspecting decision records and improving visibility into the review process.&lt;/p&gt;

&lt;h2&gt;
  
  
  🧠 What I Learned
&lt;/h2&gt;

&lt;p&gt;Building this project helped me explore how a backend API and frontend dashboard work together. It also gave me practical experience with deployment, API testing, GitHub, and designing interfaces for AI safety workflows.&lt;/p&gt;

&lt;p&gt;One important lesson is that an AI-generated decision should not automatically be treated as a guarantee of safety. Real-world systems need appropriate authorization checks, human oversight, testing, and reliable audit records.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔭 What's Next?
&lt;/h2&gt;

&lt;p&gt;I plan to improve production testing, verify the hosted Decider connection through the deployed application, and explore Amazon Bedrock integration.&lt;/p&gt;

&lt;p&gt;These improvements will help me develop a more complete understanding of building and deploying responsible AI applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔗 Try the Project
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Live demo:&lt;/strong&gt; &lt;a href="https://chain-of-custody.vercel.app/" rel="noopener noreferrer"&gt;https://chain-of-custody.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source code:&lt;/strong&gt; &lt;a href="https://github.com/Deepika20053/chain-of-custody" rel="noopener noreferrer"&gt;https://github.com/Deepika20053/chain-of-custody&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm continuing to learn about AI agents, cloud technologies, and responsible software development. I'd love to hear how other developers approach safety and oversight in agentic applications.&lt;/p&gt;

&lt;h1&gt;
  
  
  AWS #AIAgents #Python #FastAPI #AISafety
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>backend</category>
      <category>python</category>
      <category>security</category>
    </item>
  </channel>
</rss>
