diff --git a/basics/database/async-sqlite.mdx b/basics/database/async-sqlite.mdx index f0c4ba476..044fb7ba7 100644 --- a/basics/database/async-sqlite.mdx +++ b/basics/database/async-sqlite.mdx @@ -21,6 +21,11 @@ db = AsyncSqliteDb(db_file="tmp/data.db") # Setup a basic agent with the SQLite database agent = Agent(db=db) + +# ... do your work with the agent + +# and close the DB ! Otherwise your program won't exit +await agent.db.close() ``` ## Params