Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
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 .github/config-allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ integrations/a2a/typescript/tsdown.config.ts
integrations/adk-middleware/typescript/tsdown.config.ts
integrations/ag2/typescript/tsdown.config.ts
integrations/agno/typescript/tsdown.config.ts
integrations/antigravity/typescript/tsdown.config.ts
integrations/aws-strands/typescript/tsdown.config.ts
integrations/claude-agent-sdk/typescript/tsup.config.ts
integrations/claude-managed-agents/typescript/tsdown.config.ts
Expand Down
1 change: 1 addition & 0 deletions apps/dojo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@ag-ui/adk": "workspace:*",
"@ag-ui/ag2": "workspace:*",
"@ag-ui/agno": "workspace:*",
"@ag-ui/antigravity": "workspace:*",
"@ag-ui/aws-strands": "workspace:*",
"@ag-ui/claude-agent-sdk": "workspace:*",
"@ag-ui/claude-managed-agents": "workspace:*",
Expand Down
27 changes: 27 additions & 0 deletions apps/dojo/scripts/generate-content-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,33 @@ const agentFilesMapper: Record<
{},
);
},
antigravity: (agentKeys: string[]) => {
return agentKeys.reduce(
(acc, agentId) => ({
...acc,
[agentId]: [
path.join(
__dirname,
integrationsFolderPath,
`/antigravity/python/examples/server/api/${agentId}.py`,
),
// Each demo file is a thin delegation; the model, workspace and
// capability config it calls into all live in _common.py.
path.join(
__dirname,
integrationsFolderPath,
"/antigravity/python/examples/server/api/_common.py",
),
path.join(
__dirname,
integrationsFolderPath,
"/antigravity/python/examples/server/__init__.py",
),
],
}),
{},
);
},
"aws-strands": (agentKeys: string[]) => {
return agentKeys.reduce(
(acc, agentId) => ({
Expand Down
5 changes: 5 additions & 0 deletions apps/dojo/scripts/prep-dojo-everything.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ const ALL_TARGETS = {
name: "ADK Middleware",
cwd: path.join(integrationsRoot, "adk-middleware/python/examples"),
},
antigravity: {
command: "uv sync",
name: "Antigravity",
cwd: path.join(integrationsRoot, "antigravity/python/examples"),
},
"a2a-middleware": {
command: "uv sync",
name: "A2A Middleware",
Expand Down
8 changes: 8 additions & 0 deletions apps/dojo/scripts/run-dojo-everything.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,14 @@ const ALL_SERVICES = {
env: { PORT: 8010 },
},
],
antigravity: [
{
command: "uv run dev",
name: "Antigravity",
cwd: path.join(integrationsRoot, "antigravity/python/examples"),
env: { PORT: 8027 },
},
],
"a2a-middleware": [
{
command: "uv run buildings_management.py",
Expand Down
12 changes: 12 additions & 0 deletions apps/dojo/src/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
import { a2uiFixedSchemaAgent } from "./mastra/agents/a2ui-fixed";
import { PydanticAIAgent } from "@ag-ui/pydantic-ai";
import { ADKAgent } from "@ag-ui/adk";
import { AntigravityAgent } from "@ag-ui/antigravity";
import { SpringAiAgent } from "@ag-ui/spring-ai";
import { HttpAgent } from "@ag-ui/client";
import { A2AMiddlewareAgent } from "@ag-ui/a2a-middleware";
Expand Down Expand Up @@ -118,6 +119,17 @@ export const agentsIntegrations = {
return agents;
},

antigravity: async () =>
mapAgents(
(path) => new AntigravityAgent({ url: `${envVars.antigravityUrl}/${path}` }),
{
agentic_chat: "agentic_chat",
human_in_the_loop: "human_in_the_loop",
tool_based_generative_ui: "tool_based_generative_ui",
backend_tool_rendering: "backend_tool_rendering",
},
),

"server-starter-all-features": async () =>
mapAgents(
(path) =>
Expand Down
2 changes: 2 additions & 0 deletions apps/dojo/src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ type envVars = {
agentSpecUrl: string;
pydanticAIUrl: string;
adkMiddlewareUrl: string;
antigravityUrl: string;
agentFrameworkPythonUrl: string;
a2aUrl: string;
agentFrameworkDotnetUrl: string;
Expand Down Expand Up @@ -64,6 +65,7 @@ export default function getEnvVars(): envVars {
agentSpecUrl: process.env.AGENT_SPEC_URL || "http://localhost:9003",
pydanticAIUrl: process.env.PYDANTIC_AI_URL || "http://localhost:9000",
adkMiddlewareUrl: process.env.ADK_MIDDLEWARE_URL || "http://localhost:8000",
antigravityUrl: process.env.ANTIGRAVITY_URL || "http://localhost:8027",
agentFrameworkPythonUrl:
process.env.AGENT_FRAMEWORK_PYTHON_URL || "http://localhost:8015",
agentFrameworkDotnetUrl:
Expand Down
140 changes: 140 additions & 0 deletions apps/dojo/src/files.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions apps/dojo/src/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,16 @@ export const menuIntegrations = [
"a2ui_recovery",
],
},
{
id: "antigravity",
name: "Google Antigravity",
features: [
"agentic_chat",
"human_in_the_loop",
"tool_based_generative_ui",
"backend_tool_rendering",
],
},
{
id: "microsoft-agent-framework-dotnet",
name: "Microsoft Agent Framework (.NET)",
Expand Down
21 changes: 21 additions & 0 deletions integrations/antigravity/python/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading