You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.**Edit the configuration file** and replace the placeholder paths:
57
64
- Replace `/path/to/your/python` with your actual Python path (e.g., `/usr/bin/python3` or `/opt/homebrew/bin/python3`)
58
65
- Replace `/path/to/coderunner` with the actual path to your cloned repository
59
-
66
+
60
67
Example after editing:
61
68
```json
62
69
{
@@ -87,14 +94,9 @@ Use CodeRunner with OpenAI's Python agents library:
87
94
export OPENAI_API_KEY="your-openai-api-key-here"
88
95
```
89
96
90
-
2.**Install required dependencies:**
97
+
2.**Run the client:**
91
98
```bash
92
-
pip install openai-agents
93
-
```
94
-
95
-
3.**Run the client:**
96
-
```bash
97
-
python examples/openai_client.py
99
+
python examples/openai_agents/openai_client.py
98
100
```
99
101
100
102
4.**Start coding:**
@@ -105,7 +107,7 @@ Use CodeRunner with OpenAI's Python agents library:
105
107
### Sandboxed Execution
106
108
All code runs in an isolated container environment, ensuring your host system remains secure.
107
109
108
-
From [@apple/container](https://github.com/apple/container/blob/main/docs/technical-overview.md) documentation -
110
+
From [@apple/container](https://github.com/apple/container/blob/main/docs/technical-overview.md) documentation -
109
111
>Security: Each container has the isolation properties of a full VM, using a minimal set of core utilities and dynamic libraries to reduce resource utilization and attack surface.
110
112
111
113
## 🏗️ Architecture
@@ -118,8 +120,9 @@ CodeRunner consists of:
118
120
## 📚 Examples
119
121
120
122
The `examples/` directory contains:
121
-
-`openai_client.py` - Example OpenAI agents integration
122
-
-`systemprompt.txt` - Sample system prompt for AI models
123
+
-`openai-agents` - Example OpenAI agents integration
124
+
-`claude-desktop` - Example Claude Desktop integration
0 commit comments