Create Agent.cs