Smart File Agent is a tiny, selfβcontained demonstration of an agentic AI pipeline β built entirely in Python
It mirrors the architecture shown in the βHow Agentic AI Worksβ diagram:
Input Sources β file ingestion
AI Processing β request analysis + planning
Action Layer β tool execution (summarise, bulletify)
Output β clean Markdown summary
This project is intentionally small and easy to understand.

smart_file_agent/
β
βββ smart_file_agent/
β βββ __init__.py
β βββ main.py
β βββ agent/
β β βββ __init__.py
β β βββ agent_core.py
| | βββ logging_config.py
β β βββ ingestion.py
β β βββ processing.py
β β βββ tools.py
β β βββ output.py
β
βββ venv/
βββ README.md
βββ project_notes.txt
From the project root:
python -m smart_file_agent.main
Youβll be prompted for: - File path - What you want the agent to do
Enter file path: (File path of any text document you have) What would you like to do? bulletify
You can speak to the agent naturally. Here are some example prompts:
The agent detects the intent and chooses the correct mode.
Mode: bulletsummary Steps: extracttext, summarise, bulletify
This project demonstrates:
how agentic systems work internally
how to build a reasoning β planning β action pipeline
how to structure a Python agent project
how to simulate LLM behaviour without external dependencies
Itβs intentionally tiny, readable, and educational.
[ ] Add a reasoning trace (βThought β Action β Resultβ)
[ ] Add a memory system
[ ] A reasoning trace (LLMβstyle)
[ ] Add a tool registry
[ ] Add a local LLM mode (Ollama)
[ ] Add a FastAPI interface