Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/ai-python/content/docs/basics/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ needs those control points.

## Example map

Focused samples live in `examples/samples/`:
Focused samples live in `examples/`:

- `stream.py` streams text from a model.
- `tools_schema.py` passes a schema-only tool to a model.
Expand All @@ -47,5 +47,7 @@ Focused samples live in `examples/samples/`:
- `streaming_tool.py` streams partial output from a tool.
- `agent_nested.py` runs a subagent as a tool.

End-to-end demos live in `examples/fastapi-vite`,
`examples/multiagent-textual`, and `examples/temporal-direct`.
End-to-end demos live in
[`examples/fastapi-vite`](https://github.com/vercel-labs/ai-python/tree/main/examples/fastapi-vite),
[`examples/multiagent-textual`](https://github.com/vercel-labs/ai-python/tree/main/examples/multiagent-textual),
and [`examples/temporal-direct`](https://github.com/vercel-labs/ai-python/tree/main/examples/temporal-direct).
12 changes: 8 additions & 4 deletions docs/ai-python/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ After iteration, `s.message`, `s.text`, `s.tool_calls`, `s.output`, and
- **Streaming**: Stream model responses and inspect events.
- **Agents**: Add tools, customize the loop, and handle approvals.
- **Samples**: Focused, single-file examples live in
[`examples/samples/`](https://github.com/vercel-labs/ai-python/tree/main/examples/samples).
- **End-to-end demos**: `fastapi-vite` (web chat with human-in-the-loop
approval), `multiagent-textual` (parallel agents with a terminal UI),
`temporal-direct` (durable agent runs).
[`examples/`](https://github.com/vercel-labs/ai-python/tree/main/examples).
- **End-to-end demos**:
[`fastapi-vite`](https://github.com/vercel-labs/ai-python/tree/main/examples/fastapi-vite)
(web chat with human-in-the-loop approval),
[`multiagent-textual`](https://github.com/vercel-labs/ai-python/tree/main/examples/multiagent-textual)
(parallel agents with a terminal UI),
[`temporal-direct`](https://github.com/vercel-labs/ai-python/tree/main/examples/temporal-direct)
(durable agent runs).
Loading