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
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
CHANGELOG.md
src/assets/**/*.md
116 changes: 54 additions & 62 deletions src/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -792,25 +792,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/au

# Layout

There is one directory with generated application code, \`src/\` . At the root, there is a \`.gitignore\` file, a
\`.agentcore\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
The generated application code lives at the agent root directory. At the root, there is a \`.gitignore\` file, an
\`agentcore/\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
commands like \`deploy\`, \`dev\`, and \`invoke\` rely on the configuration stored here.

## src/
## Agent Root

The main entrypoint to your app is defined in \`src/main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
The main entrypoint to your app is defined in \`main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
file defines a Starlette ASGI app with the AutoGen framework running within.

\`src/model/load.py\` instantiates your chosen model provider.
\`model/load.py\` instantiates your chosen model provider.

## Environment Variables

| Variable | Required | Description |
| ------------------------------ | --------------- | ---------------------------------------------------------------- |
| \`AGENTCORE_IDENTITY_OPENAI\` | Yes (OpenAI) | OpenAI API key (local) or Identity provider name (deployed) |
| \`AGENTCORE_IDENTITY_ANTHROPIC\` | Yes (Anthropic) | Anthropic API key (local) or Identity provider name (deployed) |
| \`AGENTCORE_IDENTITY_GEMINI\` | Yes (Gemini) | Gemini API key (local) or Identity provider name (deployed) |
| \`LOCAL_DEV\` | No | Set to \`1\` to use \`agentcore/.env\` instead of AgentCore Identity |
| Variable | Required | Description |
| --- | --- | --- |
{{#if hasIdentity}}| \`{{identityProviders.[0].envVarName}}\` | Yes | {{modelProvider}} API key (local) or Identity provider name (deployed) |
{{/if}}| \`LOCAL_DEV\` | No | Set to \`1\` to use \`.env.local\` instead of AgentCore Identity |

# Developing locally

Expand Down Expand Up @@ -1148,25 +1146,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/cr

# Layout

There is one directory with generated application code, \`src/\` . At the root, there is a \`.gitignore\` file, a
\`.agentcore\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
The generated application code lives at the agent root directory. At the root, there is a \`.gitignore\` file, an
\`agentcore/\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
commands like \`deploy\`, \`dev\`, and \`invoke\` rely on the configuration stored here.

## src/
## Agent Root

The main entrypoint to your app is defined in \`src/main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
The main entrypoint to your app is defined in \`main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
file defines a Starlette ASGI app with the CrewAI framework running within.

\`src/model/load.py\` instantiates your chosen model provider.
\`model/load.py\` instantiates your chosen model provider.

## Environment Variables

| Variable | Required | Description |
| ------------------------------ | --------------- | ---------------------------------------------------------------- |
| \`AGENTCORE_IDENTITY_OPENAI\` | Yes (OpenAI) | OpenAI API key (local) or Identity provider name (deployed) |
| \`AGENTCORE_IDENTITY_ANTHROPIC\` | Yes (Anthropic) | Anthropic API key (local) or Identity provider name (deployed) |
| \`AGENTCORE_IDENTITY_GEMINI\` | Yes (Gemini) | Gemini API key (local) or Identity provider name (deployed) |
| \`LOCAL_DEV\` | No | Set to \`1\` to use \`agentcore/.env\` instead of AgentCore Identity |
| Variable | Required | Description |
| --- | --- | --- |
{{#if hasIdentity}}| \`{{identityProviders.[0].envVarName}}\` | Yes | {{modelProvider}} API key (local) or Identity provider name (deployed) |
{{/if}}| \`LOCAL_DEV\` | No | Set to \`1\` to use \`.env.local\` instead of AgentCore Identity |

# Developing locally

Expand Down Expand Up @@ -1474,23 +1470,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/go

# Layout

There is one directory with generated application code, \`src/\` . At the root, there is a \`.gitignore\` file, a
\`.agentcore\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
The generated application code lives at the agent root directory. At the root, there is a \`.gitignore\` file, an
\`agentcore/\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
commands like \`deploy\`, \`dev\`, and \`invoke\` rely on the configuration stored here.

## src/
## Agent Root

The main entrypoint to your app is defined in \`src/main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
The main entrypoint to your app is defined in \`main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
file defines a Starlette ASGI app with the Google ADK framework running within.

\`src/model/load.py\` instantiates your chosen model provider (Gemini).
\`model/load.py\` instantiates your chosen model provider (Gemini).

## Environment Variables

| Variable | Required | Description |
| --------------------------- | -------- | ---------------------------------------------------------------- |
| \`AGENTCORE_IDENTITY_GEMINI\` | Yes | Gemini API key (local) or Identity provider name (deployed) |
| \`LOCAL_DEV\` | No | Set to \`1\` to use \`agentcore/.env\` instead of AgentCore Identity |
| Variable | Required | Description |
| --- | --- | --- |
{{#if hasIdentity}}| \`{{identityProviders.[0].envVarName}}\` | Yes | {{modelProvider}} API key (local) or Identity provider name (deployed) |
{{/if}}| \`LOCAL_DEV\` | No | Set to \`1\` to use \`.env.local\` instead of AgentCore Identity |

# Developing locally

Expand Down Expand Up @@ -1755,25 +1751,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/la

# Layout

There is one directory with generated application code, \`src/\` . At the root, there is a \`.gitignore\` file, a
\`.agentcore\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
The generated application code lives at the agent root directory. At the root, there is a \`.gitignore\` file, an
\`agentcore/\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
commands like \`deploy\`, \`dev\`, and \`invoke\` rely on the configuration stored here.

## src/
## Agent Root

The main entrypoint to your app is defined in \`src/main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
The main entrypoint to your app is defined in \`main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
file defines a Starlette ASGI app with the LangChain/LangGraph framework running within.

\`src/model/load.py\` instantiates your chosen model provider.
\`model/load.py\` instantiates your chosen model provider.

## Environment Variables

| Variable | Required | Description |
| ------------------------------ | --------------- | ---------------------------------------------------------------- |
| \`AGENTCORE_IDENTITY_OPENAI\` | Yes (OpenAI) | OpenAI API key (local) or Identity provider name (deployed) |
| \`AGENTCORE_IDENTITY_ANTHROPIC\` | Yes (Anthropic) | Anthropic API key (local) or Identity provider name (deployed) |
| \`AGENTCORE_IDENTITY_GEMINI\` | Yes (Gemini) | Gemini API key (local) or Identity provider name (deployed) |
| \`LOCAL_DEV\` | No | Set to \`1\` to use \`agentcore/.env\` instead of AgentCore Identity |
| Variable | Required | Description |
| --- | --- | --- |
{{#if hasIdentity}}| \`{{identityProviders.[0].envVarName}}\` | Yes | {{modelProvider}} API key (local) or Identity provider name (deployed) |
{{/if}}| \`LOCAL_DEV\` | No | Set to \`1\` to use \`.env.local\` instead of AgentCore Identity |

# Developing locally

Expand Down Expand Up @@ -2105,23 +2099,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/op

# Layout

There is one directory with generated application code, \`src/\` . At the root, there is a \`.gitignore\` file, a
\`.agentcore\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
The generated application code lives at the agent root directory. At the root, there is a \`.gitignore\` file, an
\`agentcore/\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
commands like \`deploy\`, \`dev\`, and \`invoke\` rely on the configuration stored here.

## src/
## Agent Root

The main entrypoint to your app is defined in \`src/main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
The main entrypoint to your app is defined in \`main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
file defines a Starlette ASGI app with the OpenAI Agents SDK framework running within.

\`src/model/load.py\` instantiates your chosen model provider (OpenAI).
\`model/load.py\` instantiates your chosen model provider (OpenAI).

## Environment Variables

| Variable | Required | Description |
| --------------------------- | -------- | ---------------------------------------------------------------- |
| \`AGENTCORE_IDENTITY_OPENAI\` | Yes | OpenAI API key (local) or Identity provider name (deployed) |
| \`LOCAL_DEV\` | No | Set to \`1\` to use \`agentcore/.env\` instead of AgentCore Identity |
| Variable | Required | Description |
| --- | --- | --- |
{{#if hasIdentity}}| \`{{identityProviders.[0].envVarName}}\` | Yes | {{modelProvider}} API key (local) or Identity provider name (deployed) |
{{/if}}| \`LOCAL_DEV\` | No | Set to \`1\` to use \`.env.local\` instead of AgentCore Identity |

# Developing locally

Expand Down Expand Up @@ -2352,25 +2346,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/st

# Layout

There is one directory with generated application code, \`src/\` . At the root, there is a \`.gitignore\` file, a
\`.agentcore\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
The generated application code lives at the agent root directory. At the root, there is a \`.gitignore\` file, an
\`agentcore/\` folder which represents the configurations and state associated with this project. Other \`agentcore\`
commands like \`deploy\`, \`dev\`, and \`invoke\` rely on the configuration stored here.

## src/
## Agent Root

The main entrypoint to your app is defined in \`src/main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
The main entrypoint to your app is defined in \`main.py\`. Using the AgentCore SDK \`@app.entrypoint\` decorator, this
file defines a Starlette ASGI app with the chosen Agent framework SDK running within.

\`src/model/load.py\` instantiates your chosen model provider.
\`model/load.py\` instantiates your chosen model provider.

## Environment Variables

| Variable | Required | Description |
| ------------------------------ | --------------- | ---------------------------------------------------------------- |
| \`AGENTCORE_IDENTITY_OPENAI\` | Yes (OpenAI) | OpenAI API key (local) or Identity provider name (deployed) |
| \`AGENTCORE_IDENTITY_ANTHROPIC\` | Yes (Anthropic) | Anthropic API key (local) or Identity provider name (deployed) |
| \`AGENTCORE_IDENTITY_GEMINI\` | Yes (Gemini) | Gemini API key (local) or Identity provider name (deployed) |
| \`LOCAL_DEV\` | No | Set to \`1\` to use \`agentcore/.env\` instead of AgentCore Identity |
| Variable | Required | Description |
| --- | --- | --- |
{{#if hasIdentity}}| \`{{identityProviders.[0].envVarName}}\` | Yes | {{modelProvider}} API key (local) or Identity provider name (deployed) |
{{/if}}| \`LOCAL_DEV\` | No | Set to \`1\` to use \`.env.local\` instead of AgentCore Identity |

# Developing locally

Expand Down
20 changes: 9 additions & 11 deletions src/assets/python/autogen/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,23 @@ This is a project generated by the agentcore create CLI tool!

# Layout

There is one directory with generated application code, `src/` . At the root, there is a `.gitignore` file, a
`.agentcore` folder which represents the configurations and state associated with this project. Other `agentcore`
The generated application code lives at the agent root directory. At the root, there is a `.gitignore` file, an
`agentcore/` folder which represents the configurations and state associated with this project. Other `agentcore`
commands like `deploy`, `dev`, and `invoke` rely on the configuration stored here.

## src/
## Agent Root

The main entrypoint to your app is defined in `src/main.py`. Using the AgentCore SDK `@app.entrypoint` decorator, this
The main entrypoint to your app is defined in `main.py`. Using the AgentCore SDK `@app.entrypoint` decorator, this
file defines a Starlette ASGI app with the AutoGen framework running within.

`src/model/load.py` instantiates your chosen model provider.
`model/load.py` instantiates your chosen model provider.

## Environment Variables

| Variable | Required | Description |
| ------------------------------ | --------------- | ---------------------------------------------------------------- |
| `AGENTCORE_IDENTITY_OPENAI` | Yes (OpenAI) | OpenAI API key (local) or Identity provider name (deployed) |
| `AGENTCORE_IDENTITY_ANTHROPIC` | Yes (Anthropic) | Anthropic API key (local) or Identity provider name (deployed) |
| `AGENTCORE_IDENTITY_GEMINI` | Yes (Gemini) | Gemini API key (local) or Identity provider name (deployed) |
| `LOCAL_DEV` | No | Set to `1` to use `agentcore/.env` instead of AgentCore Identity |
| Variable | Required | Description |
| --- | --- | --- |
{{#if hasIdentity}}| `{{identityProviders.[0].envVarName}}` | Yes | {{modelProvider}} API key (local) or Identity provider name (deployed) |
{{/if}}| `LOCAL_DEV` | No | Set to `1` to use `.env.local` instead of AgentCore Identity |

# Developing locally

Expand Down
20 changes: 9 additions & 11 deletions src/assets/python/crewai/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,23 @@ This is a project generated by the agentcore create CLI tool!

# Layout

There is one directory with generated application code, `src/` . At the root, there is a `.gitignore` file, a
`.agentcore` folder which represents the configurations and state associated with this project. Other `agentcore`
The generated application code lives at the agent root directory. At the root, there is a `.gitignore` file, an
`agentcore/` folder which represents the configurations and state associated with this project. Other `agentcore`
commands like `deploy`, `dev`, and `invoke` rely on the configuration stored here.

## src/
## Agent Root

The main entrypoint to your app is defined in `src/main.py`. Using the AgentCore SDK `@app.entrypoint` decorator, this
The main entrypoint to your app is defined in `main.py`. Using the AgentCore SDK `@app.entrypoint` decorator, this
file defines a Starlette ASGI app with the CrewAI framework running within.

`src/model/load.py` instantiates your chosen model provider.
`model/load.py` instantiates your chosen model provider.

## Environment Variables

| Variable | Required | Description |
| ------------------------------ | --------------- | ---------------------------------------------------------------- |
| `AGENTCORE_IDENTITY_OPENAI` | Yes (OpenAI) | OpenAI API key (local) or Identity provider name (deployed) |
| `AGENTCORE_IDENTITY_ANTHROPIC` | Yes (Anthropic) | Anthropic API key (local) or Identity provider name (deployed) |
| `AGENTCORE_IDENTITY_GEMINI` | Yes (Gemini) | Gemini API key (local) or Identity provider name (deployed) |
| `LOCAL_DEV` | No | Set to `1` to use `agentcore/.env` instead of AgentCore Identity |
| Variable | Required | Description |
| --- | --- | --- |
{{#if hasIdentity}}| `{{identityProviders.[0].envVarName}}` | Yes | {{modelProvider}} API key (local) or Identity provider name (deployed) |
{{/if}}| `LOCAL_DEV` | No | Set to `1` to use `.env.local` instead of AgentCore Identity |

# Developing locally

Expand Down
18 changes: 9 additions & 9 deletions src/assets/python/googleadk/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ This is a project generated by the agentcore create CLI tool!

# Layout

There is one directory with generated application code, `src/` . At the root, there is a `.gitignore` file, a
`.agentcore` folder which represents the configurations and state associated with this project. Other `agentcore`
The generated application code lives at the agent root directory. At the root, there is a `.gitignore` file, an
`agentcore/` folder which represents the configurations and state associated with this project. Other `agentcore`
commands like `deploy`, `dev`, and `invoke` rely on the configuration stored here.

## src/
## Agent Root

The main entrypoint to your app is defined in `src/main.py`. Using the AgentCore SDK `@app.entrypoint` decorator, this
The main entrypoint to your app is defined in `main.py`. Using the AgentCore SDK `@app.entrypoint` decorator, this
file defines a Starlette ASGI app with the Google ADK framework running within.

`src/model/load.py` instantiates your chosen model provider (Gemini).
`model/load.py` instantiates your chosen model provider (Gemini).

## Environment Variables

| Variable | Required | Description |
| --------------------------- | -------- | ---------------------------------------------------------------- |
| `AGENTCORE_IDENTITY_GEMINI` | Yes | Gemini API key (local) or Identity provider name (deployed) |
| `LOCAL_DEV` | No | Set to `1` to use `agentcore/.env` instead of AgentCore Identity |
| Variable | Required | Description |
| --- | --- | --- |
{{#if hasIdentity}}| `{{identityProviders.[0].envVarName}}` | Yes | {{modelProvider}} API key (local) or Identity provider name (deployed) |
{{/if}}| `LOCAL_DEV` | No | Set to `1` to use `.env.local` instead of AgentCore Identity |

# Developing locally

Expand Down
Loading
Loading