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
For detailed usage instructions, Anthropic/Azure/OpenAI setup, and advanced configuration options, see our [Getting Started Tutorial](docs/tutorials/getting_started.md).
36
36
37
-
## API Setup
37
+
### 1. API Setup
38
38
MLZero uses AWS Bedrock by default. Configure your AWS credentials:
@@ -67,6 +65,33 @@ mlzero-frontend # command to start frontend on 8509(default)
67
65
1.**Configure**: Set your model provider and credentials in settings
68
66
2.**Upload & Describe**: Drag your data folder into the chat input box, then type what you want to accomplish and press Enter
69
67
68
+
### 2.3 MCP (Model Context Protocol)
69
+
70
+
Note: The system can run on a single machine or distributed across multiple machines (e.g., server on EC2, client on local).
71
+
1.**Start the server**
72
+
```bash
73
+
cd autogluon-assistant
74
+
mlzero-backend # command to start backend
75
+
mlzero-mcp-server # This will start the service—run it in a new terminal.
76
+
```
77
+
2.**Start the client**
78
+
```bash
79
+
cd autogluon-assistant
80
+
mlzero-mcp-client
81
+
```
82
+
Note: You may need to set up port tunneling to expose your local MCP Client Server (port 8005) if you want to use it with remote LLM services (e.g., Claude API, OpenAI API).
83
+
84
+
### 2.4 Python API
85
+
86
+
```python
87
+
from autogluon.assistant.coding_agent import run_agent
88
+
run_agent(
89
+
input_data_folder=<your-input-folder>,
90
+
output_folder=<your-output-folder>,
91
+
# more args ...
92
+
)
93
+
```
94
+
70
95
## Citation
71
96
If you use Autogluon Assistant (MLZero) in your research, please cite our paper:
Whether to prompt user input at each iteration. Defaults to `False`.
92
+
-`--enable-per-iteration-instruction`:
93
+
If enabled, provide an instruction at the start of each iteration (except the first, which uses the initial instruction). The process suspends until you provide it.
94
94
95
-
-`-u, --user-input`:
95
+
-`-t, --initial-instruction`:
96
96
Initial user input to use in the first iteration. Optional.
need_user_input: bool=typer.Option(False, "--need-user-input", help="Whether to prompt user each iteration"),
36
-
initial_user_input: str|None=typer.Option(None, "-u", "--user-input", help="Initial user input"),
42
+
max_iterations: int=typer.Option(
43
+
5,
44
+
"-n",
45
+
"--max-iterations",
46
+
help="Max iteration count. If the task hasn’t succeeded after this many iterations, it will terminate.",
47
+
),
48
+
need_user_input: bool=typer.Option(
49
+
False,
50
+
"--enable-per-iteration-instruction",
51
+
help="If enabled, provide an instruction at the start of each iteration (except the first, which uses the initial instruction). The process suspends until you provide it.",
52
+
),
53
+
initial_user_input: str|None=typer.Option(
54
+
None, "-t", "--initial-instruction", help="You can provide the initial instruction here."
55
+
),
37
56
extract_archives_to: str|None=typer.Option(
38
-
None, "-e", "--extract-to", help="Directory in which to unpack any archives"
57
+
None,
58
+
"-e",
59
+
"--extract-to",
60
+
help="Copy input data to specified directory and automatically extract all .zip archives. ",
0 commit comments