7. A dynamic agent executed by a computer, comprising: an ontology switching module that causes document type descriptions (DTDs) and corresponding interpreters to be exchanged with another agent to implement different communication languages between the agents for different problem domains; wherein each DTD comprises a template by which a message transmitted between agents can be decoded, wherein the message is according to an XML format and includes XML tags for marking metadata associated with a domain from among a plurality of different domains.
7. A dynamic agent executed by a computer, comprising: an ontology switching module that causes document type descriptions (DTDs) and corresponding interpreters to be exchanged with another agent to implement different communication languages between the agents for different problem domains; wherein each DTD comprises a template by which a message transmitted between agents can be decoded, wherein the message is according to an XML format and includes XML tags for marking metadata associated with a domain from among a plurality of different domains. 10. The dynamic agent of claim 7 wherein the loaded interpreter uses an associated parser to translate contents of the message according to the XML format into machine executable code.