Inspiration
Contracts are complex and filled with legal jargon, making it hard to identify risks and obligations at a glance. I wanted to create a tool that simplifies this process, turning contracts into actionable insights. The idea came from a simple question: How can I help individuals and businesses understand the risks buried in their agreements without needing a legal expert every time?
What it does
Agreemetrics connects to your DocuSign account, allowing you to access and analyze your contracts. It generates a dashboard that highlights key clauses, risks, and remedies, presented through intuitive charts and graphs. The goal is to empower users with the knowledge they need to make informed decisions about their agreements.
How I built it
I built the frontend using React for its flexibility and interactive capabilities. The backend was developed with FastAPI, chosen for its speed and simplicity. DocuSign's API is the backbone of the authentication and document retrieval processes. For risk analysis, I integrated Gemini, leveraging its AI capabilities to parse and assess contract clauses. The frontend communicates seamlessly with the backend through a REST API, ensuring a smooth user experience.
Challenges I ran into
One of the biggest challenges was setting up authentication with DocuSign and ensuring tokens were handled securely. Integrating Gemini for clause analysis was another hurdle; adapting it to identify risks in legal language took time. On the frontend, ensuring the dashboard was both visually appealing and functional required several iterations. Debugging CORS issues and managing asynchronous API calls were additional roadblocks I had to overcome.
Accomplishments that I'm proud of
I'm proud of building a tool that translates the complexity of contracts into something accessible and understandable. The seamless integration of DocuSign and AI analysis was no small feat. The interactive dashboard turned out better than I initially envisioned, and seeing it display real insights was a moment of pride for me.
What I learned
This project taught me the importance of clear API communication and careful state management in a React application. On the backend, I gained a deeper understanding of integrating external APIs like DocuSign and how to optimize AI models for specific use cases. Most importantly, I learned how to break down a complex problem into manageable pieces and solve them step by step.
What's next for Agreemetrics
I plan to refine the risk analysis engine to provide even more detailed insights. Adding collaboration features, where teams can review and annotate contracts together, is also on the roadmap. Eventually, I aim to integrate with other document platforms, making Agreemetrics a versatile tool for all contract management needs.
Built With
- docusign-api
- fastapi
- gemini-api
- javascript
- python
- react

Log in or sign up for Devpost to join the conversation.