Skip to main contentAbout
Complex tasks that motivate multi-agent approaches typically exhibit four key characteristics:
- Planning: Complex tasks often require a high level plan, which involves decomposing the task into steps that must be completed successfully.
- Extensive context: Complex tasks often require extensive context that need to be processed to solve the task.
- Diverse expertise: Decomposing complex tasks into multiple steps often results in steps that can benefit from specific expertise.
- Adaptive solution: Complex tasks are often situated in dynamic environments where the exact solution is unknown or uncertain until some actions are taken.
Overview
When a banking customer has to do a KYC, if done offline it will take 8–12hrs. If done online, It will still take an hour along with human intervention. To expedite this AI Agents can be used to help the customers get their self-serviced KYC done in minutes removing any human intervention!
Architecture
Solution
The DeepAgent has 5 core elements, Tools, Planning tool, System prompt, File system & Sub agents. I have explained in this article here, how the agent ties all these to solve complex tasks.
When a user uploads a document for example Aadhaar card, DL or PAN (can be extended for any documents) the DeepAgent works as follows:
- With document extraction, the PII information is extracted from the document.
- Planning agent created todo items of what searches to be made and saves it to the file system.
- The sub-agents are invoked according to the system prompt and the plan and extensive research is performed.
- A detailed customer risk analysis done and a report is generated with CDD, EDD risk profiles.
Example report
GitHub Link
Skills picked up
- LangChain DeepAgents
- Document processing with Docling
- Multi-agent complex agent