Skip to main content
Same WikiContextProvider as 14_wiki_filesystem.py, but with a web backend wired in. The write sub-agent gets the workspace tools plus web_search / web_fetch from ExaMCPBackend (keyless), so a single update_wiki(...) call can fetch a URL or search the web, digest the result, and file it as a wiki page.
wiki_with_web.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Run the example

Save the code above as wiki_with_web.py, then run:
Full source: cookbook/12_context/16_wiki_with_web.py