@@ -792,25 +792,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/au
792792
793793# Layout
794794
795- There is one directory with generated application code, \` src/ \` . At the root, there is a \` .gitignore\` file, a
796- \` . agentcore\` folder which represents the configurations and state associated with this project. Other \` agentcore\`
795+ The generated application code lives at the agent root directory . At the root, there is a \` .gitignore\` file, an
796+ \` agentcore/ \` folder which represents the configurations and state associated with this project. Other \` agentcore\`
797797commands like \` deploy\` , \` dev\` , and \` invoke\` rely on the configuration stored here.
798798
799- ## src/
799+ ## Agent Root
800800
801- The main entrypoint to your app is defined in \` src/ main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
801+ The main entrypoint to your app is defined in \` main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
802802file defines a Starlette ASGI app with the AutoGen framework running within.
803803
804- \` src/ model/load.py\` instantiates your chosen model provider.
804+ \` model/load.py\` instantiates your chosen model provider.
805805
806806## Environment Variables
807807
808- | Variable | Required | Description |
809- | ------------------------------ | --------------- | ---------------------------------------------------------------- |
810- | \` AGENTCORE_IDENTITY_OPENAI\` | Yes (OpenAI) | OpenAI API key (local) or Identity provider name (deployed) |
811- | \` AGENTCORE_IDENTITY_ANTHROPIC\` | Yes (Anthropic) | Anthropic API key (local) or Identity provider name (deployed) |
812- | \` AGENTCORE_IDENTITY_GEMINI\` | Yes (Gemini) | Gemini API key (local) or Identity provider name (deployed) |
813- | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` agentcore/.env\` instead of AgentCore Identity |
808+ | Variable | Required | Description |
809+ | --- | --- | --- |
810+ { {#if hasIdentity }} | \` { {identityProviders.[0].envVarName }} \` | Yes | { {modelProvider }} API key (local) or Identity provider name (deployed) |
811+ { {/if }} | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` .env.local\` instead of AgentCore Identity |
814812
815813# Developing locally
816814
@@ -1148,25 +1146,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/cr
11481146
11491147# Layout
11501148
1151- There is one directory with generated application code, \` src/ \` . At the root, there is a \` .gitignore\` file, a
1152- \` . agentcore\` folder which represents the configurations and state associated with this project. Other \` agentcore\`
1149+ The generated application code lives at the agent root directory . At the root, there is a \` .gitignore\` file, an
1150+ \` agentcore/ \` folder which represents the configurations and state associated with this project. Other \` agentcore\`
11531151commands like \` deploy\` , \` dev\` , and \` invoke\` rely on the configuration stored here.
11541152
1155- ## src/
1153+ ## Agent Root
11561154
1157- The main entrypoint to your app is defined in \` src/ main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
1155+ The main entrypoint to your app is defined in \` main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
11581156file defines a Starlette ASGI app with the CrewAI framework running within.
11591157
1160- \` src/ model/load.py\` instantiates your chosen model provider.
1158+ \` model/load.py\` instantiates your chosen model provider.
11611159
11621160## Environment Variables
11631161
1164- | Variable | Required | Description |
1165- | ------------------------------ | --------------- | ---------------------------------------------------------------- |
1166- | \` AGENTCORE_IDENTITY_OPENAI\` | Yes (OpenAI) | OpenAI API key (local) or Identity provider name (deployed) |
1167- | \` AGENTCORE_IDENTITY_ANTHROPIC\` | Yes (Anthropic) | Anthropic API key (local) or Identity provider name (deployed) |
1168- | \` AGENTCORE_IDENTITY_GEMINI\` | Yes (Gemini) | Gemini API key (local) or Identity provider name (deployed) |
1169- | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` agentcore/.env\` instead of AgentCore Identity |
1162+ | Variable | Required | Description |
1163+ | --- | --- | --- |
1164+ { {#if hasIdentity }} | \` { {identityProviders.[0].envVarName }} \` | Yes | { {modelProvider }} API key (local) or Identity provider name (deployed) |
1165+ { {/if }} | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` .env.local\` instead of AgentCore Identity |
11701166
11711167# Developing locally
11721168
@@ -1474,23 +1470,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/go
14741470
14751471# Layout
14761472
1477- There is one directory with generated application code, \` src/ \` . At the root, there is a \` .gitignore\` file, a
1478- \` . agentcore\` folder which represents the configurations and state associated with this project. Other \` agentcore\`
1473+ The generated application code lives at the agent root directory . At the root, there is a \` .gitignore\` file, an
1474+ \` agentcore/ \` folder which represents the configurations and state associated with this project. Other \` agentcore\`
14791475commands like \` deploy\` , \` dev\` , and \` invoke\` rely on the configuration stored here.
14801476
1481- ## src/
1477+ ## Agent Root
14821478
1483- The main entrypoint to your app is defined in \` src/ main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
1479+ The main entrypoint to your app is defined in \` main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
14841480file defines a Starlette ASGI app with the Google ADK framework running within.
14851481
1486- \` src/ model/load.py\` instantiates your chosen model provider (Gemini).
1482+ \` model/load.py\` instantiates your chosen model provider (Gemini).
14871483
14881484## Environment Variables
14891485
1490- | Variable | Required | Description |
1491- | --------------------------- | -------- | ------------------------------------------------------------- --- |
1492- | \` AGENTCORE_IDENTITY_GEMINI \` | Yes | Gemini API key (local) or Identity provider name (deployed) |
1493- | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` agentcore/ .env\` instead of AgentCore Identity |
1486+ | Variable | Required | Description |
1487+ | --- | --- | --- |
1488+ { {#if hasIdentity } } | \` { {identityProviders.[0]. envVarName } } \` | Yes | { { modelProvider } } API key (local) or Identity provider name (deployed) |
1489+ { {/ if } } | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` .env.local \` instead of AgentCore Identity |
14941490
14951491# Developing locally
14961492
@@ -1755,25 +1751,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/la
17551751
17561752# Layout
17571753
1758- There is one directory with generated application code, \` src/ \` . At the root, there is a \` .gitignore\` file, a
1759- \` . agentcore\` folder which represents the configurations and state associated with this project. Other \` agentcore\`
1754+ The generated application code lives at the agent root directory . At the root, there is a \` .gitignore\` file, an
1755+ \` agentcore/ \` folder which represents the configurations and state associated with this project. Other \` agentcore\`
17601756commands like \` deploy\` , \` dev\` , and \` invoke\` rely on the configuration stored here.
17611757
1762- ## src/
1758+ ## Agent Root
17631759
1764- The main entrypoint to your app is defined in \` src/ main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
1760+ The main entrypoint to your app is defined in \` main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
17651761file defines a Starlette ASGI app with the LangChain/LangGraph framework running within.
17661762
1767- \` src/ model/load.py\` instantiates your chosen model provider.
1763+ \` model/load.py\` instantiates your chosen model provider.
17681764
17691765## Environment Variables
17701766
1771- | Variable | Required | Description |
1772- | ------------------------------ | --------------- | ---------------------------------------------------------------- |
1773- | \` AGENTCORE_IDENTITY_OPENAI\` | Yes (OpenAI) | OpenAI API key (local) or Identity provider name (deployed) |
1774- | \` AGENTCORE_IDENTITY_ANTHROPIC\` | Yes (Anthropic) | Anthropic API key (local) or Identity provider name (deployed) |
1775- | \` AGENTCORE_IDENTITY_GEMINI\` | Yes (Gemini) | Gemini API key (local) or Identity provider name (deployed) |
1776- | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` agentcore/.env\` instead of AgentCore Identity |
1767+ | Variable | Required | Description |
1768+ | --- | --- | --- |
1769+ { {#if hasIdentity }} | \` { {identityProviders.[0].envVarName }} \` | Yes | { {modelProvider }} API key (local) or Identity provider name (deployed) |
1770+ { {/if }} | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` .env.local\` instead of AgentCore Identity |
17771771
17781772# Developing locally
17791773
@@ -2105,23 +2099,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/op
21052099
21062100# Layout
21072101
2108- There is one directory with generated application code, \` src/ \` . At the root, there is a \` .gitignore\` file, a
2109- \` . agentcore\` folder which represents the configurations and state associated with this project. Other \` agentcore\`
2102+ The generated application code lives at the agent root directory . At the root, there is a \` .gitignore\` file, an
2103+ \` agentcore/ \` folder which represents the configurations and state associated with this project. Other \` agentcore\`
21102104commands like \` deploy\` , \` dev\` , and \` invoke\` rely on the configuration stored here.
21112105
2112- ## src/
2106+ ## Agent Root
21132107
2114- The main entrypoint to your app is defined in \` src/ main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
2108+ The main entrypoint to your app is defined in \` main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
21152109file defines a Starlette ASGI app with the OpenAI Agents SDK framework running within.
21162110
2117- \` src/ model/load.py\` instantiates your chosen model provider (OpenAI).
2111+ \` model/load.py\` instantiates your chosen model provider (OpenAI).
21182112
21192113## Environment Variables
21202114
2121- | Variable | Required | Description |
2122- | --------------------------- | -------- | ------------------------------------------------------------- --- |
2123- | \` AGENTCORE_IDENTITY_OPENAI \` | Yes | OpenAI API key (local) or Identity provider name (deployed) |
2124- | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` agentcore/ .env\` instead of AgentCore Identity |
2115+ | Variable | Required | Description |
2116+ | --- | --- | --- |
2117+ { {#if hasIdentity } } | \` { {identityProviders.[0]. envVarName } } \` | Yes | { { modelProvider } } API key (local) or Identity provider name (deployed) |
2118+ { {/ if } } | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` .env.local \` instead of AgentCore Identity |
21252119
21262120# Developing locally
21272121
@@ -2352,25 +2346,23 @@ exports[`Assets Directory Snapshots > Python framework assets > python/python/st
23522346
23532347# Layout
23542348
2355- There is one directory with generated application code, \` src/ \` . At the root, there is a \` .gitignore\` file, a
2356- \` . agentcore\` folder which represents the configurations and state associated with this project. Other \` agentcore\`
2349+ The generated application code lives at the agent root directory . At the root, there is a \` .gitignore\` file, an
2350+ \` agentcore/ \` folder which represents the configurations and state associated with this project. Other \` agentcore\`
23572351commands like \` deploy\` , \` dev\` , and \` invoke\` rely on the configuration stored here.
23582352
2359- ## src/
2353+ ## Agent Root
23602354
2361- The main entrypoint to your app is defined in \` src/ main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
2355+ The main entrypoint to your app is defined in \` main.py\` . Using the AgentCore SDK \` @app.entrypoint\` decorator, this
23622356file defines a Starlette ASGI app with the chosen Agent framework SDK running within.
23632357
2364- \` src/ model/load.py\` instantiates your chosen model provider.
2358+ \` model/load.py\` instantiates your chosen model provider.
23652359
23662360## Environment Variables
23672361
2368- | Variable | Required | Description |
2369- | ------------------------------ | --------------- | ---------------------------------------------------------------- |
2370- | \` AGENTCORE_IDENTITY_OPENAI\` | Yes (OpenAI) | OpenAI API key (local) or Identity provider name (deployed) |
2371- | \` AGENTCORE_IDENTITY_ANTHROPIC\` | Yes (Anthropic) | Anthropic API key (local) or Identity provider name (deployed) |
2372- | \` AGENTCORE_IDENTITY_GEMINI\` | Yes (Gemini) | Gemini API key (local) or Identity provider name (deployed) |
2373- | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` agentcore/.env\` instead of AgentCore Identity |
2362+ | Variable | Required | Description |
2363+ | --- | --- | --- |
2364+ { {#if hasIdentity }} | \` { {identityProviders.[0].envVarName }} \` | Yes | { {modelProvider }} API key (local) or Identity provider name (deployed) |
2365+ { {/if }} | \` LOCAL_DEV\` | No | Set to \` 1\` to use \` .env.local\` instead of AgentCore Identity |
23742366
23752367# Developing locally
23762368
0 commit comments