├── .gitignore ├── LICENSE ├── README.md ├── agents-that-write-code ├── .gitignore ├── archive │ ├── code_runner.py │ ├── data.json │ ├── download_html.py │ ├── files │ │ ├── nba_boxscores_body.html │ │ └── nba_boxscores_page.html │ ├── generate_code_prompt.txt │ ├── main.py │ ├── output.json │ └── scrape.py ├── blocks │ ├── review_code.py │ ├── revise_code.py │ ├── run_code.py │ └── write_code.py ├── codegen.py ├── diagram.html ├── fib.py ├── helpers.py ├── holdem.py ├── html.html ├── iss.py ├── prompts │ ├── error.txt │ ├── review_code.txt │ ├── review_feedback.txt │ ├── revise_code_error.txt │ ├── revise_code_feedback.txt │ └── write_code.txt ├── requirements │ ├── fib.txt │ ├── holdem.txt │ ├── iss.txt │ ├── nn.txt │ ├── scraper.txt │ └── wikipedia.txt ├── scrape.py ├── scraper.py └── to_json.py ├── demos └── mcp_and_pydanticai │ ├── agent.py │ ├── agent_with_logfire.py │ ├── agent_with_mcp_fetch.py │ ├── agent_with_mcp_pg.py │ └── agent_with_riza.py ├── frameworks └── langgraph-gas-price-analyst-agent │ ├── .gitignore │ ├── .python-version │ ├── README.md │ ├── graph.py │ ├── main.py │ ├── nodes │ ├── check_if_changed.py │ ├── create_chart.py │ ├── extract_price_data.py │ ├── scrape_prices.py │ ├── store_and_notify.py │ └── summarize_change.py │ ├── pyproject.toml │ ├── state.py │ ├── utils │ ├── diff.py │ └── storage.py │ └── uv.lock ├── platforms ├── claude_code.py ├── claude_langchain.py ├── gemini_code.py └── openai_code.py ├── requirements.txt └── use-cases ├── data-analysis-intro ├── data_SF_Employee_Compensation_jobfam_fireservices.csv └── generate_graph.py ├── data-transformation-intro ├── appraisers.csv └── transform_appraisers_data.py ├── data_extraction_intro.py └── evals-intro ├── data_transform_codegen.py ├── eval_codegen.py └── test_cases.py /.gitignore: -------------------------------------------------------------------------------- 1 | venv 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/README.md -------------------------------------------------------------------------------- /agents-that-write-code/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/.gitignore -------------------------------------------------------------------------------- /agents-that-write-code/archive/code_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/archive/code_runner.py -------------------------------------------------------------------------------- /agents-that-write-code/archive/data.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agents-that-write-code/archive/download_html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/archive/download_html.py -------------------------------------------------------------------------------- /agents-that-write-code/archive/files/nba_boxscores_body.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/archive/files/nba_boxscores_body.html -------------------------------------------------------------------------------- /agents-that-write-code/archive/files/nba_boxscores_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/archive/files/nba_boxscores_page.html -------------------------------------------------------------------------------- /agents-that-write-code/archive/generate_code_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/archive/generate_code_prompt.txt -------------------------------------------------------------------------------- /agents-that-write-code/archive/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/archive/main.py -------------------------------------------------------------------------------- /agents-that-write-code/archive/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/archive/output.json -------------------------------------------------------------------------------- /agents-that-write-code/archive/scrape.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/archive/scrape.py -------------------------------------------------------------------------------- /agents-that-write-code/blocks/review_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/blocks/review_code.py -------------------------------------------------------------------------------- /agents-that-write-code/blocks/revise_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/blocks/revise_code.py -------------------------------------------------------------------------------- /agents-that-write-code/blocks/run_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/blocks/run_code.py -------------------------------------------------------------------------------- /agents-that-write-code/blocks/write_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/blocks/write_code.py -------------------------------------------------------------------------------- /agents-that-write-code/codegen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/codegen.py -------------------------------------------------------------------------------- /agents-that-write-code/diagram.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/diagram.html -------------------------------------------------------------------------------- /agents-that-write-code/fib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/fib.py -------------------------------------------------------------------------------- /agents-that-write-code/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/helpers.py -------------------------------------------------------------------------------- /agents-that-write-code/holdem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/holdem.py -------------------------------------------------------------------------------- /agents-that-write-code/html.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/html.html -------------------------------------------------------------------------------- /agents-that-write-code/iss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/iss.py -------------------------------------------------------------------------------- /agents-that-write-code/prompts/error.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/prompts/error.txt -------------------------------------------------------------------------------- /agents-that-write-code/prompts/review_code.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/prompts/review_code.txt -------------------------------------------------------------------------------- /agents-that-write-code/prompts/review_feedback.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/prompts/review_feedback.txt -------------------------------------------------------------------------------- /agents-that-write-code/prompts/revise_code_error.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/prompts/revise_code_error.txt -------------------------------------------------------------------------------- /agents-that-write-code/prompts/revise_code_feedback.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/prompts/revise_code_feedback.txt -------------------------------------------------------------------------------- /agents-that-write-code/prompts/write_code.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/prompts/write_code.txt -------------------------------------------------------------------------------- /agents-that-write-code/requirements/fib.txt: -------------------------------------------------------------------------------- 1 | calculate 52! (52 factorial) -------------------------------------------------------------------------------- /agents-that-write-code/requirements/holdem.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/requirements/holdem.txt -------------------------------------------------------------------------------- /agents-that-write-code/requirements/iss.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/requirements/iss.txt -------------------------------------------------------------------------------- /agents-that-write-code/requirements/nn.txt: -------------------------------------------------------------------------------- 1 | implement a neural net from scratch -------------------------------------------------------------------------------- /agents-that-write-code/requirements/scraper.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/requirements/scraper.txt -------------------------------------------------------------------------------- /agents-that-write-code/requirements/wikipedia.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/requirements/wikipedia.txt -------------------------------------------------------------------------------- /agents-that-write-code/scrape.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/scrape.py -------------------------------------------------------------------------------- /agents-that-write-code/scraper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/scraper.py -------------------------------------------------------------------------------- /agents-that-write-code/to_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/agents-that-write-code/to_json.py -------------------------------------------------------------------------------- /demos/mcp_and_pydanticai/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/demos/mcp_and_pydanticai/agent.py -------------------------------------------------------------------------------- /demos/mcp_and_pydanticai/agent_with_logfire.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/demos/mcp_and_pydanticai/agent_with_logfire.py -------------------------------------------------------------------------------- /demos/mcp_and_pydanticai/agent_with_mcp_fetch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/demos/mcp_and_pydanticai/agent_with_mcp_fetch.py -------------------------------------------------------------------------------- /demos/mcp_and_pydanticai/agent_with_mcp_pg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/demos/mcp_and_pydanticai/agent_with_mcp_pg.py -------------------------------------------------------------------------------- /demos/mcp_and_pydanticai/agent_with_riza.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/demos/mcp_and_pydanticai/agent_with_riza.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | __pycache__/ 3 | *.pyc 4 | 5 | .output -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/README.md -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/graph.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/main.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/nodes/check_if_changed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/nodes/check_if_changed.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/nodes/create_chart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/nodes/create_chart.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/nodes/extract_price_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/nodes/extract_price_data.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/nodes/scrape_prices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/nodes/scrape_prices.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/nodes/store_and_notify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/nodes/store_and_notify.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/nodes/summarize_change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/nodes/summarize_change.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/pyproject.toml -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/state.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/utils/diff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/utils/diff.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/utils/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/utils/storage.py -------------------------------------------------------------------------------- /frameworks/langgraph-gas-price-analyst-agent/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/frameworks/langgraph-gas-price-analyst-agent/uv.lock -------------------------------------------------------------------------------- /platforms/claude_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/platforms/claude_code.py -------------------------------------------------------------------------------- /platforms/claude_langchain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/platforms/claude_langchain.py -------------------------------------------------------------------------------- /platforms/gemini_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/platforms/gemini_code.py -------------------------------------------------------------------------------- /platforms/openai_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/platforms/openai_code.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/requirements.txt -------------------------------------------------------------------------------- /use-cases/data-analysis-intro/data_SF_Employee_Compensation_jobfam_fireservices.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/use-cases/data-analysis-intro/data_SF_Employee_Compensation_jobfam_fireservices.csv -------------------------------------------------------------------------------- /use-cases/data-analysis-intro/generate_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/use-cases/data-analysis-intro/generate_graph.py -------------------------------------------------------------------------------- /use-cases/data-transformation-intro/appraisers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/use-cases/data-transformation-intro/appraisers.csv -------------------------------------------------------------------------------- /use-cases/data-transformation-intro/transform_appraisers_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/use-cases/data-transformation-intro/transform_appraisers_data.py -------------------------------------------------------------------------------- /use-cases/data_extraction_intro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/use-cases/data_extraction_intro.py -------------------------------------------------------------------------------- /use-cases/evals-intro/data_transform_codegen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/use-cases/evals-intro/data_transform_codegen.py -------------------------------------------------------------------------------- /use-cases/evals-intro/eval_codegen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/use-cases/evals-intro/eval_codegen.py -------------------------------------------------------------------------------- /use-cases/evals-intro/test_cases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riza-io/examples/HEAD/use-cases/evals-intro/test_cases.py --------------------------------------------------------------------------------