Skip to content

Agent as coder Challenge submission by Chandana H#39

Open
chandu1110 wants to merge 7 commits into
apurv-korefi:mainfrom
chandu1110:main
Open

Agent as coder Challenge submission by Chandana H#39
chandu1110 wants to merge 7 commits into
apurv-korefi:mainfrom
chandu1110:main

Conversation

@chandu1110

Copy link
Copy Markdown

This pull request introduces agent.py, a stateful, autonomous coding agent built to solve the "Agent-as-Coder" challenge. The agent is designed to analyze PDF bank statements, generate custom Python parsers, and iteratively self-correct its code based on empirical validation.
✨ Key Features
Autonomous Self-Correction: The agent uses a "generate, test, refine" loop. It analyzes test failures and uses that context to improve the code in subsequent attempts.

Stateful Workflow: Built with LangGraph, the agent maintains a stateful context throughout its execution, allowing it to learn and make decisions based on past actions.

Schema-Driven Design: The agent is not hardcoded for any specific bank. It dynamically adapts its parsing strategy based on the schema of the provided ground-truth CSV file.

Robust Error Handling: The agent is designed to handle PDF parsing errors, code execution errors, and data validation failures, using them as feedback for its correction loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant