> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ame.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Knowledge

```python theme={null}
from aser.agent import Agent
from aser.knowledge import Knowledge

knowledge = Knowledge(name="aser_knowledge", query_ns=2)

knowledge.knowledger_from_file("README.md")

agent = Agent(
    name="aser agent",
    description="aser agent",
    model="gpt-4.1-mini",
    knowledge=knowledge,
)
response = agent.chat("what is aser agent?")
```
