Skip to content

feat: Add PlatformAgent with TAP + TOML configuration#26

Closed
r-pedraza wants to merge 7 commits intomasterfrom
feat/platform-agent
Closed

feat: Add PlatformAgent with TAP + TOML configuration#26
r-pedraza wants to merge 7 commits intomasterfrom
feat/platform-agent

Conversation

@r-pedraza
Copy link
Contributor

Summary

Adds PlatformAgent - a platform engineering agent using TAP (Titan Adapter Protocol) with TOML-based configuration.

This agent provides AI-driven autonomous task execution for Git workflows with framework-agnostic tool calling.

Key Features

🤖 PlatformAgent

  • TOML Configuration: Consistent with project standards (no new dependencies)
  • TAP Integration: Uses TAP protocol for framework-agnostic tool calling
  • AI Autonomy: AI decides which tools to use based on task context
  • Git Tools: get_git_status, analyze_git_diff, create_commit
  • CLI Command: titan agent platform

🛠️ Available Tools

  1. get_git_status - Check repository status (modified files, branch)
  2. analyze_git_diff - Understand what changed in the code
  3. create_commit - Create conventional commits

📋 Usage

# Interactive mode
titan agent platform

# Auto-confirm mode
titan agent platform --yes

# Custom repository path
titan agent platform -p /path/to/repo

# Custom config file
titan agent platform -c custom_agent.toml

📁 Files Added

  • config/agents/platform_agent.toml - Agent configuration
  • titan_cli/agents/platform_agent.py - PlatformAgent implementation
  • titan_cli/agents/__init__.py - Module exports
  • titan_cli/commands/agent.py - CLI command
  • docs/PLATFORM_AGENT.md - Documentation

🎯 Example Workflow

  1. User runs: titan agent platform
  2. AI analyzes Git status
  3. AI reads git diff to understand changes
  4. AI creates conventional commit with appropriate message
  5. User confirms (or auto-confirms with --yes)

🔧 Configuration Example

[agent]
name = "platform_agent"
description = "Platform engineering agent for Git, GitHub, and development workflows"

[tap]
provider = "anthropic"

[[tap.tools]]
name = "get_git_status"
enabled = true

[[tap.tools]]
name = "create_commit"
enabled = true

🧪 Testing

Requires TAP implementation from PR #25.

# After PR #25 is merged
poetry install
titan agent platform --help

📊 Architecture

PlatformAgent
├── TOML Config (platform_agent.toml)
├── TAP Protocol (framework-agnostic)
├── Git Tools (TitanTool implementations)
├── AI Provider (Anthropic via TAP)
└── CLI Command (titan agent platform)

🔗 Dependencies

✅ Checklist

  • TOML configuration implemented
  • PlatformAgent class with from_toml loader
  • CLI command registered
  • Git tools integrated
  • Documentation added
  • No new dependencies added

Related

🤖 Generated with Claude Code

@r-pedraza r-pedraza requested a review from a team December 5, 2025 09:08
@r-pedraza r-pedraza force-pushed the feat/platform-agent branch from 1fd2472 to 1cf97ce Compare December 5, 2025 09:14
r-pedraza and others added 3 commits December 9, 2025 11:28
- TOML-based agent configuration (platform_agent.toml)
- PlatformAgent implementation using TAP protocol
- CLI command: titan agent platform
- Git tools: get_git_status, analyze_git_diff, create_commit
- AI-driven autonomous decision making
- Documentation for usage and examples

The agent uses TAP (Titan Adapter Protocol) to provide framework-agnostic
tool calling, allowing the AI to autonomously select and execute tools
based on the task context.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@finxo finxo force-pushed the feat/platform-agent branch from 6d5c1ec to ea671a2 Compare December 9, 2025 11:02
@r-pedraza r-pedraza closed this Dec 9, 2025
@r-pedraza r-pedraza deleted the feat/platform-agent branch December 9, 2025 11:33
@r-pedraza
Copy link
Contributor Author

Test

@r-pedraza r-pedraza restored the feat/platform-agent branch December 9, 2025 11:35
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