> For the complete documentation index, see [llms.txt](https://docs.aios.foundation/aios-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aios.foundation/aios-docs/aios-agent-sdk/storage-api/create_dir.md).

# create\_dir

#### `create_dir`: Create Directory

Creates a new directory at the specified path.

```python
def create_dir(
    agent_name: str, 
    dir_path: str,
    base_url: str = aios_kernel_url
) -> StorageResponse
```

**Parameters:**

* `agent_name`: Identifier for the agent making the request
* `dir_path`: Path where the new directory should be created
* `base_url`: API endpoint URL

**Returns:**

* `StorageResponse` object containing creation status

**Example:**

```python
# Create a project directory structure
response = create_dir(
    "project_manager",
    "projects/new_webapp/src"
)

print(response["response"]["response_message"])
```
