diff --git a/.claude/launch.json b/.claude/launch.json new file mode 100644 index 000000000..026eeee40 --- /dev/null +++ b/.claude/launch.json @@ -0,0 +1,29 @@ +{ + "version": "0.0.1", + "configurations": [ + { + "name": "cagent API server", + "runtimeExecutable": "./bin/cagent", + "runtimeArgs": ["api", "--listen", ":8080", "./examples/pirate.yaml"], + "port": 8080 + }, + { + "name": "cagent A2A server", + "runtimeExecutable": "./bin/cagent", + "runtimeArgs": ["a2a", "--port", "9000", "./examples/pirate.yaml"], + "port": 9000 + }, + { + "name": "cagent MCP HTTP server", + "runtimeExecutable": "./bin/cagent", + "runtimeArgs": ["mcp", "--http", "--port", "8081", "./examples/pirate.yaml"], + "port": 8081 + }, + { + "name": "Jaeger (OpenTelemetry tracing UI)", + "runtimeExecutable": "docker", + "runtimeArgs": ["compose", "up", "jaeger"], + "port": 16686 + } + ] +} diff --git a/.github/workflows/nightly-scan.yml b/.github/workflows/nightly-scan.yml index d4740f36f..dcb88404c 100644 --- a/.github/workflows/nightly-scan.yml +++ b/.github/workflows/nightly-scan.yml @@ -23,6 +23,11 @@ jobs: scan: runs-on: ubuntu-latest timeout-minutes: 30 + # Skip if no API keys are configured + if: | + secrets.ANTHROPIC_API_KEY != '' || + secrets.OPENAI_API_KEY != '' || + secrets.GEMINI_API_KEY != '' env: HAS_APP_SECRETS: ${{ secrets.CAGENT_REVIEWER_APP_ID != '' }} diff --git a/examples/new_agent.yaml b/examples/new_agent.yaml new file mode 100644 index 000000000..7c65f7944 --- /dev/null +++ b/examples/new_agent.yaml @@ -0,0 +1,21 @@ +#!/usr/bin/env cagent run +## Generated by GitHub Copilot on 2026-02-05 +agents: + new_agent: + model: openai/gpt-4o + description: "Scaffolded agent for concise help, code, and file tasks." + instruction: | + You are the `new_agent`. Follow these rules: + - Be concise, helpful, and actionable. + - Prefer short examples; provide runnable snippets when applicable. + - Ask a clarifying question if the user's intent is ambiguous. + toolsets: + - type: filesystem + - type: shell + - type: memory + path: ./examples/new_agent_memory.db + - type: think + max_iterations: 10 + num_history_items: 20 + add_date: true + code_mode_tools: true diff --git a/examples/scaffolded_default_agent.yaml b/examples/scaffolded_default_agent.yaml new file mode 100644 index 000000000..b18064049 --- /dev/null +++ b/examples/scaffolded_default_agent.yaml @@ -0,0 +1,9 @@ +agents: + scaffolded_default: + model: openai/gpt-5-mini + description: "Scaffolded default agent" + instruction: | + You are a helpful assistant. Respond concisely and ask clarifying questions when necessary. + toolsets: + - type: think + - type: todo