Skip to content
Open
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
18 changes: 2 additions & 16 deletions packages/uipath-openai-agents/docs/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ Before proceeding, ensure you have the following installed:
- Python 3.11 or higher
- `pip` or `uv` package manager
- A UiPath Automation Cloud account with appropriate permissions
- An OpenAI API key

/// info
**OpenAI** - Generate an OpenAI API key [here](https://platform.openai.com).
///
The generated boilerplate uses `UiPathChatOpenAI`, which routes all LLM requests through the **UiPath LLM Gateway**. No OpenAI API key is required — authentication is handled via `uipath auth`. If you choose to use the OpenAI client directly (without `UiPathChatOpenAI`), you will need to configure an `OPENAI_API_KEY` environment variable.
///

## Creating a New Project

Expand Down Expand Up @@ -104,7 +103,6 @@ Generate your first UiPath OpenAI agent:
✓ Created 'main.py' file.
✓ Created 'openai_agents.json' file.
✓ Created 'pyproject.toml' file.
🔧 Please ensure to define OPENAI_API_KEY in your .env file.
💡 Initialize project: uipath init
💡 Run agent: uipath run agent '{"messages": "Hello"}'
```
Expand Down Expand Up @@ -138,18 +136,6 @@ This command creates the following files:
| `uipath.json` | Input/output JSON schemas and bindings. |
| `agent.mermaid` | Graph visual representation. |

## Set Up Environment Variables

Before running the agent, configure `OPENAI_API_KEY` in the `.env` file:

//// tab | Open AI

```
OPENAI_API_KEY=sk-proj-......
```

////

## Authenticate With UiPath

<!-- termynal -->
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# OpenAI API Key
# This sample uses the OpenAI client directly (without UiPathChatOpenAI),
# so an OpenAI API key is required.
# Get your API key from https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-...