Skip to content

feat: add Agentic API harness CLI - #188

Merged
franciscojavierarceo merged 15 commits into
mainfrom
codex/agentic-api-cli
Aug 20, 2026
Merged

franciscojavierarceo merged 15 commits into
mainfrom
codex/agentic-api-cli

Conversation

@franciscojavierarceo

Copy link
Copy Markdown
Collaborator

Summary

  • add the agentic CLI for starting Agentic API with Codex and Claude Code
  • generate isolated harness configuration with the Agentic API banner and color output
  • support SQLite by default and PostgreSQL via CLI configuration
  • provide help, validation, and harness lifecycle management

Test Plan

  • cargo test -p agentic-server --lib
  • cargo clippy -p agentic-server --all-targets -- -D warnings
  • cargo fmt --all
  • git diff --check

Related: follows merged #180.

Signed-off-by: Francisco Javier Arceo <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a new user-facing agentic CLI binary (within crates/agentic-server) to orchestrate starting the Agentic API gateway, generating isolated harness configuration, and launching Codex or Claude Code, with accompanying specs/plans and onboarding docs.

Changes:

  • Introduces a new agentic binary plus supporting modules for CLI parsing, output/redaction, harness env generation, and process lifecycle.
  • Adds documentation for the new local harness workflow (run/validate) and design/implementation references.
  • Exposes the new modules from agentic-server’s library crate and registers the new bin target in Cargo.toml.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
README.md Documents the new agentic CLI workflow and examples.
docs/superpowers/specs/2026-08-14-agentic-api-cli-design.md Adds CLI design specification (UX/architecture/testing expectations).
docs/superpowers/plans/2026-08-18-agentic-api-cli.md Adds implementation plan for the CLI.
docs/developing/getting-started.md Adds getting-started guidance for running harness sessions via the CLI.
crates/agentic-server/src/lib.rs Exposes new agentic_* modules.
crates/agentic-server/src/bin/agentic.rs Adds the agentic binary entrypoint (run/serve/validate).
crates/agentic-server/src/agentic_process.rs Implements server spawn/readiness polling/harness lifecycle and cleanup.
crates/agentic-server/src/agentic_output.rs Adds banner rendering and URL redaction helpers.
crates/agentic-server/src/agentic_harness.rs Generates isolated Codex home + Claude env overlays for sessions.
crates/agentic-server/src/agentic_cli.rs Defines Clap CLI structures, defaults, and parser unit tests.
crates/agentic-server/Cargo.toml Registers the new agentic binary target.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Signed-off-by: Francisco Javier Arceo <[email protected]>
@franciscojavierarceo
franciscojavierarceo merged commit dad1671 into main Aug 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants