NotesAgent is an autonomous agent designed to help you generate, correct, and write notes on any topic. Powered by CrewAI, it leverages a multi-agent architecture and integrates knowledge from all PDF files in the knowledge directory to provide intelligent, context-aware note-taking assistance.
-
Autonomous Workflow:
- The agent interacts with you to receive a topic.
- It uses specialized sub-agents for generating, correcting, and writing notes.
- All agents share access to a knowledge base built from your PDF files.
-
Knowledge Integration:
- Every PDF in the
knowledgefolder is automatically included as a knowledge source. - The agent can reference and synthesize information from these documents to enhance your notes.
- Every PDF in the
-
Extensible Agent Crew:
- The system is built on CrewAI's agent/task/crew abstractions, making it easy to add new agents or tasks for more advanced workflows.
NotesAgent/
│
├── knowledge/ # Place your PDF files here
│
├── notes_agent_flow/
│ └── src/
│ └── notes_agent_flow/
│ ├── main.py # Entry point: launches the agent
│ └── crews/
│ └── notes_crew/
│ ├── notes_crew.py # Crew and agent definitions
│ └── knowledge/ # (symlink or copy of root knowledge folder)
│
├── config/
│ ├── agents.yaml # Agent configuration (YAML)
│ └── tasks.yaml # Task configuration (YAML)
│
├── .env # Environment variables (optional)
└── README.md
-
Install dependencies
Make sure you have Python 3.8+ and install requirements:pip install -r requirements.txt
-
Add Knowledge
Place your PDF files in theknowledge/directory at the project root. -
Configure Agents and Tasks
Editconfig/agents.yamlandconfig/tasks.yamlas needed. -
Run the Agent
python notes_agent_flow/src/notes_agent_flow/main.py
-
Interact
The agent will prompt you for a topic and autonomously generate, correct, and write notes using its knowledge base.
-
Knowledge Source:
By default, all PDFs in theknowledgefolder are used. To change this, modify theknowledge_pathinnotes_crew.py. -
Agents & Tasks:
You can add or modify agents and tasks by editing the YAML files in theconfig/directory.
- Python 3.8+
- CrewAI
- pydantic
- python-dotenv
- crewai_tools
MIT License
Built as an autonomous agent with CrewAI